/* ========== Reset e Raiz ==========*/
*{
    margin: 0px;
    padding: 0px;
    font-family: f1, Arial, Helvetica, sans-serif;
    box-sizing: border-box;
    scroll-behavior: smooth;
    text-decoration: none;
    list-style: none;
}
:root{
    --cor1: #0a0a0b;
    --cor2: #111214;
    --cor3: #1a1c20;
    --cor4: #222428;
    --cor8: #c79b21;
    --cor6: #e8c96d;
    --cor7: #f5e0a0;
    --cor5: #c0392b;
    --cor9: #8a8888; 
}
@font-face {
    font-family: "f1";
    src: url("../fonts/Cabin-Medium.ttf") format("truetype");
}
@font-face {
    font-family: "f2";
    src: url("../fonts/Aromatron-Regular.otf") format("opentype");
}
@font-face {
    font-family: "f3";
    src: url("../fonts/Balloon Craft Italic.otf") format("opentype");
}

a#btnSubir {
    background-color: var(--cor8);
    position: fixed;
    bottom: -100px;
    right: 20px;
    z-index: 500;
    color: #fff;
    font-size: 40px;
    border-radius: 50%;
    height: 60px;
    width: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.8s;
    padding: 5px;
}
a#btnSubir.aparece {
    bottom: 30px;
    animation: crescer 0.5s infinite alternate ease-in-out;
}
a#btnSubir i {
    color: #fff;
}
body{
    background-color: var(--cor1);
    color: #fff;
}
@media (max-width: 600px) {
    a#btnSubir.aparece {
        right: 10px;
        bottom: 10px;
        font-size: 20px;
        height: 50px;
        width: 50px;
    }
}
/* ========== Início do Header ==========*/

header{
    width: 100%;
    height: 85px;
    background-color: var(--cor1);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 0px 50px;
    transition: .5s;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

header nav{
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header nav div#logo a{
    font-size: 40px;
    text-decoration: none;
    color: var(--cor8);
    font-weight: 600;
}

header nav ul{
    display: flex;
    list-style: none;
}

header nav ul li{
    margin: 10px;
}

header nav ul a{
    font-size: 20px;
    text-decoration: none;
    color: var(--cor8);
    font-weight: 700;
    transition: .3s;
    display: block;
    transform: scale(0.9);
}

header nav ul a.ativo,
header nav ul a:hover{
    color: var(--cor8);
    border-bottom: 4px solid var(--cor8);
    transform: scale(1.1);
}

header nav button#btnMenu{
    height: 50px;
    width: 40px;
    border: none;
    cursor: pointer;
    padding: 2px;
    background-color: transparent;
    display: none;
}

header nav button#btnMenu span.linha{
    height: 4px;
    width: 100%;
    background-color: #fff;
    display: block;
    margin: 6px auto;
    position: relative;
    transform-origin: center;
}

header nav button.ativar span.linha:nth-child(2){
    visibility: hidden;
}

header nav button.ativar span.linha:nth-child(1){
    transform: translateY(9px) rotate(-42deg);
    transition: 0.2s;
}

header nav button.ativar span.linha:nth-child(3){
    transform: translateY(-11px) rotate(42deg);
    transition: 0.2s;
}

@media (max-width: 800px) {
    header{
        height: 80px;
        padding: 5px 20px;
    }
    header nav div#logo a{
        font-size: 25px;
    }
    header nav button#btnMenu{
        display: block;
    }
    
    header nav ul{
        position: absolute;
        top: 80px;
        left: 1000px;
        background-color: var(--cor1);
        width: 100%;
        display: flex;
        flex-direction: column;
        z-index: 100;
        padding-bottom: 5px;
        transition: .8s;
        box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.5);
    }
    header nav ul li{
        margin: 5px;
    }
    header nav ul li a{
        padding-left: 10px;
        font-size: 18px;
    }
    header nav ul a.ativo, header nav ul a:hover{
        transform: scale(0.9);
        border: none;
        border-left: 5px solid var(--cor2);
    }
    header nav ul.mostrar{
        left: 0px;
    }
}
/* ========== Fim do Header ==========*/

/* ========== Início do Main ==========*/
main > h1 {
    color: #fff;
    text-align: center;
    margin: 10px 0;
    font-size: 40px;
    font-family: f2;
}
@media (max-width: 600px) {
    main > h1 {
        font-size: 30px;
    }
}
/* Inicio da section top  */
main section#top{
    height: 98vh;
    min-height: 500px;
    max-height: 1000px;
    width: 100%;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 5px 5%;
}
main section#top div.texto{
    display: flex;
    justify-content: center;
    align-items: start;
    flex-direction: column;
    height: 100%;
    width: 60%;
    padding: 2%;
}

main section#top div.texto strong{
    font-size: 16px;
    color: #fff;
}

main section#top div.texto h1{
    font-size: 55px;
    color: var(--cor8);
    letter-spacing: 1px;
    font-family: f1;
    text-transform: uppercase;
}

main section#top div.texto h2 {
    font-size: 25px;
    color: #fff;
    margin: 8px 0;
}

main section#top div.texto p{
    font-size: 16px;
    color: #fff;
    margin: 20px 0;
}

main section#top div.texto a{
    text-decoration: none;
    border: 2px solid var(--cor8);
    padding: 10px 30px;
    border-radius: 10px;
    color: var(--cor8);
    font-weight: bold;
    font-size: 18px;
    background-color: transparent;
    transition: .5s;
}

main section#top div.texto a:hover {
    background-color: var(--cor8);
    color: #fff;
}

main section#top div.foto {
    width: 40%;
    height: 80%;
    display: flex;
    justify-content: center;
    align-items: center;
}

