/* ============================================================================ SCROLL-SNAP =======================================*/
/*#page-container {
    scroll-snap-type: y proximity;
    scroll-padding-top: 100px;
    overflow-y: scroll;
    height: 100vh;
    width: 100vw;
    overflow-x: hidden;
}*/

.level0 {
    /* Snap align start. */
    /*scroll-snap-align: start;*/


}

.article-container {
    max-width: 100vw;
    overflow: hidden;    
    min-height: 100vh;    
    scroll-margin-top: 0px;
}

.vert-mid {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/*.article-container:last-of-type {
    min-height: 80vh;    
}

.level0:first-of-type {
    scroll-snap-align: unset;
}*/



/* ============================================================================ HEADER =======================================*/


#hamburger {
    display: none;
    z-index: 50;
    position: absolute;
    right: 0px;
    top: 3px;
    cursor: pointer;
}

#hamburger>svg {
    width: 2em;
    fill: #422907;
    fill: var(--menu-color);
    /*-webkit-filter: drop-shadow(1px 1px 3px rgba(0, 0, 0, 1));
    filter: drop-shadow(1px 1px 3px rgba(0, 0, 0, 1));*/
}

#hamburger:hover>svg {
    -webkit-filter: drop-shadow(3px 3px 3px rgba(0, 0, 0, 1));
    filter: drop-shadow(3px 3px 3px rgba(0, 0, 0, 1));
}

:root {
    --header-height-open: 490px;
    --header-height-closed: 150px;
    --menu-height: 53px;
    /*--melykek: #123684;
    --melykek: #729093;
    --melykek: #40767c;*/
    --melykek: #887055;
    --melykek: #9e775f;
    /*--menu-color: #081f51;*/
    --menu-color: #030c54;
    --menu-color: #13446b;

}

body {
    color: var(--menu-color);
}

a {
    color: #123684;
}

.alt-color {
    color: var(--melykek);
}

.alt-color h2 {
    text-shadow: 2px 2px 2px #0002;
    font-size: xxx-large;
}

h3 {
    color: #0133;
    color: #050b39b3;
    font-size: 4em;
    font-weight: 200;
    /*text-transform: lowercase;*/
}

@media (max-width: 800px) {
    h3 {
        font-size: 2.5em;
        font-weight: 300;
    }

}


/* ============================================================================ MENU =======================================*/
.menu-container {
    background-color: #fbf4f1;
    background-color: #fff;
    color: var(--menu-color);
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    border-bottom: 0px solid #0d427626;

    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10;

}

.menu-container>.container {
    position: relative;
    height: 54px;
    height: 35px;
    display: flex;
    align-items: center;
    flex-direction: row;
    justify-content: flex-start;
    border-bottom: 1px solid #e1dfde;
}

.main-menu {
    height: 46px;
    display: flex;
    flex-direction: row;
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.main-menu>li:not(:first-of-type) {
    border-left: 1px solid #fff5;
}


.main-menu>li {
    font-style: normal;
    font-weight: 700;
    font-size: 11px;
    line-height: 15px;
    /* identical to box height, or 136% */
    display: flex;
    align-items: stretch;
    justify-content: stretch;
    text-align: center;
    text-transform: uppercase;

    color: var(--menu-color);
}



.main-menu>li>a {
    color: var(--menu-color);
    text-decoration: none;
    padding: 13px 24px;
    display: inline-block;
    display: flex;
    align-items: center;
    white-space: nowrap;
}

/* ============================================================================ MENU ANIMATION =======================================*/
.main-menu {
    --underline-width: 0;
    --underline-offset-x: 0;
    position: relative;
}

.main-menu::before {
    content: "";
    display: block;
    position: absolute;
    height: 30px;
    top: 39px;
    height: 2px;
    width: var(--underline-width);
    transform: translateX(var(--underline-offset-x));
    background-color: #ffcd89aa;
    background-color: #729093;
    background-color: var(--melykek);
    background-color: var(--menu-color);
    transition: transform 0.5s, width 0.5s, background-color 0.3s;
    border-radius: 2px;
}

.main-menu:hover::before {
    background-color: #ffcd89;
    background-color: var(--menu-color);
}

.main-menu>li,
.main-menu>li>a {
    z-index: 1;
}

/* ============================================================================ MENU MEDIA QUERIES =======================================*/
@media (max-width: 1024px) {
    #hamburger {
        display: block;
    }

    .menu-container>.container {
        display: flex;
        height: 0px;
        align-items: flex-start;
        justify-content: flex-end;
    }

    .main-menu {
        top: -320px;
        flex-direction: column;
        height: auto;
        background-color: #845126;
        background-color: #fff;
        box-shadow: 0 4px 4px -4px #000;
        transition: top .4s ease-out;
    }

    .main-menu.show {
        top: 0px;
    }

    .main-menu>li:not(:first-of-type) {
        border-left-width: 0;
        border-top: 1px solid #fff5;
    }

    .main-menu::before {
        display: none;
    }

}