:root {
    --p1c: #d32487;
    --p2c: #fff3fa;

    /* --f0: 18px;
    --f1: 16px;
    --f2: 14px;
    --f3: 12px;
    --hf1: 22px;
    --hf2: 20px; */

    --f0: 1.5rem;
    --f1: 1.25rem;
    --f2: 1rem;
    --f3: 0.75rem;
    --hf1: 1.75rem;
    --hf2: 2rem;

    --size1: 1rem;
    --size2: 1.25rem;
    --size3: 1.5rem;
    --size4: 1.75rem;
    --fs-base: 1rem;
}

.fs-h1 {
    font-size: var(--size4);
    line-height: 1.1;
    font-weight: 700;
}
.fs-h2 {
    font-size: var(--size2);
    line-height: 1.2;
}
.fs-h3 {
    font-size: var(--size1);
    line-height: 1.3;
}
.fs-l1 {
    font-size: 0.75rem;
}
.fw-1 {
    font-weight: 700;
}
.fw-2 {
    font-weight: 500;
}
.fw-3 {
    font-weight: 200;
}

.mt-1 {
    margin-top: 5rem;
}
.mt--1 {
    margin-top: 2.5rem;
}
.ms-5 {
    margin-inline-start: 5px;
}
.ms-10 {
    margin-inline-start: 10px;
}
.ms-20 {
    margin-inline-start: 20px;
}
.ms-30 {
    margin-inline-start: 30px;
}
.ms-40 {
    margin-inline-start: 40px;
}

.me-5 {
    margin-inline-end: 5px;
}
.me-10 {
    margin-inline-end: 10px;
}
.me-20 {
    margin-inline-end: 20px;
}

.m-auto {
    margin: auto;
}
.d-block {
    display: block;
}
.text-center {
    text-align: center;
}
.opacity-0 {
    opacity: 0;
}
.position-relative {
    position: relative;
}
body {
    background-color: #f0f0f0;
    color: #000;
    font-size: var(--f1);
    margin: 0;
    padding: 0;
    font-family: 'Kodchasan', sans-serif;
    font-style: normal;
}

html {
    -webkit-text-size-adjust: none;
}
a {
    color: var(--p1c);
}
.logo {
    width: 150px;
    margin: auto;
}
.logo img {
    width: 100%;
}

.ads {
    display: flex;
    justify-content: center;
    flex-direction: column;
    width: 320px;
    min-height: 200px;
    margin: auto;
    margin-top: var(--size1);
    margin-bottom: var(--size2);
    &::before {
        content: 'Advertisement';
        font-size: 12px;
        text-align: center;
    }
    &.custom img {
        width: 100%;
    }
}
#ad-bottom-stickey {
    position: fixed;
    bottom: 0;
    z-index: 99;
    margin: auto;
}
.cont {
    max-width: 320px;
    display: flex;
    align-items: center;
    flex-direction: column;
    padding: 10px;
    /* padding-top: 12em; */
    position: relative;
    margin: auto;
    text-align: center;
}
.card {
    padding: 10px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
    margin: 10px;
    min-width: 320px;
    background-color: var(--p2c);
    text-align: center;
    z-index: 1;
    /* width: 100%; */
}

.card.gradient {
    background: linear-gradient(#f0f0f0 0%, var(--p2c) 50%, var(--p2c) 100%);
    box-shadow: none;
}

.card-title {
    font-size: var(--hf1);
    font-weight: bold;
}
.card-content {
    margin-block-start: var(--gap2);
}

.card .points > div {
    margin-top: 10px;
    text-align: start;
    position: relative;
}
.card .subhead {
    font-size: var(--f1);
    font-weight: 700;
}
.card .text {
    font-size: var(--f3);
}

a.btn,
button {
    text-decoration: none;
    outline: none;
    border: 2px solid var(--p1c);
    border-radius: 25px;
    font-size: var(--f1);
    padding: 10px;
    background-color: var(--p1c);
    color: #fff;
    font-family: 'Kodchasan', sans-serif;
    margin-top: 10px;
    min-width: 200px;
    box-shadow: 0 4px 4px rgb(0 0 0 / 25%);
    cursor: pointer;

    user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;

    &:focus {
        outline: none;
    }

    &:active {
        scale: 0.98;
    }
}

.footer {
    margin-block-end: calc(var(--size4) + 1rem);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: var(--size1);

    a {
        margin-inline-start: var(--size1);
        text-decoration: none;
        color: var(--p1c);
    }
}

.blur-overlay {
    padding-inline: var(--size1);
    position: absolute;
    top: 0;
    left: 0;
    width: calc(100% - (var(--size1) * 2));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    background: rgb(0 0 0 / 35%);
    pointer-events: none;
    z-index: 2;
    color: #fff;
    border-radius: var(--f3);

    .content {
        width: 100%;
        img {
            filter: drop-shadow(2px 6px 12px rgb(255, 255, 255));
            transform: rotate(18deg);
            width: 3rem;
            aspect-ratio: 1/1;
        }
    }
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;

    .close {
        position: absolute;
        width: 0.5rem;
        height: 0.5rem;
        border-radius: 0.5rem;
    }
}

.modal-content {
    border-radius: 8px;
    text-align: center;
}

.lang-modal {
    .card-title {
        margin-top: 1rem;
    }
    .entry {
        display: block !important;
        text-decoration: none;
        text-align: center;
        margin: auto;
        color: #000;
    }
}

.illus {
    position: absolute;
    top: 0px;
    left: -35px;
}

.illus img {
    width: 100%;
}

.form {
    flex-direction: column;
    padding: 10px;
}

input {
    font-family: 'Kodchasan', sans-serif;
    outline: none;
    display: block;
    border: 2px solid var(--p1c);
    border-radius: 25px;
    font-size: var(--f1);
    padding: 10px;
    width: 90%;
    margin: auto;
}

.entries {
    margin-block-start: 3rem;

    .entry {
        display: flex;
        background: var(--p2c);
        box-shadow: 0px 0px 5px #acacacb3;
        padding: 0.75rem;
        border-radius: 1rem;

        > div {
            text-align: start;
        }

        .name {
            flex: 80%;
        }
    }
}
