@font-face {
    font-family: NotoSans;
    src: url(fonts/NotoSans-Regular.ttf);
}

@font-face {
    font-family: NotoSansBold;
    src: url(fonts/NotoSans-Bold.ttf);
}

@font-face {
    font-family: PrataRegular;
    src: url(fonts/Prata-Regular.ttf);
}

@font-face {
    font-family: TelefonNormal;
    src: url(fonts/Telefon-Normal.otf);
}

@font-face {
    font-family: TelefonBold;
    src: url(fonts/Telefon-Bold.otf);
}

@font-face {
    font-family: TelefonBlack;
    src: url(fonts/Telefon-Black.otf);
}

@font-face {
    font-family: Excelsior;
    src: url(Excelsior.otf);
}

@font-face {
    font-family: ExcelsiorB;
    src: url(ExcelsiorB.otf);
}

@font-face {
    font-family: ExcelsiorBI;
    src: url(ExcelsiorBI.otf);
}

@font-face {
    font-family: ExcelsiorI;
    src: url(ExcelsiorI.otf);
}




.fa {
    font-size: 1.75rem;
    margin-left: 8px;
}

html {
    font-size: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: 'TelefonNormal', sans-serif;
    line-height: 1.5;
    letter-spacing: 0.025rem;
    font-weight: 300;

    background-color: #ededed;
    color: #141414;
    margin: 0;
    padding-top: 72px;
    
    -ms-word-break: break-all;
    word-break: break-all;

    /* Non standard for webkit */
    word-break: break-word;

    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
}

.hero {
    /* background: url(../image/bild10.jpg); */
    background-position: -4%;
    background-repeat: no-repeat;
    background-size: cover;
    /* min-height: 80vh; */
}



a {
    text-decoration: underline;
    color: #141414;
}

.black a {
    text-decoration: underline;
    color: #c7c7c7;
}

header a {
        text-decoration: none;
        color: #c7c7c7;

}

footer a {
    text-decoration: none;
    color: #c7c7c7;

}

.black p {
    font-weight: 100;
}

h1 {
    font-family: TelefonNormal;
    font-size: 6rem;
    font-weight: 50;
    line-height: 6.5rem;
    margin-bottom: 0;
    margin-top: 0;
}

h2 {
    font-family: TelefonNormal;
    font-size: 1.7rem;
    border-bottom:  solid 1px;
    text-align: center;
}

.paragraf-title {
    font-weight: 500;
    margin-bottom: 8px;

}

.font-logo {
    font-family: PrataRegular;
    font-size: 1rem;
    font-weight: 50;
    line-height: 1.2rem;
}

.header-logo {
    filter: invert(0.85);
    width: 95px;
}

.hero-logo {
    margin: 8rem auto;
    filter: invert(0.85);
}

.badge-image {
    position: fixed;
    z-index: 1000;
    top: 116px;
    right: 8%;
    width: 120px;
    height: 120px;
    margin:-60px 0 0 -60px;
    -webkit-animation:spin 8s linear infinite;
    -moz-animation:spin 8s linear infinite;
    animation:spin 8s linear infinite;
}
@-moz-keyframes spin { 100% { -moz-transform: rotate(360deg); } }
@-webkit-keyframes spin { 100% { -webkit-transform: rotate(360deg); } }
@keyframes spin { 100% { -webkit-transform: rotate(360deg); transform:rotate(360deg); } }


p {
    margin-top: 0px;
    margin-bottom: 32px;
}


#link:hover {
    opacity: 0.5;
}

img {
    max-width: 100%;
    display: block;
    margin: auto;
    width: 100%;

    /*
    filter: grayscale(100%);    */
}

/*
img:hover {
    filter: grayscale(0%); 
    transition: 0.8s;
}
*/

.spacer-bottom {
    margin-bottom: 40px;
}

section {
    padding-top: 80px;
    padding-left: 80px;
    padding-right: 80px;
    padding-bottom: 80px;
}

.wrapper {
    max-width: 800px;
    margin: auto;   
    /* margin-top: 80px;  */
    /* margin-bottom: 80px; */
}

.wrapper-img {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 32px; /*define the distance between elements*/
}

.wrapper-img div {
    width: 100%;
}

.quote {
    font-family: Excelsior;
    font-size: 2.5rem;
    line-height: 1.2;
    text-align: center;
    margin-top: 80px;
    margin-bottom: 80px;
}

.hide-desk {
    display: none;
}





.black {
    background-color: #141414;
    color: #c7c7c7;
}

.black h2 {
    border-bottom: #ededed solid 1px;
}


/* NAVIGATION */

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 72px; 
    box-shadow: 0px 7px 16px 0px #00000038;
    background-color: black;
    color: #ededed;
    z-index: 1000;
    display: flex;
    justify-content: center;
    
}
nav {
    width: 100%;
    max-width: 800px;   
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-flow: row;
    padding-right: 80px;
    padding-left: 80px;
}

ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    margin: 0;
}

li {
    /* padding: 15px 0; */
}

.items {
    position: relative;
    width: auto;
    margin: 0 16px;
    font-size: 0.8rem;
    /* text-align: center; */
    /* order: 3; */
}

.items:hover {
    opacity: 0.5;
}

/*OVERLAY*/

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    background-color: rgba(0, 0, 0, 0.90); /*dim the background*/
    /* display: none; */
    text-align: center;
  }

.overlay > div {
    position: absolute;
    top: 15%;
    left: 0;
    right: 0;
    
}

 .overlay a {
     font-size: 1.25rem;
     line-height: 3rem;
     text-decoration: none;
     color: #c7c7c7;
 } 
.hidden {
    display: none !important;
}

.container {
    justify-content: center;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 100000;
    background-color: rgba(202, 17, 17, 0.75); /*dim the background*/
    display: flex;


}

.container-sub {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-flow: column;
}


.form-item {
    
    justify-content: center;
    align-items: center;
}

#top {
    position: absolute;
    top: -80px;
}

.font-footer {
    margin-top: 12px;
    font-weight: 300;
    font-size: 0.75rem;

}
  footer {
    width: 100%;
    box-shadow: 0px 0px 16px 7px #00000038;
    background-color: black;
    color: #c7c7c7;
    z-index: 1000;
    display: flex;
    justify-content: center;
    
}
.footer {
    width: 100%;
    max-width: 800px;   
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-flow: row;
    padding-right: 32px;
    padding-left: 32px;
    padding-top: 32px;
    padding-bottom: 32px;
}

/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (max-width: 600px) {
    .wrapper-img {
        grid-template-columns: repeat(1, 1fr);
    }
    section {
        padding-top: 80px;
        padding-left: 32px;
        padding-right: 32px;
        padding-bottom: 32px;
    }

    nav {
        padding-right: 32px;
        padding-left: 32px;
    }

    .quote {
        font-size: 2rem;
    }
}




/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (max-width: 800px) {
    .hide-tablet {
        display: none;
    }
    .hide-desk {
        display: flex;
    }
}