img {
    width: 100%;

}

body {
    font-family: "Open Sans", sans-serif;
}

header {
    background-color: #005BC5;

}

#menu_nav {
    width: 80%;
    margin: auto;

    display: flex;
    justify-content: space-between;
    align-items: center;
}


/* ### MENU  ### */
nav#desktop ul {
    margin: 0;
    padding: 0;
    list-style-type: none;


    display: flex;
    justify-content: space-between;
}

nav#desktop ul li {
    margin: 0 10px;
}

nav a {
    color: #005BC5;
    text-decoration: none;
    background-color: #D9D9D9;
    padding: 0 10px;
}

nav a:visited {
    color: black;
}

nav a:hover {
    text-decoration: underline;
    color: black;
}


#bigmac {
    display: none;

    width: 40px;
    height: 28px;

    position: relative;

    z-index: 30;

    cursor: pointer;
}

#bigmac .linha {
    position: absolute;
    height: 4px;
    width: 100%;


    background-color: white;
    border-radius: 9px;

    opacity: 1;
    left: 0;

    transform: rotate(0deg);
    transition: 0.5s ease-in-out;
}


#bigmac .linha:nth-child(1) {
    top: 0px;
}

#bigmac .linha:nth-child(2) {
    top: 12px;
}

#bigmac .linha:nth-child(3) {
    top: 12px;
}

#bigmac .linha:nth-child(4) {
    top: 24px;
}

#bigmac.open .linha:nth-child(1) {
    top: 18px;
    width: 0%;
    left: 50%;
}

#bigmac.open .linha:nth-child(2) {
    transform: rotate(45deg);
}

#bigmac.open .linha:nth-child(3) {
    transform: rotate(-45deg);
}

#bigmac.open .linha:nth-child(4) {
    top: 18px;
    width: 0%;
    left: 50%;
}


nav#mobile {
    display: none;

}

.logo {
    width: 10%;
}

.grelha {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 20px;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
}

.grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 0px;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
}

.perguntas {
    font-family: Arial, Helvetica, sans-serif;
    text-align: center;
    color: #005BC5;
    margin-top: 70px;
    margin-bottom: 50px;
    grid-column-start: 4;
    grid-column-end: 10;
    font-size: 25px;
    font-weight: bold;
    line-height: 27px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

#introducao {
    background-image: url(imagens/imagem_intro.png);
    background-repeat: no-repeat;
    background-size: cover;
    padding-bottom: 300px;
    padding-top: 300px;
}

#intro {
    grid-column-start: 1;
    grid-column-end: 7;

    align-self: stretch;
    object-fit: cover;
}

.entrada {
    text-align: center;
    color: #fff;
}

.start {
    text-align: center;
    color: #fff;
    padding-top: 40px;
}

#texto_inicial {
    grid-column-start: 7;
    grid-column-end: 13;
    border-bottom-right-radius: 20px;
    border-top-right-radius: 20px;
    overflow: hidden;

    background-color: #658FC1;

}

.caixas_inicial {
    color: #ffff;
    font-size: 28px;
}

/* Bloco 1 */
.texto_inicial:nth-child(1) {
    background-color: #658FC1;
}

/* Bloco 2 – cor diferente */
.texto_inicial:nth-child(2) {
    background-color: #77A5DC;
}

/* Bloco 3 – terceiro tom */
.texto_inicial:nth-child(3) {
    background-color: #658FC1;
}

.texto_inicial {
    padding: 31px 30px;
}

.caixa_passo {
    grid-column: span 4;
}

#passo_7 {
    grid-column-start: 5;
    grid-column-end: 9;

}

.cor_fundo {
    background-color: #D9D9D9;
}

.necessario {
    grid-column: span 3;
    border-radius: 20px;
    display: flex;

    align-items: center;
    flex-direction: column;
    text-align: center;
    height: 300px;

    background-color: #D9D9D9;
}

.necessario img {
    width: 20%;
    min-width: 100px;

}

.cardes {
    background-color: #658FC1;
    color: #fff;
    border-top-right-radius: 20px;
    border-top-left-radius: 20px;
    overflow: hidden;
    text-align: center;
    padding-left: 20px;
    padding-right: 20px;

    height: 40%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;

}

.icones {

    flex-grow: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.need1 {
    grid-column-start: 1;
    grid-column-end: 7;
    display: grid;
    gap:0;
    align-self: stretch;
    object-fit: cover;
}
.um_a4 {
    grid-column-start: 1;
    grid-column-end: 4;
    background-color: #658FC1;
    border-top-left-radius: 20px;
    border-end-start-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    padding-left: 20px;
    padding-right: 10px;
    
}

.quatro_a7 {
    grid-column-start: 4;
    grid-column-end: 7;
}

.need2 {
    grid-column-start: 7;
    grid-column-end: 13;
    display: grid;
    gap: 0;
    align-self: stretch;
    object-fit: cover;
}
.sete_a10 {
    grid-column-start: 7;
    grid-column-end: 10;
    background-color: #658FC1;
    border-top-left-radius: 20px;
    border-end-start-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    padding-left: 20px;
    padding-right: 10px;
}

.dez_a13 {
    grid-column-start: 10;
    grid-column-end: 13;
}

#formulario {
    background-image: url(imagens/endd.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: top center;
    padding-bottom: 270px;
    padding-top: 270px;
}

.coments {
    grid-column: span 4;
}

#passos {
    padding-bottom: 50px;
    margin-top: 50px;
}

.lado {
    display: flex;
    align-items: center;
    background-color: #658FC1;
    border-top-right-radius: 20px;
    border-top-left-radius: 20px;
    overflow: hidden;
    color: #fff;
    font-weight: 600;
    font-size: 18px;
}

.numero {
    width: 25%;
    text-align: center;
    background-color: #507199;

    padding: 20px 0;
}

.descricao_passo {
    margin-left: 10px;
}



.one_four {
    width: 20%;
    min-width: 60px;

}



#dois {
    margin-top: 50px;
    padding-bottom: 50px;
}


/*Responsive*/



footer {
    height: 400px;
    background-color: aqua;
}




@media screen and (max-width: 500px) {

    header {
        width: 100%;

        position: fixed;
        /* top: 0; */
    }

    #menu_nav {
        width: 95%;
    }

    #bigmac {
        display: block;
    }

    h1 {
        margin: 0;
        text-align: center;
        padding: 20px 0;
    }

    nav#desktop {
        display: none;

    }

    nav#mobile {
        display: block;
        position: fixed;


        z-index: 20;
        width: 100%;
        left: -100vw;
        top: 70px;
        transition: .3s linear;

        background-color: rgb(101, 143, 193, 0.9);
    }


    nav#mobile.menu_abre {
        left: 0;
    }

    nav#mobile ul {
        margin: 0;
        padding: 0;
        list-style-type: none;
    }

    nav#mobile li {
        width: 100%;
        padding: 20px 0;
        text-align: center;
        height: 80px;
    }

    .grelha {
        display: block;
        width: 95%;
    }
}