#popup{
    display: none;
    grid-template-columns: 60% 40%;
    max-height: 80vh;
    width: 80vw;
    aspect-ratio: 16 / 9;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    background-image: linear-gradient(hsl(221, 50%, 23%), hsl(221, 50%, 40%));
    border: 1em solid hsl(221, 50%, 60%);
    z-index: 100000;
    overflow: hidden;
}

#popup-left{
    display: flex;
    flex-direction: column;
    place-items: center;
    justify-content: space-evenly;
    font-size: .5em;
}

#popup-left a{
    width: 60%;
    height: fit-content;
    padding: .5em 0;
    border-radius: 0.5em;
    border: 1px solid white;
    background: var(--button-gradient);
    color: white;
    font-size: 1.5vw;
    font-weight: var(--font-regular);
    cursor: pointer;
    text-align: center;
}

#popup-right{
    position: relative;
}

#popup-right img{
    width: 100%;
    background-position: left;
    background-size: cover;
}

#popup h1{
    padding: 0;
    line-height: 1.5em;
    font-size: 3vw;
    text-align: left;
    margin: 0;
    padding: 0 5vw;
    color: white;
} 

#closeButton{
    position: absolute;
    top: 0;
    right: 0;
    width: 4vw;
    height: 4vw;
    /* padding: 10px; */
    display: flex;
    place-content: center;
    background-color: hsl(221, 50%, 60%);
    border-radius: 0 0 0 1vw;
    border: none;
    font-size: 3vw;
    z-index: 100002;
    cursor: pointer;
}

#closeButton:hover{
    background-color: hsl(221, 50%, 70%);
}

#popImg{
    display: none;
    grid-template-columns: 60% 40%;
    width: calc(80vw);
    max-height: 80vh;
    aspect-ratio: 16 / 9;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    z-index: 100001;
    overflow: hidden;
    pointer-events: none;
}

#popup-main{
    position: absolute;
    bottom: 0;
    right: 0;
    height: 80%;
    aspect-ratio: 1 / 1;
}

#popup-bg{
    height: 100%;
}