.popup-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    position: fixed;
    right: 5px;
    top: 0;
    transition-property: right;
    transition-duration: 750ms;
    transition-timing-function: ease-in-out;
    box-sizing: border-box;
}

.popup-container.hidden {
    right: -50vw;
}

.popup-achiev {
    box-sizing: border-box;
    width: 40vw;
    max-width: 600px;
    height: 40vh;
    max-height: 120px;
    background-color: #BFEAF5;
    border-radius: 15px;
    border: #07485B solid 3px;
    display: flex;
    align-items: center;
    padding: 20px;
    gap: 10px;
}

.popup-group > img {
    height: 80%;
    max-height: 64px;
}

.popup-group {
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: center;
    gap: 5px;
}

.popup-achiev h2 {
    font-weight: 700;
    font-size: 1.5rem;
}

.popup-achiev h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.popup-achiev p {
    font-weight: 300;
    font-size: 0.9rem;
}

.popup-achiev p img {
    object-fit: contain;
    height: 0.9em;
}

@media (prefers-color-scheme: dark) {
    .popup-achiev {
        background-color: #07485B;
        border-color: #8EC7D2;
    }
}

@media (max-width: 900px) {
    .popup-achiev h2 {
        font-weight: 700;
        font-size: 1.3rem;
    }
    
    .popup-achiev h3 {
        font-size: 1.1rem;
    }

    .popup-achiev p {
        font-size: 0.8rem;
    }
}

@media (max-width: 750px) {
    .popup-achiev {
        height: fit-content;
        max-height: 200px;
    }

    .popup-achiev h2 {
        font-weight: 700;
        font-size: 1.2rem;
    }
    
    .popup-achiev h3 {
        font-size: 1rem;
    }

    .popup-achiev p {
        font-size: 0.8rem;
    }
}

@media (max-width: 600px) {
    .popup-achiev {
        width: 60vw;
    }

    .popup-achiev h2 {
        font-weight: 700;
        font-size: 1.1rem;
    }
    
    .popup-achiev h3 {
        font-size: 0.9rem;
    }
}

@media (max-width: 500px) {
    .popup-container {
        height: 0;
        top: 30vh;
        right: 10vw;
    }
    .popup-achiev {
        width: 80vw;
    }

    .popup-achiev h2 {
        font-weight: 700;
        font-size: 1.2rem;
    }
    
    .popup-achiev h3 {
        font-size: 1rem;
    }

    .popup-achiev p {
        font-size: 0.8rem;
    }
}