@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Mooli&family=Outfit:wght@100..900&family=Playwrite+IT+Trad+Guides&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

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

*{
    box-sizing: border-box;
}

body{
    font-family: "Montserrat",sans-serif ;
    display: flex;
    flex-direction: column;
    align-items: center;
 
    overflow: auto;
    margin-bottom: 40px;
    background-color: rgb(66, 182, 227);
    color: #fff;
    scroll-behavior: smooth;

}

h1{
    margin: 10px 0 0;
}

h3{
    font-weight: 400;
    margin: 10px 0;
}

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

}



.cup.smallcups{
    height: 95px;
    width:50px;
    border-radius: 0 0 15px 15px;
    background-color:rgba(255,255,255,0.9 );
    font-size:14px;
    cursor: pointer;
    margin: 5px;
    justify-content: center;
    align-items: center;
    text-align: center;
    transition: 0.3s ease;
}

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

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

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

.remained span{
    font-size: 20px;
    font-weight: bold;
}

.reamined small{
    font-size:12px;
}

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

.text{
    text-align: center;
    margin:0 0 5px;
}