@import 'https://cdnjs.cloudflare.com/ajax/libs/animate.css/4.1.1/animate.min.css';
@import 'https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css';
@import 'https://cdnjs.cloudflare.com/ajax/libs/slick-carousel/1.9.0/slick.min.css';

:root {
  --primary-color: #3C3C3B;
  --emphasys-color: #FF6700;
  --third-color: white;
  --option-bg: white;
  --select-bg: black;
  --arrow-bg: black;
  --arrow-icon: url(https://queremosquecrezcas.com/assets/img/chevron-down-solid-WHITE.svg);
}

.principal-container{padding: 10em 4em;}

.year-months {
  gap: 20px;
  height: 150px;
  display: flex;
  padding: 0em 2em;
  align-items: center;
  flex-direction: row;
  border-radius: 20px;
  margin-bottom: 3em;
  background: rgb(48 48 48 / 50%);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.months-side:first-child {width: 40%;}
.months-side h1, .months-side p{margin: 0;}
.months-side h1{font-size: clamp(1.5em, 2.5vw, 3.8em);}
.months-side p{font-size: clamp(0.8em, 1.4vw, 1em);}

.months-side:last-child {
  width: 60%;
  position: relative;
  gap: 15px;
  display: flex;
  flex-direction: row;
}

.month-box img {
  width: 70px;
  height: 70px;
  display: block;
  margin: 0 auto;
}

.month-box p {
  width: 100px;
  line-height: 1;
  display: block;
  font-size: 15px;
  font-weight: 600;
  max-width: 100px;
  text-align: center;
  margin: 8px auto 0;
  white-space: nowrap;
  font-family: 'Poppins';
  text-overflow: ellipsis;
  overflow: hidden !important;
}

/* Tabs */
.month-box {
  padding: 10px 0;
  border-radius: 10px;
}

.month-box, .month-box:hover {text-decoration: none;}
.month-box:hover, .month-box.active {background: firebrick;}
.slick-disabled {opacity: 0.4;}

/* Global Calendar */
.months-principal {
  padding: 2em 2em 4em;
  border-radius: 20px;
  background: rgb(48 48 48 / 70%);
}

.global-functions{
  gap: 10px;
  display: flex;
  flex-direction: row;
  padding-bottom: 2em;
  transition: .4s ease-out;
}

.global-functions.sticky {
  left: 0;
  right: 0;
  top: 100px;
  width: 90%;
  z-index: 10;
  padding: 1em;
  position: fixed;
  margin: 0 auto;
  border-radius: 10px;
  backdrop-filter: blur(6.1px);
  background: rgb(23 23 23 / 50%);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.mprincipal-side{
  width: 50%;
  gap: 1vw;
  display: flex;
  align-items: center;
  flex-direction: row;
  flex-wrap: wrap;
}

.mprincipal-side h2{
  margin: 0;
  line-height: 1;
  font-size: clamp(1.5em, 3.2vw, 3.8em);
}

.type-games-filters {
  display: flex;
  gap: 10px;
  position: relative;
  max-width: 100%;
  flex-wrap: wrap;
  align-items: flex-end;
}

.filter-group {
  display: flex;
  flex-direction: column;
}

.filter-group small{color: white;}

select#custom-filter {
  color: white;
  font-size: 16px;
  font-weight: bold;
  padding: 2px 10px;
  border-radius: 20px;
  font-family: 'Poppins';
  background-color: black;
  border: 1px solid #c5c5c5;
  appearance: none;
  -moz-appearance: none;
  -webkit-appearance: none;
  background: var(--arrow-icon) no-repeat right 0.6em center/1em,linear-gradient(to left, firebrick 1.8em,var(--select-bg) 3em);
}

select#custom-filter option{background-color: black;}
select#custom-filter option:hover{background-color: firebrick;}

/* .type-games-filters span {
  border: 1px solid #c5c5c5;
  background-color: black;
  border-radius: 20px;
  padding: 2px 10px;
  cursor: pointer;
  transition: .4s all;
} */

.btn-reset-filter {
  border: 1px solid #c5c5c5;
  background-color: black;
  border-radius: 20px;
  padding: 0;
  cursor: pointer;
  transition: .4s all;
  line-height: 1;
  height: 28px;
  width: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.filters span.active {
  background-color: firebrick !important;
  font-weight: bold;
  box-shadow: 0 0 18px red;
}

.search__input {
  display: block;
  color: white;
  width: 1600px;
  font-size: 18px;
  margin: 0 auto 5px;
  padding: 12px 24px;
  border-radius: 50px;
  font-family: 'Gilroy Extrabold';
  background-color: transparent;
  transition: transform 250ms ease-in-out;
  background-image: url("https://mxdhardware.com/wp-content/uploads/2021/05/w10-searchicon.png");
  background-repeat: no-repeat;
  background-size: 18px 18px;
  background-position: 99% center;
  backface-visibility: hidden;
  text-transform: uppercase;
  border: 3px solid firebrick;
  transform-style: preserve-3d;
  transition: all 250ms ease-in-out;
}

.search__input::placeholder {
  color: white;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.search__input:hover, .search__input:focus {
  outline: 0;
  padding: 12px 0;
  border-radius: 0;
  border: 1px solid transparent;
  border-bottom: 4px solid red;
  background-position: 100% center;
}
/* End */

/*Content*/
.months-container {
  gap: 30px;
  display: none;
  width: 100%;
  flex-direction: column;
}

.categories-intro{
  display: flex;
  gap: 30px;
  align-items: center;
  flex-direction: row;
}

.mprincipal-side{width: 50%;}

.mprincipal-side{
  display: flex;
  align-items: center;
  flex-direction: row;
  gap: 1vw;
  flex-wrap: wrap;
}

.months-container.enter {
  opacity: 0;
  transform: translateY(100px);
}

.months-container.enter-active {
  opacity: 1;
  transform: translateY(0px);
  transition: 0.2s all;
}

.months-container.leave {
  opacity: 1;
  transform: scale(1);
}

.months-container.leave-active {
  opacity: 0;
  transform: scale(0.5);
  transition: 0.2s all
}

.games-plan{
  display: flex;
  width: 100%;
  margin: 0 auto;
  gap: 40px 30px;
  flex-wrap: wrap;
  max-width: 100%;
  align-items: center;
  justify-items: center;
}

.games-grid {
  gap: 30px;
  display: grid;
  margin: 0 auto;
  max-width: 100%;
  align-items: center;
  height: 100% !important;
  grid-template-rows: auto;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 10vw), 1fr));
}

/* Current Card */
.hoy{border: 2px solid white !important;}
.hoy .card-header, .hoy .card-footer {background-color: firebrick;}

.hoy:before, .hoy:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  top: 0;
  background-image: linear-gradient(115deg, transparent 0%, #00e7ff 30%, #ff00e7 70%, transparent 100%);
  background-position: 0% 0%;
  background-repeat: no-repeat;
  background-size: 300% 300%;
  mix-blend-mode: color-dodge;
  opacity: 0.2;
  z-index: 1;
}

.hoy:after {
  background-image: url("https://s3-us-west-2.amazonaws.com/s.cdpn.io/13471/sparkles.gif");
  background-position: center;
  background-size: 180%;
  mix-blend-mode: color-dodge;
  opacity: 1;
  z-index: 2;
}

.hoy.active:before {
  opacity: 1;
  animation: none;
  transition: none;
  background-image: linear-gradient(115deg, transparent 0%, transparent 25%, rgba(0, 231, 255, 0.7) 45%, rgba(255, 0, 231, 0.7) 55%, transparent 70%, transparent 100%);
}

.hoy:nth-of-type(1),.hoy:nth-of-type(2), .hoy:nth-of-type(3) {
  width: 160px;
  height: 226px;
  box-shadow: 0 0 1px 1px rgba(255, 255, 255, 0.4), 0 25px 15px -10px rgba(0, 0, 0, 0.5);
}

.hoy:nth-of-type(1):before, .hoy:nth-of-type(1):after, .hoy:nth-of-type(2):before, .hoy:nth-of-type(2):after, .hoy:nth-of-type(3):before, .hoy:nth-of-type(3):after {
  animation: none;
  opacity: 1;
}

.hoy:nth-of-type(1):before, .hoy:nth-of-type(1):after {display: none;}
.hoy:nth-of-type(2) {background: none;}
.hoy:nth-of-type(2):before {display: none;}
.hoy:nth-of-type(3) {background: none;}
.hoy:nth-of-type(3):before {background-position: center;}
.hoy:nth-of-type(3):after {display: none;}

.operator {
  display: inline-block;
  vertical-align: middle;
  font-size: 45px;
}

@keyframes holoSparkle {
  0% {opacity: 0;}
  12% {opacity: 1;}
  70% {opacity: 0.5;}
  95% {opacity: 0.2;}
}

@keyframes holoGradient {
  3% {opacity: 0;}
  5% {background-position: 0% 0%;}
  7% {opacity: 0.5;}
  9% {background-position: 100% 100%;}
  11% {opacity: 0;}
  50% {
    opacity: 0;
    background-position: 100% 100%;
  }
  55% {opacity: 0.3;}
  70% {
    opacity: 0;
    background-position: 0% 0%;
  }
}
/* End */

.card {
  display: flex;
  overflow: hidden;
  border-radius: 8px;
  flex-direction: column;
  left: auto !important;
  top: auto !important;
  border: 1px solid #7a7a7a;
  position: relative !important;
}

.card-header{
  gap: 10px;
  padding: 7px 5px !important;
}

.card-header, .card-footer {
  display: flex;
  color: wheat;
  font-weight: bold;
  align-items: center;
  padding: 5px 10px;
  background-color: #333;
  justify-content: space-between;
}

.card-header span {width: 50%;}

.card-header span:first-child {
  gap: 5px;
  display: flex;
  flex-direction: row;
  overflow-x: scroll;
}

.card-header span::-webkit-scrollbar {
  width: 0 !important;
  display: none !important;
}

.card-header .Android-Link, .card-header .iOS-Link, .card-header .AL-Link{
  display: none;
}

.release-date {text-align: right;}

/* Card Footer Links */
.con-tooltip {
  transition: all 0.3s ease-in-out;
  cursor: default;
}

/*tooltip */
.the-tooltip {
  visibility: hidden;
  z-index: 1;
  opacity: .40;
  margin: 0 auto;
  display: flex;
  gap: 5px;
  width: 35px;
  height: auto;
  padding: 5px 4px;
  background: #333;
  color: #E086D3;
  position: absolute;
  bottom: 50px;
  right: -5px;
  border-radius: 9px;
  transform: translateY(9px);
  transition: all 0.3s ease-in-out;
  box-shadow: 0 0 3px rgba(56, 54, 54, 0.86);
  justify-content: center;
}

.the-tooltip .platform-carousel {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* tooltip  after*/
.the-tooltip::after {
  content: " ";
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 12px 12.5px 0 12.5px;
  border-color: #333 transparent transparent transparent;
  position: absolute;
  left: 0;
  bottom: -11px;
  right: 0;
  margin: 0 auto;
}

.con-tooltip:hover .the-tooltip{
  visibility: visible;
  transform: translateY(-10px);
  opacity: 1;
  transition: .3s linear;
  animation: odsoky 1s ease-in-out infinite  alternate;
}

@keyframes odsoky {
  0%{transform: translateY(6px);	}
  100%{transform: translateY(1px);	}
}

.top:hover {transform: translateY(-15px);}
/* End */

/* Platforms */
.platform-box{
  width: 26px;
  height: 26px;
  display: flex;
  color: white;
  align-items: center;
  border-radius: 6px;
  justify-content: center;
}

.platform-box i{font-size: 22px;}

.platform-box img{
  width: 22px;
  display: block;
}

/* Computo */
.platform-box.Mac-PC{
  background: #010101;
  background: linear-gradient(45deg, #010101, #800080);
}

.platform-box.Mac-PC{background-color: rgb(132, 0, 247);}
.platform-box.PC{background-color: black;}
.fab.fa-windows {font-size: 17px;}
/* Moviles */
.platform-box.Android{background-color: #2edf85;}
.platform-box.iOS{background-color: #3389b7;}
.platform-box.Android-iOS{background: rgb(46,223,133); background: linear-gradient(155deg, rgba(46,223,133,1) 0%, #3389b7  60%);}
.fas.fa-mobile{font-size: 18px;}
/* Nintendo Switch */
.platform-box.NintendoSwitch{background-color: #e60012;}
.platform-box.NintendoSwitch img {width: 80%; height: 80%;}
/* NetMarble Launcher */
.platform-box.Netmarble-Launcher img {width: 80%; height: 80%;}
/* PlayStation */
.platform-box.PS4-PS5{background: rgb(0,48,135);}
.platform-box.PS4{background-color: #003087;}
.platform-box.PS5{background-color: white; color: black;}
.fab.fa-playstation, .fab.fa-xbox{font-size:18px;}
/* Realidad Virtual */

/* Realidad Virtual Meta */
.platform-box.All-Meta {background-color: white;}
.fa-brands.fa-meta {color: #007ef7;font-size: 16px;}
/* Realidad Virtual Apple */

/* Servicios de Subscripción */
.platform-box.AL{background-color: white;}
.platform-box.AL img {width: 80%; height: 80%;}
/* Xbox */
.platform-box.XO-XS{background: #005500; background: linear-gradient(155deg, #005500 0%, #52b043  67%);}
.platform-box.Xbox{background-color: #005500;}
.platform-box.XSeries{background-color: #52b043;}
/* End */

.card img {
  width: 100%;
  height: 400px;
  display: block;
  object-fit: cover;
}

.game-title {
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: clamp(.9em, 1vw, 1.13em);
}

.more-links {
  background-color: antiquewhite;
  color: black;
  padding: 3px;
  margin: 0;
  border-radius: 5px;
}

.game-title.scrolling {
  text-overflow: inherit;
  overflow: inherit;
  animation: scrollText 10s linear infinite;
}

@keyframes scrollText {
  0% { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}
/* Tabs End */

/* Responsive Mode */
@media (max-width:1920px){
  .months-side:first-child {width: 45%;}
  .months-side:last-child {width: 55%;}
  .slick-slide {margin-right: 5px;}

  .slick-prev.slick-arrow, .slick-next.slick-arrow {
    font-size: 0;
    width: 30px;
    border: none;
    outline: none;
    cursor: pointer;
    overflow: hidden;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    background-color: transparent;
  }

  .slick-pre:hover, .slick-next:hover{transform: scale(0.9 , 0.9);}
  .slick-prev.slick-arrow {background-image:url('https://mxdhardware.com//wp-content/uploads/2021/12/chev-left.png');}
  .slick-next.slick-arrow {background-image:url('https://mxdhardware.com//wp-content/uploads/2021/12/chev-right.png');}

  .mprincipal-side {flex-wrap: nowrap;}
  .mprincipal-side:first-child {width: 60%;}
  .mprincipal-side:last-child {width: 40%;}

  .games-grid {grid-template-columns: repeat(auto-fill, minmax(min(100%, 15%), 1fr));}
  .card img {height: 300px;}
}

@media (max-width:1600px){
  .month-box p {width: 100%;}
}

@media (max-width:1440px){
  .principal-container {padding: 8em 4em 4em;}
  .year-months {margin-bottom: 2em;}

  .month-box img {
    width: 60px;
    height: 60px;
  }

  .type-games-filters span {font-size: 14px;}

  .release-date {
    font-size: 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .card img {height: 250px;}
}

@media (max-width:1400px){
  .platform-box i {font-size: 12px !important;}

  .platform-box {
    width: 20px !important;
    height: 20px !important;
  }

  .platform-box img {
    width: 90%;
    height: 90%;
    object-fit: contain;
  }
}

@media (max-width:1200px){
  .principal-container {padding: 7em 3em 4em;}

  .year-months {
    height: auto;
    padding: 1em 2em;
  }

  select#custom-filter {font-size: 11px;}
  .type-games-filters span {font-size: 12px;}
}

@media (max-width:1150px){
  .global-functions.sticky {
    top: 80px;
    width: 95%;
  }
}

@media (max-width:1100px){
  .categories-intro {gap: 20px;}
  .mprincipal-side:first-child {width: 70%;}
  .mprincipal-side:last-child {width: 30%;}
  .games-grid {grid-template-columns: repeat(auto-fill, minmax(min(100%, 25%), 1fr));}
}

@media (max-width:991px){
  .year-months {flex-direction: column;}
  .months-side {width: 100% !important;}
  .slick-prev.slick-arrow, .slick-next.slick-arrow {width: 30px;}

  .btn-reset-filter {
    height: 20px;
    width: 20px;
  }
}

@media (max-width:876px){
  /* .type-games-filters span {font-size: 12px;} */
  .games-grid {grid-template-columns: repeat(auto-fill, minmax(min(100%, 47%), 1fr));}
}

@media (max-width:700px){
  .principal-container {padding: 6em 2em;}
  .categories-intro {flex-direction: column;}
  .mprincipal-side {width: 100% !important;}
  .type-games-filters {max-width: 100%;}
}

@media (max-width:600px){
  .principal-container {padding: 6em 1em;}
  .year-months {padding: 1em;}
  .months-side:last-child {gap: 5px;}

  .month-box img {
    width: 50px;
    height: 50px;
    object-fit: contain;
  }

  .months-principal {padding: 1em 1em 2em;}
  .mprincipal-side {width: 100%;}

  .mprincipal-side:first-child {
    gap: 10px;
    /* flex-direction: column; */
    align-items: flex-start;
  }

  .btn-reset-filter {
    top: 24px;
    left: -26px;
    position: absolute;
  }

  /* .type-games-filters span {padding: 2px 6px;} */
  
  .global-functions {
    gap: 10px;
    display: flex;
    flex-direction: column;
    padding-bottom: 2em;
  }
  
  .filter-group {
    /* gap: 10px; */
    /* flex-direction: row; */
  }

  .search__input {font-size: 13px !important;}

  .card-header {padding: 5px 5px !important;}
  .platform-carousel {overflow: hidden;}
  .platform-box i {font-size: 12px !important;}

  .platform-box {
    width: 20px !important;
    height: 20px !important;
  }

  .platform-box img {
    width: 90%;
    height: 90%;
    object-fit: contain;
  }

  .games-grid {gap: 15px;}
  .card img {height: 120px;}
}