@import url("https://fonts.googleapis.com/css2?family=Roboto+Mono:wght@700&display=swap");
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;700&display=swap');

:root {
    --meter-color: #53fc18;
    --meter-bg: #0b0e0f;
}

body {
    overflow: hidden;
    margin: 0;
    padding: 0;
}

main {
    display: flex;
    margin: 0;
    font-family: 'Oswald', sans-serif;
}

.container {
    display: flex;
    width: auto;
}

#hype-meter {
    flex-direction: row !important;
}

.meter-bg {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 40px;
    height: 420px;
    padding: 5px;
    border-radius: 5px 5px 0 0;
    background: var(--meter-bg);
}

.meter-header {
    display: flex;
    flex-direction: row;
    width: 40px;
    height: 20px;
    background: rgba(215, 215, 215, 0.65);
    overflow: hidden;
    text-overflow: ellipsis;
}

.points {
    margin: auto;
    line-height: 1em;
    font-size: .75em;
    font-weight: bold;
    color: #000000;
}

.meter-top {
    display: flex;
    flex-direction: row;
    gap: 5px;
}

.timer-bg {
    display: flex;
    flex-direction: column-reverse;
    width: 5px;
    height: 340px;
    background: rgba(255, 255, 255, 0.65);
}

.timer {
    background: var(--meter-color);
    height: 100%;
}

.hype-bg {
    display: flex;
    flex-direction: column-reverse;
    width: 30px;
    height: 340px;
    background: rgba(255, 255, 255, 0.65);
}

.hype {
    display: flex;
    flex-direction: column;
    background: var(--meter-color);
    height: 75%;
    overflow: hidden;
}

.difficulty {
    display: flex;
    flex-direction: row;
    width: 40px;
    height: 15px;
    overflow: hidden;
    text-overflow: ellipsis;
}

#difficulty-stars {
    display: flex;
    gap: 1px;
    margin: auto;
}

#difficulty-stars img {
    margin: auto;
    height: .7em;
    filter: invert(1);
}

.percentage {
    margin: 0 auto;
    font-size: 12px;
    font-weight: 700;
    text-align: center;
    z-index: 1;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    color: #000000;
}

.meter-bottom {
    display: flex;
    flex-direction: row;
    width: 40px;
    height: 40px;
    background: rgba(215, 215, 215, 0.65);
}

.level {
    margin: auto;
    line-height: 1em;
    font-size: 2em;
    font-weight: bold;
    color: #000000;
}

.flash {
    animation: flashLevel 1s linear infinite;
    color: var(--meter-color);
}

@keyframes flashLevel {
    50% {
        opacity: 0;
    }
}

#notifier {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 100px;
    height: 430px;
    padding: 0;
    overflow: hidden;
    position: relative;
}

.noti-top {
    height: 335px;
}

.noti-middle {
    display: flex;
    height: 30px;
    width: 100%;
    background: var(--meter-bg);
    position: absolute;
    left: 0;
    bottom: 100px;
    z-index: 2;
    transition: left .75s ease;
}

.noti-bottom {
    height: 100px;
    background: var(--meter-bg);
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: 1;
    transition: left .75s ease;
}

.noti-middle:not(.active),
.noti-bottom:not(.active) {
    left: 0;
    transition: left 2.5s ease;
}

#notifier.active .noti-bottom {
    left: 0;
    transition: left .75s ease;
}

#notifier.active .noti-middle {
    left: 0;
    transition: left .75s ease;
}

.noti-bg {
    display: flex;
    flex-direction: row;
    margin: 5px;
    width: 90px;
    height: 90px;
    background: rgba(255, 255, 255, 0.65);
}

.emotes {
    padding: 2px;
}

.emotes img {
    height: 100%;
    animation: smoother-wiggle-rotate 2s cubic-bezier(0.25, 0.1, 0.25, 1) infinite;
}

.combo {
    margin: auto;
    color: #ffffff;
    font-size: 22px;
    font-weight: 700;
}

@keyframes smoother-wiggle-rotate {
    0% {
        transform: translateY(0) rotate(0deg);
    }

    20% {
        transform: translateY(-5px) rotate(-5deg);
    }

    40% {
        transform: translateY(0) rotate(0deg);
    }

    60% {
        transform: translateY(5px) rotate(5deg);
    }

    80% {
        transform: translateY(0) rotate(0deg);
    }

    100% {
        transform: translateY(0) rotate(0deg);
    }
}