* {
    font-family: 'Bai Jamjuree', sans-serif;
}

body {
    width: 100vw;
    max-width: 100vw;
    overflow-x: hidden;
    padding: 0;
    margin:0;
    color: var(--cor-texto)
}

html {
    scroll-behavior: smooth;
}



:root {
    --azul-principal: #0081c2;
    --azul-background: #F6FCFF;
    --cor-texto: #313131;

    --font-big: 36px;
    --font-med: 24px;
    --font-med2: 20px;
    --font-small: 16px;
    --font-xt-small: 14px;
}

/*-----------------------------------------------------------------*/
/*Estilos Globais:*/

h1 {
    font-size: var(--font-big);
}
h2 {
    font-size: var(--font-med);
}
h3 {
    font-size: var(--font-med2);
}
p {
    font-size: var(--font-small);
}

button {
    min-width: 150px;
    height: 40px;
    background-color: var(--azul-principal);
    border: none;
    color: white;
    font-size: var(--font-small);
    font-weight: 700;
    font-style: italic;
    cursor: pointer;
    box-sizing: border-box;
    padding: 10px;
    border-radius: 5px;

    transition: .2s ease;
}

button:hover {
    background-color: #51a2ce;
}

hr {
    border-width: 1px;
    opacity: 50%;
    border-color: var(--azul-principal);
    width: 400px;
}

.section {
    width: 100%;
    padding-right: 10vw;
    padding-left: 10vw;
    box-sizing: border-box;
}

.banner {
    width: 100%;
    height: 275px;
    padding-right: 10vw;
    padding-left: 10vw;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: start;
}

a {
    text-decoration: none;
    min-width: 150px;
    max-width: 200px;
    height: 40px;
    background-color: var(--azul-principal);
    border: none;
    color: white;
    font-size: var(--font-small);
    font-weight: 700;
    font-style: italic;
    cursor: pointer;
    box-sizing: border-box;
    padding: 10px;

    display: flex;
    justify-content: center;
    align-items: center;

    margin-bottom: 10px;

    transition: .2s ease;
}
a:hover {
    background-color: #51a2ce;
}

a i{
    margin-right: 5px;
}

@media (max-width: 800px) {
    :root {
        --font-big: 30px;
        --font-med: 22px;
        --font-med2: 18px;
        --font-small: 14px;
    }

    hr {
        width: 200px;
    }

    .banner {
        max-width: 100vw;
        text-align: center;
    }

    .banner p:nth-child(2) {
        display: none;
    }
}

/*-----------------------------------------------------------------*/
/*Header:*/

header {
    position: absolute;
    z-index: 1000;
    height: 100px;
    width: 100%;
    display: flex;
    flex-direction: row;
    margin: 0 auto;
    align-items: center;
    justify-content: space-between;
    background-color: #ffffffec;

    box-sizing: border-box;
    padding-right: 10vw;
    padding-left: 10vw;

    box-shadow: 0px 1px 4px rgba(0, 0, 0, 0.5)
}

#mobile-header {
    display: none;
}

header ul {
    list-style:none;
    display: flex;
    flex-direction: row;
}

header ul li {
    margin-right: 20px;
    cursor: pointer;

    transition: .1s ease;
}
header ul li:hover {
    color: var(--azul-principal)
}

header div:first-of-type {
    display: flex;
    justify-self: center;
    align-items: center;
}

header div:first-of-type img {
    width: 120px;
    overflow-y: hidden;
}


header div:nth-of-type(2) {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}
header div:nth-of-type(2) p {
    margin-right: 20px;
}
header div:nth-of-type(2) button{
    background-color: #a1a1a1;
    
    transition: .2s ease;
}
header div:nth-of-type(2) button:hover {
    background-color: #25D366;
}
header div:nth-of-type(2) button i{
    margin-right: 5px;
}

@media (max-width: 800px) {
    #desktop-header {
        display: none;
    }

    #mobile-header {
        display: flex;
    }

    header div:nth-of-type(2) {
        flex-direction: column;
    }

    /*Estilização do menu lateral:*/

    .menu-icon {
        width: 40px;
        height: 50px;
        display: flex;
        flex-direction: column;
        cursor: pointer;
        padding: 10px;
    }
    .bar {
        width: 100%;
        height: 3px;
        background-color: var(--cor-texto);
        margin-bottom: 5px;
    }

    #menu {
        display: none;
        position: fixed;
        top: 0;
        left: -250px;
        width: 250px;
        height: 100%;
        background-color: var(--azul-background);
        color: var(--cor-texto);
        box-shadow: 0px 1px 4px rgba(0, 0, 0, 0.116);

        transition: left 0.3s ease-in-out;
    }

    #menu-ul {
        display: flex;
        flex-direction: column;
    }
    #menu-ul li  {
        margin-bottom: 20px;
    }
    #menu-ul li:first-of-type  {
        margin-top: 40px;
    }

    /* Estilo para o botão de fechar o menu */
    #close-menu-button {
        position: absolute;
        top: 20px;
        left: 220px;
        cursor: pointer;
    }


    
}


