﻿h2 {
    vertical-align: center;
    text-align: center;
}

html, body {
    margin: 0;
    height: 100%;
}



.menu_section {
    background-color: rgba(56, 0, 150, 0.6);
    width: 100%;
    display: inline-block;
    height: 60px;
    text-align:center;
    position: fixed;
    z-index: 10;
}


.top-nav {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    color: #FFF;
    max-width:1100px;
    margin:auto;
    padding: 10px;
}

.logo_1 {
    margin-bottom:-20px;
    margin-top:-2px;
}

.menu {
    display: flex;
    flex-direction: row;
    list-style-type: none;
    margin: 0;
    padding: 0;
}

    .menu > li {
        margin: 0 1rem;
        overflow: hidden;
        font-family: var(--land_text);
        cursor: pointer;
    }


.a .menu_but :hover {
opacity:0.5;
color:aquamarine;
}


.menu_but {
    color: var(--land_color_7);
    text-decoration:none;
}

.menu_but:hover {
    opacity:0.5;
}


.menu-button-container {
    display: none;
    height: 100%;
    width: 30px;
    cursor: pointer;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#menu-toggle {
    display: none;
}

.menu-button,
.menu-button::before,
.menu-button::after {
    display: block;
    background-color: #fff;
    position: absolute;
    height: 4px;
    width: 30px;
    transition: transform 400ms cubic-bezier(0.23, 1, 0.32, 1);
    border-radius: 2px;
}

    .menu-button::before {
        content: '';
        margin-top: -8px;
    }

    .menu-button::after {
        content: '';
        margin-top: 8px;
    }

#menu-toggle:checked + .menu-button-container .menu-button::before {
    margin-top: 0px;
    transform: rotate(405deg);
}

#menu-toggle:checked + .menu-button-container .menu-button {
    background: rgba(255, 255, 255, 0);
}

    #menu-toggle:checked + .menu-button-container .menu-button::after {
        margin-top: 0px;
        transform: rotate(-405deg);
    }

@media (max-width: 767px) {
    .menu-button-container {
        display: flex;
    }

    .logo_1 {
        margin-bottom: -12px;
        margin-top: -2px;
    }


    .top-nav {

        padding: 0 1em;
        height:100%;
    }


    .menu {
        position: absolute;
        top: 0;
        margin-top: 60px;
        left: 0;
        flex-direction: column;
        width: 100%;
        justify-content: center;
        align-items: center;
    }

    #menu-toggle ~ .menu li {
        height: 0;
        margin: 0;
        padding: 0;
        border: 0;
        transition: height 400ms cubic-bezier(0.23, 1, 0.32, 1);
    }

    #menu-toggle:checked ~ .menu li {
/*        border: 1px solid #333;
*/        /* height: 2.5em; */
        padding: 40px;
        line-height: 0.3;
        transition: height 400ms cubic-bezier(0.23, 1, 0.32, 1);
    }

    .menu_section {
        background-color: rgba(56, 0, 150, 0.6);
    }

    .menu > li {
        display: flex;
        justify-content: center;
        margin: 0;
        padding: 0.5em 0;
        width: 100%;
        color: white;
        background-color: rgba(34, 34, 34, 0.77);
    }

        .menu > li:not(:last-child) {
            border-bottom: 1px solid #444;
        }
}
