/* Reset general */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Cuerpo */
body {
  font-family: 'Arial', sans-serif;
  background-color: #f9f9f9;
  color: #333;
  margin: 0;
  padding-top: 60px;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: rgb(203, 163, 92);
  border-bottom: 1px solid #e0e0e0;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  z-index: 1000;
}

.navbar-container {
  max-width: 1000px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
}

.navbar-logo {
  display: flex;
  align-items: center;
  font-size: 20px;
  color: #111;
  font-weight: bold;
}

.logo-icon {
  height: 50px;
  width: auto;
  vertical-align: middle;
  margin-right: 10px;
}

.gaegu-regular {
  font-family: "Gaegu", sans-serif;
  font-size: 50px;
  font-weight: 400;
  font-style: normal;
  color: white;
  -webkit-text-stroke: 1.7px rgb(117, 78, 26);
}

.navbar-links a {
  font-family: "Gaegu", sans-serif;
  font-size: 15px;
  font-weight: 400;
  text-decoration: none;
  color: #555;
  margin-left: 20px;
  padding: 8px 16px;
  border-radius: 20px;
  transition: background-color 0.2s, color 0.2s, transform 0.3s ease-in-out;
}

.navbar-links a:hover {
  background-color: rgb(100, 72, 35);
  color: #000;
  transform: scale(1.1);
}

/* Centro */
.centered {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px;
}

.centered h2 {
  font-family: 'Relationship of mélodrame', cursive;
  font-size: 100px;
  margin-bottom: 10px;
  color: #B6CBBD;
  animation: flotar 3s ease-in-out infinite;
  font-weight: normal;
  -webkit-text-stroke: 0;
}

.separador {
  margin-bottom: 20px;
  max-width: 400px;
  width: 100%;
}

/* Cuadro */
.cuadro {
  background-color: rgb(117, 78, 26);
  border: 2px solid rgb(203, 163, 92);
  border-radius: 15px;
  padding: 20px;
  margin: 10px auto 40px;
  max-width: 1000px;
  width: 90%;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.cuadro-img {
  width: 55px;
  height: auto;
  margin-top: 100px;
}

.cuadro a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 15px;
  color: #fff;
  background-color: rgb(203, 163, 92);
  padding: 10px 20px;
  border-radius: 20px;
  text-decoration: none;
  font-family: "Quicksand", sans-serif;
  transition: background-color 0.3s, transform 0.3s;
}

.cuadro a:hover {
  background-color: rgb(100, 72, 35);
  transform: scale(1.1);
}

.cuadro h1 {
  font-size: 40px;
  color: #fff;
  font-family: "Quicksand", sans-serif;
  margin-bottom: 20px;
}

.cuadro p {
  font-size: 18px;
  color: #f2f2f2;
  font-family: "Quicksand", sans-serif;
  line-height: 1.6;
  margin-bottom: 20px;
}

/* Footer */
footer {
  text-align: center;
  padding: 10px;
  background-color: #333;
  color: white;
}

.quicksand-font {
  font-family: "Quicksand", sans-serif;
  font-optical-sizing: auto;
  font-weight: 300;
  font-style: normal;
}

.frase-fade {
  font-family: 'Pacifico', cursive !important;
  font-size: 24px;
  font-weight:  lighter;
  color: #b58e6f;
  text-align: center;
  opacity: 0;
  animation: fadeInText 2s ease-in-out forwards, flotarSuave 4s ease-in-out infinite;
  animation-delay: 0.8s;
  margin-bottom: 20px;
  padding: 10px;
}

@keyframes flotarSuave {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-5px); }
  100% { transform: translateY(0px); }
}

/* Animación */
@keyframes fadeInText {
  to {
    opacity: 1;
  }
}