/*-----------------------------------------------------------------*/
/*Hero:*/

.hero {
    height: 850px;;
    display: flex;
    flex-direction: column;
    background-image: url("assets/img/background/Hero.jpg");
    background-size: cover; /* Faz a imagem de fundo preencher a div, mantendo sua proporção */
    background-repeat: no-repeat;
    background-position: center center;
    position: relative;
    z-index: 1; 
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.774); /* Cor branca com opacidade de 50% */
    z-index: -1; /* Defina um valor de z-index menor do que o da imagem de fundo */
}

.hero div {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    width: 50%;
    display: flex;
    flex-direction: column;
}

.hero div h1 {
    margin-bottom: 20px;
}

.hero div button {
    max-width: 150px ;
}

@media (max-width: 800px) {
    .hero {
        height: 600px;
        margin: 0;
    }
    .hero div {
        width: 70%;
    }
}



/*-----------------------------------------------------------------*/
/*Marcas:*/

.marcas {
    height: 150px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.marcas ul {
    display: flex;
    flex-direction: row;
    padding: 0;
}

.marcas ul img {
    width: 120px;
    height: auto;
    margin-right: 40px;
}

@media (max-width: 800px) {
    .marcas {
        height: 150px;
        width: 100vw;
        max-width: 100vw;
        overflow-x: hidden;
    }

    .marcas ul {
        overflow-x: scroll;
    }
    .marcas ul img {
        width: 100px;
    }
}

/*-----------------------------------------------------------------*/
/*Nossos serviços:*/

.nossos_servicos {
    height: 1000px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: var(--azul-background);
}

.nossos_servicos .title {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    text-align: center;
}

.nossos_servicos .title h1 {
    margin: 0;
    margin-bottom: 20px;
}
.nossos_servicos .title hr {
    margin-bottom: 20px;
}

.nossos_servicos ul {
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    width: 80vw;
    max-width: 1030px;
    overflow: auto;
    justify-content: center;
    align-items: center;
}

.nossos_servicos ul li {
    width: 320px;
    height: 320px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin:10px;
    background-color: #ffffff93;
    box-sizing: border-box;
    padding: 10px;
    background-position: center center;
    position: relative;
    z-index: 1; 
    
    border-radius: 5px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
    
    color: var(--azul-principal);

    transition: .2s ease;
}

.nossos_servicos ul li p {
    margin:0;
    font-size: var(--font-xt-small);
}

.nossos_servicos ul li:hover {
    cursor: pointer;
    background-image: none;
    background-color: white;
    color: var(--cor-texto);
}

.nossos_servicos ul li::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.877); /* Cor branca com opacidade de 50% */
    z-index: -1; /* Defina um valor de z-index menor do que o da imagem de fundo */
}

@media (max-width: 1300px) {
    .nossos_servicos {
        height: 900px;
    }
    .nossos_servicos ul li {
        width: 275px;
        height: 275px;
    }
}


#servico-1 {
    background-image: url("assets/img/background/5.jpg");
}
#servico-2 {
    background-image: url("assets/img/background/1.jpg");
}
#servico-3 {
    background-image: url("assets/img/background/3.jpg");
}
#servico-4 {
    background-image: url("assets/img/background/6.jpg");
}
#servico-5 {
    background-image: url("assets/img/background/2.jpg");
}
#servico-6 {
    background-image: url("assets/img/background/4.jpg");
}

@media (max-width: 800px) {
    .nossos_servicos {
        height: 800px;
    }

    .nossos_servicos ul {
        width: 90vw;
    }

    .nossos_servicos ul li {
        width: 150px;
        height: 150px;
        margin: 5px;
    }

    .nossos_servicos ul li h2 {
        font-size: 11px;
    }

    .nossos_servicos ul li p {
        display: none;
    }
}


/*-----------------------------------------------------------------*/
/*Banner 1:*/

#banner-1 {
    background-color: white;
    color: var(--cor-texto);
    font-weight: 300;
}

#banner-1 div h3 {
    margin:0;
    margin-bottom: 20px;
}

#banner-1 div p {
    margin:0;
}


/*-----------------------------------------------------------------*/
/*Localização:*/

.localizacao {
    height: 600px;
    background-color: var(--cor-texto);
    color: white;
    display: flex;
    flex-direction: row;
    padding-top: 60px;
    padding-bottom: 60px;
}

.localizacao div:first-of-type {
    margin-right: 20px;
    display: flex;
    width: 50%;
    height: auto;
    flex-direction: column;
    justify-content: start;
}
.localizacao div:first-of-type h1 {
    margin:0;
    margin-bottom: 10px;
}
.localizacao div:first-of-type hr {
    margin-left:0;
    margin-right: 0;
}
.localizacao div:first-of-type p {
    margin: 0;
    margin-top:10px;
}
.localizacao div:first-of-type div {
    display: flex;
    height: 30px;
    flex-direction: row;
    width: 100%;
    margin-top: 10px;
    margin-bottom: 20px;
    justify-content: start;
    align-items: center;
}
.localizacao div:first-of-type button {
    max-width: 200px;
    margin-bottom: 20px;
}

