@charset "utf-8";

@font-face {
    font-family: 'NanumSquareNeo';
    font-weight: normal;
    font-style: normal;
    src: local('NanumSquareNeo-Regular'),
        local('NanumSquareNeo Regular'),
        url('https://cdn.jsdelivr.net/gh/eunchurn/NanumSquareNeo/woff2/NanumSquareNeoTTF-bRg.woff2') format('woff2');
}

@font-face {
    font-family: 'NanumSquareNeo';
    font-weight: bold;
    font-style: normal;
    src: local('NanumSquareNeo-Bold'),
        local('NanumSquareNeo Bold'),
        url('https://cdn.jsdelivr.net/gh/eunchurn/NanumSquareNeo/woff2/NanumSquareNeoTTF-cBd.woff2') format('woff2');
}

@font-face {
    font-family: 'NanumSquareNeo';
    font-weight: 800;
    font-style: normal;
    src: local('NanumSquareNeo-ExtraBold'),
        local('NanumSquareNeo ExtraBold'),
        url('https://cdn.jsdelivr.net/gh/eunchurn/NanumSquareNeo/woff2/NanumSquareNeoTTF-dEb.woff2') format('woff2');
}

:root {
    --bg-color: #f8f3eb;
    --paper-color: #ffffff;
    --accent-color: #d4a373;
    --accent-hover: #b88a5b;
    --text-color: #5d574f;
    --border-color: #eaddcf;
    --active-border: #8b7d6b;
    --nav-bg: #ffffff;
    --nav-inactive: #bfaea0;
    --glass-blur: blur(3px);
}

*,
*::before,
*::after {
    font-family: 'NanumSquareNeo', 'Malgun Gothic', 'Apple SD Gothic Neo', sans-serif;
    box-sizing: border-box;
}

body {
    background-color: #e8dfd5;
    color: var(--text-color);
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
    touch-action: pan-x pan-y;
}

.app-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 400px;
    height: 100%;
    background-color: var(--bg-color);
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow-x: hidden;
}

.tab-content {
    display: none;
    flex: 1;
    flex-direction: column;
    overflow: hidden;
    width: 100%;
    height: 100%;
    position: relative;
}

.tab-content.active {
    display: flex;
}

@media screen and (max-width: 480px) {
    .app-container {
        max-width: 100%;
        box-shadow: none;
    }

    body {
        background-color: var(--bg-color);
    }
}
