* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    width: 100%;
    overflow: hidden;
}

body {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.cont-gral {
    width: 40%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
}


label {

    display: inline-block;
    text-align: center;
    font-size: 1.5rem;
    font-family: 'Lato';
}
 
input {
    border: 2px solid #ccc;
    font-size: 1.5rem;
    width: 80%;
    font-weight: 100;
    font-family: 'Lato';
    padding: 10px;
    display: block;
    margin: auto;
}
 
form {
    width: 100%;
    padding: 20px;
    border: 5px solid #ccc;
    background: #eee;
    text-align: center;
}
 
div.form-element {
    margin: 20px 0;
}
 
button {
    padding: 10px;
    font-size: 1.5rem;
    font-family: 'Lato';
    font-weight: 100;
    background: yellowgreen;
    color: white;
    border: none;
    cursor: pointer;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type=number] {
  -moz-appearance: textfield;
}


#cont-imagen {
    width: 60%;
    height: 23vh;
    margin-bottom: 5vh;
}

#cont-imagen img {
    object-fit: contain;
    width: 100%;
    height: 100%;
}

.oculto {
    display: none;
}


/* Media queries */
@media (max-width: 1200px)
{
    .cont-gral { width: 40%; }
}
@media (max-width: 1000px)
{
    .cont-gral { width: 60%; }
}
@media (max-width: 600px)
{
    .cont-gral { width: 80%; }
}
@media (max-width: 450px)
{
    .cont-gral { width: 100%; }
	form { border: none; }
    body { background: #eee; }
    input { width: 98%; }
}
