@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable.min.css");
@font-face {
    font-family: 'Paperozi';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-1Thin.woff2') format('woff2');
    font-weight: 100;
    font-display: swap;
}

@font-face {
    font-family: 'Paperozi';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-2ExtraLight.woff2') format('woff2');
    font-weight: 200;
    font-display: swap;
}

@font-face {
    font-family: 'Paperozi';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-3Light.woff2') format('woff2');
    font-weight: 300;
    font-display: swap;
}

@font-face {
    font-family: 'Paperozi';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-4Regular.woff2') format('woff2');
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: 'Paperozi';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-5Medium.woff2') format('woff2');
    font-weight: 500;
    font-display: swap;
}

@font-face {
    font-family: 'Paperozi';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-6SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-display: swap;
}

@font-face {
    font-family: 'Paperozi';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-7Bold.woff2') format('woff2');
    font-weight: 700;
    font-display: swap;
}

@font-face {
    font-family: 'Paperozi';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-8ExtraBold.woff2') format('woff2');
    font-weight: 800;
    font-display: swap;
}

@font-face {
    font-family: 'Paperozi';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-9Black.woff2') format('woff2');
    font-weight: 900;
    font-display: swap;
}


:root {
    /* color */
    --color-black: #111;
    --color-black-75: rgba(17, 17, 17, 0.75);
    --color-white: #f2f2f2;
    --color-gray-100: #ddd;
    --color-gray-300: #bbb;
    --color-gray-500: #999;
    --color-accent: #ff6f61;

    --color-font-gray: #9A9A9A;
    

    /* typography */
    --font-main: "pretendard", sans-serif;

    --font-size-small: 0.75rem;
    --font-size-medium: 1rem;
    --font-size-large: 1.5rem;

    /* size */
    --header-height: 60px;
    --container-width: 1220px;
    --side-padding: 60px;

    /* transition */
    --transition-basic: 0.3s ease;
}

[data-theme="light"] {
    --color-black: #ffffff;
    --color-black-75: rgba(255, 255, 255, 0.75);
    --color-white: #111111;
    --color-gray-100: #f5f5f5;
    --color-gray-300: #dddddd;
    --color-gray-500: #999999;
    --color-accent: #ff6f61;
}

/* ============================== Reset ============================== */
html {
    font-size: 16px;
    scroll-behavior: smooth;
    scrollbar-gutter: auto;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    color: var(--color-white);
    background-color: var(--color-black);
    line-height: 1.5;
}

html.page-transition-preload body {
    visibility: hidden;
}

/* ============================== Common ============================== */
a {
    color: inherit;
    text-decoration: none;
}

ul, ol {
    list-style: none;
}

button {
    border: none;
    background: none;
    font: inherit;
    cursor: pointer;
}

img {
    display: block;
    max-width: 100%;
}

.container {
    margin: 0 auto;
}

.icon {
    filter: invert(0);
}

[data-theme="light"] .icon {
    filter: invert(1);
}

[hidden] {
  display: none !important;
}

[typewriter-effect] {
    visibility: hidden;
}

[typewriter-effect].is-typing,
[typewriter-effect].is-typed {
    visibility: visible;
}

/* ============================== Header ============================== */

.header {
    width: 100%;
    height: var(--header-height);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;

    /*background-color: var(--color-black-75);*/
    background: rgba(255, 255, 255, 0.36);
    backdrop-filter: blur(11.9px);
    -webkit-backdrop-filter: blur(11.9px);
    border: 1px solid rgba(255, 255, 255, 0.35);
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    width: var(--container-width);
    box-sizing: border-box;
    padding: 0;
    
}

.header .logo {
    font-size: 1.5rem;
    font-weight: bold;
}

.header .nav {
    display: flex;
    align-items: center;
}

.header .nav ul {
    display: flex;
    gap: 2rem;
}

.header .nav ul li {
    font-size: 0.95rem;
    font-weight: 600;
    color: rgba(0, 0, 0, 0.7);

    font-family: 'Paperozi', sans-serif;
}

/* ============================== Main ============================== */

/* ============================== History ============================== */
.main {
    min-height: 100vh;
}

.main .container {
    width: var(--container-width);
    padding: 100px 0 0;

    display: flex;
    flex-direction: column;

    color: var(--color-white);

    margin-top: 2rem;
}

.main .container h1 {
    font-size: 3rem;
    font-weight: 700;
    margin: 0 auto;
}

.main .container p {
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: -0.002em;

    margin: 0 auto;

    color: var(--color-gray-500);
}

.history {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6rem;
    row-gap: 12rem;

    margin-top: 4rem;
    padding: 0 2rem;
    margin-bottom: 4rem;
}

.history .card {
    display: flex;
    flex-direction: column;
    gap: 1rem; 

    scale: 1;
}

