* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /* overflow-x: hidden; */
    font-family: 'Poppins', Times, serif;
}

/* Variáveis */
:root{
    --white: #ffffff;
    --grey: #CAF0F8;
    --blueciano: #00B4D8;
    --orange: #f75c30;
    --red: #ee2c54;
    --bluegreen: #247c84;
}

#container{
    height: 100%;
    width: 100vw;
}


header {
    background-color: var(--bluegreen);
    height: 10%;
    width: 100vw;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.logo{
    height: 100%;
    width: 10%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--grey);
    border-radius: 20px 0px 20px 0px;
}

img{
    height: 100%;
    width: 100%;
}

h1{
    font-size: 1.9em;
    font-weight: bold;
    color: var(--grey);
    margin-left: 10px;
}

form{
    display: flex;
    justify-content: space-evenly;
    font-size: 1rem;
    padding: 1rem;
    margin-top: 1rem;
}

input{
    margin-left: 1rem;
    padding: 1rem;
    font-size: 1rem;
    font-weight: bold;
}

/* input type text */
input[type=number]{
    /* resetar estilo */
    border: none;
    width: 9rem;
    border-radius: 5px;
    border: 1px solid var(--white);
}

/* hover */
input[type=number]:hover{
    border: 1px solid var(--red);
}
/* clean the default input decoration */
input[type="number"]:focus{
    outline: none;
}

/* Chrome e outros */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
/* Firefox */
input[type=number] {
  -moz-appearance: textfield;
}

input[type="button"]{
    background-color: var(--grey);
    color: var(--red);
    border: 1px solid var(--red);
    border-radius: 5px;
    cursor: pointer;
}

/* hover */
input[type="button"]:hover{
    background-color: var(--orange);
    color: var(--white);
    border: 1px solid var(--white);
}


main{
    padding-top: 0.5rem;
}

footer{
    background-color: var(--bluegreen);
    color: var(--white);
    height: 9rem;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 0 0 2rem;
    font-size: 0.8rem;
    font-weight: bold;
}

.description{
    width: 50%;
}

.contact{
    width: 50%;
    margin-left: 2rem;
}

h3{
    margin-bottom: 0.5rem;
}

a{
    text-decoration: none;
    color: var(--grey);
    font-weight: bold;
    font-size: 0.8rem;
    margin-right: 1rem;
}

a:hover{
    color: var(--red);
}

@media (max-width: 768px){
    header{
        padding-top: 20px;
        flex-direction: column;
        align-items: center;
        height: auto;
    }

    .logo{
        width: 40%;
        height: auto;
        margin-bottom: 1rem;
    }

    h1{
        font-size: 1em;
    }

    form{
        flex-direction: column;
        align-items: center;
    }

    .button-group{
        width: 100%;
        margin-top: 0.5rem;
        display: flex;
    }

    input[type=number]{
        width: 90%;
    }

    input[type="button"]{
        width: 100%;
    }

    footer{
        flex-direction: column;
        height: auto;
    }

    .description{
        width: auto;
        margin-top: 1rem;
        margin-bottom: 1rem;
    }

    .contact{
        width: auto;
        margin-left: 0;
        margin-bottom: 1rem;
    }

}

@media(max-width: 1000px){
    .button-group{
        margin: 0;
    }
}