.navbar {
    overflow: hidden;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 999;
}

.header_container {
    display: block;
}

.main_header_grey_background {
    top: 0;
    width: 100%;
    background: var(--colour-grey);
}

.main_header_wood_tiles {
    position: fixed;
    top: 25px;
    height: 100px;
    width: 100%;
    background-image: url(../images/bg_wood_wide_100.jpg);
    background-position: left top;
    background-repeat: repeat-x;
}

.main_header_full_logo {
    position: fixed;
    background-image: url(../images/logo_transparent.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    top: 0;
    left: 10px;
    height: 170px;
    width: 525px;
}

.main_header_menu_item_group {
    position: relative;
    float: right;
    top: 0;
    right: 10px;
    font-family: berlin;
    font-size: 18px;
    z-index: 0;
    filter: drop-shadow(0 0 3px var(--colour-light-grey));
}

.main_header_menu_item {
    position: relative;
    display: inline-block;
    top: 0;
    padding: 5px;
    background-color: var(--colour-shadow-grey);
    width: 80px;
    height: 80px;
    border-radius: 0 0 5px 5px;
}

.main_header_menu_text {
    display: flex;
    justify-content: center;
    margin-top: 55px;
    color: var(--colour-black);
}

.main_header_modal_icon {
    position: fixed;
    top: 25px;
    right: 10px;
    z-index: 2;
}

.main_header_modal_menu {
    position: fixed;
}

.menu_ham {
    background-color: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    padding: 0;
}

.line {
    fill: none;
    stroke: var(--colour-white);
    stroke-width: 6;
    transition: stroke-dasharray 600ms cubic-bezier(.4, 0, .2, 1), stroke-dashoffset 600ms cubic-bezier(.4, 0, .2, 1);
}

.line1 {
    stroke-dasharray: 60 207;
    stroke-width: 6;
}

.line2 {
    stroke-dasharray: 60 60;
    stroke-width: 6;
}

.line3 {
    stroke-dasharray: 60 207;
    stroke-width: 6;
}

.opened .line1 {
    stroke-dasharray: 90 207;
    stroke-dashoffset: -134;
    stroke-width: 6;
}

.opened .line2 {
    stroke-dasharray: 1 60;
    stroke-dashoffset: -30;
    stroke-width: 6;
}

.opened .line3 {
    stroke-dasharray: 90 207;
    stroke-dashoffset: -134;
    stroke-width: 6;
}

.is_hidden {
    visibility: hidden;
}

.is_visible {
    visibility: visible;
}

.hidden {
    display: none;
}

.ticker-container {
    position: relative;
    width: 100%;  /* Full width of the container */

    overflow: hidden;  /* Hide the overflow to create the scrolling effect */
    background-color: #cb1616;  /* Background color for the ticker */
    color: rgb(0, 0, 0);  /* Text color */
    padding: 0;  /* Vertical padding */
    font-size: 20px;
}

.ticker {
    display: inline-block;
    position: relative;
    white-space: nowrap;  /* Prevents text from wrapping to a new line */
    animation: ticker-animation 10s linear infinite;  /* The scrolling animation */
    top: -10px;
}

@keyframes ticker-animation {
    0% { transform: translateX(100%); }  /* Start from the right */
    100% { transform: translateX(-100%); }  /* Move to the left */
}

@media (min-width: 100px) {
    .ticker-container {
        height: 50px;
        top: -50px;
    }

    .main_header_grey_background {
        height: 125px;
    }

    .main_header_full_logo {
        top: 0;
        background-image: url(../images/logo_transparent_narrow.png);
        height: 127px;
        width: 270px;
    }

    .main_header_wood_tiles {
        top: 25px;
        height: 65px;
    }

    .main_header_modal_icon {
        top: 10px;
        right: 5px;
        z-index: 2;
    }

    .main_header_menu_item_group {
        float: left;
        left: 0;
        top: 50px;
    }

    .main_header_menu_item {
        position: relative;
        left: 0;
        margin-top: 5px;
        top: 125px;
        padding: 5px;
        width: 100%;
        height: 20px;
        border-radius: 0 5px 5px 0;
    }

    .main_header_menu_text {
        display: flex;
        justify-content: center;
        margin-top: 0;
    }
}

@media (min-width: 768px) {
    .ticker-container {
        font-size: 30px;
        height: 65px;
        top: 0px;
    }
    .ticker {
        top: -20px;
    }
    .main_header_grey_background {
        //max-width: 100vw;
        height: 175px;
    }

    .main_header_full_logo {
        top: 10px;
        left: 25px;
        background-image: url(../images/logo_transparent.png);
        height: 157px;
        width: 525px;
    }

    .main_header_wood_tiles {
        height: 100px;
    }

    .main_header_modal_menu {
        position: fixed;
        right: 125px;
    }

    .main_header_modal_icon {
        top: 25px;
        right: 10px;
        z-index: 2;
    }

    .main_header_menu_item {
        top: -5px;
        padding: 5px;
        width: 80px;
        height: 80px;
        border-radius: 0 0 5px 5px;
    }

    .main_header_menu_item_group {
        position: relative;
        float: right;
        top: 0;
        right: 20px;
    }

    .main_header_menu_text {
        margin-top: 55px;
    }
}

@media (min-width: 1024px) {
    .main_header_menu_item_group {
        position: relative;
        float: right;
        top: 0;
        right: 20px;
    }
}
