@import url(https://fonts.googleapis.com/css?family=Poppins:100,100italic,200,200italic,300,300italic,regular,italic,500,500italic,600,600italic,700,700italic,800,800italic,900,900italic);

:root {
  --primary-color: #356aff;
  --bg-color: rgba(255, 255, 255, 0.8);
  --text-color: #000;
  --light-text-color: #a5a5a5;
  --body-bg-color: #f5f5f5;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  margin: 0;
  padding: 20px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-image: url("/assetsaudio/image/back.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed; /* Add this line */
  font-family: "Poppins", sans-serif;
  padding-bottom: 60px;
}

.logo {
  width: 55px;
  height: 50px;
  position: fixed;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
}

.container {
  background-color: rgba(255, 255, 255, 0.9);
  padding: 15px;
  border-radius: 10px;
  width: 100%;
  max-width: 400px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  text-align: center;
  margin-top: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.container h2 {
  margin-top: 0;
  font-size: 1.5rem;
}

select {
  width: 90%;
  padding: 12px;
  margin: 15px auto;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 18px;
  display: block;
  background-color: white;
  color: #333;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23007CB2%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
  background-repeat: no-repeat;
  background-position: right 12px top 50%;
  background-size: 12px auto;
}

select:focus {
  outline: none;
  border-color: #4285f4;
  box-shadow: 0 0 0 2px rgba(66, 133, 244, 0.3);
}

select option {
  font-size: 16px;
  padding: 10px;
}

.btn {
  width: 100%;
  padding: 10px;
  margin-bottom: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 16px;
  background-color: #4285f4;
  color: white;
  border: none;
  cursor: pointer;
}

.btn:hover {
  background-color: #3367d6;
}

.btn:disabled {
  background-color: #a9a9a9;
  cursor: not-allowed;
}

.result {
  width: 100%;
  min-height: 100px;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  margin-bottom: 10px;
  text-align: left;
  font-size: 14px;
}

.audio-player {
  margin-top: 20px;
  width: 100%;
}

.audio-player audio {
  width: 100%;
}

/* Footer Styles */
.footer {
  text-align: center;
  padding: 20px;
  background-color: rgba(0, 0, 0, 0.7);
  border-radius: 10px;
  position: relative;
  overflow: hidden;
  max-width: 600px;
  margin: 0 auto;
}

.footer::before {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
  z-index: -1;
  border-radius: 12px;
}

.footer-content {
  position: relative;
  z-index: 1;
}

.footer a {
  display: inline-block;
  color: #fff;
  text-decoration: none;
  padding: 7px 14px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 250px;
  transition: all 0.3s ease;
  margin: 0 10px;
  position: relative;
  overflow: hidden;
}

.footer a::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: all 0.5s ease;
}

.footer a:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.footer a:hover::before {
  left: 100%;
}

@media (max-width: 768px) {
  body {
    padding: 10px;
  }

  .container {
    padding: 10px;
  }

  .logo {
    width: 30px;
    height: 30px;
    top: 5px;
  }

  .container h2 {
    font-size: 1.2rem;
  }

  select,
  .btn {
    font-size: 16px;
  }

  select {
    width: 95%;
  }

  select option {
    font-size: 14px;
    padding: 8px;
  }

  .result {
    font-size: 12px;
  }

  footer.footer {
    font-size: 10px;
  }
}

@media (max-width: 480px) {
  select {
    width: 100%;
    font-size: 14px;
  }
}
