* {
  box-sizing: border-box;
}

body {
  background-color: #fff;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
}

button {
  cursor: pointer;
}

button:active {
  transform: scale(0.95);
}

input:focus,
button:focus {
  outline: 2px solid #8d56fd;
  outline-offset: 2px;
}

/* HEADER */

.header {
  font-family: "Montserrat", sans-serif;
  flex-shrink: 0;
  min-height: 90px;
  padding: 16px 24px;
  background-color: #ffcb05;
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
}

.header h1 {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  margin: 0;
  flex-shrink: 0;
}

form {
  position: relative;
  width: 500px;
  max-width: 100%;
}

form input {
  display: block;
  border: 0;
  border-radius: 50px;
  font-size: 16px;
  padding: 15px 120px 15px 24px;
  width: 100%;
}

form button {
  position: absolute;
  top: 2px;
  right: 2px;
  bottom: 2px;

  background-color: #8d56fd;
  border: 0;
  border-radius: 50px;
  color: #fff;
  font-size: 16px;
  padding: 0 24px;
}

/* MAIN CONTENT */

.main-content {
  flex: 1;
  min-width: 0;
  width: 100%;
}

.container {
  margin: 30px auto;
  width: min(500px, calc(100% - 32px));
}

.container h2 {
  font-weight: 300;
}

.container p {
  text-align: center;
}

.btn {
  background-color: #8d56fd;
  border: 0;
  border-radius: 10px;
  color: #fff;
  padding: 4px 10px;
}

ul.songs {
  list-style-type: none;
  padding: 0;
}

ul.songs li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 10px 0;
}

.centered {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.centered button {
  transform: scale(1.1);
  margin: 15px;
}

/* FOOTER */

.footer {
  font-family: "Montserrat", sans-serif;
  flex-shrink: 0;
  min-height: 60px;
  padding: 16px 24px;
  background-color: #ffcb05;
  color: #000;
  text-align: center;
}

.footer h3 {
  margin: 0;
  font-size: clamp(0.85rem, 1.5vw, 1.25rem);
  line-height: 1.6;
}

.footer h3 span {
  color: #ff0000;
}

/* SMALL SCREENS */

@media (max-width: 750px) {
  .header {
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    padding: 16px;
  }

  .header h1 {
    text-align: center;
    width: 100%;
  }

  form {
    width: 100%;
    max-width: 500px;
  }

  .footer {
    padding: 12px 16px;
  }
}
