body {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    /* Centrar en toda la pantalla */
    margin: 0;
}


.smartlink {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #ffffff;
    background-image: linear-gradient(135deg, rgb(151 31 234 / 40%), rgb(51 26 240 / 40%)), url(/img/banner.jpg);
    color: white;
    flex-wrap: wrap;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    width: 100vw;
    min-height: 100vh;
    gap: 140px;
  }
 @media (max-width: 768px) {
    .smartlink-content{
        margin-top: 1000px;
    }
 }

.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

h1 {
    font-size: 24px;
    font-weight: bold;
}

p {
    font-size: 18px;
    margin-bottom: 20px;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    font-size: 18px;
    font-weight: bold;
    color: white;
    border-radius: 8px;
    text-decoration: none;
    transition: transform 0.2s ease-in-out;
}

.social-btn img {
    width: 24px;
    height: 24px;
    margin-right: 10px;
}
@media (max-width: 576px) {
    .d-grid {
        gap: 8px !important; /* Reduce space between buttons */
        justify-content: center; /* Center the grid items */
        grid-template-columns: minmax(0, 1fr); /* Ensure even distribution */
    }
    .social-btn {
        padding: 4px;
        font-size: 15px;
        width: 280px;
        min-height: 30px;
        justify-self: center;
    }
}


.fa-brands{
    margin-right: 10px;
}

/* Estilos de cada red social */
.tiktok {
    background-color: #000;
}

.facebook {
    background-color: #1877F2;
}

.kick {
    background-color: #52C41A;
}

.instagram {
    background: linear-gradient(45deg, #feda75, #fa7e1e, #d62976, #962fbf, #4f5bd5);
}

.youtube {
    background-color: #FF0000;
}

/* Efecto al pasar el cursor */
.social-btn:hover {
    transform: scale(1.05);
}


.logo {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px; /* Espacio debajo del logo */
}

.logo img {
    width: 250px;
    margin-bottom: 20px;
    filter: drop-shadow(0px 5px 0px rgba(0, 0, 0, 0.8));
}

.circle {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
    background: white;
}
@media (max-width: 768px) {
    .circle {
        width: 165px;
        height: 165px;
    }
    .conectate {
        font-size: 12px !important;
    }
}

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

.conectate {
    text-shadow: 4.5px 1.5px 0 black, 0.5px 0.5px 0 black;
    color: #ffd700;
    font-size: 24px;
    font-family: "Alfa Slab One", serif;
    font-weight: 400;
    font-style: normal;
}
/* Estilos para el snackbar */
#snackbar {
    visibility: hidden;
    min-width: 250px;
    background-color: #323232;
    color: #fff;
    text-align: center;
    border-radius: 5px;
    padding: 14px;
    position: fixed;
    left: 50%;
    bottom: 30px;
    transform: translateX(-50%);
    font-size: 16px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: opacity 0.5s, bottom 0.5s;
}

/* Cuando se activa */
#snackbar.show {
    visibility: visible;
    opacity: 1;
    bottom: 50px;
}

/* Centrar el botón de copiar */
#copy-link {
    display: block;
    margin: 20px auto;
}


/*formulario*/
.form-container {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
    position: relative;
  }
  .line_father {
    height: 495px;
  }
  .line {
    border-left: 2px solid #fcda1d48;
    height: 100%;
    position: absolute;
    left: 30%;
    transform: translateX(-50%);
  }
  h2 {
    text-align: center;
    margin-bottom: 20px;
    color: black;
    text-shadow: 3.4px 1.8px 0px rgba(0, 0, 0, 1);
    font-family: "Lilita One", sans-serif;
  }
  label {
    font-size: 18px;
    font-weight: lighter;
    font-family: "Lilita One", sans-serif;
    color: rgb(255, 255, 255);
    text-shadow: 3.4px 1.8px 0px rgba(0, 0, 0, 1);
  }
  input {
    width: 100%;
    padding: 8px;
    margin: 5px 0 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
  }
  button {
    padding: 10px;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
  }
  
  .btn-success {
    background: #ffca2c !important;
    border-color: #ffca2c !important;
    transition: all 0.3s ease-in-out;
    padding: 10px;
    box-shadow: 4px 4px 0px black, 6px 6px 0px rgba(0, 0, 0, 0.3);
    color: white !important;
    font-family: "Lilita One", sans-serif !important;
    text-shadow: 1.8px 1.5px 0px rgba(0, 0, 0, 1) !important;
    font-size: 20px !important;
  }
  .btn-success:hover {
    transform: translateY(-5px);
  }
  
  .glass-card {
    max-width: 510px; /* Reduce el ancho del formulario */
  }
  
  .card_form_img {
    background-color: rgba(255, 255, 255, 0.164);
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    margin: 20px;
  }
  
  .form-control {
    font-size: 14px; /* Reduce el tamaño de los campos */
    padding: 8px;
    background-color: #c1c1c187 !important;
    border: none !important;
    height: 45px;
    border: none; /* Borde gris predeterminado */
    border-radius: 5px !important; /* Bordes redondeados */
    padding: 8px !important;
    transition: all 0.3s ease-in-out !important; /* Suaviza el cambio de borde */
  }
  .form-control:focus {
    border: 2px solid rgba(223, 223, 223, 0.63) !important; /* Verde (puedes cambiar el color) */
    outline: none !important; /* Elimina el borde azul predeterminado */
    box-shadow: 0 0 5px rgba(57, 58, 58, 0.5) !important; /* Efecto de brillo verde */
  }
  .form-label {
    display: inline-flex !important;
    align-items: center !important;
    text-align: start;
  }
  .form-label::before {
    content: " *";
    color: yellow;
    font-weight: bold;
    font-size: 1.2em;
    margin-left: 5px;
    position: relative;
    top: 4px;
    left: -4px;
  }
  
  .form_img {
    text-align: center;
    position: relative;
    overflow: hidden;
    height: 100%; /* Asegurar que el contenedor tenga altura */
    overflow: hidden; /* Oculta la parte sobrante */
  }

  /* Ajuste de la sección smartlink para pantallas pequeñas */
