@font-face {
    font-family: "TX_khunchang";
    src: url(TX_khunchang.ttf);
}

.TX_khunchang {
    font-family: "TX_khunchang";
}

@font-face {
    font-family: "Zanily";
    size-adjust: 80%;
    src: url(Zanily.ttf);
}

.Zanily {
    font-family: "Zanily";
}

@font-face {
    font-family: "Yozai";
    size-adjust: 80%;
    src: url(Yozai-Medium.ttf);
}

@keyframes tiw {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.filter-invert {
    filter: invert();
}

.tiw {
    animation: tiw;
    animation-duration: 3s;
    animation-iteration-count: infinite;
}

.Yozai {
    font-family: "Yozai";
}

html {
    scroll-behavior: smooth;
    color: black;
    background: white;
}

body {
    position: relative;

    background: white;
    text-align: center;
    padding: 2rem;
    margin: 3rem;
    font-size: 1.5rem;
    border: 1px solid black;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}

div.lang-menu {
    position: absolute;
    top: 0;
    right: 0;
    transform: translateY(-100%);

    display: flex;
    justify-content: center;
    align-items: end;

    transition: 0.3s all;
}

div.lang-menu p {
    margin: 0;
    padding-inline: 1rem;
    border: 1px solid black;
    border-top-left-radius: 1rem;
    border-top-right-radius: 1rem;
    height: 2rem;
    font-size: 1.75rem;

    cursor: pointer;

    transition: 0.3s all;
}

div.lang-menu p:hover {
    padding-bottom: 0.5rem;
    max-height: 2.5rem;
}

div.lang-menu p.active {
    background: black;
    color: white;
}

div.color-menu {
    position: absolute;
    top: 0;
    left: 0;
    transform: translateY(-100%);

    display: flex;
    justify-content: center;
    align-items: end;

    transition: 0.3s all;
}

div.color-menu p {
    display: flex;
    align-items: center;
    padding-block: 0.5rem;
    margin: 0;
    padding-inline: 1rem;
    border: 1px solid black;
    border-top-left-radius: 1rem;
    border-top-right-radius: 1rem;
    max-height: 2rem;

    cursor: pointer;

    transition: 0.3s all;
}

div.color-menu p img {
    max-height: 1rem;
    width: auto;
}

div.color-menu p:hover {
    padding-bottom: 1rem;
    max-height: 2.5rem;
}

div.color-menu p.active {
    filter: invert();
    background: white;
    border: 1px solid white;
}

div.head {
    display: flex;
    justify-content: center;
    align-items: center;
}

img {
    pointer-events: none;
}

img.cat-sit {
    aspect-ratio: 473/576;
    width: 1.5rem;
    margin-inline: 1rem;
}

img.lwli-button {
    aspect-ratio: 311/231;
    width: 5rem;
}

div.menu-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    cursor: pointer;
    pointer-events: all;
    border: 1px solid black;
    border-radius: 2rem;
}

p.menu {
    margin: 0;
}

div.sns-menu {
    display: flex;
    justify-content: center;
    align-items: center;
}

.sns-menu a {
    aspect-ratio: 1/1;
    height: 2rem;
    width: 2rem;
    margin: 1rem;
    padding: 0.2rem;
    border-radius: 50%;
    border: 1px solid white;

    transition: 0.3s all;
}

.sns-menu a:hover {
    border: 1px solid black;
}

.sns-menu a img {
    aspect-ratio: 1/1;
    width: 100%;
}

@media (max-width: 540px) {
    :root {
        font-size: 1.875vw;
    }
    
    body {
        text-align: center;
        padding: 3rem;
        font-size: 2.4rem;
    }

    img.cat-sit {
        width: 2.5rem;
        margin-inline: 2rem;
    }
}