/* Fondo y estilos básicos */
body {
  margin: 0;
  overflow: hidden;
  font-family: Georgia, 'Times New Roman', Times, serif;
  color: #00eaff;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  background: linear-gradient(135deg, #001f3f, #0074D9, #7FDBFF, #39CCCC);
  background-size: cover;
  background-position: center;
  text-align: center;
  position: relative;
  }

 
  
  /* Contenedor principal */
  .container {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    animation: fadeIn 2s ease;
    z-index: 1; /* Asegura que el contenedor no tape los copos */
  }
  
  /* Imagen en el costado */
  .side-image {
    width: 280px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
  }
  
  .side-image:hover {
    transform: scale(1.05);
  }
  
  /* Contenido principal */
  .content {
    max-width: 400px;
    text-align: left;
  }
  
  /* Título */
  .title {
    font-size: 3.5em;
    color: #f0f0f0;
    margin: 0;
    letter-spacing: 2px;
    text-shadow: 3px 3px 8px rgba(0, 0, 0, 0.6);
  }
  
  /* Subtítulo */
  .subtitle {
    font-size: 1.2em;
    color: #a0c1d1;
    margin-top: 5px;
    margin-bottom: 10px;
    font-weight: 300;
  }
  
  /* Enlace a redes sociales */
  .social-link {
    display: inline-block;
    margin-top: 1px;
    color: #8db2e3;
    text-decoration: none;
    font-size: 1.2em;
    border-bottom: 1px solid transparent;
    transition: color 0.3s ease, border-bottom 0.3s ease;
  }
  
  .social-link:hover {
    color: #b8d7f5;
    border-bottom: 1px solid #b8d7f5;
  }

  
  /* Copos de nieve */
  .snowflake {
    position: absolute;
    top: -10px;
    color: white;
    font-size: 1em;
    opacity: 0.8;
    animation: fall linear infinite;
    z-index: 0; /* Asegura que los copos queden en el fondo */
  }
  
  /* Animación de caída de los copos */
  @keyframes fall {
    0% { transform: translateY(0); }
    100% { transform: translateY(100vh); }
  }
  
  /* Efecto de aparición */
  @keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
  }
   
  @media (max-width: 768px) {
    .container {
        padding: 10px;
    }
    .title {
        font-size: 2rem;
    }
    .subtitle {
        font-size: 1rem;
    }
    .content {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .title {
        font-size: 1.5rem;
    }
    .subtitle {
        font-size: 0.9rem;
    }
    .side-image {
        max-width: 200px;
    }
}