.localizacao div:last-of-type {
    height: 100%;
    display: flex;
    width: 50%;
    justify-content: flex-end;
}
.localizacao div:last-of-type img{
    height: 100%;
    max-height: 550px;
}

@media (max-width: 800px) {
    .localizacao {
        height: 800px;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .localizacao div:first-of-type {
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        margin:0;
    }

    .localizacao div:first-of-type div {
        display: none;
    }

    .localizacao div:first-of-type div i {
        display: none;
    }
    .localizacao div:first-of-type div p {
        display: none;
    }

    .localizacao div:first-of-type button {
        margin-top: 20px;
    }

    .localizacao div:last-of-type {
        width: 100%;
        justify-content: center;
    }

    .localizacao div:last-of-type img{
        height: 100%;
        max-height: 400px;
    }
}
/*-----------------------------------------------------------------*/
/*Banner 2:*/

#banner-2 {
    font-weight: 300;
}

/*-----------------------------------------------------------------*/
/*Nossa História:*/

.historia {
    height: 750px;
    align-items: center;
    display: flex;
    flex-direction: row;
    padding-top: 60px;
    padding-bottom: 60px;
    background-color: var(--azul-background);
}

.historia div:first-of-type {
    display: flex;
    flex-direction: column;
    width: 50%;
    margin-right: 20px;
}

.historia div:first-of-type h1 {
    margin:0;
    margin-bottom: 10px;
}

.historia div:first-of-type hr {
    margin-left: 0;
    margin-right: 0;
}

.historia div:first-of-type p {
    margin:0;
    margin-top: 10px;
}

.historia div:last-child img {
    height: 100%;
    max-height: 500px; 
    justify-self: end;
}

@media (max-width: 800px) {
    .historia {
        height: 800px;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .historia div:first-of-type {
        width: 100%;
        align-items: center;
        text-align: start;
        margin: 0;
    }

    .historia img {
        display: none;
    }
}


/*-----------------------------------------------------------------*/
/*Banner 3:*/

#banner-3 {
    background-color: var(--cor-texto);
    color: white;
}


/*-----------------------------------------------------------------*/
/*Contato:*/

.contato {
    height: 750px;
    display: flex;
    flex-direction: row;
    padding-top: 60px;
    padding-bottom: 60px;
    background-color: var(--azul-background);
}
.contato div:first-of-type {
    display: flex;
    flex-direction: column;
    width: 60%;
    margin-right: 20px;
    justify-content: start;
}

.contato div:first-of-type h1 {
    margin:0;
    margin-bottom: 10px;
}

.contato div:first-of-type hr {
    margin-left: 0;
    margin-right: 0;
}

.contato div:first-of-type p {
    margin:0;
    margin-top: 10px;
}

.contato div:first-of-type ul {
    display: flex;
    flex-direction: column;
    justify-content: start;
    margin: 0;
    margin-top: 20px;
    padding: 0;
    
}

.contato div ul a {
    border-radius: 5px;
}

@media (max-width: 800px) {
    .contato {
        flex-direction: column;
        height: 500px;
        align-items: center;
        text-align: center;
    }

    .contato div:first-of-type {
        width: 100%;
        justify-content: center;
        align-items: center;
        margin: 0;
    }
    .contato div:first-of-type a {
        width: 200px;
    }

    .contato form {
        display: none;
    }
}

form {
    display: flex;
    flex-direction: column;
    background-color: white;
    width: 40%;
    height:550px;
    box-sizing: border-box;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0px 1px 4px rgba(0, 0, 0, 0.116);
    line-height: 2;
}
form input {
    background-color: #F6F6F6;
    border: none;
    margin-bottom: 10px;
}
form input[type="text"] {
    height: 40px;
}
form input[type="email"] {
    height: 40px;
}
form #mensagem {
    height: 200px;
}

form input[type="submit"] {
    height: 40px;
    background-color: var(--azul-principal);
    color: white;
    margin-top: 20px;
    
    border-radius: 5px;
    
    transition: .2s ease;
}
form input[type="submit"]:hover {
    cursor: pointer;
    background-color: #51a2ce;
}




/*-----------------------------------------------------------------*/
/*Footer:*/

footer {
    height: 300px;
    background-color: var(--cor-texto);
    color: white;
}

.rodape {
    height: 100%;
    display: flex;
    flex-direction: column;

    justify-content: center;
    align-items: center;
}

.rodape ul {
    list-style: none;

    padding:0;

    display: flex;
    flex-direction: row;

    margin: 0;
    margin-bottom: 10px;
}

.rodape ul li {
    margin-right: 10px;
}
.rodape ul li:hover {
    text-decoration: underline;
    cursor: pointer;
}

.rodape hr {
    margin-left: 0;
    margin-right: 0;
    margin-top: 0;
    margin-bottom: 10px;
}

.rodape p {
    margin: 0;
    margin-bottom: 10px;
}