@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300&display=swap');


*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    
}


section{
    position: relative;
    width: 100%;
    min-height: 100vh;
    padding: 100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
}

header{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header .logo{
    position: relative;
    max-width: 100px;
}

.content-main{
    position: relative;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.content-main .textBox{
    position: relative;
    max-width: 600px;
}

.content-main .textBox h2{
    color: #333;
    font-size: 4em;
    line-height: 1.4em;
    font-weight: 500;
}

.content-main .textBox h2 span{
    color: #c20e0e;
    font-size: 1.2em;
    font-weight: 900;
}

.btn_sobre{
    display: inline-block;
    margin-top: 20px;
    padding: 8px 20px;
    background: #c20e0e;
    color: #fff;
    border-radius: 40px;
    font-weight: 500;
    letter-spacing: 1px;
    text-decoration: none;

}


.content-main .imgBox{
    display: flex;
    justify-content: flex-end;
    padding-right: 50px;
    margin-top: 50px;
    height: 470px;
    width: 650px;
}

.content-main .imgBox img{
    max-height: 100%;
    max-width: 100%;
}

.thumb{
    position: absolute;
    left: 50%;
    bottom: 20px;
    transform: translateX(-50%);
    display: flex;
}

.thumb li{
    list-style: none;
    display:inline-block;
    margin: 0 20px;
    cursor: pointer;
    transition: 0.5s;
}

.thumb li:hover{
    transform: translateY(-15px);
}

.thumb li img{
    max-width: 60px;
}

.sci{
    position: absolute;
    top: 50%;
    right: 30px;
    transform: translateY(-50%);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.sci li{
    list-style: none;
}

.sci li a{
    display: inline-block;
    margin: 5px 0;
    transform: scale(0.6);
    filter: invert();
}

.circle_main{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #c20e0e;
    clip-path: circle(600px at right 800px);
}

.imgPrincipal{
    display: flex;
    justify-content: start;
    height: 750px;
    width: 900px;
    
}

.principal{
    padding: 20px;
    max-height: 100%;
    max-width: 100%;
}

#sobre_games{
    background-image: url('imagens/ballistic.jpeg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover; 
}

div.overlay{
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background-color: rgba(0, 0, 0, 0.171); 
}


.logos_games{
    width: 250px;
    height: 150px;
    justify-items: start;
    margin: 20px;
}

.content-descricao{
    background-color: rgba(255, 255, 255, 0.699);
    padding: 10px;
    border-radius: 20px;
    margin: 20px;
    width: 50%;
}

.text-descricao{
    
    font-size: 18px;
    font-weight: bold;
}


.video_yt{
    display: block;
    margin-left: auto; 
    margin-right: auto;
    padding: 10px;
    max-width: fit-content;
    max-height: fit-content;
    border-radius: 20px;
}

.btn_inscricao{
    font-size: 20px;
    text-decoration: none;
    color: black;
    background-color: #c20e0e;
    padding: 10px 10px;
    cursor: pointer;
    border-radius: 10px;
    display: block;
    margin-left: auto; 
    margin-right: auto;
    width: 50%;
    text-align: center;
}

.textBoxEFT{
    width: 700px; 
    margin-left: auto;
    margin-right: auto; 
}

.conteudo{
    position: relative;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: column;
}

.conteudo h2{
    text-align: center;
    font-size: 24px;
    padding: 10px;
    margin-top: 10px;
}

.eft{
    color: rgb(15, 133, 0);
    font-size: 32px;
}

.eft_text{
    text-align: center;
    color: #333;
    font-size: 18px;
}


/*cards*/

.cards-div{
  position: relative;
  justify-content: space-between;
  display: flex;
  place-items: center;
  
}

.cards-div .card{
  position: relative;
  cursor: pointer;
}

.cards-div .card .face{
  width: 300px;
  height: 200px;
  transition: 0.5s;
}

.cards-div .card .face.face1{
  position: relative;
  background: #333;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1;
  transform: translateY(100px);
}

.cards-div .card:hover .face.face1{
  background: rgb(15, 133, 0);
  transform: translateY(0);
}

.cards-div .card .face.face1 .content{
  opacity: 0.2;
  transition: 0.5s;
  padding: 10px;
  width: 700px; 
  margin-left: auto;
  margin-right: auto;
}

.cards-div .card:hover .face.face1 .content{
  opacity: 1;
}

.cards-div .card .face.face1 .content img{
  max-width: 100px;
}

.cards-div .card .face.face1 .content h3{
  margin: 10px 0 0;
  padding: 0;
  color: #fff;
  text-align: center;
  font-size: 1.5em;
}

.cards-div .card .face.face2{
  position: relative;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  box-sizing: border-box;
  transform: translateY(-100px);
}

.cards-div .card:hover .face.face2{
  transform: translateY(0);
}

.cards-div .card .face.face2 .content p{
  margin: 0;
  padding: 0;
}

.cards-div .card .face.face2 .content a{
  margin: 15px 0 0;
  display:  inline-block;
  text-decoration: none;
  font-weight: 900;
  color: #333;
  padding: 5px;
  border: 1px solid #333;
}

.cards-div .card .face.face2 .content a:hover{
  background: #333;
  color: #fff;
}

/*fim card*/

#contato{
  background-image: url('imagens/apex_contato.jpg');
  background-position: left;
  background-repeat: no-repeat;
}

.container_contato{
  position: relative;
  text-align: center;
  background-color: rgba(255, 255, 255, 0.699);
  padding: 10px;
  border-radius: 20px;
}


.btn_contato{
    margin-top: 20px;
    padding: 8px 20px;
    background: rgb(15, 133, 0);
    color: #fff;
    border-radius: 40px;
    font-weight: 500;
    letter-spacing: 1px;
    text-decoration: none;
    cursor: pointer;
    border: none;

}

footer{
    left: 0;
    bottom: 0;
    width: 100%;
    color: white;
    text-align: center;
    background-color: rgb(44, 44, 44);
    font-size: 12px;
}




@media(max-width:991px){
    header{
        padding:20px 20px 120px;
    }
    header .logo{
        max-width: 100px;
    }

    section{
        padding: 20px 20px 0 20px ; 
    }
    .content-main{
        flex-direction: column;
        margin-top: 100px;
    }

    .content-main .textBox h2{
        font-size: 2.5em;
        margin-bottom: 15px;
    }

    .content-main .textBox{
        max-width: 100%;
    }

    .content-main .imgBox{
        max-width: 100%;
        justify-content: center;
    }

    .content-main .imgBox img{
        max-width: 450px;
        max-height: 75%;
    }


    .thumb{
    left: 46%;
    }

    .thumb li img{
        max-width: 25px;
    }

    
    .thumb li {
        margin: 0 14px;
    }

    .sci{
       background-color: #c20e0e; 
       border-bottom-left-radius: 5px;
       border-top-left-radius: 5px;
       right: 0;
       width: 50px;
       padding-right: 20px;

    }

    .circle_main{
        clip-path: circle(400px at center bottom);
    }


    .logos_games{
    width: 150px;
    height: 150px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    }

    .content-descricao {
        max-width: 100%;
        width: 80%;
        width: 700px;
        margin-left: auto;
        margin-right: auto;
}

    .text-descricao {
        font-size: 14px;
        font-weight: bold;
    }

    .video_yt{
        height: 140px;
        width: 266px;
    }

    .textBoxEFT{
        max-width: 100%;
    }
    .eft, .conteudo h2 {
        font-size: 20px;
    }

    .eft_text {
        font-size: 14px;
    }

    /*reponsividade cards*/
    .cards-div {
        flex-direction: column;
    }

    .cards-div .card .face.face1 .content h3 {
        font-size: 16px;
    }
    
    .cards-div .card .face.face2 .content p {
        margin: 0;
        padding: 0;
        font-size: 12px;
    }

    #contato{
        background-position: center;
    }
}


