/*----------------------------------------------------- CUSTOM FONT */
@font-face {
    font-family: 'TRMRK';
    src: url('trmrk.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
/*----------------------------------------------------- BASE COLORS */
:root {
    /* brown */
    --brown: #A36134;
    --orange: #D6471C;
    --beige: #E5DAC8;
    --black: #000000;
    --white: #ffffff;
    --almost-white: rgb(251,248,244);
}
/*----------------------------------------------------- GLOBALS */
* {
    font-family: 'Courier Prime', monospace;
    font-size: 20px;
    line-height: 24px;
    color: var(--black);
    background-color: transparent;
    outline: none;
    margin: 0;
    padding: 0;
}
h1,h2,.font-trmrk {
    font-family: 'TRMRK', sans-serif;
    letter-spacing: 1.5px;
    font-weight: 400;
    font-style: normal;
}
.fade-in {
    opacity: 0;
    animation: fadeIn 1s ease-in-out forwards;
}
/* Definer fadeIn animationen */
@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}
.bold, .strong {
    font-weight: 600;
}
section > p > a {
    text-decoration: underline;
    background-color: inherit;
}
body {
    background-color: var(--almost-white);
    color: var(--black);
}

/*----------------------------------------------------- HERO */
section#hero {
    background-color: var(--almost-white);
}
section#hero .backdrop-hero {
    position: relative;
}
section#hero .backdrop-hero img {
    width: 100%;
    height: auto;
    margin: 0px;
    display: block;
    pointer-events: none;
}
.header {
    position: absolute;
    top: clamp(120px, 25vw, 450px);
    left: clamp(20px, 36vw, 840px);
    width: min(58vw, 900px);
    max-width: none;
    padding: 0;
    z-index: 10;
}
.header h1 {
    font-size: clamp(54px,15vw,212px);
    line-height: 0.82;
    text-transform: uppercase;
    color: var(--orange);
    line-height: 0.82;
    margin: 0 0 20px 0;
    pointer-events: none;
}
.header h2 {
    font-size: clamp(34px,4.4vw,67px);
    line-height: 0.82;
    color: var(--white);
    margin: 0;
    text-transform: uppercase;
    pointer-events: none;
}
nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
    position: relative;
    z-index: 20;
}
nav > a {
    text-decoration: none;
    font-size: clamp(12px, 1.5vw, 24px);
    letter-spacing: 0.5px;
    font-family: 'Courier Prime', monospace;
    background-color: var(--brown);
    color: var(--white);
    font-weight: 400;
    text-transform: uppercase;
    font-style: normal;
    text-align: center;
    padding: 16px 22px 12px 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 21;
}
/*----------------------------------------------------- ALL SECTIONS */
section {
    padding: 0;
    margin: 0;
    position: relative;
    overflow: hidden;
}
section h2 {
    color: var(--orange);
    font-size: 40px;
    margin-bottom: 40px;
}
.content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
}
.flexwrapper {
    display: flex;
    margin: 0 auto;
    align-items: flex-start;
    justify-content: space-around;
    gap: 60px;
}
.flexwrapperbutton {
    display: flex;
    margin: 0 auto;
    justify-content: space-between;
    gap: 10px;
    padding-top: 20px;
    padding-bottom: 20px;
}
.flexwrapper > div {
    width: 500px;
}
section#intro,
section#howto,
section#faq {
    padding:40px;
}

/*----------------------------------------------------- INTRO */
section#intro {
    background-color: var(--almost-white);
    color: var(--black);
}
/*----------------------------------------------------- HOWTO */
section#howto {
    background-color: var(--beige);
    color: var(--black);
}
#howto a.cta {
    text-decoration: none;
    background-color: var(--brown);
    font-family: 'TRMRK', sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 24px;
    color: var(--white);
    display: inline-block;
    margin-bottom: 20px;
    text-decoration: none;
    padding: 10px 16px;
}
section#howto p {
    margin-bottom: 20px;
}

/*----------------------------------------------------- FAQ */
section#faq {
    background-color: var(--almost-white);
    color: var(--black);
}
section#faq p {
    margin-bottom: 20px;
}

/*----------------------------------------------------- FOOTER */
footer {
    margin-bottom: 100px;
    margin-top: 70px;
}
footer > img {
    width: 130px;
    margin: 0 auto 20px auto;
    display: block;
}
footer h4 {
    font-size: 28px;
    font-weight: 400;
    text-align: center;
    color: var(--brown) !important;
    margin-bottom: 20px;
}
footer > p {
    text-align: center;
    color: var(--black) !important;
}
/*----------------------------------------------------- MOBILE */
@media(max-width: 800px) {
    
    .header {
        top: clamp(80px, 18vw, 150px);
        left: 0;
        right: 0;
        width: 100%;
    }
    nav {
        gap: 4px;
        margin-bottom: 10px;
        justify-content: center;
    }
    .backdrop-hero img {
        width: 100%; 
        height: auto;
        margin: 0px auto 20px auto;
        display: block;
    }
    nav > a {
        font-size: 12px;
        padding: 6px 10px 2px 10px;
    }
    .header h1 {
        font-size: 84px;
        text-align: center;
        margin-bottom: 10px;
    }
    .header h2 {
        font-size: 26px;
        text-align: center;
    }
    section#intro,
    section#howto,
    section#faq {
        padding: 20px 0 0 0;
    }
    section h2 {
        font-size: 30px;  
    }
    .flexwrapper {
        display: block;
    }
    .flexwrapper > div {
        width: 100%;
    }
    .content {
        margin: 0 auto;
        display: block;
    }
    footer h4 {
        font-size: 18px;
    }
    footer p {
        font-size: 17px;
    }
    

}
