@font-face {
    font-family: 'Sarabun';
    src: url(../asset/Sarabun-Regular.ttf);
}

* {
    font-family: 'Sarabun';
    font-weight: 400;
    font-style: normal;
    padding: 0;
    margin: 0;
}
body {
    background-color: pink;
}

.spacer {
    height: 4dvh;
}

body::after {
    content: '';
    height: 100dvh;
    width: 100%;
    position: fixed;
    top: 0;
    z-index: -2;
    background: rgb(255, 101, 178);
    background: -moz-linear-gradient(0deg, #ff65b2 0%, rgba(255, 137, 196, 1) 28%, rgba(255, 247, 251, 1) 75%, rgba(255, 125, 190, 1) 100%);
    background: -webkit-linear-gradient(0deg, rgba(255, 101, 178, 1) 0%, rgba(255, 137, 196, 1) 28%, rgba(255, 247, 251, 1) 75%, rgba(255, 125, 190, 1) 100%);
    background: linear-gradient(0deg, rgba(255, 101, 178, 1) 0%, rgba(255, 137, 196, 1) 28%, rgba(255, 247, 251, 1) 75%, rgba(255, 125, 190, 1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#ff65b2",endColorstr="#ff7dbe",GradientType=1);
}

.header {
    display: flex;
    background-color: #d63384;
    width: 100%;
    padding: 10px 0;

    /* justify-content: center; */
    align-items: center;

    color: white;
    box-shadow: 0 0 10px #0000001a;

    .title {
        font-weight: bolder;
    }

    img {
        width: 36px;
        height: 36px;
        margin: 5px 10px;
    }
}

.content {
    padding: 0 1rem;
}

@media only screen and (min-width: 640px) {
    .content {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
    }

    .card {
        width: 100%;
        max-width: 580px;
    }
}

.card {
    background-color: #ffffffbd;
    padding: 1rem 1.5rem;
    border-radius: 15px;
    box-shadow: 0 0 10px #0000001a;

    p {
        padding: 0;
        margin: 0;
    }
    .maintenance-message {
        text-align: center;
        .title {
            font-size: 1.8rem;
            font-weight: bolder;
        }
    }
}

.icon-animation {
    display: flex;
    justify-content: center;
    align-items: end;
    --fil-color: #000000b9;

    .setting-icon.main svg {
        width: 200px;
        height: 200px;
        fill: var(--fil-color);

        animation: spin 10s linear infinite;
    }

    .setting-icon.sub svg {
        width: 100px;
        height: 100px;
        fill: var(--fil-color);

        animation: spin 6s linear infinite reverse;
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
