:root {
    --scrollbar-width: 0px;
    --top-nav-height: 80px;
    --top-logo-width: 210px;
    --top-gamestart-width: 230px;
    --color-white: #FFFFFF;
    --color-black: #000000;
    --color-dark: #212529;
    --color-gold: #A28154;
    --color-blue:#187CFB;
    --color-deepblue:#244F80;
    --color-red:#DC3545;
    --color-gray:#6C757D;
    --color-gray2:#F8F8F8;
    --color-gray3: #949494;    
    --color-btngray: #787878;
    --color-lightgray:#DDDDDD;
    --color-green:#198754;
    --color-orange:#FFC107;
    --color-orange2:#FF8C00;
}

@font-face {
    font-family: 'Shilla_Culture(B)';
    src: url("/static/fonts/Shilla_Culture\(B\).ttf") format('truetype');
    font-weight: normal;
    font-size: normal;
}
@font-face {
    font-family: 'Shilla_Culture(M)';
    src: url("/static/fonts/Shilla_Culture\(M\).ttf") format('truetype');
    font-weight: normal;
    font-size: normal;
}
@font-face {
    font-family: 'HIT2Typeface';
    src: url("/static/fonts/HIT2Typeface.ttf") format('truetype');
    font-weight: normal;
    font-size: normal;
}
@font-face {
    font-family: 'Freesentation-3Light';
    src: url("/static/fonts/Freesentation-3Light.ttf") format('truetype');
    font-weight: normal;
    font-size: normal;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.mt-1 {
    margin-top: 0.5rem;
}

.mt-2 {
    margin-top: 0.75rem;
}

.mb-2 {
    margin-bottom: 0.75rem;
}

.mb-3 {
    margin-bottom: 1rem;
}

.mb-4 {
    margin-bottom: 1.5rem;
}

.mt-3 {
    margin-top: 1rem;
}

.px-3 {
    padding-left: 1rem;
    padding-right: 1rem;
}

.text-center {
    text-align: center;
}

html, body {
    height: 100%;
    -webkit-text-size-adjust: 100%;   
}

table {
    border-collapse: collapse;
}

button, label {
    cursor: pointer;
}

.overflow-hidden {
    overflow: hidden;
}

.cursor-pointer {
    cursor: pointer;
}

#homepage {
    width:1360px;
    transform-origin:0 0; 
}

.body-filter {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    z-index: 1002;
    display: none;    
}

.container {       
    width: 100%;
    max-width: 1360px;
    height: 100%;
    padding-top: 80px;    
    margin: 0 auto;
}

.container.login,
.container.join,
.container.find {
    padding: 0;
}

.section {
    width: 100%;    
    min-width: 1360px;    
}

.wrapper {
    width: 1360px;
    margin-left: auto;
    margin-right: auto;
}

.page-top {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--top-nav-height);
    background: #000000;
}

.page-header {
    position: absolute;
    top: var(--top-nav-height);
    left: 0;
    width: 100%;
    min-width: 1360px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #EEE;
    color: var(--color-white);    
}

.page-header h1 {
    margin: 0;
    text-shadow: -1px 0px var(--color-dark), 0px 1px var(--color-dark), 1px 0px var(--color-dark), 0px -1px var(--color-dark);
}

.page-content {
    padding-top: 280px;
    padding-bottom: 150px;
}

.page-content-title {
    margin-bottom: 2rem;
}

.page-nav-wrap {
    position: absolute;
    top: calc(200px + var(--top-nav-height));
    left: 0;
    width: 100%;
    min-width: 1360px;
    border-bottom: 1px solid var(--color-lightgray); 
}

.page-nav {    
    width: 1360px;
    margin: 0 auto;    
    list-style: none;
    display: flex;
    align-items: center;         
}

.page-nav li {
    position: relative;
    padding: 1rem 2rem;
}

.page-nav .active a {
    font-weight: 600;
}
.page-nav .active::after {
    position: absolute;
    left: 0;
    bottom: 0;
    content: "";
    width: 100%;
    height: 3px;
    background: var(--color-dark);
}

.page-nav li a {
    color: var(--color-dark);
    text-decoration: none;
}

#pagin_wrap {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin: 1rem 0;
}

#pagin_wrap a {
    color: var(--color-gray);  
    text-decoration: none;
}

#page_list_wrap {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

#page_list_wrap li {
    padding: 0 5px;
}

#page_list_wrap li a {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

#page_list_wrap .active a {
    font-weight: 600;
    color: var(--color-gold);
}