/* ------------------           Header            -----------------*/

input#switch {
    z-index: 900;
    width: 200px;
    display: none;
}


header {
    width: 100%;
    padding: 1em;
    padding-top: 3em;
    padding-bottom: 0em;

    margin: auto;

    display: flex;
    flex-direction: row;
    justify-content: flex-start;

    position: fixed;

    z-index: 200;
    transition: .2s;
    background-color: rgba(0, 0, 0, 0.7);

    border-bottom: 2px solid black;



}

header logo {

    margin: auto;
    margin-right: 1em;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    width: 0%;



}

logo img {
    /*    width:5em;*/
    height: 5em;
    /*    background-color: black;*/
    transform: scale(3.5) translateY(1.2em)
}

header h1 {
    width: 70%;
    color: white;
    margin: auto;
    margin-left: 1em;
    text-transform: uppercase;
    font-size: 1.8em;
    /*        padding-left:2em;*/
    /*        border: solid 1px wite*/

}


/*Menu stuff*/

header ul {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    width: 90%;

}

header ul li {
    display: block;
    width: 20%;
    height: 5em;
    justify-content: center;
    text-align: center;
}

header ul li a {
    display: block;
    font-size: 1em;
    color: #ffffff;
    font-weight: 400;
    height: 100%;
    text-shadow: 1px 1px 2px black;
    font-size: 2em;
}


header ul li a:hover {
    text-shadow: 1px 1px 10px rgb(255, 255, 255);

}



/*              SERVIVE DROP DOWN MENU         */
.dropmenu {}

.dropmenu ul.d {
    display: none;
    /*        display: block;*/
    width: 130%;

}

.dropmenu:hover .d {
    display: block;
}


.dropmenu ul.d li {
    width: 100%;
    height: 3.6em;
    transform: translate(3em, -1em)
}

/*}*/

.dropmenu ul.d li a {
    font-size: 1.6em;
    text-align: left;
    display: block;
    height: 1.1em;
    padding: 1em;
    background-color: rgb(26, 26, 26);
}

@media screen and (max-width: 800px) {

    header {
        display: flex;
        flex-direction: column;
        justify-content: center;
        position: fixed;
        /*        transform: translate(0px, 10px );*/
        margin: auto;
        text-align: center;
        height: 2em;
                background-image: url(../img/ham.png);
        background-position:center;
        
        border:solid 1px white;
        background-size: 10%;
        background-repeat: no-repeat;
        padding: 1em 0;
    }

    header logo {
        width: 100%;
        height: 2em;
        position: fixed;
        display: block;
        flex-direction: column;
        justify-content: center;


    }

    header logo img {
        display: none;
        margin: auto;
        transform: scale(1.8);
        
        

    }

    header:first-of-type ul{
        display: flex;
        display: none;
/*        width: 50%; */
        position: fixed;
        flex-direction: column;
        justify-content: flex-start;
/*        background-color: black;*/
        height: 0em;


    }
    header ul{
             transform: translate(0em , 3em);
        
    }

    header ul li {
        display: block;
        background-color: rgb(8, 8, 8);
        width: 12em;
        padding: 1em;
        border:solid 1px white;


    }
    header ul li a{
        font-size: 1.8em;
        text-align: center;
        
/*        border:solid 1px white;*/
        align-content: center;
    }
    

    li.dropmenu ul.d {
        display: block;
        width: 50%;
        font-size: .9em;
        transform: translate(12em , -5em);
        background-color:black;
    }

    li.dropmenu ul.d li {
        margin: 0;
        padding: 0;
        height: 6em;
        background: none;
        border:none;
/*        transform: translateY(30px);*/

    }

    li.dropmenu ul.d li a{
        position: fixed;
        text-align: center;
        padding: 1em;
        height: 2em;
        width: 100%;
        border:none;
        border: solid 1px white;
/*        border-bottom: solid 1px white;*/
        
/*        margin: 2em auto;*/
        background-color: black;


    }

    input#switch[type="checkbox"] {
        display: block;
        appearance:none;
        position: absolute;
        width: 20%;
        height: 10em;
/*        border:solid red 2px;*/


    }

    input#switch:checked ~ header ul{
/*        border:solid red 1px;*/
        display: block;
        
        
    }




}
