﻿

.burger-wrapper {
    cursor: pointer;
}

#meny {
    background: #fff;
    width: 25rem;
    height: 100vh;
    position: fixed;
    left: 0;
    box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.3);
    transition-timing-function: cubic-bezier(3,1,10,2);
    transform: translateX(-50rem);
    top: 0;   
    z-index: 999;
    transition: 0.5s;
}

#meny ul {
    margin-top: 100px;
        
}

#meny ul > li {
    list-style-type: none;
    padding: 10px 10px 10px 10px;
    border-bottom: 1px solid #e0e0e0;
    margin-right: 1px;
   
}

    #meny ul > li > a {
        text-decoration: none;
        color: #317e74;
        font-weight: bold;
    }

#meny ul > li:hover {
    background-color: #ccc;
       
    transition: 0.3s ease-in-out;
    -moz-box-shadow: inset 5px 5px 5px rgba(0, 0, 0, 0.3);
    -webkit-box-shadow: inset 5px 5px 5px rgba(0, 0, 0, 0.3);
    box-shadow: inset 5px 5px 5px rgba(0, 0, 0, 0.3);
}

#menyAvPaa {
    display: none;
}

#menyAvPaa:checked ~ #meny {
    transform: translateX(0rem);
}

#burger {
    position: fixed;
    cursor: pointer;
    width: 3rem;
    height: 2rem;
    left: 1rem;
    top: 2rem;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    z-index: 9999;
}

#burger > div {
    height: 8px;
    background-color: #777;
    transition: 0.5s;
    z-index: 999;
}

#menyAvPaa:checked ~ #burger > div {
    background-color: #700000;
}

#menyAvPaa:checked ~ #burger > div:nth-child(1) {
    transform: translateY(12px) rotate(45deg);
}

#menyAvPaa:checked ~ #burger > div:nth-child(2) {
    opacity: 0;
}

#menyAvPaa:checked ~ #burger > div:nth-child(3) {
    transform: translateY(-12px) rotate(-45deg);
}
/*-------  marquee  --------*/

.head-container{
    /*position:fixed;
    top:0;*/
    border:none;
    width: 100%;
    z-index: 99;
}
.head-container, .head-container .headertext{
    padding: 0px;
    font-weight: normal;

}
.head-container .headertext{
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
    padding: 0px 10px;
    border-right: 1px solid #777;
    background-color: #C8102E;
    color: #fff;
    text-shadow: 1px 1px #111;
}
.head-container marquee{
    line-height: 1.5;

}
.head-container marquee p{
    margin: 0;
}