@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@500;600;700;800;900&display=swap');

.mghe-header.site-header {
    position: relative;
    width: 100%;
    max-width: 100% !important;
    padding:0 15px;
    background: #150909;
    font-family: "Montserrat", Arial, sans-serif;
    z-index: 999;
}

.mghe-header-inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 1180px;
    height: 90px;
    min-height: 90px;
    margin: 0 auto;
    padding: 0 18px;
}

.mghe-logo {
    position: absolute;
    left: calc(50% - 75px);
    top: 50%;
    transform: translateY(-50%);
    width: 150px;
    text-decoration: none;
}

.mghe-logo img {
    width: 100%;
    height: auto;
    display: block;
}

.mghe-menu-toggle {
    display: none;
}

.mghe-burger {
    display: flex;
    flex-direction: column;
    width: 36px;
    height: 36px;    
    margin-left: auto;
    gap: 5px;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 10px;
    background: rgba(255,255,255,.04);
}

.mghe-burger span {
    width: 18px;
    height: 2px;
    background: #fff;
    border-radius: 99px;
    display: block;
    transition: all .2s ease;
}
.mghe-menu-toggle:checked ~ .mghe-burger span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.mghe-menu-toggle:checked ~ .mghe-burger span:nth-child(2) {
    opacity: 0;
}
.mghe-menu-toggle:checked ~ .mghe-burger span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.mghe-nav {
    display: none;
    position: absolute;
    left: 14px;
    right: 14px;
    top: 90px;
    z-index: 9999;
    margin: 0;
    padding: 16px;
    border-radius: 18px;
    background: rgba(19,5,7,.98);
    border: 1px solid rgba(255,38,52,.28);
    box-shadow: 0 20px 60px rgba(0,0,0,.45);
    list-style: none;
}

.mghe-menu-toggle:checked ~ .mghe-nav {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
}

.mghe-nav a {
    display: block;
    color: #f2e8ea;
    text-decoration: none;
    font-size: 14px;
    font-weight: 800;
    white-space: nowrap;
    line-height: 1;
    transition: color .2s ease;
    padding: 13px 10px;
    text-align: center;
}
.mghe-nav a:hover {
    color: #ff2634;
}

.mghe-nav .mghe-menu-btn > a {
    padding: 15px 24px;
    border-radius: 999px;
    background: linear-gradient(90deg,#ff1828,#ff3438);
    color: #fff;
    text-decoration: none;
    transition: .2s;    
    margin: 15px auto 0 auto;
    max-width:260px;
}

.mghe-nav .mghe-menu-btn > a:hover {
    opacity: .85;
}

@media (min-width: 1200px) {
    
    .mghe-header-inner {
        padding: 0 24px;    
    }
    .mghe-logo {
        position: static;
        transform: none;
    }
    .mghe-burger {
        display: none;
    }
    
    .mghe-nav {
        position: static;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 22px;
        margin: 0 auto;
        padding:0;
        border:0 none;
        background: transparent;
        box-shadow: none;
    }

    .mghe-menu-toggle:checked ~ .mghe-nav {
        flex-direction: row;
        gap: 22px;
        align-items:center;
    }
    
    .mghe-nav a {
        font-size: 13px;
        padding: 0;
        border:0 none;
    }
    
    .mghe-nav .mghe-menu-btn > a {
        margin:0 0 0 15px;
    }
}

@media (min-width: 380px) {
    .mghe-nav {
        left: 18px;
        right: 18px;
    }
}