/* Reset básico */
* {
  box-sizing: border-box;
}

body, html {
  margin: 0; padding: 0; height: 100%;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #bbbfc4;
  background: url('tu-imagen.JPG') no-repeat center center fixed;
  background-size: cover;
  position: relative;
  overflow-x: hidden;
}

/* Blur sutil y oscuro para fondo */
body::before {
  content: "";
  position: fixed;
  top:0; left:0; right:0; bottom:0;
  background: inherit;
  filter: blur(6px);
  opacity: 0.3;
  background-color: #121619; /* capa oscura para apagar */
  mix-blend-mode: multiply;
  z-index: -1;
}



@import url('https://fonts.googleapis.com/css2?family=Arimo:ital,wght@0,400..700;1,400..700&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Nata+Sans:wght@100..900&family=Oswald:wght@200..700&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');



header {

  position: fixed;
  top: 0; left: 0; right: 0;
  background-color: rgba(20, 25, 30, 0.95);
  box-shadow: 0 1px 5px rgba(0,0,0,0.3);
  z-index: 1000;
  transition: all 0.3s ease;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  user-select: none;
}
header.shrink {
  height: 60px;
  font-size: 0.85rem;
}

#header-icon {
  font-family: 'Loto';
  font-weight: 400;
  font-size: 2.8rem;
  color: #a3adb8;
  background: none;
  border: none;
  cursor: pointer;
  user-select: none;
  padding: 0;
  transition: color 0.3s ease, font-size 0.3s ease;
  letter-spacing: 1.5px;
}
#header-icon:hover {
  color: #8a93a1;
}

#container {
  max-width: 800px;
  margin: 120px auto 40px auto; /* espacio por header fijo */
  background-color: rgba(20, 25, 30, 0.9); /* fondo oscuro y opaco */
  padding: 25px 35px;
  border-radius: 8px;
}

nav {
  text-align: center;
  margin-bottom: 30px;
}
nav a {
  color: #89929b;
  text-decoration: none;
  font-weight: 600;
  margin: 0 18px;
  font-size: 1.1em;
  transition: color 0.3s ease;
}
nav a:hover {
  color: #a3adb8;
  text-decoration: underline;
}

section {
  margin-bottom: 30px;
}
section h2 {
  border-bottom: 1px solid #444a52;
  padding-bottom: 6px;
  margin-bottom: 15px;
  color: #9da3ab;
  font-weight: 600;
}

#sobre-mi p,
#contacto p,
#musica li {
  line-height: 1.5;
  font-size: 1.05em;
  color: #bbbfc4;
}

/* Música */
#musica ul {
  list-style: none;
  padding-left: 0;
}
#musica li {
  background: rgba(60, 70, 80, 0.7);
  margin-bottom: 15px;
  padding: 10px 15px;
  border-radius: 6px;
  color: #bbbfc4;
}
#musica li a {
  color: #a3adb8;
  text-decoration: none;
  font-weight: 600;
}
#musica li a:hover {
  text-decoration: underline;
}

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  overflow: hidden;
  margin-top: 15px;
  border-radius: 6px;
}
.video-wrapper iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 6px;
}

/* Contacto con iconos */
#contacto address {
  font-style: normal;
}
#contacto p {
  margin-bottom: 10px;
}
.iconos {
  margin-top: 15px;
  display: flex;
  justify-content: center;
  gap: 30px;
  font-size: 2.5em;
}
.iconos a {
  color: #89929b;
  transition: color 0.3s ease;
  display: inline-flex;
  align-items: center;
}
.iconos a:hover {
  color: #a3adb8 !important;
}

/* Formulario contacto */
form {
  margin-top: 25px;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}
form label {
  display: block;
  margin-bottom: 8px;
  color: #bbbfc4;
}
form input, form textarea {
  width: 100%;
  padding: 8px;
  margin-bottom: 15px;
  border-radius: 4px;
  border: none;
  background: rgba(50, 60, 70, 0.8);
  color: #ddd;
  font-size: 1em;
  resize: vertical;
}
form button {
  width: 100%;
  padding: 10px;
  background: #536170;
  border: none;
  color: #bbbfc4;
  font-weight: 600;
  cursor: pointer;
  border-radius: 4px;
  transition: background 0.3s ease;
}
form button:hover {
  background: #677987;
}

footer {
  text-align: center;
  margin-top: 40px;
  color: #747d85;
  font-size: 0.9em;
}

@media (max-width: 600px) {
  #container {
    margin: 100px 15px 40px 15px;
    padding: 20px;
  }
  nav a {
    display: inline-block;
    margin: 8px 12px;
  }
}
