body {
  background-image: url("../images/fondo.jpg");
  /* Cambia esto a la ruta de tu imagen */
  background-size: cover;
  background-position: center;
  color: white;
  margin: 0;
  padding: 0;
  height: 100vh;
  /* Asegura que el fondo cubra toda la pantalla */
}

.main-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 50px 20px;
  backdrop-filter: blur(5px);
  /* Añade un desenfoque en el fondo */
}

.newsletter-header1 {
  border: 1px solid #ffc451;
  border-radius: 5px;
  margin: 10px;
  padding: 10px;
  text-align: center;
  background-color: black;
  color: white;
}
/*****imagen mobil*****/

.bordered-header1 {
  border: 1px solid #ffc451;
  border-radius: 5px;
  margin-bottom: 10px;
  text-align: center;
  background-color: black;
  color: white;
}

.phone-img-wrapper {
  display: flex; /* Activa Flexbox en el contenedor */
  justify-content: center; /* Centra horizontalmente el contenido */
  align-items: center; /* Centra verticalmente el contenido */
  flex: 1;
  max-width: 400px;
}

.phone-img {
  max-width: 100%;
  height: auto;
}

@media (max-width: 768px) {
  .phone-img-wrapper {
    max-width: 50%; /* Aumenta el ancho máximo en pantallas pequeñas */
  }
}

@media (max-width: 768px) and (orientation: portrait) {
  .phone-img {
    max-width: 80%; /* Ajusta el tamaño de la imagen en orientación vertical */
  }
}
/*******************************/

.content {
  flex: 1;
  margin-left: 20px;
}

/****iconos******/

.social-icons a {
  margin: 0 10px;
  font-size: 24px;
  color: white; /* Color del icono */
  border: 2px solid #dc3545; /* Borde del icono */
  padding: 10px;
  border-radius: 5px; /* Bordes redondeados */
  transition: background-color 0.3s, transform 0.2s;
}

.social-icons a:hover {
  background-color: rgba(
    220,
    53,
    69,
    0.1
  ); /* Color de fondo al pasar el ratón */
  transform: scale(1.1); /* Efecto de aumento */
}

/******footer*******/

footer {
  background-color: rgba(52, 58, 64, 0.8);
  color: white;
  padding: 20px 0;
}

footer a {
  color: white;
}

/*****/

.athletes-section {
  margin: 50px 0;
  text-align: center;
}

.athletes-title {
  font-size: 2rem;
  margin-bottom: 20px;
}

.btnfutbol {
  background-color: black;
  color: white;
  border: none;
  font-size: 28px;
  padding: 15px 30px;
  border: 1px solid #ffc451;
  border-radius: 5px;

  transition: background-color 0.3s, transform 0.2s;
  display: inline-block;
  text-decoration: none !important; /* Eliminar el subrayado */
}

.btnfutbol:hover {
  background-color: #c82333; /* Cambiar el color de fondo al pasar el mouse */
  color: #ffcccc; /* Color más fuerte al pasar el mouse */
  transform: scale(1.05);
}

#closeButton {
  display: block;
  margin: 0 auto;
  font-weight: bold;
  background-color: black; /* Fondo negro */
  color: orange; /* Color de la cruz */
  border: none; /* Sin borde */
  border-radius: 50%; /* Borde redondo */
  width: 40px; /* Ancho del botón */
  height: 40px; /* Alto del botón */
  font-size: 18px; /* Tamaño de la cruz */
  text-align: center; /* Centra el texto */
  margin-bottom: 10px;
}

/* Media Queries */
@media (max-width: 768px) {
  .main-content {
    flex-direction: column;
    padding: 20px;
  }

  .phone-img-wrapper {
    max-width: 100%;
    margin-bottom: 20px;
  }

  .content {
    margin-left: 0;
  }

  .athletes-title {
    font-size: 1.5rem;
  }
}

@media (max-width: 576px) {
  body {
    background-position: top;
    /* Cambiar posición en pantallas más pequeñas */
  }

  .social-icons a {
    font-size: 20px;
    /* Ajustar tamaño de los iconos en móviles */
  }
}

/***formularios***/

#ocultoMessage {
  background-color: #f2c6c6;
  color: #8b0a0a;
  border: 1px solid #ff3737;
  margin-bottom: 10px;
}

