﻿/* header start*/
*{
    box-sizing: border-box;
    padding:0;
    margin:0;
}

body{
    font-family: sans-serif;
    background-color: #e8e8ec;
}

a{
    color: white;
}

.header{
    background: rgb(1, 3, 45);
    padding: 5px 20px;
    box-shadow: 1px 1px 4px rgba(0, 2, 58, 0.54);
    position: fixed;
    width: 100%;
    z-index: 3;
}

.header ul{
    margin: 0;
    padding: 0;
    list-style: none;
    overflow: hidden;
}

.header ul a{
    display: block;
    padding: 20px;
    text-decoration: none;
}

.header ul a:hover{
    background-color: teal;
}

.header .logo{
    float: left;
    display: block;
    font-size:2em;
    padding: 10px 20px;
}

.header .menu{
    clear: both;
    max-height: 0;
    transition: max-height .2s ease-out;
}

.header .menu-icon{
    padding: 28px 20px;
    position: relative;
    float: right;
    cursor: pointer;
}

.header .menu-icon .nav-icon{
    background: #333;
    display: block;
    height: 2px;
    width: 18px;
    position: relative;
    transition: background .2s ease-out;
}

.header .menu-icon .nav-icon:before{
    background: #333;
    content:"";
    display: block;
    height: 100%;
    width: 100%;
    position: absolute;
    transition: all .2s ease-out;
    top: 5px;
}

.header .menu-icon .nav-icon:after{
    background: #898989;
    content:"";
    display: block;
    height: 100%;
    width: 100%;
    position: absolute;
    transition: all .2s ease-out;
    top: -5px;
}

.header .menu-btn{
    display: none;
}

.header .menu-btn:checked~ .menu {
    max-height:340px;
}

.header .menu-btn:checked~ .menu-icon .nav-icon{
    background: transparent;
}

.header .menu-btn:checked~ .menu-icon .nav-icon:before{
    transform: rotate(-45deg);
    top: 0;
}

.header .menu-btn:checked~ .menu-icon .nav-icon:after{
    transform: rotate(45deg);
    top: 0;
}


@media (min-width:48em){


    .header li{
        float: left;
    }
    .header li a{
        padding:20px 30px;
    }
    .header .menu{
        clear: none;
        float: right;
        max-height: none;
    }
    .header .menu-icon{
        display: none;
    }
}
/*header slut*/


/*andre billeder start*/
.img{
    width: 100%;
    height: 100%;
    object-fit: fill;
}
/* andre billeder slut*/


.gallery {
     display: flex;
     flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
 }

@media (max-width: 800px) {
    .gallery {
        flex-direction: column;
        justify-content: center;

    }
    .bil{
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

/*footer start*/

.footer-nav {
    background-color: #f8f6f6;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.footer-nav a, .footer-nav div {
    margin: 1rem 0;
    text-align: center;
    width: 100%;
}

.newsletter {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

#newsletter-email {
    margin: 1rem 0;
    width: 100%;
}
/*footer slut*/

/*banner start*/
.blikfang{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
/*banner slut*/

.text{
    padding-top: 10px;
}


/*book en tur start*/
input[type=text] {
    width: 100%;
    padding: 12px 20px;
    margin: 8px 0;
    box-sizing: border-box;
}
.container{
    background-color: rgb(115, 115, 121);
    padding: 20px;
}
.text1{
    padding: 0;
}
.input-group{
    width: 100%;
    box-sizing: border-box;
}
/*book en tur slut*/

.socialemedier{
    display: flex;
    justify-content: space-evenly;
    flex-direction: row;
    flex-basis: auto;
    padding: 40px;
    background-color: #f8f6f6;
}
h1,h2,h3{
    padding-left: 20px;
}
h4{
    padding: 20px;
    text-align: center;
    font-size: 50px;
    padding: 20px;
}

p{
    padding: 20px;
}