.intro-modal {
    visibility: hidden;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    transform: scale(1.1);
    transition: visibility 0s linear 0.25s, opacity 0.25s 0s, transform 0.25s;
    z-index: 100000000000;
    display: flex;
    justify-content: center;
    align-items: center;
}

.intro-modal-content {
    max-width: 50em;
    min-height: 34.5em;
    width: 90%;
    height: auto;
    background-image: url(christmas_pop_up_background.webp);
    background-size: cover;
    background-repeat: no-repeat;
    background-position-x: -150px;
    border-radius: 0.5rem;
    position: relative;
    display: flex;
    justify-content: flex-end;
}

.intro-modal-heading {
    font-size: 1.5rem;
    padding: 0;
}

.intro-modal-text {
    display: flex;
    font-size: 0.9rem;
    border-radius: 0rem 0.5rem 0.5rem 0rem;
    padding: 2.5rem;
    background-color: #fffffff9;
    width: 62.5%;
    flex-direction: column;
    gap: 1.5rem;
    line-height: 1.4;
}

.intro-modal-text-line {
    margin: 0;
}

.signature {
    font-family: "Oooh Baby", cursive;
    font-size: 1.5rem;
}

.intro-close-button {
    background-image: url(close.png);
    background-size: 12px 12px;
    background-repeat: no-repeat;
    background-position: center;
    position: absolute;
    right: 0;
    top: 0;
    margin: 15px;
    width: 12px;
    height: 12px;
    cursor: pointer;
    transition: all .2s ease-in-out;
    filter: invert();
}

.intro-close-button:hover {
    transform: scale(1.1)
}

.show-intro-modal {
    opacity: 1;
    visibility: visible;
    transform: scale(1.0);
    transition: visibility 0s linear 0s, opacity 0.25s 0s, transform 0.25s;
}

@media (max-width: 600px){
    .intro-modal-content { 
        min-height: 39.5em;
        background-repeat: repeat;
        background-position-y: 120px;
        background-position-x: 0px;
    }

    .intro-modal-text {
        font-size: 0.8rem;
        border-radius: 0.5rem 0.5rem 0.5rem 0.5rem;
        padding: 2rem;
        width: 100%;
        height: 100%;
    }
    
    .intro-modal-heading {
        font-size: 1.2rem;
    }
}