@media (max-width: 768px) {
    .smartlink {
      background-size: cover; /* Asegura que el fondo se ajuste correctamente */
      background-position: center;
      height: auto; /* Permite que el contenido se ajuste al tamaño de la pantalla */
      gap: 50px; /* Reduce el espacio entre los elementos */
    }
    
    .logo img {
      width: 150px; /* Ajusta el tamaño del logo en pantallas pequeñas */
    }
    
    .circle {
      width: 150px; /* Ajusta el tamaño del círculo del logo */
      height: 150px;
    }
    
    .social-btn {
      font-size: 16px; /* Ajusta el tamaño de fuente para que sea legible en pantallas pequeñas */
      padding: 8px; /* Reduce el padding para que los botones no sean demasiado grandes */
      width: 90%; /* Asegura que los botones no sobresalgan */
    }
  
    .conectate {
      font-size: 16px; /* Reduce el tamaño de la fuente */
    }
    
    /* Ajuste del formulario */
    .glass-card {
      width: 90%; /* Hace que el formulario se ajuste al tamaño de la pantalla */
      margin: 10px; /* Reduce el espacio alrededor del formulario */
    }
  
    .form-control {
      font-size: 14px; /* Ajusta el tamaño de los campos de entrada */
      height: 40px; /* Reduce la altura de los campos */
    }
  
    .form-label {
      font-size: 16px; /* Ajusta el tamaño de la fuente de las etiquetas */
    }
  
    .btn-success {
      font-size: 16px; /* Ajusta el tamaño del botón */
      padding: 8px 20px; /* Reduce el tamaño del padding */
    }
  
    /* Ajuste de la vista del formulario */
    .card_form_img {
      padding: 15px; /* Reduce el padding para pantallas pequeñas */
      margin: 10px; /* Reduce el margen */
    }
  }
  
  /* Ajuste adicional para pantallas muy pequeñas */
  @media (max-width: 480px) {
    .social-btn {
      font-size: 14px; /* Reduce más el tamaño de los botones */
      width: 100%; /* Hace que los botones ocupen todo el ancho disponible */
    }
  
    .conectate {
      font-size: 14px; /* Reduce aún más el tamaño del texto */
    }
  
    .circle {
      width: 130px; /* Ajusta más el tamaño del círculo */
      height: 130px;
    }
  
    .logo img {
      width: 120px; /* Ajusta el logo aún más para pantallas muy pequeñas */
    }
  
    .glass-card {
      width: 100%; /* Asegura que el formulario ocupe todo el ancho disponible */
      padding: 10px; /* Reduce el padding */
    }
  
    .form-control {
      height: 35px; /* Reduce la altura de los campos de entrada */
    }
  
    .btn-success {
      font-size: 14px; /* Ajusta el tamaño del botón para pantallas pequeñas */
      padding: 6px 15px; /* Reduce el padding */
    }
  }
  
/* Estilo personalizado para inputs deshabilitados */
input:disabled, button:disabled {
  background-color: #ffffff38 !important;
  border-color: #ddd !important;
  color: #6c757d !important;
  cursor: not-allowed !important;
}

input:disabled::placeholder {
  color: #6c757d !important; /* Color del placeholder cuando el input está deshabilitado */
}
.titulo::after {
  content: "";
  display: block;
  width: 50%; /* Ancho de la línea */
  height: 3px; /* Grosor de la línea */
  background-color: #ffca2c; /* Color de la línea */
  margin: 8px auto 0; /* Centrar y ajustar la distancia con el título */
}
.custom-info-message {
  text-align: center !important;
  margin-bottom: 20px !important;
  color: black !important;
  text-shadow: 3.4px 1.8px 0px rgba(0, 0, 0, 1) !important;
  font-family: "Lilita One", sans-serif !important;
}
