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

a {
    text-decoration: none;
}


main {
    padding-top: 85px;
    margin: 0;
}

.container {
    margin: 0 200px;
}

.inicial-menina {
    background: url(img/Projetos-menina.png) center;
    background-size: cover;
    background-repeat: no-repeat;
    width: 100%;
    height: 60vh;
    align-items: center;
    display: flex;
}

.inicial-menina h1 {
    font: 600 7vh 'Montserrat', sans-serif;
    color: white;
    position: absolute;
    /* top: 50%;
    transform: translateY(-50%); */
    left: 0;
    right: 0;
    text-align: center;
    animation: fadeInUp;
    animation-duration: 2s;
}


/* INTRODUÇÃO */
.introducao {
    margin-top: 70px;
    display: flex;
    align-items: center;
}

main .introducao p {
    font: 300 20px 'Montserrat', sans-serif;
    text-align: justify;
    margin-top: 20px;
}

main .introducao h4 {
    font: 700 28px 'Montserrat', sans-serif;
    text-align: center;
    color: #26B2F4;
}

main .textos {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-left: 170px;
}

main .introducao {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.introducao img {
    width: 90vw;
}


/* PROJETOS */
.projetos {
    margin-top: 80px;
}

.projetos .linha-projetos img {
    width: 280px;
    margin: 0 20px;
}

.linha-projetos {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: center;
}

.projetos h2 {
    color: #FFF;
    font: 400 45px 'Forum', sans-serif;
    margin-top: 200px;
}

h3 {
    display: flex;
    flex-direction: column;
    text-align: center;
    color: #FFF;
    font: 400 45px 'Forum', sans-serif;
    margin-top: 150px;
}

.projetos h2,
.projetos button,
.projetos h3 {
    position: absolute;
}

.projeto-item {
    display: flex;
    margin-bottom: 100px;
    justify-content: center;
}

.projeto-item button {
    visibility: hidden;
    font: 500 20px 'Montserrat', sans-serif;
    background-color: #FFD233;
    padding: 10px 20px;
    border-radius: 25px;
    margin-top: 200px;
    opacity: 0;
    transform: scale(0.5) translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0s 0.3s;
    cursor: pointer;
}

.projeto-item:hover h2 {
    margin-top: 140px;
    transition: margin-top 0.3s ease-in-out;
}

.projeto-item:hover h3 {
    margin-top: 90px;
    transition: margin-top 0.3s ease-in-out;
}

.projeto-item:not(:hover) h2 {
    margin-top: 200px;
    transition: margin-top 0.3s ease;
}

.projeto-item:not(:hover) h3 {
    margin-top: 150px;
    transition: margin-top 0.3s ease;
}

.projeto-item:hover button {
    visibility: visible;
    opacity: 1;
    transform: scale(1) translateY(0);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0s;
}

/* MODAL */

.modal {
    display: none;
    position: fixed;
    height: 100%;
    top: 0;
    right: 0;
    overflow-y: scroll;
    background-color: white;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
    z-index: 200;
    width: 70%;
    max-width: 600px;
}

.modal-content {
    text-align: center;
}

.fechar {
    font: 600 16px 'Montserrat', sans-serif;
    position: absolute;
    top: 10px;
    left: 10px;
    cursor: pointer;
    background-color: #FFF;
    border-radius: 22px;
    padding: 10px 30px;
    border: 1px solid black;
    box-shadow: 2px 2px 2px 2px rgba(0, 0, 0, 0.329);
}

.fechar:hover {
    transform: scale(0.9);
    transition: 0.3s all;
    background-color: #e8e8e8;
}

.fechar:not(:hover) {
    transform: scale(1);
    transition: 0.3s all;
}

.modal span {
    font: 600 16px 'Montserrat', sans-serif;
}

.desfocado {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.404);
    z-index: 1;
}

.modal img {
    width: 100%;
    height: 17vw;
    object-fit: cover;
}

.modal p {
    font: 400 2.5vh 'Manrope', sans-serif;
    margin: 50px;
    text-align: justify;
}

