@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;300;400;500;600;700;800&family=Roboto:wght@100;300;400;500;700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

:root {
  font-family: "Poppins", sans-serif;
  --bg-color: #151319;
  --font-color: #f3f3f4;
  --titles-color: #dc3545;
  --highlight-color: #ff6b6b;
  --secondary-dark: #46393921;
  --secondary: #737376;
  --secondary-light: #858688;

  --card-height: 300px;
  --card-width: calc(var(--card-height) / 2);
  --content-width: calc(100vw - 6px);
}

body {
  background-color: var(--bg-color);
  color: var(--font-color);
  overflow-x: hidden;
}

/* --- Header ---- */
.logo {
  position: relative;
  margin: auto;
  
}
.logo > a {
  text-decoration: none;
  color: var(--titles-color);
}


nav {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  padding: 10px;
  justify-content: flex-end;
  margin: auto;
}

#icon {
  position: absolute;
  left: 20px;
  transition: transform 0.3s ease-in-out;
}

#icon.ph-x {
  transform: rotate(90deg);
  color: #dc3545;
}

#menu {
  display: none;
}
menu {
  width: 100vw;
  position: absolute;
  top: 55px;
  left: 0px;
  z-index: 10;
}
.menu > ul {
  list-style-type: none;
}

.menu > ul > li > a {
  display: block;
  padding: 10px;
  text-decoration: none;
  text-align: center;
  color: white;
  background-color: #1a181f;
  border-top: 1px solid var(--highlight-color);
}
.menu > ul > li > a:hover {
  background-color: var(--secondary);
}

i#icon {
  width: 30px;
  text-align: center;
  color: var(--font-color);
  font-size: 30px;
  cursor: pointer;
}
i#icon:hover {
  color: var(--highlight-color);
}


/* ------- Slide Area ----- */
section {
  width: 100vw;
  overflow: hidden;
}
.slideshow {
  width: 100%;
}

/* Slideshow container */
.slideshow-container {
  position: relative;
  margin: auto;
  width: 100%;
  box-shadow: 5px 10px 18px black;
}
.slideshow-container img {
  aspect-ratio: 16/9;
  width: 100%;
}

/* Hide the images by default */
.mySlides {
  display: none;
}

/* Next & previous buttons */
.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -22px;
  padding: 16px;
  background-color: rgba(0, 0, 0, 0.342);
  color: var(--titles-color);
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  -webkit-user-select: none;
  user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover,
.next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

/* Caption text */
.text {
  background-color: rgba(0, 0, 0, 0.425);
  color: var(--font-color);
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
}

/* The dots/bullets/indicators */
.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: var(--secondary);
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active,
.dot:hover {
  background-color: var(--titles-color);
}

/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {
    opacity: 0.4;
  }
  to {
    opacity: 1;
  }
}

/* ---- fim do Slide ---- */

/* ---------- Inicio dos Cards ----- */
main {
  padding: 10px;
}

.top-games {
  padding-left: 10px;
  margin-bottom: 20px;
}
.cards-container {
  width: 100%;
  padding: 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

.card-content {
  background-color: var(--secondary-dark);
  width: 100%;
  padding: 20px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
  border-radius: 10px;
}

.card {
  width: 160px;
}
.game-info {
  position: relative;
  width: 100%;
  height: 207px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 10px;
}

.game-name {
  font-size: 20px;
  font-weight: 600;
  font-family: 'Roboto', sans-serif;
}
.game-price {
  color: var(--titles-color);
  font-size: 18px;
  font-weight: 400;
  
}
.comprar {
  background-color: var(--titles-color);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--font-color);
  font-weight: 600;
  width: 90%;
  height: 50px;
  border-radius: 15px;
  cursor: pointer;
  position: absolute;
  margin: 0px auto 0px auto;
  bottom: 20px;
}
.comprar a{
  text-decoration: none;
  color: var(--font-color);
  text-align: center;
}

.comprar:hover {
  background-color:var(--highlight-color);
}
.cover-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 5px;
}

.character {
  display: none;
}

.title {
  display: none;
}

/* Inicio noticias */
.news-container {
  display: flex;
  flex-direction: column;
  width: var(--content-width);
  gap: 10px;
}
.news-container a {
  text-decoration: none;
  color: white;
}
.news-container a:hover{
  text-decoration: underline;
}

.news-container img {
  width: 100%;
  border-radius: 10px;
}

.news-item1 {
  background: var(--secondary-dark);
  width: 100%;
  padding: 10px;
  border-radius: 10px;
}
.news-item1 p {
  color: var(--secondary-light);
}
.news-item1 video {
  width: 100%;
  border-radius: 10px;
}
.news-item1 .gallery {
  display: none;
}

.aside-news {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  border-radius: 10px;
}
.aside-news p {
  font-size: 14px;
  color: var(--secondary-light);
}
.news-item2, .news-item3{
  background: var(--secondary-dark);
  border-radius: 10px;
  padding: 10px;
}
footer a{
  text-decoration: none;
  color: #C6D4DF;
}
footer a:hover {
  color: white;
}

.footer-content {
  border-top: 1px solid #363c44;
  border-bottom: 1px solid #363c44;
  color: var(--secondary-light);
  padding: 10px;
  text-align: center;
}
.footer-content div {
  margin: 10px 0 10px 0;
}

.footer-social {
  text-align: center;
  margin-top: 10px;
  padding: 20px;
}

.footer-social .ph-facebook-logo {
  color: #4267B2;
}
.footer-social .ph-instagram-logo {
  color: #C13584
}

.background {
  background-color: rgba(0, 0, 0, 0.548);
  width: 100vw;
  height: 100vh;
  position: absolute;
  z-index: -1;
}

.formcard{
  position: absolute;
  background: rgba(51, 51, 51, 0.87);
  top: 50%;
  left: 50%;
  width: 400px;
  height: 500px;
  padding: 40px;
  transform: translate(-50%,-50%);
  box-shadow: 0 15px 25px rgba(0, 0, 0, 0.781);
  box-sizing: border-box;
  border-radius: 20px;

}

.formcard .user-card {
  position: relative;
}

.formcard .user-card input {
  width: 100%;
  padding: 10px 0;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.712);
  margin-bottom: 30px;
  margin-top: 10px;
  border: none;
  border-bottom: 1px solid white;
  outline: none;
  background: transparent;
}

.formcard h2{
  color: white;

}

form > input[type= submit]{
  display: block;
  font-size: 1.2em;
  width: 100%;
  height: 40px;
  background-color:var(--titles-color);
  border: none;
  cursor: pointer;
  color: white;
  font-weight: bold;

}

form > input[type= submit]:hover{
  background-color:var(--highlight-color);
  color: rgba(0, 0, 0, 0.63);
}

.user-card-sexo{
  display: flex;
  color: white;
  gap: 16px;
  justify-content: center;
  margin-bottom: 10px;
}