.history .card .image {
    width: 100%;
    aspect-ratio: 1/1;

    border-radius: 10px;
    background-color: var(--color-gray-500);

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.history .card .content {
    display: flex;
    flex-direction: column;
}

.history .card .title {
    display: flex;
    align-items: end;
    gap: 1rem;

    margin-top: 0.5rem;
    line-height: 1;
}

.history .card .title h2 {
    font-size: var(--font-size-large);
    font-weight: 600;

    line-height: 1;

}

.history .card .title h3 {
    font-size: var(--font-size-medium);
    font-weight: 500;
    letter-spacing: -0.02em;

    color: var(--color-font-gray);
}

.history .card p {
    margin-top: 1rem;
    line-height: 1.5;
    letter-spacing: -0.02em;
    
    font-size: var(--font-size-small);
    font-weight: 300;

    color: var(--color-font-gray);
}

/* ============================== image01 ============================== */
.RP01 {
    width: 100%;

    margin-top: 5rem;
}

.RP01 h2 {
    font-size: var(--font-size-large);
    text-align: center;
}


.container .RPimage {
    width: 100%;
    height: 80vh;

    display: flex;

    overflow-x: hidden;

    margin-top: 1rem;
    border-radius: 5px;
}

.container .RPimage .card {
    background-color: #999;
    width: 100%;
    height: 100%;

    flex: 0 0 100%;
    background-size: cover;
    background-position: center;
    
}

/* ============================== archive ============================== */
.archive-wrap {
    width: var(--container-width);
    margin: 0 auto;

    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-auto-rows: 72px;
    gap: 1.5rem;

    margin-top: 10rem;
    margin-bottom: 10rem    ;
}

.archive-box {
    width: 100%;
    height: 100%;

    background-color: var(--color-gray-300);

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    border-radius: 5px;
    overflow: hidden;
}

.archive-box h4 {
    margin: 0;
    padding: 0.25rem;

    font-size: 1.5rem;
    font-weight: 800;

    line-height: 1.25;

    color: var(--color-white);

    letter-spacing: -0.02em;
}

/* =========================
   01
========================= */

.card01 {
    grid-column: 1 / 5;
    grid-row: 1 / span 6;
}

.card02 {
    grid-column: 5 / 7;
    grid-row: 1 / span 3;
}

.card03 {
    grid-column: 5 / 7;
    grid-row: 4 / span 3;

    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: start;
    

    background-color: #fff  !important;

    text-align: left;
}

/* =========================
   02
========================= */

.card04 {
    grid-column: 1 / 4;
    grid-row: 7 / span 2;
}

.card05 {
    grid-column: 4 / 7;
    grid-row: 7 / span 2;
}


/* =========================
   03
========================= */

.card06 {
    grid-column: 1 / 3;
    grid-row: 9 / span 3;
}

.card07 {
    grid-column: 1 / 3;
    grid-row: 12 / span 3;
}

.card08 {
    grid-column: 3 / 7;
    grid-row: 9 / span 8;
}

.card09 {
    grid-column: 1 / 3;
    grid-row: 15 / span 2;

    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: end;

    background-color: #fff  !important;

    text-align: right;
}


/* =========================
   04
========================= */

.card10 {
    grid-column: 1 / 5;
    grid-row: 17 / span 2;
}

.card11 {
    grid-column: 5 / 7;
    grid-row: 17 / span 2;
}


/* =========================
   05
========================= */

.card12 {
    grid-column: 1 / 4;
    grid-row: 19 / span 3;
}

.card13 {
    grid-column: 4 / 7;
    grid-row: 19 / span 3;
}


/* =========================
   06
========================= */

.card14 {
    grid-column: 1 / 3;
    grid-row: 22 / span 3;
}

.card15 {
    grid-column: 3 / 5;
    grid-row: 22 / span 6;
}

.card16 {
    grid-column: 5 / 7;
    grid-row: 22 / span 3;

    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: start;
    

    background-color: #fff  !important;

    text-align: left;
}

.card17 {
    grid-column: 1 / 3;
    grid-row: 25 / span 3;

    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: end;

    background-color: #fff  !important;

    text-align: right;
}

.card18 {
    grid-column: 5 / 7;
    grid-row: 25 / span 3;
}


/* =========================
   07
========================= */

.card19 {
    grid-column: 1 / 3;
    grid-row: 28 / span 2;
}

.card20 {
    grid-column: 3 / 7;
    grid-row: 28 / span 2;
}

.card21 {
    grid-column: 1 / 7;
    grid-row: 30 / span 5;
}

/* ============================== Footer ============================== */
.footer {
    background-color: var(--color-black);
    padding: 20px 0;
    text-align: center;
}

.footer .container {
    width: var(--container-width);
    display: flex;
    justify-content: space-between;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.footer .container .footer-info {
    display: column;
    text-align: left;
}

.footer .container .footer-info h3 {
    color: var(--color-white);
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

.footer .container .footer-info p {
    color: var(--color-white);
    font-size: 0.5rem;
}

.footer .container .footer-info img {
    margin-bottom: 0.5rem;
}

.footer .container .footer-icons {
    display: flex;
    align-items: end;
    gap: 20px;
}

.footer .container .footer-icons .icon {
    width: 2rem;
    height: 2rem;
}