
input.placeholder {
  color: white;
}

textarea.placeholder {
  color: white;
}

.card img {
  display: block;
  margin: 0 auto 15px auto; /* Centrar horizontalmente y añadir espacio inferior */
  width: 100px; /* Asegura el tamaño */
  height: auto;
}

/* Estilo adicional para el input y textarea */
input.form-control, textarea.form-control {
  background-color: #1A1A1C; /* Fondo oscuro */
  color: white; /* Texto blanco */
  border: 1px solid white; /* Borde blanco */
  padding: 10px;
  border-radius: 5px;
}
.logo-img {
  width: 80px;  /* Ajustado el tamaño del logo */
  height: auto;
}

.bg-hero {
  background-image: url('/bg2.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.hero-section {
  min-height: 100vh;
  position: relative;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 1;
}

.content {
  z-index: 2;
  position: relative;
}

.bg-dark {
  background-color: #141416 !important;
}

.bg-kodebg2 {
  background-color: #141416 !important;
}

.plan-card {
  border-radius: 20px; /* Rectángulos más largos */
  background-color: #1A1A1C; /* Fondo gris para los planes */
  min-height: 400px; /* Asegura una altura mínima */
  padding: 20px 20px; /* Añade espacio interno */
  max-width: 90%; /* El ancho máximo será el 90% del contenedor padre */
}

.plan-badge {
  background-color: #C41631; /* Color rojo para las etiquetas */
  color: white;
  font-weight: bold;
  padding: 10px 25px; /* Aumenta el padding para hacer las etiquetas más grandes */
  border-radius: 30px; /* Hace que las etiquetas sean redondeadas */
  display: inline-block;
  margin-bottom: 20px; /* Añade un margen inferior para separarlas del número */
  width: 150px; /* Ajusta el ancho de las etiquetas */
  text-align: center;
  font-size: 16px; /* Tamaño de fuente más grande */
}

.plan-price .price {
  font-size: 72px; /* Aumenta el tamaño del número */
  color: white; /* Asegúrate de que el número es blanco */
  font-weight: bold;
}

.plan-price .unit {
  font-size: 24px; /* Ajusta el tamaño de "megabytes" */
  color: #ccc; /* Color gris claro para el texto de "megabytes" */
}

.icon-circle {
  width: 12px;
  height: 12px;
  background-color: #C41631;  /* Cambiado a C41631 */
  display: inline-block;
  border-radius: 50%;
}

.btn-black {
  background-color: #000 !important; /* Negro puro */
  color: #fff !important; /* Texto blanco */
  border-color: #000 !important;
  font-weight: bold; /* Hacer el texto más destacado */
  transition: all 0.3s ease-in-out; /* Transición suave */
}

.btn-black:hover {
  background-color: #C41631 !important;  /* Hover en rojo */
  border-color: #C41631 !important;
}

.dev-card {
  height: 140px;
}

.icon-tg-large {
  width: 134px;
  height: 120px;
  background-image: url('Assets/tg.png');
  background-size: cover;
  background-position: center;
  margin-top: -20px; /* Sube la imagen moviéndola hacia arriba */
}


.btn-danger {
  background-color: #C41631 !important;  /* Cambiado a C41631 */
  border-color: #C41631 !important;
}

.nav-link:hover {
  color: #C41631 !important;  /* Hover en rojo C41631 */
}

input.form-control, textarea.form-control {
  background-color: #1A1A1C;
  border: 1px solid #fff;
  color: white;
}

footer {
  background-color: #0A0A0A !important;
}

.divider {
  height: 3px;
  background-color: #C41631;  /* Cambiado a C41631 */
  width: 100px;
  margin: 0 auto;
}

.border-light {
  border-color: #fff !important; /* Borde blanco para el formulario */
}

.portfolio-img {
  max-height: 200px;
  object-fit: cover;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.portfolio-img:hover {
  transform: scale(1.05);
}

.modal-content {
  display: block;
  margin: auto;
  width: auto;
  height: auto;
  max-height: 90%;
  max-width: 90%;
  transition: transform 0.3s ease; /* Transición suave para el zoom */
  cursor: zoom-in; /* Cambia el cursor cuando está en modo zoom */
}

.modal-content.zoomed {
  cursor: zoom-out; /* Cambia el cursor para indicar el modo de salida */
  transform: scale(5); /* Aumenta el tamaño al hacer clic */
}

.modal {
  display: none; 
  position: fixed; 
  z-index: 9999; 
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.9);
}

.close {
  position: absolute;
  top: 10px;
  right: 25px;
  color: white;
  font-size: 35px;
  font-weight: bold;
  cursor: pointer;
}

.modal-scroll {
  max-height: 90%; /* Permite el desplazamiento vertical dentro del modal */
  overflow-y: auto;
  text-align: center;
}

/* GAME BOARD STYLES */
#gameContainer {
  /*
	width and height of .gameBoardPixel should 1/40 of the width and height of #gameContainer,
	because it is used in calculation in the jscript.js file
	*/
  width: 40vw;
  height: 40vw;
  margin: 2vw auto;
  background-color: #111; /* Fondo más oscuro para consistencia */
  border: solid 10px #070301; /* Bordes en el color principal de tu web */
  border-radius: 10px;

  -webkit-box-shadow: 0px 0px 20px 3px rgba(255, 50, 50, 0.8);
-moz-box-shadow: 0px 0px 20px 3px rgba(255, 50, 50, 0.8);
box-shadow: 0px 0px 20px 3px rgba(255, 50, 50, 0.8);
}

