@font-face {
    font-family: 'Pretendard';
    font-weight: 100;
    font-style: normal;
    src: url('https://cdn.jsdelivr.net/npm/pretendard/dist/web/static/woff2/Pretendard-Thin.woff2') format('woff2'),
         url('https://cdn.jsdelivr.net/npm/pretendard/dist/web/static/woff/Pretendard-Thin.woff') format('woff'),
         url('https://cdn.jsdelivr.net/npm/pretendard/dist/web/static/ttf/Pretendard-Thin.ttf') format('truetype');
    font-display: swap;
}
@font-face {
    font-family: 'Pretendard';
    font-weight: 200;
    font-style: normal;
    src: url('https://cdn.jsdelivr.net/npm/pretendard/dist/web/static/woff2/Pretendard-ExtraLight.woff2') format('woff2'),
         url('https://cdn.jsdelivr.net/npm/pretendard/dist/web/static/woff/Pretendard-ExtraLight.woff') format('woff'),
         url('https://cdn.jsdelivr.net/npm/pretendard/dist/web/static/ttf/Pretendard-ExtraLight.ttf') format('truetype');
    font-display: swap;
}
@font-face {
    font-family: 'Pretendard';
    font-weight: 300;
    font-style: normal;
    src: url('https://cdn.jsdelivr.net/npm/pretendard/dist/web/static/woff2/Pretendard-Light.woff2') format('woff2'),
         url('https://cdn.jsdelivr.net/npm/pretendard/dist/web/static/woff/Pretendard-Light.woff') format('woff'),
         url('https://cdn.jsdelivr.net/npm/pretendard/dist/web/static/ttf/Pretendard-Light.ttf') format('truetype');
    font-display: swap;
}
@font-face {
    font-family: 'Pretendard';
    font-weight: 400;
    font-style: normal;
    src: url('https://cdn.jsdelivr.net/npm/pretendard/dist/web/static/woff2/Pretendard-Regular.woff2') format('woff2'),
         url('https://cdn.jsdelivr.net/npm/pretendard/dist/web/static/woff/Pretendard-Regular.woff') format('woff'),
         url('https://cdn.jsdelivr.net/npm/pretendard/dist/web/static/ttf/Pretendard-Regular.ttf') format('truetype');
    font-display: swap;
}
@font-face {
    font-family: 'Pretendard';
    font-weight: 500;
    font-style: normal;
    src: url('https://cdn.jsdelivr.net/npm/pretendard/dist/web/static/woff2/Pretendard-Medium.woff2') format('woff2'),
         url('https://cdn.jsdelivr.net/npm/pretendard/dist/web/static/woff/Pretendard-Medium.woff') format('woff'),
         url('https://cdn.jsdelivr.net/npm/pretendard/dist/web/static/ttf/Pretendard-Medium.ttf') format('truetype');
    font-display: swap;
}
@font-face {
    font-family: 'Pretendard';
    font-weight: 600;
    font-style: normal;
    src: url('https://cdn.jsdelivr.net/npm/pretendard/dist/web/static/woff2/Pretendard-SemiBold.woff2') format('woff2'),
         url('https://cdn.jsdelivr.net/npm/pretendard/dist/web/static/woff/Pretendard-SemiBold.woff') format('woff'),
         url('https://cdn.jsdelivr.net/npm/pretendard/dist/web/static/ttf/Pretendard-SemiBold.ttf') format('truetype');
    font-display: swap;
}
@font-face {
    font-family: 'Pretendard';
    font-weight: 700;
    font-style: normal;
    src: url('https://cdn.jsdelivr.net/npm/pretendard/dist/web/static/woff2/Pretendard-Bold.woff2') format('woff2'),
         url('https://cdn.jsdelivr.net/npm/pretendard/dist/web/static/woff/Pretendard-Bold.woff') format('woff'),
         url('https://cdn.jsdelivr.net/npm/pretendard/dist/web/static/ttf/Pretendard-Bold.ttf') format('truetype');
    font-display: swap;
}
@font-face {
    font-family: 'Pretendard';
    font-weight: 800;
    font-style: normal;
    src: url('https://cdn.jsdelivr.net/npm/pretendard/dist/web/static/woff2/Pretendard-ExtraBold.woff2') format('woff2'),
         url('https://cdn.jsdelivr.net/npm/pretendard/dist/web/static/woff/Pretendard-ExtraBold.woff') format('woff'),
         url('https://cdn.jsdelivr.net/npm/pretendard/dist/web/static/ttf/Pretendard-ExtraBold.ttf') format('truetype');
    font-display: swap;
}
@font-face {
    font-family: 'Pretendard';
    font-weight: 900;
    font-style: normal;
    src: url('https://cdn.jsdelivr.net/npm/pretendard/dist/web/static/woff2/Pretendard-Black.woff2') format('woff2'),
         url('https://cdn.jsdelivr.net/npm/pretendard/dist/web/static/woff/Pretendard-Black.woff') format('woff'),
         url('https://cdn.jsdelivr.net/npm/pretendard/dist/web/static/ttf/Pretendard-Black.ttf') format('truetype');
    font-display: swap;
}

