html,
body {
    width: 100vw;
    height: 100vh;
    padding: 0;
    margin: 0;
}

body {
    overflow-x: hidden;
    overflow-y: auto;
}

* {
    box-sizing: border-box;
}

.container {
    width: 100%;
    background-color: #0000;
    padding: 100px 0px;

    display: flex;
    flex-flow: column nowrap;
    justify-content: center;
    align-items: center;
}

.popup-container {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: var(--radius-xl, 12px);
    background: var(--Colors-Background-bg-primary, #FFF);
    box-shadow: 0px 8px 8px -4px rgba(16, 24, 40, 0.03), 0px 20px 24px -4px rgba(16, 24, 40, 0.08);
    max-width: 80%;
    width: 697px;
    height: 499px;
    text-align: center;
    padding: 45px 41px 38px 41px;
}

.popup-content {
    display: flex;
    flex-flow: row;
}

.popup-info {
    text-align: left;
    vertical-align: top;
    padding-left: 27px;
}

.popup-info h2 {
    margin: 0px;
    color: #454545;
    font-family: Kanit;
    font-size: 28px;
    font-style: normal;
    font-weight: 500;
    line-height: 120%;
    text-transform: capitalize;
}

.popup-info .normal {
    color: #454545;
    font-family: Kanit;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 120%;
    text-transform: capitalize;
}

.popup-info .small {
    color: #747474;
    font-family: Kanit;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 120%;
    text-transform: capitalize
}

.popup-info a {
    width: 100%;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.popup-close {
    position: absolute;
    top: 20px;
    right: 20px;
    cursor: pointer;
}

.chiangmai-onsite-map {
    width: 234px;
}

#overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.20);
}

.grid {
    display: flex;
    flex-flow: row;
    gap: 70px;
}

.grid img {
    border-radius: 20px;
    border: 1px solid #F0F0F0;
    box-shadow: 0px 8px 8px 0px rgba(0, 0, 0, 0.25);
}

.sizebox-center a {
    display: none;
}

@media only screen and (max-width: 820px) {
    h1 {
        padding-left: 20px;
        padding-right: 20px;
    }

    .grid {
        width: 100%;
        justify-items: center;
        align-items: center;
        flex-flow: column;
        gap: 30px;
    }

    .popup-container {
        padding: 20px;
    }

    .popup-info {
        padding-left: 0px;
    }

    .chiangmai-onsite-map {
        display: none;
    }

    .sizebox-center {
        position: relative;
    }

    .sizebox-center a {
        display: block;
    }

    .sizebox-center img {
        margin-top: 10px;
        width: 100%;
        height: 85%;
        object-fit: cover;
        position: absolute;
        top: 0;
        left: 0;
    }
}