@import url('https://fonts.googleapis.com/css2?family=Figtree:ital,wght@0,300..900;1,300..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@400;700&display=swap');

:root {
    --color-white: #fff;
    --color-almost-white: #fafafa;
    --color-black: #000;
    --color-almost-black: #101010;

    --color-darker-grey: #505050;
    --color-dark-grey: #808080;
    --color-grey: #ccc;
    --color-light-grey: #dedede;

    --font-size-xxs: 0.625rem;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-md: 1.125rem;
    --font-size-lg: 1.6rem;
    --font-size-xl: 2.4rem;
    --font-size-xxl: 2.8rem;
}

* {
    box-sizing: border-box;
}

body {
    position: relative;
    margin: 0;
    padding: 0;
    font-family: "Figtree", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    color: var(--color-almost-black);
    background: var(--color-almost-white);

    word-wrap: break-word;
    word-break: keep-all;
}

html {
    font-size: 16px;
}

a {
    text-decoration: underline;
    color: var(--color-dark-grey);
}

a:hover {
    text-decoration: underline;
    color: var(--color-darker-grey);
}

h1 {
    font-size: var(--font-size-xl);
    font-weight: 700;
    padding: 0;
    margin: 3rem 0 1.8rem 0;
    text-align: center;
}

h2 {
    font-size: var(--font-size-lg);
    font-weight: 600;
    padding: 0;
    margin: 2.4rem 0 1.4rem 0;
}

h3 {
    font-size: var(--font-size-md);
    font-weight: 600;
    padding: 0;
    margin: 1rem 0 0 0;
}

p {
    font-size: var(--font-size-md);
    font-weight: 400;
    padding: 0;
    margin: 1rem 0;
}

.divOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    background: rgba(0, 0, 0, 0.32);
}

footer {
    border-top: 1px solid var(--color-light-grey);
    padding: 1rem;
    text-align: center;
    font-size: var(--font-size-base);
}

/* Scroll Reveal 관련 시작 */
.reveal,
.revealup,
.revealscale {
    visibility: hidden;
}

/*-- Scroll Reveal 관련 끝 */

@media (max-width: 600px) {
    html {
        font-size: calc(100vw * 24 / 800);
    }
}