@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');
* {margin: 0;padding: 0}

html {scroll-behavior: smooth}

body {
  font-family: "Roboto", serif;
  font-optical-sizing: auto;
  font-weight: normal;
  font-style: normal;
  color: #333;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  height: 100%
}

header {
  background: #fff;
  color: #000;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 998;
  display: flex;
  justify-content: space-between
}

.content{width: 994px;margin: 0 auto}

header .content{
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#banner {
  width: 100%;
  height: 70vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #eee;
}

#logo {max-width: 150px;padding: 10px 20px}
#logom {display: none}
#logo img {width: 100%}
#logom img {height: 100%}
header nav {padding: 0}

header nav ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center
}

header nav ul li a {
  color: #000;
  text-decoration: none;
  position: relative;
  padding: 40px 15px;
  display: inline-block
}

header nav ul li a:hover {background: #cd2029;color: #fff}

nav#web ul li:nth-last-child(-n+2) a {
  color: #fff;
  background: #000;
  border-radius: 75px;
  padding: 0;
  width: 30px;
  height: 22px;
  text-align: center;
  padding: 8px 0 0 0;
  margin: 34px 5px 0 5px;
  font-size: 12px
}

nav#web ul li:nth-last-child(-n+2) a:hover {background: #cd2029}

#menuicon, #mobile {display: none}

#menuicon {
  position: fixed;
  top: 10px;
  right: 10px;
  background: #000;
  color: #fff;
  z-index: 4;
  width: 52px;
  padding: 15px 0;
  text-align: center;
  border-radius: 100px;
  font-size: 18px;
}

.container {
  margin: 80px 0;
  display: flex;
  justify-content: center;
  gap: 2rem;
  align-items: flex-start;  
}

h1 {
  position: relative;
  padding: 0;
  margin: 0 0 10px 0;
  font-size: 28px;
}

.title h1 {text-align: center;padding-bottom: 5px}

.title h1:before {
  width: 28px;
  height: 5px;
  display: block;
  content: "";
  position: absolute;
  bottom: 3px;
  left: 50%;
  margin-left: -14px;
  background-color: #b80000;
}

.title h1:after {
  width: 100px;
  height: 1px;
  display: block;
  content: "";
  position: relative;
  margin-top: 10px;
  left: 50%;
  margin-left: -50px;
  background-color: #b80000;
}

.title h2 {font-size: 14px;text-transform: uppercase;text-align: center}
.title h3 {font-size: 16px;font-weight: normal}
.white {color: #fff}
.grey {color: #7a7a7a}
section {width: 100%}

#home {position: absolute;top: 0}
#mtalentos {position: relative;top: -96px}
#talentos {text-align: center;padding: 30px 0 60px 0;background: #efefef}
#sobre {padding: 30px 0 60px 0;background: #111;color: #fff}

#cards{
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.card {
  width: 200px;
  height: 250px;
  margin: 20px 10px;
  perspective: 1000px;
  cursor: pointer;
}

.card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.6s;
  transform-style: preserve-3d;
}

.card:hover .card-inner {
  transform: rotateY(180deg);
}

.card-front,
.card-back {
  position: absolute;
  backface-visibility: hidden;
  border-radius: 0.5rem;
  text-align: center;
  color: #fff;
  width: 100%;
  height: 100%;
  font-size: 12px;
}

.card-back {
  transform: rotateY(180deg);
}

.card-front img{
  width: 100%;
}

.card-front.nighta{
  background-image: url('../img/cardNightA.png');
  background-color: #ddd;
  background-size: cover;
  background-position: center;
}

.card-back.nightb{
  background-color: #1c1d38;
  background-image: url('../img/cardNightB.png');
  background-size: cover;
  background-position: center;
}

.card-front.bekkaa{
  background-image: url('../img/cardBekkaA.png');
  background-color: #ddd;
  background-size: cover;
  background-position: center;
}

.card-back.bekkab{
  background-color: #fcff13;
  background-image: url('../img/cardBekkaB.png');
  background-size: cover;
  background-position: center;
}

.card-front.bigaa{
  background-image: url('../img/cardBigaA.png');
  background-color: #ddd;
  background-size: cover;
  background-position: center;
}

.card-back.bigab{
  background-color: #8b0c0c;
  background-image: url('../img/cardBigaB.png');
  background-size: cover;
  background-position: center;
}

.card-front.swarma{
  background-image: url('../img/cardSwarmA.png');
  background-color: #ddd;
  background-size: cover;
  background-position: center;
}

.card-back.swarmb{
  background-color: #5b1dac;
  background-image: url('../img/cardSwarmB.png');
  background-size: cover;
  background-position: center;
}

.card-front.yasya{
  background-image: url('../img/cardYasyA.png');
  background-color: #ddd;
  background-size: cover;
  background-position: center;
}

.card-back.yasyb{
  background-color: #e67ed4;
  background-image: url('../img/cardYasyB.png');
  background-size: cover;
  background-position: center;
}

.card-front.marta{
  background-image: url('../img/cardMartA.png');
  background-color: #ddd;
  background-size: cover;
  background-position: center;
}

.card-back.martb{
  background-color: #f8a9ba;
  background-image: url('../img/cardMartB.png');
  background-size: cover;
  background-position: center;
}

.infos span .fa-brands{
  width: 35px;
  height: 25px;
  padding: 10px 0 0 0;
  color: #fff;
  text-align: center;
  background: #000;
  border-radius: 75%;
}

.infos span .fa-brands:hover{
  background: #8b0c0c;
}

.logo {
  width: calc(100% - 10px);
  height: 53px;
  position: absolute;
  bottom: 0;
  padding: 5px;
  //background: rgba(0, 0, 0, 0.8);
  border-radius: 0 0 5px 5px;
}

.logo img {
  height: 90%;   
  width: auto;
}

.txt {
  width: calc(100% - 20px);
  position: absolute;
  bottom: 0;
  padding: 10px;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 0 0 5px 5px;
  text-shadow: 0 0 1px #000;
}

#contato{
  background: #111;
  color: #fff;
  padding: 30px 0;
}

