* {
  margin: 0;
  padding: 0;
  font-family: Arial, Helvetica, sans-serif;
  
}

body {
  background-color: rgb(43, 43, 43);
}

h1 {
  color: white;
  padding-top: 20px;
  text-align: center;
}

.sub {
  color: white;
  text-align: center;
  font-size: 20px;
  padding: 20px;
}

.btns {
  width: 30%;
  margin-inline: 35%;
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.btn {
  background-color: white;
  border: 2px solid rgb(43, 43, 43);
  font-size: 18px;
  padding-inline: 15px;
  padding-block: 8px;
  margin-inline: 10px;
  cursor: pointer;
  transition: transform 0.3s ease;
  border-radius: 30px;
}

.btn:hover {
  transform: scale(1.1);
  border: 2px solid rgb(43, 43, 43);
}

#volume {
  width: 15%;
  margin-inline: 42.5%;
}

p {
  color: white;
  text-align: center;
  font-size: 20px;
  margin-bottom: 20px;
}


#searchInput {
  outline: none;
  border: 3px solid rgb(43, 43, 43);
  padding-inline: 2.5%;
  background-color: white;
  padding-block: 10px;
  font-size: 18px;
  border-radius: 50px;
  width: 24%;
  margin-left: 35%;
  margin-right: 1%;
  transition: border 0.5s ease;
  box-sizing: border-box;
}


#searchInput:focus {
  border: 3px solid rgb(240, 182, 9);
}

.random {
  outline: none;
  border: 3px solid rgb(43, 43, 43);
  text-align: center;
  padding-block: 6px;
  font-size: 21.6666px;
  cursor: pointer;
  background: linear-gradient(gold,red);
  border-radius: 50px;
  width: 5%;
  margin-right: 35%;
  box-sizing: border-box;
}

.functions {
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  margin-bottom: 5px;
}

.random {
  position: relative;
  z-index: 9;
}

.button-helper {
  position: absolute;
  border-radius: 50px;
  z-index: -1;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  background: linear-gradient(rgb(0, 255, 187),blue);
  transition: opacity 0.5s ease;
}

.random:hover .button-helper {
  opacity: 1;
}


#randomList {
  margin-bottom: 5px;
  display: flex;
  justify-content: center;
}


.flex {
  display: flex;
  margin-inline: 5px;
  flex-direction: row;
  justify-content: center;
  flex-wrap: wrap;
}

.sound {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 110px;
  height: 100px;
  cursor: pointer;
  border-radius: 10px;
  margin-inline: 5px;
  padding-inline: 10px;
  padding-block: 10px;
  background-color: rgb(61, 61, 61);
  margin-block: 5px;
  transition: transform 0.2s ease;
}

.sound:hover {
  transform: scale(1.1);
}

.name {
  text-align: center;
  font-size: 17px;
  font-weight: bold;
  margin-block: 10px;
  color: white;
}

.footer {
  background-color: black;
  color: white;
  text-align: center;
  padding-block: 15px;
  line-height: 28px;
  font-size: 15px;
  margin-top: 40px;
}

.footer a {
  color: white;
  text-decoration: none;
  background-color: black;
}

.footer a:hover {
  color: gold;
  text-decoration: underline;
}
