body {
  background-image: url("fondo-alter.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}
body {
  background-size: cover;
  background-attachment: fixed;
  background-position: center;
}

body {
  cursor: crosshair;
}
.contenedor {
  width: 90%;
  margin: auto;
}

.titulo {
  background: rgba(255, 255, 255, 0.7);
  text-align: center;
  padding: 15px;
  margin: 20px 0;
  font-weight: bold;
}
h1, h2 {
  letter-spacing: 2px;
  text-shadow: 0 0 5px black;
}

p {
  line-height: 1.6;
}



.caja, .galeria, .perfil, .titulo {
  background: rgba(15, 15, 15, 0.75);
  color: #ddd;
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 0 20px rgba(0,0,0,0.8);
}
.caja, .galeria, .perfil, .titulo {
  background: rgba(15, 15, 15, 0.75);
  color: #ddd;
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 0 20px rgba(0,0,0,0.8);
}

.perfil {
  display: flex;
  background: rgba(255,255,255,0.85);
  padding: 20px;
  margin-top: 20px;
  border-radius: 10px;
}

.perfil img {
  width: 200px;
  margin-right: 20px;
}

.peligro {
  color: red;
  font-weight: bold;
}

.links {
  a {
  color: #b39ddb;
  text-decoration: none;
}

a:hover {
  color: red;
  text-shadow: 0 0 5px red;
}
  text-align: center;
  margin: 30px;
}
/* ❄️ EFECTO NIEVE ❄️ */
.snow {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background-image:
    radial-gradient(2px 2px at 20px 30px, white, transparent),
    radial-gradient(2px 2px at 40px 70px, white, transparent),
    radial-gradient(1px 1px at 90px 40px, white, transparent),
    radial-gradient(1px 1px at 130px 80px, white, transparent),
    radial-gradient(2px 2px at 160px 30px, white, transparent);
  background-size: 200px 200px;
  animation: snow 10s linear infinite;
  z-index: 9999;
}

@keyframes snow {
  from {
    transform: translateY(-200px);
  }
  to {
    transform: translateY(200px);
  }
}

