

body {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  background: url(../img/site/backgroundInicial.jpeg) no-repeat fixed;
  background-size:cover;
  
 
}

/*Slider Inicial*/

section.slider {
  position: absolute;
  width: 90%;
  height: 70vh;
  background: black;
  top: 20%;
  left: 50%;
  transform: translate(-50%);
  overflow: hidden;
  border-radius: 20px;
  padding: 0;
  box-shadow: 5px 5px 20px black;
}

.slider-content {
  width: 400%;
  height: 100%;
  display: flex;
}

.slider-content input,
.img-mobile {
  display: none;
}

.slider-box {
  width: 25%;
  height: auto;
  position: relative;
  text-align: center;
  transition: all 1s ease;
}

.nav-manual,
.nav-auto {
  position: absolute;
  width: 100%;
  bottom: 5%;
  display: flex;
  justify-content: center;
}

.nav-manual .manual-btn,
.nav-auto div {
  border: 1px solid #ff0054;
  padding: 10px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.5s ease;
}

.nav-manual .manual-btn:not(:last-child),
.nav-auto div:not(:last-child) {
  margin-right: 10px;
}

.nav-manual .manual-btn:hover {
  background-color: #ff0054;
}

@media (max-width: 1035px) {
  section.slider {
    min-height: 60%;
  }
}

.first-background {
  background-image: url(../img/site/Fundo\ Inicial.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center bottom;
}

@media (max-width: 735px) {
  section.slider {
    min-height: 40%;
  }
}

#radio1:checked ~ .nav-manual .manual-btn:nth-child(1),
#radio2:checked ~ .nav-manual .manual-btn:nth-child(2),
#radio3:checked ~ .nav-manual .manual-btn:nth-child(3) {
  background-color: #ff0054;
}



#radio1:checked ~ .first {
  margin-left: 0%;
}
#radio2:checked ~ .first {
  margin-left: 25%;
}
#radio3:checked ~ .first {
  margin-left: 50%;
}

/*slider content */

/* slide 1*/

div.slider-text {
  position: relative;
  color: white;
  text-align: left;
  top: 50%;
  transform: translate(0, -50%);
  padding: 30px;
  margin-right: 45%;
}

div.slider-text h1,
h4,
span {
  padding: 10px;
  font-family: "Press Start 2P", system-ui;
  font-weight: 100;
  text-wrap: nowrap;
  text-transform: uppercase;
}


div.slider-text h1 {
  font-size: 50pt;
  margin-left: 20px;
  color: white;
  text-shadow: 1px 1px 5px black;
}

div.slider-text p {
  margin-top: 10px;
  line-height: 30px;
  text-align: justify;
  font-size: 17pt;
}

/*Slider 2*/
div.slider-box .asteroids {
  position: relative;
  background: url(../img/site/background-stars.png) center no-repeat;
  background-size: cover;
  overflow: hidden;
  width: 100%;
  height: 100%;
  right: 200%;
  display: flex;
}

div.slider-box .asteroids img {
  position: relative;
}

.ship-box-animation {
  float: right;
  height: 100%;
  width: 50%;
}

div.ship-box-animation .meteorites {
  position: relative;
  height: 50%;
  width: 100%;
}

.ship-box-animation img.meteorite1 {
  width: 250px;
  right: 1%;
  animation: asteroidsRotate infinite 20s;
}
.ship-box-animation img.meteorite2 {
  width: 200px;
  float: right;
  bottom: 1%;
  animation: asteroidsRotate infinite 20s;
}

.ship-box-animation img.spaceship {
  transform: translate(-50%, -50%);
  width: 80px;
  top: 20%;
  right: 5%;
}

.text-asteroids {
  float: left;
  width: 50%;
  height: 100%;
  text-wrap: nowrap;
}

div.slider-box .asteroids .text {
  position: relative;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50%;
  font-size: 20pt;
  color: white;
  letter-spacing: 10px;
  line-height: 2em;
}

div.slider-box .asteroids .text h2 {
  font-family: "arcade";
  text-transform: uppercase;
  font-weight: 100;
  font-size: 18pt;
}

div.slider-box .asteroids .text span.span-arcade {
  background-image: linear-gradient(to top, white, aqua);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  animation: gradient infinite 5s;
}

@keyframes asteroidsRotate {
  0% {
    rotate: 0deg;
  }

  50% {
    rotate: 180deg;
  }

  100% {
    rotate: 0deg;
  }
}

/*Slider 3*/

div.slider-box .race {
  position: relative;
  background-size: cover;
  overflow: hidden;
  width: 150%;
  height: 100%;
  right: 500%;
  display: flex;
}

div.race .text-race {
  position: relative;
  width: 50%;
  color: white;
  text-wrap: nowrap;
  float: left;
}

div.race .text-race h1 {
  font-family: "Press Start 2P", system-ui;
  font-weight: 500;
  position: relative;
  top: 50%;
  transform: translate(0, -50%);
  padding: 50px;
  font-size: 15pt;
  line-height: 2em;
}