@font-face {
    font-family: 'Pretendard2';
    font-weight: 100;
    font-style: normal;
    src: url('../fonts/pretendard/Pretendard-Thin.eot');
    src: url('../fonts/pretendard/Pretendard-Thin.eot?#iefix') format('embedded-opentype'),
        url('../fonts/pretendard/Pretendard-Thin.woff2') format('woff2'),
        url('../fonts/pretendard/Pretendard-Thin.woff') format('woff'),
        url('../fonts/pretendard/Pretendard-Thin.ttf') format("truetype");
    font-display: swap;
}
@font-face {
    font-family: 'Pretendard2';
    font-weight: 200;
    font-style: normal;
    src: url('../fonts/pretendard/Pretendard-ExtraLight.eot');
    src: url('../fonts/pretendard/Pretendard-ExtraLight.eot?#iefix') format('embedded-opentype'),
        url('../fonts/pretendard/Pretendard-ExtraLight.woff2') format('woff2'),
        url('../fonts/pretendard/Pretendard-ExtraLight.woff') format('woff'),
        url('../fonts/pretendard/Pretendard-ExtraLight.ttf') format("truetype");
    font-display: swap;
}
@font-face {
    font-family: 'Pretendard2';
    font-weight: 300;
    font-style: normal;
    src: url('../fonts/pretendard/Pretendard-Light.eot');
    src: url('../fonts/pretendard/Pretendard-Light.eot?#iefix') format('embedded-opentype'),
        url('../fonts/pretendard/Pretendard-Light.woff2') format('woff2'),
        url('../fonts/pretendard/Pretendard-Light.woff') format('woff'),
        url('../fonts/pretendard/Pretendard-Light.ttf') format("truetype");
    font-display: swap;
}
@font-face {
    font-family: 'Pretendard2';
    font-weight: 400;
    font-style: normal;
    src: url('../fonts/pretendard/Pretendard-Regular.eot');
    src: url('../fonts/pretendard/Pretendard-Regular.eot?#iefix') format('embedded-opentype'),
        url('../fonts/pretendard/Pretendard-Regular.woff2') format('woff2'),
        url('../fonts/pretendard/Pretendard-Regular.woff') format('woff'),
        url('../fonts/pretendard/Pretendard-Regular.ttf') format("truetype");
    font-display: swap;
}
@font-face {
    font-family: 'Pretendard2';
    font-weight: 500;
    font-style: normal;
    src: url('../fonts/pretendard/Pretendard-Medium.eot');
    src: url('../fonts/pretendard/Pretendard-Medium.eot?#iefix') format('embedded-opentype'),
        url('../fonts/pretendard/Pretendard-Medium.woff2') format('woff2'),
        url('../fonts/pretendard/Pretendard-Medium.woff') format('woff'),
        url('../fonts/pretendard/Pretendard-Medium.ttf') format("truetype");
    font-display: swap;
}
@font-face {
    font-family: 'Pretendard2';
    font-weight: 600;
    font-style: normal;
    src: url('../fonts/pretendard/Pretendard-SemiBold.eot');
    src: url('../fonts/pretendard/Pretendard-SemiBold.eot?#iefix') format('embedded-opentype'),
        url('../fonts/pretendard/Pretendard-SemiBold.woff2') format('woff2'),
        url('../fonts/pretendard/Pretendard-SemiBold.woff') format('woff'),
        url('../fonts/pretendard/Pretendard-SemiBold.ttf') format("truetype");
    font-display: swap;
}
@font-face {
    font-family: 'Pretendard2';
    font-weight: 700;
    font-style: normal;
    src: url('../fonts/pretendard/Pretendard-Bold.eot');
    src: url('../fonts/pretendard/Pretendard-Bold.eot?#iefix') format('embedded-opentype'),
        url('../fonts/pretendard/Pretendard-Bold.woff2') format('woff2'),
        url('../fonts/pretendard/Pretendard-Bold.woff') format('woff'),
        url('../fonts/pretendard/Pretendard-Bold.ttf') format("truetype");
    font-display: swap;
}
@font-face {
    font-family: 'Pretendard2';
    font-weight: 800;
    font-style: normal;
    src: url('../fonts/pretendard/Pretendard-ExtraBold.eot');
    src: url('../fonts/pretendard/Pretendard-ExtraBold.eot?#iefix') format('embedded-opentype'),
        url('../fonts/pretendard/Pretendard-ExtraBold.woff2') format('woff2'),
        url('../fonts/pretendard/Pretendard-ExtraBold.woff') format('woff'),
        url('../fonts/pretendard/Pretendard-ExtraBold.ttf') format("truetype");
    font-display: swap;
}
@font-face {
    font-family: 'Pretendard2';
    font-weight: 900;
    font-style: normal;
    src: url('../fonts/pretendard/Pretendard-Black.eot');
    src: url('../fonts/pretendard/Pretendard-Black.eot?#iefix') format('embedded-opentype'),
        url('../fonts/pretendard/Pretendard-Black.woff2') format('woff2'),
        url('../fonts/pretendard/Pretendard-Black.woff') format('woff'),
        url('../fonts/pretendard/Pretendard-Black.ttf') format("truetype");
    font-display: swap;
}
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
    font-family: 'Pretendard', 'Pretendard2', sans-serif;
}

