@media screen and (max-width: 600px)  {
    body {
        flex-direction: column;
        background-image: url(../imagens/marH.jpg) !important;
    }

    .grid {
        width: 100% !important;
    }

    #numero {
        text-align: center !important;
    }
}        

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

 html, body {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    background-image: url(../imagens/mar.jpg);
    background-repeat: repeat-y;
    overflow: hidden;
}

.grid {
    width: 30%;
    height: 100%;
    display: grid;
    align-items: center;
    justify-content: center; 
}

.vento {
    width: 376px;
    height: 150px;
    background-repeat: no-repeat;
    background-size: 100%;
    padding: 20px;
    font-weight: bold;
    text-align: center;
}

.selecao {
    display: flex;
    align-items: center;
    justify-content: center;
}

.helice {
    width: 99%;
    padding-top: 99%;
    border-radius: 50%;
    margin-bottom: auto;
    background-image: url(../imagens/catavento.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    place-items: center; 
    display: grid;
    animation: spin 1s infinite linear;
    z-index: 2;
}

.centro {
    width: 8%;
    height: 0;
    padding-top: 8%;
    border-radius: 50%;
    background-image: url(../imagens/zico.png);
    background-position: center;
    background-size: 100%;
    margin-top: -100%;
    z-index:3
}

.poste {
    width: 100%;
    aspect-ratio: 2/3;
    margin-top: -70%;
    background-image: url(../imagens/poste.png);
    background-repeat: no-repeat;
    background-position: bottom;
    background-size: contain;
}

.cab {
    text-decoration: underline;
}

.botao {
    width: 1.3rem;
    float:left;
}

#numero {
    width: 3rem;
    text-align: right;
    float:left;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
