body {
    padding: 0;
    margin: 0;
    background-color: #efb54a;
}

.container {
    height: 350px;
    width: 350px;
    position: absolute;
    transform: translate(-50%, -50%);
    top: 50%;
    left: 50%;
}

.upper {
    height: 0;
    width: 180px;
    border-top: 70px solid #735123;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    position: relative;
    margin: 55px auto;
    box-sizing: border-box;
}

.upper::after {
    content: "";
    position: absolute;
    background-color: #3b240e;
    height: 5px;
    width: 185px;
    left: -12.5px;
    top: -70px;
}

.timer {
    position: absolute;
    height: 65px;
    width: 60px;
    background-color: #e06526;
    margin: auto;
    left: 0;
    right: 0;
    top: -65px;
    display: grid;
    place-items: center;
}

.timer::before {
    content: "";
    position: absolute;
    height: 32px;
    width: 32px;
    background-color: #ffffff;
    border-radius: 50%;
}

.timer::after {
    content: "";
    position: absolute;
    background-color: #e06526;
    height: 12px;
    width: 4px;
    border-radius: 4px;
    top: 20px;
}

.upper-btn {
    background-color: #ffffff;
    height: 8px;
    width: 8px;
    position: absolute;
    border-radius: 50%;
    left: 18px;
    bottom: 40px;
}

.upper-btn::before {
    content: "";
    position: absolute;
    background-color: #e06526;
    height: 12px;
    width: 12px;
    border-radius: 50%;
    top: 20px;
    left: -2px;
}

.upper-btn::after {
    content: "";
    position: absolute;
    background-color: #ffffff;
    height: 6px;
    width: 6px;
    border-radius: 50%;
    top: 22.6px;
    left: 0.7px;
}

.filter {
    width: 45px;
    height: 16px;
    background: linear-gradient(to right,
            #ede9d7 70%,
            #dad1b7 70%);
    position: relative;
    bottom: 57px;
    margin: auto;
    z-index: 5;
    cursor: pointer;
}

.filter-base {
    background-color: #ffffff;
    height: 13px;
    width: 45px;
    position: relative;
    border-radius: 0 0 5px 5px;
    top: 15px;
}

.filter-base::before {
    content: "";
    position: absolute;
    background-color: #ffffff;
    height: 6px;
    width: 12px;
    top: 12px;
    left: 16px;
}

.handle {
    height: 7px;
    border-right: 70px solid #e06526;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    position: relative;
    left: 39px;
    bottom: 14px;
}

.filter:hover .handle {
    animation: spin 5s;
}

@keyframes spin {
    50% {
        transform: translateX(-102px) rotateY(-180deg);
    }
}

.handle::before {
    content: "";
    position: absolute;
    height: 22.5px;
    width: 22.5px;
    background-color: #e06526;
    border-radius: 50%;
    transform: rotateY(70deg);
    left: 58px;
    top: -7.5px;
}

.coffee {
    position: relative;
    height: 30px;
    width: 8px;
    background-color: #e06526;
    border-radius: 0 0 15px 15px;
    margin: auto;
    bottom: 3px;
    visibility: hidden;
}

.filter:hover .coffee {
    animation: pour 5.5s 4s;
}

@keyframes pour {
    0% {
        visibility: visible;
    }

    100% {
        transform: translateY(30px);
    }
}

.steam {
    background-color: #cccccc33;
    height: 10px;
    width: 10px;
    border-radius: 50%;
    position: relative;
    margin: auto;
    top: 50px;
}

.steam::before {
    content: "";
    position: absolute;
    background-color: #e6e6e64d;
    height: 6px;
    width: 6px;
    border-radius: 50%;
    bottom: 5px;
}

.filter:hover .steam {
    animation: rise-steam 4s 5s;
}

@keyframes rise-steam {
    100% {
        transform: translateY(-75px);
    }
}

.coffee-drop {
    background-color: #e06526;
    height: 10px;
    width: 10px;
    border-radius: 50%;
    position: relative;
    bottom: 43px;
    margin: auto;
    visibility: hidden;
}

.filter:hover .coffee-drop {
    animation: drop 3s 6.1s;
}

@keyframes drop {
    100% {
        visibility: visible;
        transform: translateY(25px);
    }
}

.back {
    width: 145px;
    height: 140px;
    background-color: #3b240e;
    position: relative;
    bottom: 72px;
    margin: auto;
}

.back::before {
    content: "";
    position: absolute;
    background-color: #e06526;
    height: 12px;
    width: 155px;
    bottom: 0px;
    left: -5px;
}

.tray {
    width: 100%;
    height: 15px;
    position: absolute;
    margin: auto;
    bottom: 3px;
    background: radial-gradient(#3b240e 5px,
            transparent 6px);
    background-size: 15px 15px;
    background-position: -2.8px 0;
}

.cup {
    position: relative;
    height: 0;
    width: 30px;
    border-top: 70px solid #ede9d7;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    top: 58px;
    margin: auto;
    z-index: 5;
}

.cup::before {
    content: "";
    position: absolute;
    height: 0;
    width: 6px;
    border-top: 70px solid #dad1b7;
    border-left: 0 solid transparent;
    border-right: 10px solid transparent;
    bottom: 0;
    left: 24px;
}

.cup::after {
    content: "";
    position: absolute;
    height: 4px;
    width: 55px;
    background-color: #ffffff;
    bottom: 68px;
    left: -12.3px;
    border-radius: 5px;
}

.lower {
    height: 30px;
    width: 160px;
    background-color: #735123;
    position: relative;
    border-radius: 5px 5px 0 0;
    margin: auto;
    bottom: 74px;
}

.lower::before {
    content: "";
    position: absolute;
    height: 8px;
    width: 170px;
    background-color: #3b240e;
    bottom: -5px;
    left: -5px;
}

.lower-btn {
    height: 15px;
    width: 9px;
    background-color: #3b240e;
    position: relative;
    left: 13px;
    top: 8px;
}

.lower-btn::before {
    content: "";
    position: absolute;
    height: 8px;
    width: 8px;
    background-color: #e06526;
    border-radius: 50%;
    left: 18px;
    bottom: 3px;
}