body,html{
    margin: 0;
    padding:0;
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    width: 100%;
    background: #06002E;
}

a{
    color:black;
    text-decoration:none;
}

.hidden{
    width: 0.0625rem;
    height: 0.0625rem;
    font-size: 0;
    line-height: 0;
    position:absolute;
}

ul.skipmenu_list li a:focus{
    width: 100%;
    height: 1.875rem;
    font-size: 0.875rem;
    line-height: 1.875rem;
    z-index: 9999;
    background:black;
    color:white;
    text-align:center;
    top: 0;
}

/* 메뉴 */
header{
    position: fixed;
    display: flex;
    flex-direction: column;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 0.625rem 2.5rem 0;
    box-sizing: border-box;
}

#logo{
    width: 15vw;
    height: 5vh;
    background: url('images/starbattlelogo.svg') center no-repeat;
    background-size: contain;
    position:relative;
    left: 0;
    top: 0;
    text-indent: -99999px;
    margin-bottom: 0.625rem;
}

#logo>a{
    width: 100%;
    height: 100%;
    display: block;
}

.mainmenu{
    width: 3.75rem;
    height: 3.75rem;
    background: url('images/starbattle_menuicon.svg') center no-repeat;
    background-size: contain;
    border: none;
    cursor: pointer;
}

.mainmenu_slide{
    position: fixed;
    display: flex;
    flex-direction: column;
    padding: 2rem 1.5rem 0;
    box-sizing: border-box;
    top: 0;
    left: 0;
    width: 29.125rem;
    height: 100%;
    background: #EAF7F6;
    clip-path: polygon(0% 0%, 100% 0%, 85% 100%, 0% 100%);
    transition: all 0.5s ease-out;
    display: none;
}

.mainmenu_logo{
    width: 100%;
    height: 5vh;
    background: url('images/starbattle_innerlogo.svg') left center no-repeat;
    background-size: contain;
    position: relative;
    left: 0;
    top: 0;
    margin-bottom: 6.25rem;
}

.mainmenu_list{
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.mainmenu_list li a{
    font: 600 1.25rem 'Pretendard';  
    color: #000;
}

@media screen and (max-width: 768px) {
    header {
        padding: 0.5rem 1rem 0;
    }
    
    #logo {
        width: 25vw;
        height: 8vh;
    }
    
    .mainmenu {
        width: 2.5rem;
        height: 2.5rem;
    }
    
    .mainmenu_slide {
        width: 80vw;
        padding: 1.5rem 1rem 0;
    }
    
    .mainmenu_logo {
        height: 8vh;
        margin-bottom: 3rem;
    }
    
    .mainmenu_list {
        gap: 1.25rem;
    }
    
    .mainmenu_list li a {
        font-size: 1.125rem;
    }
}