.header {
    background: #16409e;
    color: white;
    padding: 1em;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header .company-name {
    width: 250px;
    display: flex;
    align-items: center;
}

.header .company-name img {
    width: 43px;
    height: auto;
    margin-right: 10px;
}

.header .menu-button {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    position: relative;
    width: 30px;
    height: 24px;
}

.header .menu-button::before,
.header .menu-button::after,
.header .menu-button span,
.header .menu-button .middle-bar {
    content: '';
    position: absolute;
    height: 2px;
    width: 100%;
    background-color: white;
    left: 0;
    transition: all 0.3s ease;
}

.header .menu-button::before {
    top: 0;
}

.header .menu-button::after {
    bottom: 0;
}

.header .menu-button .middle-bar {
    top: 50%;
    transform: translateY(-50%);
}

.header .title {
    flex: 1;
    text-align: center;
    font-size: xx-large;
    font-weight: bold;
}

.layout {
    display: flex;
    flex: 1;    
}

.side-menu {
    width: 250px;
    background: #ffffff;
    border-right: 1px solid lightgray;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    transition: transform 0.3s ease;
    font-weight: 700;
    font-size: medium;    
    height: 100%;
}

.side-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.side-menu li {
    cursor: pointer;
    position: relative;
}

.side-menu li > .menu-item {
    padding: 1em;
    color: black;
}

.side-menu li:hover > .menu-item,
.side-menu li.active > .menu-item {
    background: #113178;
    color: white;
}

.side-menu .submenu li:hover > .menu-item,
.side-menu .submenu li.active > .menu-item {
    background: #1B4FC4;
}

.side-menu .submenu {
    display: flex;
    flex-direction: column;
}

.side-menu .menu-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px lightgray solid;
}

.main-content {
    flex: 1;
    padding: 1em;    
    max-width: 100%;
    box-sizing: border-box;
}

.footer {
    background: #16409e;
    color: white;
    text-align: center;
    padding: 1em;
    height: 50px; /* ?? ?? */
}

@media (max-width: 768px) {
    .header .company-name {
        display: none;
    }

    .header .title {
        text-align: left;
    }

    .header .menu-button {
        display: block;
    }

    .side-menu {
        transform: translateX(-100%);
        position: fixed;
        top: 0;
        left: 0;
        height: 100%;
        overflow-y: auto;
        z-index: 1000;
        box-shadow: 2px 0 5px rgba(0, 0, 0, 0.5);
    }

    .side-menu.active {
        transform: translateX(0);
    }
}