@import url('https://fonts.googleapis.com/css2?family=Montserrat&display=swap');
* {
  box-sizing: border-box;
}
:root {
  --border-color: #144fc6;
  --fill-color: #6ab3f8;
}

body {
  background-color: #3494e4;
  font-family: 'Montserrat', open-sans;
  display: flex;
  flex-direction: column;
  align-items: center; /*cross axis here column so horizontal*/
}

h1 {
  font-size: 40px;
  color: #fff;
}

.h3 {
  font-size: 20px;
  color: #fff;
  margin: 10px;
}

p {
  text-align: center;
  margin: 30px 0 10px;
  color: #fff;
}

.btn {
  border: 0;
  background-color: blue;
  height: 20px;
  width: 20px;
  padding: 0;
  border-radius: 50%;
  color: #fff;
  margin: 0 5px 0;
}

#minus {
  background-color: var(--fill-color);
}

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

.cup.cup-small {
  height: 150px;
  width: 63px;
  border-radius: 0 0 20px 20px;
  margin: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.cups {
  display: flex;
  flex-wrap: wrap;
  width: 400px;
  align-items: center;
  justify-content: center;
}

.cup.cup-small.full {
  background-color: var(--fill-color);
  color: #fff;
}

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

.remained span {
  font-weight: bold;
}

.remained small {
  font-size: 8px;
}

.percentage {
  background-color: var(--fill-color);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  font-weight: bold;
  transition: 0.3s ease;
  height: 0;
}
