﻿.popup-wrapper {
    position: absolute;
    z-index: 99999;
    height: 100dvh;
    width: 100dvw;
    max-width: 100dvw;
    background-color: var(--bg-color);
    display: none;
}

.popup-wrapper.popup-active {
    display: flex
}

.popup-logo-img {
    position: absolute;
    aspect-ratio: 181/164;
    width: 90px;
    top: 3%;
    left: 5%;
}

.popup-content {
    display: flex;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 1rem;
    overflow-y: scroll;
}

.popup-close-btn {
    border-radius: 50%;
    background-color: #C89369;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 30px;
    width: 30px;
    padding: 10px;
    position: absolute;
    right: 4rem;
    top: 2rem;
    cursor: pointer;
    border: 0;
    z-index: 3;
}

.popup-close-btn i {
    color: white;
}

.popup-logo {
    background-image: url('/assets/layout/introduction_component/logo.webp');
    background-size: 3rem auto;
    background-repeat: no-repeat;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 2rem;
    left: 5rem;
    pointer-events: none;
    z-index: 1;
}

.popup-title-content {
    font-family: var(--font-title);
    color: var(--text-title-color);
    font-size: 50px
}

.popup-title-wrapper {
    font-weight: 500;
    color: #333;
    margin-bottom: 0.5rem;
    font-size: 20px;
    line-height: 0.8;
    margin: auto;
    width: fit-content;
    text-align: center;
    transform: scale(0.65)
}

.popup-img-content {
    width: auto;
    height: 15rem;
    padding: 1rem;
}

.popup-img-content:hover {
    transform: scale(1.05);
    transition: 0.5s;
}

@media (min-width: 768px) {
    .popup-img-content {
        height: 23rem;
    }

    .popup-title-wrapper {
        transform: scale(0.8)
    }
}

@media (min-width: 992px) {
    .popup-logo {
        background-size: 8rem auto;
    }

    .popup-img-content {
        height: 35rem;
        padding: 2rem 0 4rem 0;
    }

    .popup-title-wrapper {
        transform: scale(1)
    }
}