@font-face {
  font-family: supermario;
  src: url(SuperMario256.ttf);
}

li {
  font-size: 30px;
  font-family: supermario;
}


#tit1 {
  margin-top: 200px;
}

.titulo {
  font-family: supermario;
}

header h1 {
  font-family: supermario;
}




.button-28 {
  appearance: none;
  background-color: transparent;
  border: 2px solid #f3f3f3;
  border-radius: 15px;
  box-sizing: border-box;
  color: #fdfdfd;
  cursor: pointer;
  display: inline-block;
  font-family: supermario;
  font-size: 30px;
  font-weight: 600;
  line-height: normal;
  margin: 0;

  outline: none;
  padding: 4px 2px;
  text-align: center;
  text-decoration: none;
  transition: all 300ms cubic-bezier(0.23, 1, 0.32, 1);
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  width: 100%;
  will-change: transform;
}

.button-28:disabled {
  pointer-events: none;
  opacity: 0.6;
}

.button-28:hover {
  color: #3fecf8;
  background-color: #57dce0;
  box-shadow: rgba(32, 81, 100, 0.25) 0 8px 15px;
  transform: translateY(-2px);
}

.button-28:active {
  box-shadow: none;
  transform: translateY(0);
}

/* CSS */

.nav-item {
  padding: 10px;
  font-size: 30px;
}


body {
  overflow-x: hidden;

}

footer {
  background-image: url(img/kart_banner.png);
  background-repeat: no-repeat;

}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.banner-container {
  width: 100vw;
  /* ocupa todo el ancho visible del navegador */
  overflow: hidden;
  /* oculta cualquier contenido que se desplace fuera */

  position: relative;
  height: 100px;

}

.banner-track {
  display: flex;
  width: max-content;
  animation: scroll-left 10s linear infinite;
}

.banner-track img {
  height: 60px;
  margin-right: 50px;
  /* espacio antes de que reaparezca */
}

@keyframes scroll-left {
  0% {
    transform: translateX(0%);
  }

  100% {
    transform: translateX(-20%);
  }
}

.fondo {

  background-image: url(img/walpaper.gif);


}

.mail {
  padding: 80px;
}

.contacto {
  font-family: supermario;

}

.letra {
  font-family: sans-serif;
  font-size: 20px;
  padding: 0px;
  color: #f3f3f3;

}

.containers {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 100px 50px;
  padding: 100px 50px;
}

.containers .custom-card {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  width: 350px;
  max-width: 100%;
  height: 300px;

  border-radius: 20px;
  transition: 0.5s;

}

.containers .custom-card:hover {
  height: 400px;
}

.containers .custom-card .img-box {
  position: absolute;
  top: 20px;
  width: 200px;
  height: 200px;


  overflow: hidden;
  transition: 0.5s;
}

.containers .custom-card:hover .img-box {
  top: -100px;
  scale: 0.75;

}

.containers .custom-card .img-box img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.containers .custom-card .custom-content {
  position: absolute;
  top: 252px;
  width: 100%;
  height: 35px;
  padding: 0 30px;
  text-align: center;
  overflow: hidden;
  transition: 0.5s;
}

.containers .custom-card:hover .custom-content {
  top: 130px;
  height: 250px;
}

.containers .custom-card .custom-content h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #333333;
}

.containers .custom-card .custom-content p {
  color: #333;
}

.containers .custom-card .custom-content a {
  position: relative;
  top: 15px;
  display: inline-block;
  padding: 12px 25px;
  text-decoration: none;


  font-weight: 500;
}

.containers .custom-card .custom-content a:hover {
  opacity: 0.8;
}

@media (max-width: 480px) {
  .containers .custom-card {
    width: 230px;
    border-radius: 15px;
  }

  .containers .custom-card .img-box {
    width: 185px;
    border-radius: 10px;
  }

  .containers .custom-card .custom-content p {
    font-size: 0.8rem;
  }

  .containers .custom-card .custom-content a {
    font-size: 0.9rem;
  }
}