/* CSS Reset & Normalization */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

* {
    font-family: Merriweather Sans, Georgia, serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

#logo {
    float: left;
    /* border-radius: 100%; */
    width: 13%;
}

/* Add a black background color to the top navigation */
.header {
    background-color: #0B2A4A;
}
.topnav {
    position: relative;
    display: inline-block;
    width: 98%;
    padding: 1%;
    /* z-index: 1; */
    background-color: #0B2A4A;
    /* margin-top: 7%; */
    /* border-radius: 10%; */
}

/* Style the links inside the navigation bar */
.topnav .item {
    /* margin: 50px; */
    margin-left:  2%;
    margin-right: 2%;
    float: left;
    color: white;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 17px;
    font-family: Merriweather Sans, Georgia, serif;
    background-color: rgb(161, 39, 53);
    -webkit-border-radius: 25px;
    -moz-border-radius: 25px;
    border-radius: 25px;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    /* clip-path: polygon(75% 0%, 100% 50%, 75% 100%, 0% 100%, 25% 50%, 0% 0%); */
}

.topnav .facebook {
    float: right;
    text-decoration: none;
}
.facebook img {
    width: 75px;
    height: 75px;
    /* margin-top: 12px; */
}

/* Change the color of links on hover */
.topnav .item:hover {
  background-color: #ddd;
  color: #222222;
  -webkit-transform: translateY(-2px);
  -moz-transform: translateY(-2px);
  -ms-transform: translateY(-2px);
  -o-transform: translateY(-2px);
  transform: translateY(-2px);
  /* color: black; */
}

.klubNavn {
    position: absolute;
    text-align: center;
    margin-top: 8%;
    margin-left: 27%;
    font-size: 6em;
    color: white;
    padding-left: 15px;
    padding-right: 15px;
}

#startNav {
    margin-left: 13%;
    /* background-color: black; */
}

