:root {
    --cor-escura: #8C5A3C;
    --cor-clara: #C08552;
    --fundo-servicos: #FF9644;
    --fundo-relatos: #FFCE99;
    --branco: #FFFDF1;
}

* {
    margin: 0;
    border: 0;
    box-sizing: border-box;
}

@font-face {
    font-family: "Inria Sans";
    font-style: normal;
    font-display: swap;
    src: url(./fonts/Inria_Sans/InriaSans-Regular.ttf) format('truetype');
}

@font-face {
    font-family: "Inria Sans Bold";
    font-style: bold;
    font-display: swap;
    src: url(./fonts/Inria_Sans/InriaSans-Bold.ttf) format('truetype');
}

@font-face {
    font-family: "Inspiration";
    font-style: normal;
    font-display: swap;
    src: url(./fonts/Inspiration/Inspiration-Regular.ttf) format('truetype');
}

html {
    font-size: 16px;
    overflow-x: hidden;
    scrollbar-width: none;
}

body {
    background-color: var(--cor-clara);
    font-family: 'Inria Sans', Arial, sans-serif;
    width: 100vw;
    position: relative;
}

#top {
    height: 1.5rem;
    background-color: var(--cor-escura);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-inline: 1rem;
}

#top a {
    text-decoration: none;
    color: var(--branco);
}

header {
    height: 3rem;
    background-color: var(--branco);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-inline: 1rem;
    z-index: 100;
    position: sticky;
    top: 0;
}

.logo a {
    display: flex;
    align-items: center;
}

.logo a:hover {
    cursor: pointer;
}

.logo p {
    font-family: 'Inspiration', Arial, sans-serif;
    font-size: 1.1rem;
}

.logo img {
    width: 3.2rem;
}

header nav {
    width: 45%;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    position: relative;
}

header a, footer a {
    text-decoration: none;
    color: black;
}

.btn, #form-btn {
    background-color: var(--cor-escura);
    border-radius: 1rem;
    color: var(--branco);
    padding: 0.5rem;
    padding-inline: 2.2rem;
    font-size: 1rem;
    font-family: inherit;
}

.btn:hover, #form-btn:hover {
    cursor: pointer;
}

#menu-mobile {
    display: none;
    flex-direction: column;
    gap: 0.5rem;
    position: absolute;
    top: 3rem;
    right: 0;
    background-color: var(--cor-escura);
    padding: 1rem 3rem;
    margin: 0.5rem;
    border-radius: 0.5rem;
    transition: all .5s ease;
    box-shadow: 0.2rem 0.2rem 0.2rem rgb(0,0,0,0.2);
}

#menu-mobile a {
    color: var(--branco);
}

#btn-menu-mobile {
    display: none;
    background: none;
    cursor: pointer;
    color: black;
}

section#home {
    display: flex;
    flex-direction: column;
    padding: 3.5rem 1.5rem;
    color: var(--branco);
    scroll-margin-top: 3rem;
    gap: 1.5rem;
    position: relative;
}

#home-top {
    padding-bottom: 1rem;
    display: flex;
    justify-content: space-between;
}

#home-left {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.title {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

#home-left h1 {
    font-size: 3rem;
    font-weight: normal;
}

#home-left p {
    font-size: 1.6rem;
}

#exp {
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 1rem;
}

#exp strong {
    font-size: 2rem;
}

#home-right {
    display: flex;
    justify-content: flex-end;
    padding-bottom: 0.5rem;
}

#home-right img {
    width: 22rem;
    height: 24rem;
}

#home-bottom {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: absolute;
    bottom: 0;
    padding-bottom: 1.5rem;
}

section#sobre {
    background-color: var(--branco);
    width: 100%;
    padding: 3rem 1rem;
    display: flex;
    justify-content: space-between;
    gap: 3rem;
    scroll-margin-top: 3rem;
}

#sobre-left {
    width: 40%;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

#sobre img {
    width: 33%;
    height: 100%;
    border-radius: 0.5rem;
}

#sobre-right {
    width: 60%;
    text-align: justify;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

#sobre-right button {
    max-width: 16rem;
}

section#servicos {
    background-color: var(--fundo-servicos);
    width: 100%;
    padding: 2.5rem 1rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    scroll-margin-top: 3rem;
}

#container-servicos {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.card-servico {
    background-color: var(--branco);
    width: 11.5rem;
    height: 15rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: 0.8rem;
    font-weight: normal;
    gap: 0.5rem;
}

.card-servico img {
    width: 9rem;
    height: 11rem;
    border-radius: 0.2rem;
}

section#galeria {
    background-color: var(--branco);
    height: 30rem;
    width: 100%;
    padding: 3rem 1rem;
    scroll-margin-top: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
}

