@font-face {
    font-family: "Aller";
    src: url("/fonts/Aller_Rg.ttf");
}

@keyframes appear{
    from{
        scale: 0.5;
        opacity: 0;
    }
}

@keyframes exiting{
    to{
        scale: 1;
        opacity: 0;
    }
}

body, html{
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    user-select: none;
    font-family: "Aller";
    overflow: hidden;
}

body{
    background: url("/wall.jpg") no-repeat center center;
    background-size: cover;
}

.popup{
    display: block;
    position: absolute;
    width: 200px;
    height: 350px;
    background: #f38cc3cc;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: inset #fff8 0 0 0 1px, #0008 0 0 0 1px, #0007 0 16px 32px 0;
    animation: appear 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(8px) saturate(110%);
}

.popup:not(.active){
    backdrop-filter: none;
    background: #f38cc3;
    box-shadow: inset #fff8 0 0 0 1px, #0008 0 0 0 1px, #0005 0 16px 24px 0;
}

.popup.closing{
    animation: exiting 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.popup::before{
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    inset: 0;
    width: auto;
    height: auto;
    margin: 0px;
    margin-top: 30px;
    background: #fdddff;
}

.popup .close{
    position: absolute;
    left: 9px;
    top: 9px;
    width: 12px;
    height: 12px;
    background: #831f8a;
    box-shadow: inset 0 0 0 1px #0006;
    border-radius: 50%;
    transition: 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.popup .close::before{
    content: "✖";
    font-size: 11px;
    position: absolute;
    left: 0px;
    top: 0;
    width: 12px;
    height: 12px;
    text-align: center;
    line-height: 12px;
    color: #fdddff;
    opacity: 0;
    transition: 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.popup .close:hover{
    background: #dc3ce7;
}

.popup .close:hover::before, .popup .close:active::before{
    opacity: 1;
}

.popup .close:active::before{
    color: #0006;
}

.popup .close:active{
    background: #57145c;
}

.popup img{
    position: absolute;
    width: 200px;
    height: calc(350px - 30px);
    bottom: 0;
    left: 0;
    object-fit: contain;
}

.popup::after{
    position: absolute;
    content: "";
    left: 0;
    top: 0;
    width: 100%;
    height: 30px;
    line-height: 32px;
    box-sizing: border-box;
    text-align: center;
    font-size: 11pt;
    color: #831f8a;
    pointer-events: none;
}

.popup.natsuki::after{
    content: "Natsuki";
}

.popup.sayori::after{
    content: "Sayori";
}

.popup.yuri::after{
    content: "Yuri";
}

.popup.monika::after{
    content: "Monika";
}

.backstore{
    display: none;
}