
@import url('https://fonts.googleapis.com/css2?family=DynaPuff&display=swap');

@keyframes pisca-pisca {
    0%, to {
        opacity: .2;
    }
    50% {
        opacity: 1;
    }
}

body {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    background-color: #ec7000;
    user-select: none;
}

body, button, input, select {
    font-family: 'DynaPuff', cursive;
}

select {
    display: none;
    width: 93%;
    margin: .3125rem auto;
    outline: 0;
}

h2 {
    margin: 1.25rem 0 .3125rem;
}

form, form div {
    display: flex;
    flex-direction: column;
}

button, input {
    border: 0;
    padding: .3125rem;
    margin: .375rem;
    border-radius: .3125rem;
}

input {
    outline: 0;
    background-color: #2781e1;
    font-size: 100;
}

button {
    background-color: #025dc6;
    color: #fff;
    font-weight: 100;
}

button:hover {
    transition: 1s all ease;
    color: #000;
    animation: efeito-rotatorio .4s;
}

::placeholder {
    color: #f5f5f5;
    font-size: .7188rem;
}

table {
    display: none;
    flex-direction: column;
    padding: 1.875rem;
    text-align: center;
}

th {
    padding: .3125rem;
    border: solid .0625rem #000;
    background-color: #025dc6;
    color: #fff;
    font-weight: 100;
}

td {
    border: .0625rem solid #000;
}

tr:nth-child(even) {
    background-color: #2781e1;
}

tr:hover {
    background-color: #ddd;
    transition: .5s all ease;
}

::-webkit-scrollbar {
    width: 0;
    height: 0;
}

::-webkit-scrollbar-thumb {
    background: 0 0;
}

::-webkit-scrollbar-corner {
    background-color: transparent;
}

@media (min-width: 320px) and (max-width: 767px) {
    body {
        height: 93.5vh;
        
    }
    h2 {
        margin: 1.875rem .625rem .625rem;
    }
    th {
        padding: 0 .5rem;
    }
}

#containerGeral {
    display: flex;
}

#containerImagem, #containerSimulador {
    display: flex;
    justify-content: center;
    background-color:#003399;
    height: auto;
}

#containerSimulador {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 1.25rem;
    border-radius: 1.875rem 0 0 1.875rem;
    width: 12.5rem;
    border-right: .125rem solid #fff;
}

#containerImagem {
    width: 30rem;
    border-radius: 0 1.875rem 1.875rem 0;
    overflow-x: hidden;
}

#ilustracaoImg {
    display: flex;
   

}

#containerDica {
    flex-wrap: wrap;
    font-size: .75rem;
    background-color: #2781e1;
    padding: .625rem;
    border-radius: .3125rem;
    margin: -.75rem auto 1.5625rem;
    width: 85%;
    text-align: center;
}

#containerDica p {
    margin: 0;
    color: #fff;
    font-size: .75rem;
}

#containerDica h3 {
    margin: 0 0 .5rem;
    font-weight: 100;
}

#dica {
    animation: pisca-pisca 7s infinite;
    max-width: 10rem;
}

form div:nth-child(2) {
    display: flex;
    align-items: center;
    flex-direction: row;
    font-family: 'DynaPuff', cursive;
    font-weight: 100;
    font-size: .8125rem;
}

.aviso {
    display: flex;
    background-color: #ff0000;
    border-radius: .3125rem;
    color: #fff;
    font-size: .6875rem;
    padding: .1875rem;
    margin-top: -.375rem;
    width: 11.4375rem;
    margin-left: .4375rem;
}

#botaoCalcular:hover, #botaoResetar:hover {
    transform: translateY(.3125rem);
    transition: 1s all ease;
}

#botaoResetar {
    margin-bottom: 1.875rem;
}

#botaoResetar:hover {
    transform: translateY(-.3125rem);
}

@media (min-width: 320px) and (max-width: 767px) {
    #containerGeral {
        flex-direction: column;
        align-items: center;
    }
    #containerSimulador {
        width: 15.625rem;
        border-radius: 1.875rem 1.875rem 0 0;
        border-bottom: .125rem solid #256eb6;
        border-right: none;
    }
    #containerImagem {
        width: 18.125rem!important;
        justify-content: flex-start;
        height: 17.8125rem!important;
        border-radius: 0 0 1.875rem 1.875rem;
    }
    #ilustracaoImg {
        width: 17.8125rem!important;
        height: 17.8125rem;
    }
    #containerResultado {
        margin: -.625rem auto 1.875rem;
    }
    #containerAtencao p {
        max-width: 9.375rem;
        margin: 0 auto;
    }
}