#galeria-wrapper {
    width: 100%;
    position: relative;
    overflow: hidden;
    display: flex;
}

#container-galeria {
    display: flex;
    gap: 1rem;
    transition: transform .4s ease;
}

.btn-galeria {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--fundo-servicos);
    border-radius: 50%;
    padding: 0.5rem;
    z-index: 3;
    cursor: pointer;
    color: black;
}

#btn-galeria-left {
    left: 0.8rem;
}

#btn-galeria-right {
    right: 0.8rem;
}

.card-galeria {
    width: 12rem;
    height: 16rem;
    border-radius: 1rem;
    flex: 0 0 auto;
}

.card-galeria img {
    width: 100%;
    height: 100%;
    border-radius: 0.5rem;
}

section#relatos { 
    width: 100%; 
    gap: 1.5rem; 
    padding: 3rem 1rem; 
    background-color: var(--fundo-relatos); 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    text-align: center; 
    scroll-margin-top: 3rem; 
} 

#relatos-wrapper { 
    width: 100%; 
    position: relative; 
    overflow: hidden; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
} 

#container-relatos {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(3, 1fr);
    width: 36rem;
}

.btn-relato { 
    background: none; 
    border: none;
    color: black;
} 

.btn-relato:hover { 
    cursor: pointer; 
} 

.card-relato { 
    background-color: var(--branco); 
    padding: 0.5rem 1rem; 
    border: 0.15rem solid var(--fundo-servicos); 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    gap: 0.7rem;
    font-size: 0.7rem; 
    text-align: justify;
}

.card-relato img { 
    width: 5rem; 
}

.card-relato.hidden {
    display: none;
}

section#contato {
    width: 100%;
    height: 30rem;
    scroll-margin-top: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: var(--branco);
    padding: 3rem 1rem;
    gap: 1.5rem;
}

#contato .title {
    text-align: center;
}

#contato form {
    width: 30rem;
    max-width: 80%;
    height: 80%;
    border: 0.1rem solid var(--fundo-servicos);
    border-radius: 0.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-bottom: 1rem;
}

form input, form select {
    background-color: transparent;
}

.input-container {
    display: flex;
    flex-direction: column;
    padding: 0.8rem;
    gap: 1rem;
    font-size: 0.8rem;
}

.input-container input {
    border-bottom: 0.1rem solid var(--fundo-servicos);
    font-size: 0.8rem;
    font-family: 'Inria Sans', Arial, sans-serif;
}

.input-container input:focus {
    outline: none;
    border-bottom: 0.1rem solid black;
}

.input-container select {
    appearance: none;
    border-bottom: 0.1rem solid var(--fundo-servicos);
    background-image: url("data:image/svg+xml;utf8,<svg fill='%238C5A3C' height='20' viewBox='0 0 24 24' width='20' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
    background-repeat: no-repeat;
    background-position: right center;
    font-size: 0.8rem;
    font-family: 'Inria Sans', Arial, sans-serif;
}

.input-container select:focus {
    outline: none;
}

form #form-btn-container {
    align-self: center;
}

footer {
    display: flex;
    justify-content: space-between;
    padding: 2rem 1rem;
    text-align: center;
}

footer p {
    font-weight: bold;
    padding-bottom: 0.5rem;
}

footer .logo p {
    font-weight: normal;
    padding-bottom: 0;
}

.hidden {
    display: none;
}

.show {
    display: flex;
}

@media (max-width: 912px) {
    html {
        font-size: 12px;
    }

    .btn {
        font-size: 1rem;
        padding-inline: 2rem;
    }

    header nav {
        display: none;
    }

    #btn-menu-mobile {
        display: block;
    }

    #menu-mobile.show {
        display: flex;
    }

    #home-right img {
        width: 18rem;
        height: 20rem;
    }

    #home-left h1 {
        font-size: 2rem;
    }

    #home-left p {
        font-size: 1rem;
    }

    #home-bottom {
        position: inherit;
        flex-direction: row;
        bottom: 0;
        align-items: center;
    }

    section#sobre {
        flex-direction: column;
        align-items: center;
    } 

    #sobre-left {
        justify-content: center;
    }

    #sobre-right {
        align-items: center;
    }

    #sobre img {
        width: 9.5rem;
        height: 12rem;
    }

    #container-relatos {
        grid-template-columns: 1fr;
        width: 10rem;
    }
}

@media (max-width: 375px) {
    html {
        font-size: 8px;
    }

    .btn {
        font-size: 0.8rem;
        padding-inline: 1.5rem;
    }

    #home-left h1 {
        font-size: 2rem;
        font-weight: normal;
    }

    #home-left p {
        font-size: 1rem;
    }

    #exp strong {
        font-size: 2.5rem;
    }
}