main section#top div.foto img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

@media screen and (max-width: 850px) {
    main section#top {
        height: auto;
        padding: 200px 2% ;
        flex-wrap: wrap;
        gap: 5px;
        margin: 0 auto 150px auto;
    }
    main section#top div.texto{
        width: 100%;
        padding: 2%;
    }
    main section#top div.foto {
        width: 90%;
        height: auto;
        max-width: 500px;
        margin: auto;
    }

}

@media (max-width: 750px) {
    main section#top {
        padding: 50px 1%;
        margin: auto;
    }
    main section#top div.texto {
        padding: 25% 5% 5% 5%;
    }
    main section#top div.texto h1{
        font-size: 35px;
        margin-bottom: 1px;
    }
    
    main section#top div.texto h2 {
        font-size: 22px;
    }

    main section#top div.texto p{
        font-size: 17px;
    }
}
@media (min-width: 800px) {
    main section#top.revela div.texto h1 {
        animation: letras 1s ease-in-out forwards;
    }
}
/* fim da section top  */

main section#servicos {
    background-color: var(--cor2);
    padding: 40px 0;
}
main section#servicos div.titulo {
    display: flex;
    justify-content: space-around;
    padding: 20px 0;
}

main section#servicos div.titulo h2 {
    font-size: 40px;
}

main section#servicos div.lista {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    padding: 0 2%;
    width: 100%;
}

main section#servicos div.lista div.card {
    width: 100%;
    max-width: 320px;
    border: 2px solid var(--cor4);
    padding: 0 20px 20px 20px;

}

main section#servicos div.lista div.card div.top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

main section#servicos div.lista div.card div.top div.icon i {
    font-size: 30px;
    color: var(--cor8);
}
main section#servicos div.lista div.card div.top h2{
    color: var(--cor9);
}

main section#servicos div.lista div.card div.texto h2 {
    margin: 10px 0;
    font-size: 20px;
}
main section#servicos div.lista div.card div.texto p {
    text-align: left;
    margin: 5px 0;
    font-size: 15px;
    color: var(--cor9);
}

main section#sobre {
    display: flex;
    justify-content: space-around;
    padding: 60px 5px;
}

main section#sobre div.foto {
    height: 500px;
    width: 90%;
    max-width: 450px;
}
main section#sobre div.foto img {
    height: 100%;
    width: 100%;

}

main section#sobre div.lado h1 {
    margin: 10px 0;
}

main section#sobre div.lado p {
    margin: 10px 0;
    font-size: 14px;
    color: var(--cor9);
}

main section#sobre div.lado div.item {
    display: flex;
    margin: 20px 0;
}

main section#sobre div.lado div.item div.icon i {
    color: var(--cor8);
    font-size: 30px;
}

@media (max-width: 800px) {
    main section#sobre {
        padding: 60px 20px;
    }
    main section#sobre div.foto {
        display: none;
    }
}

main section#total {
    background-color: var(--cor2);
    padding: 70px 0;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    background-color: var(--cor8);
    gap: 10px;
}

main section#total div.item {
    text-align: center;
    color: #000;
}
main section#total div.item h2 {
    font-size: 30px;
}
main section#total div.item {
    font-size: 16px;
}

main section#contacto {
    display: flex;
    padding: 50px 5%;
    align-items: center;
    gap: 5%;
}

main section#contacto div.texto {
    width: 40%;
}

main section#contacto div.texto h1 {
    margin: 0 0 10px 0;
}
main section#contacto div.texto p {
    margin: 10px 0;
    font-size: 15px;
    color: var(--cor9);
}

main section#contacto div.texto div.item {
    display: flex;
    margin: 10px 0;
    gap: 10px;
    align-items: center;
}

main section#contacto div.texto div.item i {
    color: var(--cor8);
    font-size: 20px;
}

main section#contacto div.texto div.item p {
    font-size: 15px;
    color: white;
}

main section#contacto div.texto div.item p a{
    font-size: 15px;
    color: white;
}

main section#contacto div.form {
    width: 50%;
}

main section#contacto div.form form {
    width: 100%;
}

main section#contacto div.form form input, 
main section#contacto div.form form textarea {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: none;
    background-color: var(--cor2);
    color: #fff;
}

main section#contacto div.form form textarea {
    height: 150px;
    resize: none;
}

main section#contacto div.form form button {
    background-color: var(--cor8);
    color: #fff;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    transition: .5s;
}

@media (max-width: 800px) {
    main section#contacto {
        flex-wrap: wrap;
        gap: 20px;
    }
    main section#contacto div.texto, main section#contacto div.form {
        width: 100%;
    }
}






footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    background-color: var(--cor1);
    padding: 30px 0 50px 10px;
    box-shadow: 0 0 5px var(--cor8);

}

footer h2 {
    color: #fff;
    margin: 15px 0;
    font-size: 25px;
}

footer a {
    text-decoration: none;
    color: #fff;
    font-size: 18px;
    display: block;
    margin: 7px 5px;
}
footer i {
    color: var(--cor7);
}

footer section#info div.social {
    display: flex;
    gap: 10px;
}
footer section#info div.social a {
    font-size: 1.7em;
    margin: 0;
}
footer section#info div.social a:hover {
    transform: scale(1.2);
}

footer section#linksR ul {
    list-style-type: none;
}

footer section#baixo {
    width: 100%;
    text-align: center;
    
}


@media (max-width: 900px) {
    footer {
        justify-content: flex-start;
        gap: 20px;
    }
    footer section#info {
        width: 90%;
    }
}
@media (max-width: 500px) {
    footer section {
        width: 100%;
    }
    footer a {
        font-size: 15px;
    }
}
/* ========== Fim do Footer ==========*/
