* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Georgia", serif;
  background: url(assets/background.png);
  background-size: cover;
  color: #fff;
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 2rem;
}

header {
  align-items: center;
  margin-bottom: 40px;
}

.subtitle {
  font-size: 18px;
  color: #ccc;
}

main {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.text-section {
  flex: 1 1 45%;
  padding-left: 1rem;
  padding-right: 1rem;
}

.image-section {
  flex: 1 1 45%;
  align-items: center;
}

.love-title {
  font-size: 64px;
  line-height: 1;
  margin-bottom: 20px;
  color: #fff;
}

.message {
  font-size: 18px;
  line-height: 1.5;
  margin-bottom: 20px;
  color: #ccc;
}

a.btn {
  background: transparent;
  border: 1px solid #ccc;
  border-radius: 5px;
  padding: 10px 20px;
  color: #ccc;
  margin: 15px 0;
  cursor: pointer;
  transition: 0.3s;
  text-decoration: none;
}

a.btn:hover {
  background: #444;
  color: #fff;
}

.image-section img {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 8px;
  border: 3px solid #333;
}

@media (max-width: 768px) {
  .love-title {
    font-size: 36px;
    text-align: center;
  }

  .message {
    font-size: 16px;
    text-align: center;
  }

  .text-section {
    width: 100%;
    text-align: center;
    padding: 0 1rem;
  }

  .image-section {
    width: 100%;
    text-align: center;
  }

  main {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 1000px) {
  header {
    padding-left: 2rem;
  }

  .text-section,
  .image-section {
    flex: 1 1 100%;
    text-align: center;
  }

  .love-title {
    font-size: 42px;
  }

  .container {
    padding: 40px 1rem;
  }
}

/* Player customizado */
.custom-player {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 430px;
  flex: 1;
  justify-content: flex-end;
  min-width: 200px;
}

.custom-player button {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  color: white;
}

.custom-player input[type="range"] {
  width: 100px;
  height: 4px;
  appearance: none;
  background: #fff;
  border-radius: 5px;
  outline: none;
}

.custom-player input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  width: 10px;
  height: 10px;
  background: white;
  border-radius: 50%;
  cursor: pointer;
}

#playPauseBtn {
  background: none;
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
}

#progressBar {
  width: 100%;
  appearance: none;
  height: 5px;
  border-radius: 5px;
  background: white;
  outline: none;
  margin-right: 30px;
}

#progressBar::-webkit-slider-thumb {
  appearance: none;
  width: 12px;
  height: 12px;
  background: white;
  border-radius: 50%;
  cursor: pointer;
  border: none;
}

#progressBar::-moz-range-thumb {
  width: 12px;
  height: 12px;
  background: white;
  border-radius: 50%;
  cursor: pointer;
  border: none;
}
