:root
{
    --border-color: #144fc6;
    --fill-color: #6ab3f8;
}

*
{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body
{
    background: linear-gradient(to bottom, #3578ff , #144fc6 , #092150);
    color: #fff;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 40px;
    font: 1.5em sans-serif;
    user-select: none;
}

h2
{
    margin: 10px 0 0;
}

p
{
    font-weight: 500;
    margin: 10px 0;
}

.cup
{
    background-color: #fff;
    border: 0.3rem solid var(--border-color);
    color: var(--border-color);
    border-radius: 0 0 40px 40px;
    height: 335px;
    width: 180px;
    margin: 30px 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}


.cup.cup-small 
{
    width: 60px;
    height: 95px;
    border-radius: 0 0 15px 15px;
    background-color: rgba(255, 255, 255, 0.9);
    cursor: pointer;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin: 5px 10px;
    transition: 0.3s ease;
    border: 0.2rem solid var(--border-color);
}

.cup.cup-small.full
{
    background-color: var(--fill-color);
    color: #fff;
    
}
  
.cups
{
    display: flex;
    flex-wrap: wrap;
    width: 380px;
    align-items: center;
    justify-content: center;
}
  
.Remained
{
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-direction: column;
    flex: 1;
    transition: 0.3s ease;
}
  
.Remained span
{
    font-size: 20px;
    font-weight: bold;
}
  
.Remained small
{
    font-size: 20px;
}
  
.percentage
{
    background-color: var(--fill-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    height: 0;
    font-weight: bold;
    transition: 0.3s ease;
}
  
.text
{
    text-align: center;
    margin: 0 0 5px;
    font-size: 20px;
}