.negrito {
    font-style: inherit;
}

.quiz {
    background: url(img/projeto-leilao.png);
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: cover;
    margin-bottom: 100px;
    padding: 100px;
}

.quiz h1 {
    font: 400 40px 'Forum', sans-serif;
    text-align: center;
}

.div-quiz {
    display: flex;
    align-items: center;
    justify-content: center;
}

.quiz p {
    font: 400 18px 'Manrope', sans-serif;
    text-align: justify;
    line-height: 30px;
    padding: 0 4vw;
    margin-top: 30px;
}


.esquerda-quiz {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.quiz img {
    width: 250px;
}

.quiz button {
    transition: all 0.3s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 7px 30px;
    font: 400 16px 'Montserrat', sans-serif;
    border: 1px solid #4B4B4B;
    background: #D3D3D3;
    box-shadow: 4px 4px 4px 0px rgba(0, 0, 0, 0.25);
    margin-top: 30px;
    cursor: pointer;
}


.quiz button:hover {
    transform: scale(0.9);
    transition: 0.3s all;
}


.quiz button:hover::before {
    animation: shine 1.5s ease-out infinite;
}

.quiz button::before {
    content: "";
    position: absolute;
    width: 100px;
    height: 100%;
    background-image: linear-gradient(120deg,
            rgba(255, 255, 255, 0) 30%,
            rgba(255, 255, 255, 0.8),
            rgba(255, 255, 255, 0) 70%);
    top: 0;
    left: -100px;
    opacity: 0.6;
}

@keyframes shine {
    0% {
        left: -100px;
    }

    60% {
        left: 100%;
    }

    to {
        left: 100%;
    }
}


/* FORMULÁRIO */

.jornal {
    display: flex;
    align-items: center;
    justify-content: space-around;
    margin: 160px 0;
    flex-wrap: wrap;
}


.newsletter h1 {
    font: 400 30px 'Montserrat', sans-serif;
    color: #3B77AE;
    display: flex;
    flex-direction: column;
    text-align: center;
}

.newsletter span {
    font: 700 30px 'Montserrat', sans-serif;
    color: #3B77AE;
}

.formulario {
    display: flex;
    flex-wrap: wrap;
}

.form {
    display: flex;
    flex-direction: column;
    border-radius: 18px;
    background: linear-gradient(69deg, #3672AA 0%, #7BAFDF 97.12%);
    padding: 30px;
    max-width: 480px;
    flex-wrap: wrap;
}

.titulo {
    font: 400 40px 'Forum', sans-serif;
    color: #fff;
}

.descricao {
    font: 400 14px 'Manrope', sans-serif;
    margin: 1rem 0;
    color: rgb(255, 255, 255);
    text-align: center;
    padding: 0 40px;
}

.form div {
    display: flex;
    flex-wrap: wrap;
}

.form div input {
    outline: none;
    color: rgb(255 255 255);
    padding: 0.5rem 0.875rem;
    background-color: rgb(255 255 255 / 0.05);
    border: 1px solid rgba(253, 253, 253, 0.363);
    border-radius: 0.375rem;
    flex: 1 1 auto;
    margin-right: 10px;
}

.form div input::placeholder {
    font: 400 14px 'Manrope', sans-serif;
    color: rgb(255, 255, 255);
}

.form div input:focus {
    border: 1px solid rgb(33, 35, 150);
}

.form div button {
    color: #fff;
    font: 700 14px 'Manrope', sans-serif;
    padding: 0.625rem 0.875rem;
    background-color: #234E76;
    border-radius: 0.375rem;
    border: none;
    outline: none;
    transition: 0.3s;
}

.form div button:hover {
    transform: scale(0.9);
    transition: 0.3s;
}





@media screen and (max-width: 1200px) {


    /* TÉRMINO DO CABEÇALHO */

    .linha-projetos {
        justify-content: center;
    }

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

    .container {
        margin: 0 60px;
        padding: 0;
    }

    .quiz .container {
        margin: 0 40px;
    }

    main .textos {
        margin: 15px 0;
    }

    .div-quiz {
        flex-direction: column;
    }

    .quiz img {
        margin-top: 30px;
    }

    .quiz p {
        padding: 0 2.5vw;
        text-align: justify;
    }

    .formulario {
        margin-top: 50px;
    }

    .projeto-item button {
        visibility: visible;
        opacity: 1;
        transform: none;
        transition: none;
        cursor: pointer;
    }

    .projeto-item:hover h2 {
        margin-top: 140px;
        transition: none;
    }

    .projeto-item:hover h3 {
        margin-top: 90px;
        transition: none;
    }

    .projeto-item:not(:hover) h2 {
        margin-top: 140px;
        transition: none;
    }

    .projeto-item:not(:hover) h3 {
        margin-top: 90px;
        transition: none;
    }

    .modal p {
        font-size: 2.4vh;
    }

    .modal {
        width: 100%;
        max-width: 600px;
    }

    .modal img {
        width: 100%;
        height: 50vw;
        object-fit: cover;
    }




    /* RODAPÉ */

    #contato {
        padding: 15px;
        width: 100%;
        text-align: center;
    }

    .rodapeCima {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .logoRodape {
        text-align: center;
        width: 100px;
        margin-left: 100px;
    }

    #contato .menina img {
        margin-right: 100px;
        width: 120px;
    }

    #contato .redes {
        display: flex;
        align-items: center;
        height: 50px;
        margin: 15px 0;
    }

    .redes {
        width: 100%;
    }

    .redes img {
        width: 35px;
        padding: 5px;
        padding-left: 3px;
    }

    .icone:hover {
        width: 40px;
        transition: 0.5s;
        filter: brightness(50%);
    }

    .texto-rodape {
        padding: 5px;
        text-align: justify;
        font-size: 15px;
    }

    .logoRodape img {
        width: 120px;
    }

    .rodapeTexto,
    .redes {
        display: flex;
        justify-content: center;
    }

    .rodapeTexto {
        width: 100%;
    }

    .enderecoTexto {
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0;
        margin-bottom: 25px;
        width: 100%;
    }

    .endereco {
        margin-top: 30px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .enderecoTexto img {
        width: 40px;
        margin-right: 10px;
    }

    .textoMaps {
        font: 400 14px 'Montserrat', sans-serif;
    }

    .imgMaps {
        display: flex;
        justify-content: center;
    }

    .rodape-lado1 {
        width: 100%;
    }

    .rodape-lado2 {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .imgMaps img {
        border-radius: 10px;
        width: 200px;
        display: flex;
        align-items: center;
    }

    .amigo {
        display: flex;
        justify-self: center;
        align-items: center;
    }

    .amigo img {
        width: 270px;
    }

    .direitos {
        width: 100%;
        margin-top: 90px;
    }



}

@media screen and (max-width: 608px) {
    .modal-menu {
        width: 100%;
    }

    .descricao {
        padding: 0;
    }

    .form div {
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .form div input {
        margin-right: 0;
    }

    .form div button {
        margin-top: 15px;
    }

    .form span {
        font-size: 35px;
    }

    .projetos .linha-projetos img {
        width: 230px;
    }

    .projeto-item button {
        visibility: visible;
        opacity: 1;
        transform: none;
        transition: none;
        cursor: pointer;
        transform: scale(0.9);
    }

    .projeto-item:hover button {
        visibility: visible;
        opacity: 1;
        transform: scale(0.9);
        transition: none;
    }

    .projeto-item:hover h2 {
        margin-top: 110px;
        transition: none;
        font-size: 35px;
    }

    .projeto-item:hover h3 {
        margin-top: 70px;
        transition: none;
        font-size: 35px;
    }

    .projeto-item:not(:hover) h2 {
        margin-top: 110px;
        transition: none;
        font-size: 35px;
    }

    .projeto-item:not(:hover) h3 {
        margin-top: 70px;
        transition: none;
        font-size: 35px;
    }

    .projeto-item button {
        margin-top: 150px;
    }


}