@charset "UTF-8";

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

:root{
    --white: #fffff6;
    --black: #0e0e0e;
    --green1: #02290A;
    --green2: #019A1E;
    --green3: #82F598;
    --background: #e0fee5;
}

body{
    font-family: Arial, Helvetica, sans-serif;
    background-color: var(--background);
}

h1, h2{
    text-align: center;
}

h1{
    margin-bottom: 20px;
}

html {
    scroll-behavior: smooth;
}

body.no-scroll {
    overflow: hidden;
}



/*--------------------------------------header*/



header{
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

header > div{
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
    width: 50%;
    justify-content: right;
    padding-right: 5%;
}

header img{
    width: 35%;
    max-width: 250px;
}

header button.conth{
    width: 100px;
    height: 40px;
    background-color: var(--white);
    border: 1px solid var(--green2);
    border-radius: 3px;
    z-index: 15;
    margin-right: 25px;
}

header button.conth:hover{
    background-color: var(--green1);
    cursor: pointer;
    color: var(--white);

}

button#menu{
    width: 35px;
    height: 35px;
    background-color: transparent;
    cursor: pointer;
    transition: 0.2s linear;
    border: none;
    margin-left: 25px;
    z-index: 11;
}

span.linha{
    width: 90%;
    height: 4px;
    margin: 5px auto;
    background-color: var(--black);
    display: block;
    position: relative;
    transform-origin: center;
    transition: 0.3s ease-out;
}

.x .linha:nth-child(1){
    transition: 0.3s ease-out;
    transform: translateY(9px) rotate(-45deg);
}
.x .linha:nth-child(2){
    width: 0;
    transition: 0.2s;
}
.x .linha:nth-child(3){
    transition: 0.3s ease-out;
    transform: translateY(-9px) rotate(45deg);
}



header nav{
    padding: 40px 0px 40px 0px;
    position: fixed;
    top: 0px; /* altura do header */
    left: 0;
    width: 100%;

    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(6px);

    display: flex;
    flex-direction: column;
    align-items: center;

    height: 150px;
    opacity: 0;
    overflow: hidden;

    transform: translateY(-10px);
    transition: max-height 0.4s ease,
                opacity 0.3s ease,
                transform 0.3s ease;

    z-index: 10;
}

header nav a{
    text-decoration: underline;
    color: black;
    z-index: 11;
    margin: 20px 0px 20px 0px;
    text-transform: uppercase;
}

header nav.open{
    height: 500px;
    opacity: 1;
    transform: translateY(0);
}


/*----------------------------article.hd*/

article.hd {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-flow: column nowrap;
    text-align: center;
    height: 300px;
    overflow: hidden; /* impede que o vídeo passe do limite */
    text-shadow: 5px 5px 10px black;
}
article.hd::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5); /* escurece o vídeo */
    z-index: 0; /* fica acima do vídeo, mas atrás do conteúdo */
}


.bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* faz o vídeo cobrir o article certinho */
    z-index: -1;
}

article.hd .content {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-flow: column nowrap;
    text-align: center;
    position: relative;
    color: var(--white);
    z-index: 1; /* garante que o texto aparece sobre o vídeo */
    padding: 20px;
    border-radius: 10px;
}

article.hd h2{
    color: var(--green2);
    font-size: 1em;
}

/*----------------------------article.sobre*/

article.sobre {
    padding: 20px;
}

article.sobre p{
    text-align: justify;
    text-indent: 50px;
    line-height: 25px;
    margin-bottom: 25px;
}

article.sobre img{
    width: 100%;
    margin: 30px 0px 30px 0px;
    border-radius: 10px;
}

article.sobre div{
    display: flex;
    flex-flow: column nowrap;
    align-items: center;
    width: 100%;


}

article.sobre div p{
    width: 100%;
    padding: 0px;
}

/*----------------------------article.obj*/

article.obj{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-flow: column nowrap;
    
}

article.obj li {
    list-style-position: inside;
}


article.obj .container{
    position: relative;
    width: 250px;
    height: 400px;
    margin-bottom: 100px;
}

article.obj .container:hover .flip{
    transform: rotateY(180deg);
}
.flip{
    position: absolute;
    width: 100%;
    height: 100%;
    cursor: pointer;
    transform-style: preserve-3d;
    transition: 0.5s ease-in-out;
}

.frente, .tras{
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.361);
    text-align: center;
    padding: 10px;
    transform-style: preserve-3d;
    backface-visibility: hidden;
}

.tras{
    background-color: #eeeeee;
    transform: rotateY(180deg);

}

.frente{
    background-image: url(imagens/derror404.png);
    background-position: center;
    background-size: cover;
    border: 2px solid black;
}

.beta{
    background-image: url('imagens/imgcard1.jpg');
}

div.flip .asd2{
    background-image: url('imagens/imgcard2.jpg');
}

div.flip .asd3{
    background-image: url('imagens/imgcard3.jpg');
}
/*------------------------------------article.serv----------------------------*/

article.serv{
    text-align: justify;

}

div.img1-fnd{
    background-image: url("imagens/fnd1.jpg");
}
div.img2-fnd{
    background-image: url("imagens/fnd2.jpg");
}


div.fnd{
    width: 100%;

    color: white;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    text-shadow: 5px 5px 10px black;
}

article.serv aside{
    padding: 40px;
    display: flex;
    flex-flow: column nowrap;
    align-items: center;
    justify-content: center;
}

article.serv aside h2{
    font-size: 2em;
}

article.serv aside p{
    margin-top: 50px;
    font-size: 1.5em;
}

div.fnd-brc{
    background-color: var(--background);
    color: black;
    text-shadow: none;
    width: 100%;
}

/*---------------------------Contato*/

article.contato{
    background-color: var(--green2);
    padding: 20px;
}

article.contato div{
    display: flex;
}

div.redes{
    display: flex;
    justify-content: center;
}

div.redes svg{
    width: 50px;
    margin: 0px 10px 0px 10px;
    cursor: pointer;
}

svg{
    width: 20px;
    display: inline;
}

article.contato h2{
    margin: 20px 0px 20px 0px;
}

/*--------------------------local*/

article.local{
    display: flex;
    flex-flow: row wrap;
    max-width: 530px;
    margin: auto;
}

article.local h1{
    width: 100%;
}

article.local img{
    width: 50%;
}

article.local iframe{
    width: 50%;
}