* { 
    box-sizing: border-box; 
}
html { 
    font-size: 16px; 
    position: relative; 
}
body {    
    padding: 0;
    margin: 0;
    color: #1F0A13;
    word-break: keep-all;
    font-family: 'Montserrat', 'Noto Sans KR', sans-serif;
    font-weight: 500;
    background-color: #000;
}
img { 
    display: block; 
    width: 100%; 
}
p {
    margin: 0;
}
h2 {
    font-size: 2.25rem;
    margin: 0;
}
h3 {
    font-size: 1.5rem;
    margin: 0;
}
.outlined_button {
    width: 6.25rem;
    background-color: transparent;
    border: 1px solid #fff;
    border-radius: 0.5rem;
    color: #fff;
    font-size: 1rem;
    font-family: 'Montserrat', 'Noto Sans KR', sans-serif;
    font-weight: 500;
    cursor: pointer;
}
.filled_button {
    width: 22.5rem;
    background-color: #E1251B;
    border: none;
    border-radius: 0.5rem;
    padding: 0.875rem 0;
    color: #fff;
    font-size: 1.625rem;
    font-family: 'Montserrat', 'Noto Sans KR', sans-serif;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}
.filled_button:hover {
    background-color: #B8252E;
}


/* GNB */
.gnb__wrapper {
    width: 100%;
    position: fixed;
    background-color: #fff;
    box-shadow: 4px 0px 8px hsl(0deg 0% 0% / 0.25);
    z-index: 999;
}
.gnb__container {
    display: grid;
    width: 65%;
    margin: 0 auto;
    height: 100px;
    grid-template-columns: 1fr 1fr;
    align-items: center;
}
.gnb__title {
    font-size: 1.625rem;
    font-weight: bold;
}
.gnb__menu {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    gap: 4rem;
    text-align: right;
    font-size: 1.25rem;
    cursor: pointer;
}
.gnb__menu-ic,
.gnb__menu-mobile-container {
    display: none;
}
.gnb__menu > button {
    font-family: 'Montserrat', 'Noto Sans KR', sans-serif;
    font-size: 1.25rem;
    font-weight: 500;
    background-color: transparent;
    border: none;
    cursor: pointer;
}
#gnb__menu_item-on {
    font-weight: bold;
    color: #E1251B;
}

/* layout */
.main__wrapper {
    position: absolute;
    width: 100%;
    top: 100px;
    left: 50%;
    transform: translateX(-50%);
}
.article__container {
    width: 65%;
    margin: 0 auto;
}

/* footer */
.footer__container {
    width: 100%;
    background-color: #E6E2E4;
    padding: 2.5rem 0;
}
.footer__title {
    color: #ABA8B1;
    font-size: 1.25rem;
    margin-bottom: 0.875rem;
}
.footer__description {
    color: #ABA8B1;
    font-size: 0.875rem;
}

/* Tablet */
@media (min-width: 875px) and (max-width: 1161px) {
    .gnb__container {
        display: grid;
        width: calc(100% - 7.5rem);
        margin: 0 3.75rem;
        height: 100px;
        grid-template-columns: 1fr 1fr;
        align-items: center;
    }
    .gnb__menu-ic,
    .gnb__menu-mobile-container {
        display: none;
    }
    .article__container {
        width: calc(100% - 7.5rem);
        margin: 0 3.75rem;
    }
    
}

/* Mobile */
@media (max-width: 874px) {
    .filled_button {
        width: 100%;
    }
    .gnb__container {
        display: grid;
        width: calc(100% - 5rem);
        margin: 0 2.5rem;
        height: 100px;
        grid-template-columns: 1fr 1fr;
        align-items: center;
    }
    .gnb__menu {
        display: none;
    }
    .gnb__menu-ic {
        display: flex;
        justify-content: flex-end;
    }
    .gnb__menu-ic > img {
        width: 2rem;
    }
    .gnb__menu-mobile-container {
        position: fixed;
        top: 100px;
        z-index: 20;
        background-color: rgba(0, 0, 0, 0.9);
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 2rem;
        height: 100vh;
        padding: 2.5rem;
    }
    .gnb__menu-mobile-container > button {
        font-family: 'Montserrat', 'Noto Sans KR', sans-serif;
        font-size: 1.25rem;
        font-weight: 500;
        background-color: transparent;
        color: #fff;
        border: none;
        cursor: pointer;
    }
    #gnb__menu_item-on {
        font-weight: bold;
        color: #E1251B;
    }
    .article__container {
        width: calc(100% - 5rem);
        margin: 0 2.5rem;
    }
}