@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

body {
  margin: 0;
  padding: 0;
  font-family: "Poppins", sans-serif;
  font-style: normal;
}

body {
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f0f3f4;
  background-image: url("https://picsum.photos/1080/1280/?blur");
  background-repeat: no-repeat;
  background-size: cover;
}

#quote-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 80vw;
  height: 70vh;
  background-color: white;
  border-radius: 20px;
  box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
  padding: 10px 40px;
  position: relative;
}

#quote-container svg {
  position: absolute;
  top: -85px;
  right: 100px;
}

#quote span {
  font-size: 50px;
  font-weight: 500;
}

#quote {
  font-size: 40px;
  font-style: italic;
  text-align: center;
}

#quote-author {
  margin-top: 20px;
  font-weight: 400;
  font-size: 20px;
}

#buttons {
  position: absolute;
  right: 10px;
  bottom: 10px;
  display: flex;
  column-gap: 10px;
}

#quote-container button {
  background-color: black;
  padding: 10px 20px;
  text-decoration: none;
  border: none;
  border-radius: 15px;
  color: #efefef;
  font-weight: 600;
  font-size: 15px;
  display: flex;
  justify-content: center;
  align-items: center;
  column-gap: 8px;
  cursor: pointer;
}

button#regenerate, button#copy-btn {
  background-color: #efefef;
  color: #222;
}

button#regenerate svg path {
  fill: #222;
}

#quote-container button:hover {
  opacity: 80%;
  transition: all;
  transition-duration: 100ms;
}

#quote-container button svg {
  position: relative;
  top: 0px;
  right: 0px;
}


@media only screen and (max-width: 600px) {
  #quote {
    font-size: 20px;
  }
  #buttons {
    padding: 0px 10px;
    flex-wrap: wrap;
    row-gap: 10px;
  }

  #quote span {
    font-size: 30px;
  }
}