@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Nanum+Myeongjo&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

:root{
    --cor-letras: #B79058;
    --cor-JJ: #122D54; 
    --cor-fundoNav: #5e7ca6;
    --fundo-tela: rgba(84, 105, 199, 0.637);
    --fundo-caixa: #045485;
    --fundo-caixa-hover: linear-gradient(120deg,#122D54,#184585,#066aa8 );
 /* --texto-pagInicial: #150ae8; */
}

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Open Sans", sans-serif;
}

html{
    scroll-behavior: smooth;
}

body{
    background-color: var(--fundo-tela);
}

/* Página Inicial */
#nave{
    width: 100%;
    height: 100px;
    padding: 5px;
    display: flex;
    background: var(--cor-fundoNav);
    background-size: cover;
    position: fixed;
    z-index: 2;
    justify-content: space-between;
    align-items: center;
}


#nave img{
    padding: 30px;
    cursor: pointer;
}

.nav-list ul{
    width: 100%;
    list-style-type: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-link{
    font-size: 1.3rem;
    color: white;
    padding: 1rem;
    text-decoration: none;
    font-weight: bold; 
}

li a:hover {
    transition: 1s;
    cursor: pointer;
    color: var(--cor-letras);
}


#logo img{

    height: 12rem;
    /* width: 100%; */
    position: static;
     
}

.content{
    position: absolute;
    top: 45%; 
    left: 10%;
    /* transform: translateY(-50%); */
}

.content  img{
    height: 100vh;
    margin-top: -150px;
    object-fit: cover;
    width: 90%;
}

.content h1{
    color: var(--cor-JJ);
    font-size: 3rem;
    padding: 2rem 0;
    width: 50rem ;
}

#btn{
    height: 4rem;
    width: 14rem;
    background-color: rgb(201, 151, 25);
    color: #fff;
    font-size: 1.5rem;
    font-weight: bold;
    cursor: pointer;
    border: none;
    outline: none;
    border-radius: 17px;
    transition: .5s ease-in;
}

#btn:hover{
    letter-spacing: .10rem;
    opacity: .8;
    color: black;
    font-weight: bold; 
}

.content{
    width: 40%;
    float: left;
    text-align: left;
    padding: 0px 80px;
}

/* Sobre nós */
#sobre{
    display: flex;
    padding: 0;
    box-sizing: border-box;
}

.texto{
    display: flex;
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
}

article h1{
    text-align: center;
    font-size: 1.8rem;
    margin-top: 50px;
    color: var(--cor-JJ);
}

article p{
    text-align: justify;
    font-size: 1.3rem;
    margin-left: 20px;
    margin-top: 50px;
    font-weight: 400;
}

.fundador{
    display: inline-block;
    margin-bottom: 20px;
}

#fundador{
    margin-bottom: 0;
    padding: 0;
}

.legend{
    text-align: center;
    font-size: large;
    font-weight: bold;
   
}

/* Seviços */
#services {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    padding: 0;
    box-sizing: border-box;
}

.conteudo{
    max-width: 1300px;
    padding: 0 45px;
    margin: auto;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.conteudo h1{
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 25px;
    color: var(--cor-JJ);
    margin-top: 10px;
}

.flip-container{
    display: inline-block;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

.flip-container h3{
    font-size: 25px;
    color: var(--cor-letras);
    transition: all .3s ease-in;
}

.card{
    width: 300px;
    height: 200px;
    border-radius: 6px;
    font-size: 15px;
    margin-bottom: 32px;
    background: var(--fundo-caixa);
    text-align: center;
    align-items: center;
    margin: 10px;
    transition: all 0.4s ease-in;
}

.card:hover{
    height: 320px;
}

/* animação card */
.flip-container{
    perspective: 1000;
    align-items: center;
    justify-content: center;
    text-align: center;
}
   /* velocidade da animação */
.flip-container:hover .card, .flip-container.hover .card{
    transform: rotateY(180deg);
}

.card{
    transition: 0.6s;
    transform-style: preserve-3d;
    position: relative;
}

/* esconder parte de trás no momento da troca */
.front, .back{
    backface-visibility: hidden;
    position: absolute;
    top: 0;
    left: 0;
}

/* colocar painel frontal acima */
.front{
    z-index: 2;
    transform: rotateY(0deg);
}

/* painel de trás inicialmente escondido */
.back{
    transform: rotateY(180deg);
}

.box{
    width:300px;
    height:300px;
    padding: 10px;
    margin: 10px;
    align-items: center;
    justify-content: center;
    font-size:20px;
    cursor:pointer;
}

.box-title{
    padding: 35px ;
    align-items: center;
    text-align: center;
    justify-content: center;
}

.box-container{
    font-size: 17px;
    font-family: "Roboto", sans-serif;
    font-weight: bold;
    padding: 20px;
    text-align:center;
}

#card2, #limpeza{
    padding-top: 0;
}

#btn-serv{
    display: flex;
    position: relative;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin-top: 20px;
    margin-bottom: 20px;
}

#btn-agendar{
    height: 4rem;
    width: 20rem;
    background-color: darkgoldenrod;
    color: #fff;
    font-size: 1.5rem;
    font-weight: bold;
    cursor: pointer;
    border: none;
    outline: none;
    border-radius: 17px;
    margin-left: 10px;
    align-items: center;
    justify-content: center;
    color: var(--cor-JJ);
}

/* Galeria */
#galeria{
    margin-bottom: 250px;
    display: block;
    padding: 0;
    box-sizing: border-box;
}

#titulo{
    margin-bottom: 260px;
    margin-top: 0;
}

#titulo h1{
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 25px;
    color: var(--cor-JJ);
    margin-top: 10px;
}

.container-slider{
    display: flex;
    width: 100%;
    min-width: 100vh;
    align-items: center;
    justify-content: center;
    gap: 1rem;

}

.container-images{
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 700px;
}

.slider{
    opacity: 0;
    transition: opacity .2s;
    position: absolute;
    width: 100%;
    border-radius: 10px;
}

.on{
    opacity: 1;
}

#btn-voltar, #btn-avancar{
    width: 30px;
    height: 30px;
    border: none;
    background-color: transparent;
    cursor: pointer;
}

#btn-voltar img, #btn-avancar img{
    width: 100%;
    height: 100%;
}

#btn-voltar {
    transform: rotate(180deg);
}