/* Pretendard Font Face */
@font-face {
    font-family: 'Pretendard';
    src: url('./fonts/PretendardVariable.woff2') format('woff2');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

/* Base Styles */
body {
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, Roboto, 'Helvetica Neue', 'Segoe UI', 'Apple SD Gothic Neo', 'Noto Sans KR', 'Malgun Gothic', 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-weight: 400;
}

* {
    box-sizing: border-box;
}

body,
html {
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: #ebeff3;
}

.wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px;
}

.wrapper header .logo-area {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wrapper header img {
    max-width: 80%;
}

.wrapper main {
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
}

.wrapper main a {
    position: relative;
    width: 100%;
    max-width: 700px;
    display: flex;
    flex-direction: column;
}

.wrapper main a .link-image {
    width: 100%;
}

.wrapper main .link-text {
    position: absolute;
    width: 100%;
    bottom: 0;
    left: 0;
    padding: 25px 0;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

#michigan-link .link-text {
    background-color: #293644;
}

#upen-link .link-text {
    background-color: #e97076;
}

.wrapper main .link-text p {
    color: #fff;
    font-size: 32px;
}

footer {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;

    font-size: 21px;
    letter-spacing: -1px;
}

footer .info {
    display: flex;
    align-items: center;
    gap: 20px;
    font-weight: 400;
    color: #707070;
}

footer .info-item {
    display: flex;
    gap: 20px;
}

footer .info-item-title {
    font-weight: 700;
}

footer .copyright {
    font-weight: 300;
    color: #a0a0a0;
}

@media (max-width: 1366px) {
    footer {
        font-size: 16px;
    }
}

@media (max-width: 1024px) {
    .wrapper main .link-text {
        padding: 20px 0;
    }

    .wrapper main .link-text p {
        font-size: 24px;
    }

    footer .info {
        flex-direction: column;
        gap: 10px;
    }

    footer .info-item {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }
}

@media (max-width: 768px) {

    body,
    html {
        height: 100%;
        overflow-y: auto;
    }

    .wrapper {
        height: auto;
        padding: 30px 0 50px;
    }

    .wrapper main {
        padding: 0;
        flex-direction: column;
        gap: 0;
    }
}

@media (max-width: 480px) {
    footer {
        font-size: 14px;
    }
}

/*메인 팝업 ---------------------------------------------------------------------- */

#popupArea {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 101;
    margin: 0;
    display: none;
    background-color: rgba(0, 0, 0, 0.3);
}

#popupArea .item .button_group {
    position: absolute;
    bottom: -25px;
    right: 0;
    display: flex;
    align-content: center;
    gap: 1px;
}

#popupArea .item .button_group button {
    height: 25px;
    font-family: 'pretendardMidium';
    border: none;
    background-color: #333;
    color: #fff;
    padding: 0 10px;
    cursor: pointer;
}

@media (max-width: 768px) {
    #popupArea .item {
        width: 90vw !important;
        position: fixed !important;
        top: 50% !important;
        left: 50% !important;
        transform: translate(-50%, -50%);
    }
}