@import url("https://fonts.googleapis.com/css2?family=Fugaz+One&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Shrikhand&display=swap");

:root {
  --empty-background: rgba(255, 255, 255, 0.25);
  --border-color: white;
  --fill-color: linear-gradient(#1e9fee, #0a96ed);
}

* {
  box-sizing: border-box;
}

body {
  font-family: "Fugaz One";
  /* font-family: "Shrikhand"; */
  background: linear-gradient(#55a1d0, #89bedf);
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 40px;
  height: 100vh;
}

h1 {
  /* font-family: "Shrikhand"; */
  margin: 10vh 0 0;
  font-size: 5rem;
  line-height: 4rem;
}

h3 {
  margin: 30px 0;
  font-size: 2rem;
}

.cup {
  background: var(--empty-background);
  border: 4px solid var(--border-color);
  color: var(--border-color);
  border-radius: 0 0 40px 40px;
  height: 330px;
  width: 150px;
  margin: 30px 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.cup.cup-small {
  background: var(--empty-background);
  height: 95px;
  width: 50px;
  border: 2px solid var(--border-color);
  border-radius: 0 0 15px 15px;
  cursor: pointer;
  font-size: 14px;
  text-align: center;
  align-items: center;
  justify-content: center;
  margin: 5px 6px;
  transition: 0.3s ease;
}

.cup.cup-small.full {
  background: var(--fill-color);
  color: white;
}
.cups {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  width: 280px;
}

.remained {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  flex: 1;
  transition: 0.3s ease;
}

.remained span {
  font-size: 1.8rem;
  font-weight: bold;
}

.remained small {
  font-size: 1.1rem;
}

.percentage {
  background: var(--fill-color);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: bold;
  height: 0;
  transition: 0.3s ease;
}

.text {
  text-align: center;
  font-size: 1.2rem;
  width: 330px;
  margin: 20px 0;
}