body {
    background-color: #F4F6F8;
    color: #222222;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.banner {
    position: relative;
    text-align: center;
    /* margin-top: 12%; */
    /* z-index: -1; */
}
.banner img {
    /* background: #0B2A4A; */
    /* opacity: 50%; */
    width: 100%;
    height: auto;
    /* z-index: -1; */
}
.bannerTxt {
    position: absolute;
    top: 35%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    color: white;
    font-size: 1.5em;
    /* z-index: 2; */
}
.bannerTxt a {
    color: white;
    text-decoration: none;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

.træningstider {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    color: #222222;
    /* z-index: 2; */
}
.træningstider a {
    color: #222222;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
.adresse a:hover {
    color: #E63946;
    /* z-index: 2; */
    -webkit-transition: color 0.3s ease;
    -moz-transition: color 0.3s ease;
    -o-transition: color 0.3s ease;
    transition: color 0.3s ease;
}
.slideshow {
    position: relative;
    text-align: center;
    margin-top: 2%;
    background-color: #E9EEF3;
    width: 100%;
    overflow: hidden;
}

.footer {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    background-color: #0B2A4A;
    clear: both;
    flex-wrap: wrap;
}
.kontakt {
    flex: 1;
    padding: 20px;
    text-align: left;
}
.kontakt p {
    font-size: 16px;
    color: white;
}
.kontakt-email {
    margin: 0 0 14px;
    font-weight: bold;
}
.kontakt-email a {
    color: white;
}
.kontakt-email a:hover {
    color: #9B1B2A;
}
.adresseFooter {
    flex: 1;
    font-size: 16px;
    color: white;
    text-align: center;
    padding: 20px;
}
.adresseFooter a {
    color: white;
}
.adresseFooter a:hover {
    color: #9B1B2A;
}
.personlivspolitik {
    flex: 1;
    padding: 20px;
    text-align: right;
    align-self: flex-start;
}
.gdprLink a {
    font-size: 16px;
    color: white;
}
.gdprLink a:hover {
    color: #9B1B2A;
}

.hamburger {
    color: white;
    display: none;
    margin-left: auto;
    border: 0;
    background: transparent;
    font-size: 40px;
    cursor: pointer;
    padding: 8px 12px;
}

.mobile-menu {
    display: none;
    width: 100%;
    background: #fff;
}

.mobile-menu.open {
    display: block;
}

.mobile-menu .item {
    display: block;
    padding: 12px 20px;
    text-decoration: none;
}

@media (max-width: 900px) {
    .topnav .item {
        display: none;
    }

    .hamburger {
        display: block;
    }
}

@media only screen and (max-width: 1720px) {
    .facebook img {
        float: right;
        width: 55px;
        height: 55px;
        /* margin-top: 12px; */
    } 
}
@media only screen and (max-width: 1680px) {
    .facebook img {
        float: right;
        width: 45px;
        height: 45px;
        /* margin-top: 12px; */
    } 
    .klubNavn {
        position: absolute;
        text-align: center;
        margin-top: 8%;
        margin-left: 24%;
        font-size: 6em;
        color: white;
        padding-left: 15px;
        padding-right: 15px;
    }
    .topnav .item { 
        /* margin: 50px; */
        margin-left:  1%;
        margin-right: 1%;
    }
}
@media only screen and (max-width: 1565px) {
    .facebook img {
        float: right;
        width: 45px;
        height: 45px;
        /* margin-top: 12px; */
    } 
    .klubNavn {
        position: absolute;
        text-align: center;
        margin-top: 8%;
        margin-left: 22%;
        font-size: 6em;
        color: white;
        padding-left: 15px;
        padding-right: 15px;
    }
}
@media only screen and (max-width: 1520px) {
    .facebook img {
        float: right;
        width: 45px;
        height: 45px;
        /* margin-top: 12px; */
    } 
    .klubNavn {
        position: absolute;
        text-align: center;
        margin-top: 8%;
        margin-left: 20%;
        font-size: 5em;
        color: white;
        padding-left: 15px;
        padding-right: 15px;
    }
    #startNav {
        margin-left: 10%;
    }
}
@media only screen and (max-width: 1370px) {
    .facebook img {
        float: right;
        width: 45px;
        height: 45px;
        /* margin-top: 12px; */
    } 
    .klubNavn {
        position: absolute;
        text-align: center;
        margin-top: 8%;
        margin-left: 18%;
        font-size: 5em;
        color: white;
        padding-left: 15px;
        padding-right: 15px;
    }
    #startNav {
        margin-left: 7%;
    }
}
@media only screen and (max-width: 1310px) {
    .facebook img {
        float: right;
        width: 45px;
        height: 45px;
        /* margin-top: 12px; */
    } 
    .klubNavn {
        position: absolute;
        text-align: center;
        margin-top: 8%;
        margin-left: 15%;
        font-size: 5em;
        color: white;
        padding-left: 15px;
        padding-right: 15px;
    }
    #startNav {
        margin-left: 5%;
    }
}
@media only screen and (max-width: 1280px) {
    .topnav .item { 
        display: none;
        /* margin: 50px; */
        /* margin-left:  0.5%;
        margin-right: 0.5%; */
    }
    .facebook img {
        display: none;
        /* float: right;
        width: 45px;
        height: 45px; */
        /* margin-top: 12px; */
    } 
    .klubNavn {
        position: absolute;
        text-align: center;
        margin-top: 4%;
        margin-left: 18%;
        font-size: 5em;
        color: white;
        padding-left: 15px;
        padding-right: 15px;
    }
    #startNav {
        margin-left: 5%;
    }
    .hamburger {
        margin-top: -3%;
        display: block;
        float: right;
        width: 30px;
        height: 30px;
        /* background-color: #E9EEF3; */
        /* border-radius: 5px; */
        cursor: pointer;
    }
}
@media only screen and (max-width: 1024px) {
    .klubNavn { 
        position: absolute;
        text-align: center;
        margin-top: 4%;
        margin-left: 15%;
        font-size: 4em;
        color: white;
    }
}
@media only screen and (max-width: 900px) {
    .klubNavn { 
        position: absolute;
        text-align: center;
        margin-top: 4%;
        margin-left: 15%;
        font-size: 3em;
        color: white;
    }
    .bannerTxt {
        position: absolute;
        top: 50%;
        left: 50%;
        -webkit-transform: translate(-50%, -50%);
        -moz-transform: translate(-50%, -50%);
        -ms-transform: translate(-50%, -50%);
        -o-transform: translate(-50%, -50%);
        transform: translate(-50%, -50%);
        color: white;
        font-size: 12px;
    }
}
@media only screen and (max-width: 600px) {
    .klubNavn { 
        position: absolute;
        text-align: center;
        margin-top: 4%;
        margin-left: 15%;
        font-size: 1.5em;
        color: white;
    }
    .hamburger {
        margin-top: -15%;
        margin-right: 5%;
        display: block;
        float: right;
        width: 20px;
        height: 20px;
        /* background-color: #E9EEF3; */
        /* border-radius: 5px; */
        cursor: pointer;
    }
    .bannerTxt {
        position: absolute;
        top: 50%;
        left: 50%;
        -webkit-transform: translate(-50%, -50%);
        -moz-transform: translate(-50%, -50%);
        -ms-transform: translate(-50%, -50%);
        -o-transform: translate(-50%, -50%);
        transform: translate(-50%, -50%);
        color: white;
        font-size: 12px;
    }
}
@media only screen and (max-width: 400px) {
    .klubNavn {
        margin-left: 10%;
    }
}