.gameBoardPixel {
  /*
	width and height of .gameBoardPixel should 1/40 of the width and height of #gameContainer,
	because it is used in calculation in the jscript.js file
	*/
  width: 1vw;
  height: 1vw;
  border-radius: 5px; /* Bordes suaves para un diseño más moderno */
  float: left;
  background-color: #222; /* Fondo del pixel */
}
/* GAME BOARD STYLES END */

/* SNAKE STYLES */
.snakeBodyPixel {
  background-color: #fd6401;
  box-shadow: 0 0 10px #fd6401; /* Efecto de brillo para la serpiente */
}
/* SNAKE STYLES END */

/* FOOD STYLES */
.food {
  background-color: #ee192b;
  box-shadow: 0 0 5px #ee192b; /* Pequeño brillo para la comida */
}
/* FOOD STYLES END */

/* SCORE STYLES */
#scoreContainer {
  width: 40vw;
  display: flex;
  margin: auto;
  justify-content: space-around;
}

.scoreBoard {
  border-radius: 10px;
  border: solid 3px #fd1201;
  color: white; /* Texto blanco para mejor contraste */
  background-color: #222; /* Fondo más oscuro */
  display: inline-block;
  padding: 1vw;
  width: 40%;
  text-align: center;

  -webkit-box-shadow: 0px 0px 10px 2px rgba(255, 100, 1, 0.5);
  -moz-box-shadow: 0px 0px 10px 2px rgba(255, 100, 1, 0.5);
  box-shadow: 0px 0px 10px 2px rgba(255, 100, 1, 0.5);
}
/* SCORE STYLES END */

/* ON SCREEN CONTROLLERS (FOR MOBILE) */
#onScreenControllers {
  display: none; /* Oculto por defecto */
}

@media only screen and (max-width: 768px) {
  /* MOBILE */
  #gameContainer {
    width: 80vw;
    height: 80vw;
  }

  .gameBoardPixel {
    width: 2vw;
    height: 2vw;
  }

  #scoreContainer {
    width: 80vw;
  }

  #onScreenControllers {
    width: 80vw;
    margin: 5vw auto;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
  }

  #onScreenControllers > div {
    display: flex;
    flex-direction: column;
  }

  #onScreenControllers button {
    background-color: transparent;
    height: 20vw;
    width: 20vw;
    font-size: 10vw;
    border: 2px solid #fd6401; /* Botones en el color principal */
    color: #fd6401;
    border-radius: 50%; /* Forma circular */
  }

  #onScreenControllers button:focus {
    outline: none;
  }

  #onScreenControllers button:active {
    background-color: #fd6401;
    color: white;
  }
}

/* DEVELOPER DETAILS (OPTIONAL) */
.developerDetails {
  margin-top: 2vw;
  display: flex;
  flex-direction: column;
  color: #aaa;
  font-family: monospace;
}

.developerDetails a {
  color: #251103;
  text-decoration: none;
}

.developerDetails a:hover {
  text-decoration: underline;
}

 /* Formulario */
 .contact-form {
  background-color: rgba(17, 17, 17, 0.9); /* Fondo semi-transparente */
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  background-color: rgba(0, 0, 0, 0.8); /* Fondo semi-transparente para inputs */
  color: #fff;
  border: 1px solid #fff;
  padding: 15px;
  border-radius: 5px;
  margin-bottom: 20px;
  font-size: 16px;
  width: 100%;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: #dc3545;
  outline: none;
}

.btn-submit {
  background-color: #dc3545;
  color: #fff;
  padding: 12px 20px;
  border-radius: 30px;
  font-size: 18px;
  width: 100%;
  border: none;
}

.btn-submit:hover {
  background-color: #ff4545;
}

/* Hero Section */
.hero-contact {
  min-height: 100vh;
  background: url('/bg2.jpg') no-repeat center center/cover;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-contact .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 1;
}

.hero-contact .container {
  position: relative;
  z-index: 2;
  max-width: 800px;
  text-align: center;
}

.hero-title {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 20px;
}

.hero-description {
  font-size: 1.25rem;
  margin-bottom: 30px;
}

/* Formulario */
.contact-form {
  background-color: rgba(17, 17, 17, 0.9); /* Fondo semi-transparente */
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  background-color: rgba(0, 0, 0, 0.8); /* Fondo semi-transparente para inputs */
  color: #fff;
  border: 1px solid #fff;
  padding: 15px;
  border-radius: 5px;
  margin-bottom: 20px;
  font-size: 16px;
  width: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: #dc3545;
  outline: none;
  transform: scale(1.02);
  box-shadow: 0 0 10px rgba(220, 53, 69, 0.8);
}

.btn-submit {
  background-color: #dc3545;
  color: #fff;
  padding: 12px 20px;
  border-radius: 30px;
  font-size: 18px;
  width: 100%;
  border: none;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.btn-submit:hover {
  background-color: #ff4545;
  transform: scale(1.05);
}

/* Información de contacto */
.contact-info-section {
  background-color: #111;
  padding: 50px 0;
}

.contact-info-section .contact-info-card {
  background-color: #C41631; 
  border: 1px solid #333;
  padding: 10px;
  border-radius: 10px;
  text-align: center;
  color: #fff;
  transition: all 0.3s ease-in-out;
}

.contact-info-section .contact-info-card:hover {
  transform: scale(1.05);
  background-color: #333;
}

.contact-info-card i {
  font-size: 2.5rem;
  color: #dc3545;
  margin-bottom: 15px;
}

.contact-info-card h5 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.contact-info-card p {
  font-size: 1rem;
  margin-bottom: 0;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2rem;
  }

  .hero-description {
    font-size: 1rem;
  }

  .contact-form {
    padding: 30px;
  }
}