#social{
  text-align: center;
  padding: 0 60px;
}

#social .fa-brands{
  font-size: 22px;
  width: 48px;
  height: 35px;
  background-color: #000;
  text-align: center;
  padding: 13px 0 0 0;
  border-radius: 75%;
  color: #fff;
}

#social .fa-brands:hover{background: #b80000}

footer{
  padding: 15px 0;
  font-size: 12px;
  color: #fff;
  background-color: #000;
  text-align: center;
}

.lightbox {
  display: none;
  position: fixed;
  z-index: 999;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.7);
  justify-content: center;
  align-items: center;
}
.lightbox-content {
  background: white;
  padding: 20px;
  max-width: 900px;
  width: 90%;
  border-radius: 8px;
  position: relative;
}
.lightbox .close {
  position: absolute;
  top: 10px; right: 10px;
  background: transparent;
  border: none;
  font-size: 24px;
  cursor: pointer;
}

.logotalent{
  width: 70%;
  display: block;
  margin: 20px auto;
}

.talentdata {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  text-align: justify;
}

.talentdata article {
  flex: 1;        
}

.infos {
  display: grid;
  grid-template-columns: 1fr 3fr;
  gap: 5px;
}

.arttalent{
  width: 100%;
  height: 50vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.arttalent img {
  height: auto; 
}

.talentdata h2{
  text-align: center;
  margin: 0 0 10px 0;
}

.talentdata span{
  color: #cd2029;
  font-weight: bold;
}



.left {
  width: 400px;
  height: 500px;
  background: url('../img/left.png');
  background-size: cover;
}

.right {
  flex: 1;
}

.bar-group {
  margin-top: 1rem;
}

.bar-title {
  font-weight: bold;
  margin: 12px 0 5px;
}

.bar {
  background-color: #ccc;
  width: 100%;
  height: 14px;
  border-radius: 7px;
  overflow: hidden;
}

.bar-fill {
  background-color: #cd2029;
  height: 100%;
  width: 0;
  border-radius: 7px;
  transition: width 1s ease;
}

.bar-percent{
  margin: 5px 0 10px 0;
}


.container2 {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.box {
  border: 1px solid #cd2029;
  padding: 20px;
  flex: 1 1 300px;
  max-width: 400px;
  box-sizing: border-box;
  border-radius: 8px;
}

.box h2 {
  margin-top: 0;
  text-align: center;
  margin: 0 0 10px 0;
}

ul {
  padding-left: 20px;
  margin: 0;
}

@keyframes fillBar {
  from { width: 0; }
  to { width: var(--target-width, 100%); }
}

@media (max-width: 768px) {
  #banner {
    height: 30vh;
  }

  #banner img{
    width: 70%;
  }

  .content{width: 100%;}
  #menuicon {display: block}
  #web {display: none}

  #mobile {
    position: fixed;
    top: 0;
    width: 100%;
    background: #000;
  }

  #mobile ul li {display: block;text-align: left}
  header {background: none;position: absolute}
  header nav ul {flex-direction: column;text-align: center}
  header nav ul li a {color: #fff;padding: 12px}
  header nav ul li {border-bottom: 2px solid #000}
  #logo {display: none}

  #logom {
    display: block;
    width: calc(100% - 14px);
    padding: 7px;
    height: 70px;
    text-align: left;
    background: #fff;
  }

  .title {width: 80vw;margin: 0 auto}

  #cards{
    flex-direction: column;
  }

  .card{
    margin: 20px auto;
  }

  .talentdata h2{
    font-size: 18px;
  }

  .logotalent{
    width: 50%;
  }

  .arttalent{
    width: 80%;
    height: 10vh;
    margin: 0 auto;
  }

  .arttalent img{
    width: 70%;
  }

  .talentdata {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    text-align: justify;
    flex-direction: column-reverse;
    font-size: 12px;
  }

  .fa-brands{
    font-size: 14px;
  }

  .card-front.nighta{background-image: url('../img/cardNightB.png');}
  .card-front.bekkaa{background-image: url('../img/cardBekkaB.png');}
  .card-front.bigaa{background-image: url('../img/cardBigaB.png');}
  .card-front.swarma{background-image: url('../img/cardSwarmB.png');}
  .card-front.yasya{background-image: url('../img/cardYasyB.png');}
  .card-front.marta{background-image: url('../img/cardMartB.png');}

  .container{
    width: 85%;
    flex-direction: column;
    margin: 0 auto;
    padding: 0 20px;
  }

  .left {
    width: 100%;
    height: 400px;
    margin: 0 auto;
  }

  .bar-title {
    text-align: center;
  }

  .bar-percent{
    text-align: center;
  }

  .box{
    margin: 0 20px;
  }
}