.container_ {
    display: grid;
    grid-template-columns: 1fr 3fr;
    width: fit-content;
    margin-top: 5vh;
    width: 90vw;
    border-radius: 10px;
    box-shadow: 0px 10px 14px rgba(0, 0, 0, 0.1);
    background-color: #f8f8f8;
}

.right {
    width: fit-content;
    height: 100%;
    margin: auto;
    margin-top: 8%;
}
.loop {
    margin: 5px;
}
.left {
    width: fit-content;
}
.left > img {
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    height: 100%;
}

button {
    width: 5vw;
    height: 8vh;
    background-color: #1A414E;
    border-radius: 10px;
    border: 0px;
    color: white;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-size: 16px;
}
button:hover {
    background-color: #173642;
}
.send {
    text-align: center;
}
.send > button {
    width: 100%;
}
.active {
    background-color: #FED78B;
    color: #1A414E;
}
.active:hover {
    background-color: #E0BD78;
}
.popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) translateY(-20px);
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 1001;
}
.popup.show {
    display: grid;
    opacity: 1;
    transform: translate(-50%, -50%) translateY(0);
}
.validated {
    width: 30px;
    filter: invert(20%) sepia(16%) saturate(1711%) hue-rotate(149deg) brightness(93%) contrast(90%);
}
.validated_header {
    display: flex;
    justify-content: center;
    align-items: center;
}
.blank_space {
    margin: 5px;
}
.given_note {
    text-align: center;
}
.note_container {
    height: 100%;
    margin-top: 10vh;
}
hr {
    text-align: center;
    margin-bottom: 35px;
}
.filter {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1000;
    display: none;
}
.close {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 10;
    margin: 30px;
}
.close > img {
    rotate: 45deg;
    width: 30px;
    cursor: pointer;
    transition: filter 0.3s ease;
    filter: invert(17%) sepia(90%) saturate(351%) hue-rotate(148deg) brightness(99%) contrast(91%);
}
.close > img:hover {
    filter: invert(19%) sepia(82%) saturate(2302%) hue-rotate(331deg) brightness(94%) contrast(102%);
}

@media (max-width: 768px) {
    .container_.popup {
        grid-template-columns: 1fr;
        width: 80vw;
        max-width: 100%;
    }

    .popup .right {
        display: none;
    }

    .popup .left > img {
        border-radius: 10px;
        width: 100%;
    }
    
    .popup .close {
        margin: 15px;
    }
}