#messageContainer {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  text-align: center;
  margin-top: 20px;
  margin-bottom: 10px;
  border: 1px solid #ffc451;
  background-color: rgba(240, 240, 240, 0.8);
  padding: 15px;
  border-radius: 5px;
  max-width: 400px;
  width: 100%;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 768px) {
  #messageContainer {
    padding: 10px;
    max-width: 90%; /* Aumenta el ancho máximo en pantallas pequeñas */
  }
}

@media (max-width: 768px) and (orientation: portrait) {
  #messageContainer {
    font-size: 14px; /* Reduce el tamaño de la fuente en pantallas muy pequeñas en orientación vertical */
  }
}

#successMessage,
#errorMessage {
  background-color: white;
  color: black;
  border: 1px solid #ffc451;
  margin-bottom: 10px;
  border-radius: 5px;
}
.news {
  color: #8b0a0a;
  font-size: 14px;
  font-weight: bolder;
}
.suscrito {
  color: black;
  font-size: 16px;
  font-weight: bolder;
}
.lead {
  font-size: 1.5rem; /* Ajusta el tamaño de la fuente */
  font-weight: bold; /* Negrita para mayor impacto */
  color: white; /* Cambia el color según tu diseño */
  text-align: center; /* Centra el texto */
  margin: 20px 0; /* Espaciado superior e inferior */
  letter-spacing: 1px; /* Espaciado entre letras para un toque moderno */
  /*text-transform: uppercase; /* Convierte el texto a mayúsculas */
  transition: color 0.3s ease; /* Efecto suave al cambiar el color */
}

/*/***verificar formulari acceso*/

/* Estilo para la clase futbolistas */
.futbolistas {
  font-weight: bolder !important;
  font-size: 24px !important;
  color: black !important;
}

/* Media Queries */
@media (max-width: 768px) {
  .futbolistas {
    font-size: 26px !important; /* Tamaño más pequeño para tabletas y móviles */
    white-space: normal;
  }

  .news {
    font-size: 12px;
  }
}

@media (max-width: 768px) {
  #verifyForm {
    margin: 0 10px;
  }

  #verifyEmailInput {
    width: 100%; 
    margin-bottom: 10px;
  }
}

/************titulo***/

h1.display-4 {
  font-size: 4rem;
  font-weight: bold;
  text-align: center;
  color: #ffffff;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.6);
  margin: 20px 0;
  letter-spacing: 1.5px;
  font-family: "Arial", sans-serif;
  transition: transform 0.3s ease, text-shadow 0.3s ease;
}

h1.display-4:hover {
  transform: translateY(-2px);
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.8);
}

@media (max-width: 768px) {
  h1.display-4 {
    font-size: 3rem;
    letter-spacing: 1px;
  }
}

@media (max-width: 576px) {
  h1.display-4 {
    font-size: 2.5rem;
    margin: 10px 0;
    letter-spacing: 0.5px;
  }
}






/*****************************/
/***********futbolistas**********/
/**********************************/
/***********************************/
.input-grapper-1 {
  display: flex !important;
  justify-content: space-between !important;
  width: 100% !important;
}

.email-input {
  flex: 1 !important;
  border-radius: 0 !important;
  padding: 10px !important;
}

.btn-register {
  background-color: #007bff !important;
  color: white !important;
  padding: 10px 20px !important;
  border-radius: 0 !important;
  border-left: none !important;
  cursor: pointer !important;
}

.input-grapper-1 button {
  margin-left: 5px !important;
}

@media (max-width: 768px) {
  .input-grapper-1 {
    flex-direction: column !important;
  }

  .email-input, .btn-register {
    width: 100% !important;
    margin-top: 10px !important;
  }
}











/*********************************************/
/***formulario registro register***********/
/********************************************/

.btn-register {
  background-color: #e74c3c !important;
  color: white !important;
  padding: 10px 20px !important;
  border-radius: 5px !important;
  font-size: 14px !important;
  border: none !important;
  cursor: pointer !important;
  transition: background-color 0.3s !important;
}

.btn-register:hover {
  background-color: #c0392b !important; 
}

.form-control {
  flex: 1; 
  border-right: none; 
  border-radius: 0; 
}

.input-wrapper button {
  cursor: pointer;
}

@media (max-width: 768px) {
  .input-wrapper {
    flex-direction: column; 
  }

  .form-control,
  .btn-register {
    width: 100%;
    margin-top: 10px;
  }
}