/* Fuente personalizada */
@font-face {
  font-family: 'Relationship of mélodrame';
  src: url('fonts/Relationship of mélodrame.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

/* Animaciones */
@keyframes flotar {
  0%   { transform: translateY(0); }
  50%  { transform: translateY(-10px); }
  100% { transform: translateY(0); }
}

@keyframes flotarYvibrar {
  0%   { transform: translate(0, 0); }
  25%  { transform: translate(-1px, -2px); }
  50%  { transform: translate(1px, -4px); }
  75%  { transform: translate(-1px, -2px); }
  100% { transform: translate(0, 0); }
}

.scroll-btn.animado:hover {
  animation: flotarYvibrar 0.6s ease-in-out infinite;
}

/* Flecha */
.flecha-gif {
  width: 25px;
  height: auto;
  margin-left: 8px;
  vertical-align: middle;
}

/* Notebook */
.notebook {
  padding: 50px 20px;
  background-color: #F7F3ED;
  text-align: center;
  border-top: 3px dashed rgb(203, 163, 92);
}

.notebook h2 {
  font-family: 'Relationship of mélodrame', cursive;
  font-size: 85px;
  margin-bottom: 10px;
  color: #B6CBBD;
  animation: flotar 3s ease-in-out infinite;
  font-weight: normal;
  -webkit-text-stroke: 0;
}

.notebook p {
  font-family: "Quicksand", sans-serif;
  font-size: 18px;
  color: #444;
  margin-bottom: 30px;
}

.notebook form {
  max-width: 600px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.notebook input,
.notebook textarea {
  padding: 12px 15px;
  border: 2px solid rgb(203, 163, 92);
  border-radius: 15px;
  font-family: "Quicksand", sans-serif;
  font-size: 16px;
  background-color: #fff;
  resize: vertical;
}

.notebook textarea {
  min-height: 120px;
}

.notebook button {
  padding: 12px;
  background-color: rgb(117, 78, 26);
  color: white;
  border: none;
  border-radius: 20px;
  font-family: "Gaegu", sans-serif;
  font-size: 18px;
  cursor: pointer;
  transition: transform 0.2s, background-color 0.2s;
}

.notebook button:hover {
  transform: scale(1.05);
  background-color: rgb(203, 163, 92);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Quicksand", sans-serif;
  background: #fdfaf6;
  padding-top: 70px;
  margin: 0;
}


/* Reproductor principal */
.music-player {
  background: #fff4e6;
  border: 2px solid #deb887;
  border-radius: 15px;
  width: 80%;
  max-width: 500px;
  margin: 30px auto;
  padding: 20px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.track-info {
  font-size: 18px;
  margin-bottom: 10px;
}

.visualizer {
  display: flex;
  justify-content: center;
  margin-bottom: 15px;
}

.visualizer .bar {
  width: 4px;
  height: 20px;
  background: #b58e6f;
  margin: 0 2px;
  animation: bounce 1s infinite ease-in-out;
  animation-delay: calc(var(--i) * 0.1s);
}

.visualizer .bar:nth-child(1) { --i: 1 }
.visualizer .bar:nth-child(2) { --i: 2 }
.visualizer .bar:nth-child(3) { --i: 3 }
.visualizer .bar:nth-child(4) { --i: 4 }
.visualizer .bar:nth-child(5) { --i: 5 }
.visualizer .bar:nth-child(6) { --i: 6 }

@keyframes bounce {
  0%, 100% { transform: scaleY(1) }
  50% { transform: scaleY(2.5) }
}

input[type=range] {
  width: 100%;
  margin: 10px 0;
  -webkit-appearance: none;
  height: 5px;
  background: #ddd;
  border-radius: 5px;
}

input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  height: 14px;
  width: 14px;
  border-radius: 50%;
  background: #b58e6f;
  cursor: pointer;
}

.controls button {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.controls button:hover {
  transform: scale(1.2);
}

/* Mini reproductor */
.mini-player {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #fffaf2;
  border: 2px solid #deb887;
  border-radius: 15px;
  padding: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  z-index: 999;
  transition: all 0.3s ease;
}

.mini-player.minimized .mini-content {
  display: none;
}

.mini-toggle {
  cursor: pointer;
  font-size: 18px;
}

.mini-content {
  display: flex;
  align-items: center;
  gap: 10px;
}

.scroll-fotos-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 20px;
  margin-top: 20px;
}

.scroll-fotos {
  display: flex;
  gap: 12px;
  overflow: hidden;
  max-width: 100%;
  width: 80%;
  justify-content: center;
}

.scroll-fotos img {
  height: 150px;
  width: 200px;
  border-radius: 10px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.scroll-fotos img:hover {
  transform: scale(1.05);
  cursor: pointer;
}

.prev-arrow, .next-arrow {
  background-color: #b58e6f;
  border: none;
  font-size: 24px;
  padding: 10px;
  cursor: pointer;
  border-radius: 50%;
  color: white;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.prev-arrow:hover, .next-arrow:hover {
  background-color: rgb(100, 72, 35);
  transform: scale(1.2);
}

.prev-arrow {
  font-size: 30px;
}

.next-arrow {
  font-size: 30px;
}

.divider-deco {
  text-align: center;
  color: #B6CBBD;
  font-size: 1.5rem;
  font-family: 'Pacifico', cursive;
  margin: 40px auto;
  animation: floatStars 3s ease-in-out infinite;
}

@keyframes floatStars {
  0% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
  100% { transform: translateY(0); }
}

.doble-cuadro {
  display: flex;
  gap: 20px;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-top: 30px;
}

.sub-cuadro {
  flex: 1 1 45%;
  background-color: #f5f5f5;
  border: 2px dashed #B6CBBD;
  border-radius: 15px;
  padding: 20px;
  font-family: 'Quicksand', sans-serif;
  color: #555;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  animation: floatSub 3s ease-in-out infinite;
}

.sub-cuadro h3 {
  color: #B6CBBD;
  margin-bottom: 10px;
  font-weight: normal;
}

.sub-cuadro ul {
  list-style-type: "✦ ";
  padding-left: 20px;
  margin: 0;
}

.sub-cuadro li {
  margin-bottom: 8px;
  transition: transform 0.3s ease;
}

.sub-cuadro li:hover {
  transform: scale(1.05);
  color: #B6CBBD;
}

@keyframes floatSub {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-3px); }
  100% { transform: translateY(0px); }
}

.letter {
  display: inline-block;
  animation: floatSoft 2s ease-in-out infinite;
}

.letter:nth-child(odd) {
  animation-delay: 0s;
}

.letter:nth-child(even) {
  animation-delay: 1s;
}

@keyframes floatSoft {
  0% {
    transform: translateY(0);
  }
  25% {
    transform: translateY(-4px);
  }
  50% {
    transform: translateY(0);
  }
  75% {
    transform: translateY(4px);
  }
  100% {
    transform: translateY(0);
  }
}