/*main loader*/
.loader{
    display: flex;
    position: fixed;
    background-color: #E6CCA9;
    opacity: 1;
    height: 100%;
    width: 100%;
    justify-content: center;
    align-items: center;
    z-index: 100;
    flex-direction: column;
    gap: 30px;
}
/*animation*/
.loader {
    -webkit-animation: load-out 2s ease-in 7s;
    animation: load-out 2s ease-in 7s;
    -webkit-animation-fill-mode: forwards;
    animation-fill-mode: forwards;
}

@-webkit-keyframes load-out {
    from {
        top: 0;
        opacity: 1;
    }

    to {
        top: 100%;
        opacity: 0;
    }
}

@keyframes load-out {
    from {
        top: 0;
        opacity: 1;
    }

    to {
        top: 100%;
        opacity: 0;
    }
}
/* ang baso, svg? nah bro we use border*/
.cup{
    position: relative;
    width: 220px;
    height: 180px;
    border: 8px solid #E6CCA9;
    box-shadow: 0 0 0 12px #614124;
    border-radius: 10px 10px 60px 60px;
    background: url(./img/coffee.png);
    background-repeat: repeat-x;
    background-position: 0 130px;
    animation: fillingup 4s 2;
    flex-direction: column;
}
@keyframes fillingup {
    0%, 100% {
        background-position: 0 130px;
    }
    50%{background-position: 600px -70px;}
}
.cup .cuphand{
    width: 65px;
    height: 65px;
    border: 12px solid #614124;
    border-radius: 20px 10px 50px 20px;
    position: absolute;
    top: 10px;
    right: -75px;
    height: 120px;
}
/* some text loader*/
.loadertext{
    display: flex;
    text-align: center;
    justify-content: center;
    font-family: 'silkscreenregular';
    z-index: 2;
    font-size: xx-large;
}
.loadertext {
    -webkit-animation: load-out 2.5s ease-in 8s;
    animation: load-out 2.5s ease-in 8s;
    -webkit-animation-fill-mode: forwards;
    animation-fill-mode: forwards;
}
/* separate animation for text kasi why the fuck not*/
@-webkit-keyframes load-out {
    from {
        top: 0;
        opacity: 1;
    }

    to {
        top: 100%;
        opacity: 0;
    }
}

@keyframes load-out {
    from {
        top: 0;
        opacity: 1;
    }

    to {
        top: 100%;
        opacity: 0;
    }
}
/* end of loader */

