@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter';
}

body {
  background-color: #16181c;
  font-size: 16px;
}

h1 {
  font-size: 3rem;
  margin: 2rem 0;
  text-align: center;
}

h2 {
  font-size: 1.5rem;
  margin: 2rem 0;
  text-align: center;
}

a {
  color: #0066cc;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}


.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
}

.sound {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  width: 100px;
  height: 150px;
  background-color: #27292e;
  border-radius: 8px;
  color: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s ease-in-out;
  cursor: pointer
}

.sound:hover {
  transform: scale(0.95)
}

.sound:focus-within {
  outline: none;
  transform: scale(0.95);
}

.small-button {
  width: 100px;
  height: 100px;
  border: none;
  background-color: #27292e;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 5v14l11-7z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 48px;
  border-radius: 8px;
  transition: background-color 0.2s ease-in-out;
  cursor: pointer;
}

.sound:hover .small-button {
  background-color: #27292e;
}

.small-button:focus {
  outline: none;
}

.name {
  text-align: center;
  font-size: 14px;
  font-weight: bold;
  margin: 10px 5px;
}

.download {
  display: block;
  text-align: center;
  font-size: 12px;
  color: #0066cc;
  text-decoration: none;
  margin: 0.5rem 0;
  transition: color 0.2s ease-in-out;
}

.download:hover {
  color: #004499;
}

.flex-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background-color: #16181c;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.control {
  position: fixed;
  bottom: 0;
  right: 0;
  margin: 1rem;
  padding: 0.5rem;
  background-color: #27292e;
  color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  z-index: 10;
}

.control button {
  margin-left: 0.5rem;
  font-size: 16px;
  color: #0066cc;
  border: none;
  background-color: transparent;
  cursor: pointer;
  transition: color 0.2s ease-in-out;
}

.control button:hover {
  color: #004499;
}

#footer {
  bottom: 0;
  width: 100%;
  padding: 20px 0;
  text-align: center;
  font-size: 14px;
  color: #fff;
  background-color: #16181c;
}

@media only screen and (max-width: 768px) {
  .container {
    padding: 1rem;
  }

  h1 {
    font-size: 2rem;
    margin: 1rem 0;
  }

  h2 {
    font-size: 1.25rem;
    margin: 1rem 0;
  }

  .sound {
    width: 80px;
    height: 136px;
  }

  .small-button {
    width: 80px;
    height: 76px;
    background-size: 40px;
    border-radius: 6px;
  }

  .name {
    font-size: 12px;
  }

  .download {
    font-size: 10px;
    margin: 0.25rem 0;
  }

  .control {
    margin: 0.5rem;
    padding: 0.25rem;
  }

  .control button {
    font-size: 14px;
  }
}