div.race .animation-car {
  position: relative;
  float: right;
  width: 50%;
}

div.race .animation-car img {
  width: 100%;
  height: 100%;
}

div.race #littleCar {
  position: relative;
  bottom: 200px;
  left: 160px;
}


/* 2 camada de conteúdo, video e asset do fliperama */

div.content-below {
  position: relative;
  top: 110vh;
  width: 100%;
  height: 80vh;
  display: flex;
  justify-content: space-between;
}

div.container-video {
  position: relative;
  top: -10%;
  display: flex;
  width: 50%;
  height: 65%;
  left: 5%;
  margin-top: 50px;
  justify-content: center;
  align-items: center;
  border-radius: 20px;
  overflow: hidden;
  border: 5px solid rgb(241, 241, 241);
}

div.container-video .responsiveLine {
  display: none;
}

div.container-video .video {
  position: absolute;
  filter: blur(5px) saturate(1.5) hue-rotate(10deg);
  width: 100%;
}
div.container-video div {
  width: 400px;
  color: white;
}

div.container-video .left {
  text-align:left;
  font-size: 20pt;
}

div.container-video .right {
  font-size: 15pt;
  text-align: justify;
}

div.container-video .right,
.left {
  padding: 20px;
}

div.container-video .line {
  position: absolute;
  bottom: 0;
  width: 10px;
  height: 10px;
}

div.arcade img {
  position: relative;
  width: 580px;
  bottom: 20%;
}
/*Fim do video e do fliperama*/
/* Cards dos personagens */

div.content_2 {
  position: relative;
  top: 750px;
  width: 100%;
  height: 100vh;
  display: flex;
  margin-bottom: 10%;
  justify-content: center;
  align-items: center;
}

.box-container {
  position: relative;
  background-image: url();
  top: -20px;
  width: 75%;
  height: 80%;
  background-color: #1a1a1e;
  border: 5px solid rgb(128, 128, 128);
  box-shadow: inset 5px 0 rgb(0, 0, 0), inset 0 5px rgb(0, 0, 0), inset -5px 0 rgb(0, 0, 0), inset 0 -5px rgb(0, 0, 0);
  border-radius: 10px;
}

.box-container div.titleCelebrities {
  position: absolute;
  color: black;
  width: 500px;
  height:100px;
  top: -130px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.box-container div.titleCelebrities h1 {
  font-family: "Press Start 2P", system-ui;
  font-weight: 100;
  
  font-size: 30pt;
}

div.titleCelebrities div {
  position: relative;
  top: 10px;
  left: 10px;
  width: 10px;
  height: 10px;
  background-color: green;
}
#backgroundVideo {
  position: absolute;
  width: 90%;
  height: 100%;
  z-index: -1000;
  transform: translateX(-100%);
  translate: all 0.5s;
}

.characters-cards {
  position: relative;
  display: flex;
  max-width: 100%;
  height: 70%;
  gap: 100px;
  padding: 15px;
  justify-content: center;
}

.card {
  background-color: transparent;
  width: 220px;
  height: 150px;
  font-family: sans-serif;
  transition: all 0.1s ease;
  border-radius: 18px;
}

.card:hover {
  transform: scale(1.15);
  box-shadow: 10px 10px 50px black;
  background-color: #1a1a1e;
}

.title {
  font-size: 1.5em;
  font-weight: 900;
  text-align: center;
  margin: 0;
}

.card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.8s;
  border: 1px solid black;
  box-shadow: 20px 20px 50px black;
  border-radius: 16px;
}

.card-desapear {
  opacity: 0;
  transition: all 0.5s;
}

.card-inner:hover .card-desapear {
  box-shadow: 0;
  opacity: 1;
  transition: all 1s;
}

.card-inner h3 {
  position: absolute;
  right: 20px;
  top: -10px;
  font-size: 5em;
  z-index: -1;
  color: rgba(0, 0, 0, 0.5);
}

.card-inner p {
  color: white;
  font-weight: 400;
  font-size: 1.2em;
  text-transform: uppercase;
  position: absolute;
  left: 50%;
  top: 80%;
  transform: translate(-50%);
}

.card-front {
  box-shadow: 0 8px 14px 0 rgba(0, 0, 0, 0.2);
  position: absolute;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  border-top: 1px solid white;
  border-left: 1px solid white;
  border-radius: 1rem;
  text-wrap: nowrap;
}

.character img {
  width: 100px;
  transform: translateZ(20px);
}

#ImgMario {
  position: relative;
  right: 20px;
  bottom: 20px;
  width: 150px;
}
/* Scrool Animation */

.hidden {
  opacity: 0;
  filter: blur(15px);
  transition: all 1s;
  transform: translateX(-100%);
}

.show {
  opacity: 1;
  filter: blur(0);
  transition: all 1s;
  transform: translateX(0);
}
.characters-cards .hidden :nth-child(2) {
  transition-delay: 400ms;
}

.characters-cards .hidden :nth-child(3) {
  transition-delay: 700ms;
}

.characters-cards .hidden :nth-child(4) {
  transition-delay: 1000ms;
}
