/* Configurações */

*, *::before, *::after {
    margin: 0;
    padding: 0;
    border: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

/* Scrolls Reveals */
.titles, .conteudo h2, .conteudo p, .conteudo div {
    visibility: hidden;
}

:root {
    --maincolor1: #e3a72f;
    --maincolor2: #bb8633;
    --maincolor3: #ddd98c;
    --secondcolor1: #245091;
    --secondcolor2: #6494de;
    --darkcolor: #222222;
    --whitecolor: #fcfcfc;

    --montserrat: 'Montserrat', sans-serif;
    --opensans: 'Open Sans', sans-serif;
}

#background {
    width: 100vw;
    height: auto;
}

#whatsapp-fixed {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
}

#whatsapp-fixed a i {
    font-size: 3.2rem;
    color: #25D366;
    transition: 200ms ease-in-out;
}

#whatsapp-fixed a i:hover {
    color:#128C7E;
}

/* MAIN */

    main {
        width: 100%;
        min-height: 50vh;
        margin-top: 10vh;
        padding: 0rem 4rem;
    }

    .titles {
        margin-bottom: 2rem;
    }

    .titles h1{
        font-family: var(--montserrat);
        font-weight: bold;
        font-size: 2.8rem;
        color: var(--maincolor1);
        margin: 0;
        padding-top: 2rem;
    }

    .titles p {
        text-align: justify;
        font-size: 1.2rem ;
        line-height: 1.2rem;
        color: var(--darkcolor);
    }

    .conteudo h2 {
        color: var(--darkcolor);
        font-size: 2rem;
    }

    .conteudo p {
        text-align: justify;
        font-size: 1.2rem ;
        line-height: 1.6rem;
        color: var(--darkcolor);
    }

    .img-content {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        margin: 3rem 0rem;
    }

    .img-content .unity {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        align-items: center;
        justify-content: center;
        margin: 0;
        gap: 1rem;
    }

    .unity-box {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .unity-box img {
        width: 100%;
    }

    img {
        max-width: 100%;
        width: 80%;
        border-radius: 10px;
    }

    .img-caption {
        width: 80%;
        display: flex;
        justify-content: center;
    }

    .img-caption figcaption {
        font-style: italic;
        font-size: 0.8rem;
    }

/* MOBILE DEVICES */

@media only screen and (max-width: 1280px) {
    .titles h1 {
        font-size: 2.2rem;
    }
    
    .card h2 {
        font-size: 1.5rem;
    }
}

@media only screen and (max-width: 980px) {
    .card {
        width: 40%;
    }

    .card h2 {
        font-size: 1.5rem;
    }
}

@media only screen and (max-width: 836px) {
    main {
        margin-top: 8vh;
        padding: 0rem 2rem;
    }

    .titles h1 {
        font-size: 2rem;
        line-height: 2rem;
        padding-bottom: 0.5rem;
    }
}

@media only screen and (max-width: 768px) {
    
    .titles h1 {
        width: 80%;
    }

    .card button {
        width: 100px;
        height: 45px;
        font-size: 13pt;
        border-radius: 5px;
    }
}

@media only screen and (max-width: 600px) {
    .card button {
        width: 100px;
        height: 40px;
        font-size: 11pt;
        border-radius: 5px;
    }
}   

@media only screen and (max-width: 500px) {

    .projetos-title {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .projetos-title h4 {
        font-size: 28pt;
        width: 80%;
    }

    .projetos-title h3 {
        font-size: 18pt;
        width: 100%;
    }

    .card {
        width: 100%;
    }

}

@media only screen and (max-width: 416px) {
    .titles h1 {
        font-size: 2rem;
    } 
}

@media only screen and (max-width: 340px) {
    .titles h1 {
        font-size: 1.8rem;
    } 
}
