@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Staatliches&display=swap');

@font-face {
    font-family: 'Staatliches';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('/staatliches/Staatliches-Regular.ttf') format('woff2');  /* Lokal skrifttype */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /* Nulstilling af standardmargin og padding */

}


:root {
    --primary-color: #284221;
    --secondary-color: #dd5211;
    --black: #0c1309;
    --white:#f2f2f2;
    --font: "Open Sans", sans-serif;
    --headline: "Staatliches", sans-serif;
}


body {
    background-color: var(--white); /* Hvid baggrund for hele siden */
    font-family: var(--font); /* Anvend standardfont til brødtekst */
}

a:visited {
    color: inherit; /* Arver farve i stedet for at ændre linkfarven */
}

a {
    text-decoration: none; /* Fjerner understregning fra links */
}

h3 {
    font-family: var(--headline); /* Overskriftsskrifttype */
    font-size: 2.8rem;
    text-transform: uppercase; /* Gør teksten til store bogstaver */
}

header {
    display: flex;
    align-items: center;
    flex-direction: column-reverse; /* Kolonne-layout med omvendt rækkefølge */
    gap: 25px;
    top: 0;
    left: 0;
    right: 0;
    justify-content: space-between;
    color: var(--white);
    font-family: var(--headline);
    position: fixed; /* Fastgør headeren til toppen af siden */
    z-index: 1000; /* Sørger for, at header er over andet indhold */
}

header a {
    width: 20%;
    display: flex;
    justify-content: center;
}

body img {
    width: 100%;
}


/* NAVBAR */

header nav .logo {
    width: 60vh;
    margin: 20px;
    display: none;
}

header nav .logo {
    fill: var(--white);
}


header .navbar ul {
    list-style-type: none; /* Fjern punkter fra listen */
}

header .navbar ul li {
    position: relative;
    float: left;
}

header .navbar ul li a {
    text-decoration: none;
    text-transform: uppercase;
    font-size: 1.5rem;
    padding: 0 0 20px 20px;
    display: block;
    color: var(--white);
    width: 100%;
}

header .navbar ul li a:visited {
   color: inherit;
   text-decoration: none;
}

header .navbar ul li a:hover {
    color: var(--primary-color);
}

header .navbar ul li ul {
    position: absolute;
    left: 0;
    width: 200px;
    background: var(--primary-color); /* Dropdown baggrundsfarve */
    display: none; /* Dropdown vises kun ved hover */
}

header .navbar ul li ul li {
    width: 100%;
}

header .navbar ul li ul li ul {
    left: 200px;
    top: 0;
}

/* Brug af hover og focus-within til at vise dropdown-menuer */
header .navbar ul li:focus-within > ul ,
header .nvabar ul li:hover > ul {
    display: block;
}

.navbar li:hover ul ul {
    display: none;
}
  
.navbar li:hover ul {
    display: block;
}

#menu-bar {
    display: none;
}

header label {
    font-size: 20px;
    color: #333;
    cursor: pointer;
    display: none;
}

header .navbar ul li ul li a {
    font-weight: 200;
    font-size: 1.3rem;
    padding-left: 40px;
}

header label {
        display: block;
        position: absolute;
        z-index: 1000;
        right: 30px;
        top: 30px;
}

header .navbar {
        position: absolute;
        top: 0;
        right: 0;
        padding: 120px 0 240px 0;
        width: 300px;
        background: var(--secondary-color);
        display: none;
        color: var(--white);
        font-family: var(--headline);
        height: auto;
        border-radius: 0 0 0 1000px;
        overflow: hidden;
}

header .navbar ul li {
        width:100%;
}

header .navbar ul li ul {
        position: relative;
        width: 100%;
        color: var(--white);
        
}

header .navbar ul li ul li ul {
        width: 100%;
        left: 0;
}

#menu-bar:checked ~ .navbar {
        display: block;
        transition: 0.2s;
}

#menu-bar:not(:checked) ~ .navbar {
        display: block;
        top: -350px;
        transition: 0.6s;     
}

.menubillede {
        width: 60px;
        background: var(--primary-color);
}


/* NAVBAR SLUT */



/* LANDING PAGE */


.logo {
    width: 50%;
    height: auto; /* Bevarer højden proportionalt med bredden */
    display: flex;
    padding-top: 50px;
}

.logo-two {
    width: 20%;
    height: auto;
    display: flex;
    display: none;
    margin: 20px 0 0 20px;
    position: absolute;  /* Gør positionen absolut i forhold til containeren */
    fill: var(--white);
}

.logobox a {
    display: flex;
    justify-content: center;
}

.landing {
    display: flex;
    padding-bottom: 10vh;
}

.logobox {
    background: var(--white);
    width: 20%;
    height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
}

.logobox .begivenhed {
    padding: 10% 0 0 30px; /* Tilføjer afstand fra toppen og venstre side */
}

.logobox .begivenhed h3 {
    font-size: 1.6rem;
}

.logobox .naeste {
    padding: 5% 0 0 30px;
}

.logobox .naeste h3 {
    font-size: 1.4rem;
    padding-top: 10px;
}

.logobox .naeste h3:nth-child(6) {
    padding-bottom: 20px /* Tilføjer ekstra afstand under det sjette element */
}

.logobox .a {
    text-decoration: none;
    background: var(--primary-color);
    color: var(--white);
    padding: 5px 10px;
    font-size: 1.5rem;
    font-family: var(--headline);
    width: 12%;
    margin: 0 0 27px 30px;
    position: absolute;
    bottom: 0;
}

.logobox .a:visited {
    color: var(--white);
}

.landing .main {
    width: 100%;
    height: 100vh;
}

.overskrift {
    height: 70vh;
    overflow: hidden;
    display: flex;
    background-color: var(--primary-color);
    background-repeat:no-repeat;
    background-size: auto 100vh; /* Gør baggrundsbilledet 100vh højt */
    background-position: right; /* Positionerer baggrundsbilledet til højre */
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
}

.overskrift img {
    position: absolute;
    object-fit: cover;
    height: 70vh;
    right: 0;
    width: 83%;
    mix-blend-mode: multiply; /* Anvender en blandingstilstand på billedet */
    background-color: var(--primary-color);
}

.overskrift h2 {
    color: var(--secondary-color);
    font-family: var(--headline);
    z-index: 2;
    line-height: 80%;
    padding-left: 3%;
    text-wrap: balance;; /* Sørger for tekstlinjerne brydes balanceret */
    font-size: 38vh;
}

.overskrift h2:nth-child(1) {
    color: var(--white);
}

.landing .main .intro {
    height: 30vh;
    display: flex;
    background-color: var(--black);
    padding-left: 3%;
    flex-direction: column;
    justify-content: space-evenly;
}

.landing .main .intro h1 {
    color: var(--white);
    font-family: var(--font);
    text-transform: uppercase;
    font-size: 2rem;
}

.naeste p {
    white-space: nowrap;
    overflow: hidden;  
    text-overflow: ellipsis;
}

.button {
    background-color: var(--primary-color);
    color: var(--white);
    font-size: 3rem;
    text-transform: uppercase;
    font-family: var(--headline);
    width: 500px;
    padding: 1% 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

section.button a:visited {
    color: var(--white);
}

section.button a:visited p {
    color: var(--white);
}

section.button a p {
    color: var(--white);
}

.h3 {
    height: 10vh; /* Sætter højden til 10% af viewport højden */
    text-align: center;
}

.absolute {
    position: absolute;
}


/* LANDING PAGE SLUT */


/* MISTER START */


.square {
    width: 80%;
    height: 0; 
    border-left: 100px solid transparent; /* Skaber en gennemsigtig venstre kant */
    border-right: 100px solid transparent; /* Skaber en gennemsigtig højre kant */
    border-top: 100px solid var(--white); /* Skaber en hvid topkant og danner en trekant */
    position: absolute;
}

.mister {
    background: var(--black);
    height: 100vh;
    display: flex;
    justify-content: center;
    overflow: hidden;
}

.mister section {
    padding: 5% 50px 5% 50px;
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.gallery {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.gallery img {
    width: 80%;
    height: auto;
}

.mister section h3 {
    color: var(--white);
    font-family: var(--headline);
    line-height: 100%;
    font-size: 2.4rem;
    text-transform: uppercase;
}

.citat {
    width: 60vh;
}

.citation {
    width: 30px;
}

.citat svg {
    fill: var(--secondary-color); /* Fylder SVG'en med den sekundære farve */
}

.citation:nth-child(3) {
    float: right; /* Flytter den tredje citation til højre */
    padding-top: 10px; /* Tilføjer afstand ovenfor */
}

.mister section h4 {
    color: var(--white);
    font-family: var(--font);
    font-size: 2.5rem;
    text-transform: uppercase;
    line-height: 120%;
}

.mister section article {
    padding-bottom: 50px;
    width: 80%;
}

.highlight {
    color: var(--secondary-color);
    font-size: 5rem;
    font-family: var(--headline);
}

.h3-black {
    background-color: var(--black);
    color: var(--white);
}


/* MISTER SLUTTER */



/* LOSNING STARTER */


.black {
    border-top: 100px solid var(--black);
}

.absolute-white {
    color: var(--white);
}

.padding {
    padding-top: 10%;
}

.losning {
    background: var(--primary-color);
    height: 100vh;
    display: flex;
    justify-content: center;
    padding-bottom: 5%;
}

.losning .mulighed {
    display: flex;
    height: 50%;
    background: var(--white);
    overflow: hidden;
    margin-right: 20px;
}

.margin {
    margin: 25px;
}

.mulighed h3 {
    font-size: 2rem;
} 

.venstre {
    flex: 1; /* Lader venstre sektion fylde 1 del af pladserne */
    max-width: 40%;
    overflow: hidden;
}
   
.venstre img {
    height: 100%;
    object-fit: cover;
}

.hojre {
    flex: 2; /* Lader højre sektion fylde 2 dele af pladserne */
    max-width: 60%;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hojre h3 {
    font-size: 2.4rem;
    line-height: 100%;
    padding-bottom: 2%;
}

.hojre p {
    font-size: 1.6rem;
    text-transform: uppercase;
    padding-bottom: 2%;
}

.hojre .button {
    width: auto;
    text-decoration: none;
    display: flex;
}

.two {
    display: flex;
    flex-direction: column;
    width: 50%;
    gap: 20px; /* Tilføjer mellemrum mellem elementerne */
}

.one {
    display: flex;
    width: 25%;
}

.three {
    display: flex;
    flex-direction: column;
    width: 100%;
    display: none;
}

.column {
    flex-direction: column;
    width: 100%;
    display: flex;
    height: 100%;
    background: var(--white);
    overflow: hidden;
}

.op {
    flex: 1;
    max-height: 50%;
    overflow: hidden;
}
   
.op img {
    height: 100%;
    object-fit: cover;
}

.ned {
    flex: 2;
    max-height: 40%;
    padding: 20px;
}

.ned h3 {
    font-size: 2.4rem;
    line-height: 100%;
    padding-bottom: 2%;
}

.ned p {
    font-size: 1.6rem;
    text-transform: uppercase;
    padding-bottom: 2%;
}

.ned .button {
    width: auto;
    text-decoration: none;
}

.losning a:visited {
    color: var(--white);
}

.h3-red {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}


/* LOSNING SLUTTER */


/* INSTA STARTER */


.red {
    border-top: 100px solid var(--primary-color); /* Tilføjer en bred, farvet topkant baseret på variablen --primary-color */}

.absolute-secondary {
    color: var(--secondary-color)
}

.insta {
    background: var(--white);
    height: auto;
    display: flex;
    justify-content: center;
    flex-wrap: wrap; /* Tillader linjeskift for flexbørns elementer */
}

.feed {
    justify-content: flex-start;
    display: flex;
    overflow-x: scroll; /* Vandret rullebjælke, hvis indholdet er bredere end containeren */
    overflow-y: hidden; /* Skjuler lodret rullebjælke */
    white-space: nowrap; /* Forhindrer linjeskift i indholdet */
    height: 80%;
}

.insta .feed {
    height: auto;
    padding-bottom: 25%;
}

.post {
    width: auto;
    height: 60vh;
    padding: 20vh 10px 0 10px ;
    opacity: 30%;
    transform: scale(0.9); /* Gør elementet mindre */
    transition: 0.2s;
}

.post iframe {
    width: 30vh;
}

.post:hover {
    opacity: 100%;
    transform: scale(1);
}

.insta .citat {
    width: auto;
    margin-bottom: 3%;
}

.insta .citat h3 {
    line-height: 100%;
}


/* INSTA SLUTTER */


/* FOOTER STARTER */


footer {
    background: var(--black);
    display: flex;
}

.nyhedsbrev {
    width: 40%;
    background-color: var(--primary-color);
    padding: 20px 80px 50px 80px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.nyhedsbrev p {
    color: var(--white);
    font-size: 0.8rem;
}
  
form {
    color: var(--white);
}
  
.container {
    padding-bottom: 10px;
}

.container h2 {
    font-family: var(--headline);
    font-size: 4rem;
    vertical-align: top; /* Justerer vertikal placering */
    color: var(--secondary-color);
}

.container p {
    font-size: 1.5rem;
}
  
.container input {
    width: 100%;
    padding: 12px;
    display: inline-block;
    border: 1px solid var(--white);
    box-sizing: border-box;
    background: rgba(0,0,0,0.0);
}
  
input[type=submit] {
    background: rgba(0,0,0,0.0);
    border: 1px solid var(--white);
    color: white;
    width: 40%;
}
  
input[type=submit]:hover {
    background-color: var(--secondary-color);
    color: var(--black);
    border: none;
}

::placeholder {
    color: var(--white);
    opacity: 1;
  }

  input, select, textarea{
    color: var(--white)
}

.footer {
    display: flex;
    flex-direction: column;
    width: 60%;
}

.some {
    padding: 40px 80px 0 80px;
}

.some img {
    width: auto;
    height: 70px;
    margin-right: 10px;
}

.kontakt {
    padding: 40px 80px 50px 80px;
    color: white;
}

.sted {
    width: 100%;
}

.sted iframe {
  width: 100%;  
  height: 40vh;
  border: none;
}






@media only screen and (max-width: 1178px) {
    
    .mister section {
        padding: 10% 50px 10% 50px;
        width: 50%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        line-height: 120%;
    }

    .mister section h4 {
        font-size: 2rem;
    }

    .highlight {
        color: var(--secondary-color);
        font-size: 4rem;
        font-family: var(--headline);
    }

    


}


/* For larger mobile devices (landscape) */
@media only screen and (max-width: 1068px) {

    
    .mister section {
        padding: 10% 50px 10% 50px;
        width: 50%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        line-height: 120%;
    }


    .logobox {
        display: none;
    }

    .overskrift img {
        width: 100%;
    }

    .mister section h4 {
        font-size: 2rem;
    }

    .highlight {
        color: var(--secondary-color);
        font-size: 4rem;
        font-family: var(--headline);
    }
    

}


/* For larger mobile devices (landscape) */
@media only screen and (max-width: 767px) {

    .logo-two {
        display: block;
        color: white;
    }

    .logobox {
        display: none;
    }

    .landing {
        height: 100vh;
    }

    header nav .logo {
        display: block;
    }

    .overskrift {
        justify-content: flex-end;
        align-items: center;
        overflow: hidden;
    }
    
    .overskrift h2 {
        font-size: calc(10vh + 10vh);
    }

    .overskrift h2:nth-child(2) {
        padding-bottom: 10%;
    }

    .overskrift img {
        width: 100%;
    }

    .landing .main .intro h1 {
        font-size: 1.3rem;
    }

    .landing .main .intro {
        justify-content: center;
        padding: 0 5vh;
        align-items: center;
    }

    .landing .main .intro .button {
        width:100%;
        font-size: 2.5rem;
        margin-top: 20px;
    }



    .mister {
        flex-direction: column;
        align-items: center;
        justify-content: space-around;
        height: auto;
        padding: 10% 0;
    }

    .mister section img {
        width: 90%;
    }
    
    .mister section {
        width: 100%;
    }

    .mister section article {
        width: 100%;
    }

    .mister section h3 {
        font-size: 2.4rem;
    }

    .mister .square {
        display: none;
    }

    .absolute {
        position: relative;
        color: var(--white);
        font-size: 2rem;
    }





    .losning {
        display: flex;
        flex-direction: column;
        width: 100%;
        align-items: center;
        height: auto;
        padding: 10% 0;
    }

    .losning .mulighed {
        margin: 20px;
    }

    .losning .square {
        display: none;
    }

    .three {
        width: 100%;
        display: block;
    }

    .mulighed article h3 {
        font-size: 2rem;
    }

    .mulighed article p {
        font-size: 1.5rem;
    }

    .mulighed article a {
        font-size: 2rem;
    }

    .two {
        display: none;
    }

    .one {
        display: none;
    }





    .insta {
        padding: 10% 0;
    }

    .insta .square {
        display: none;
    }

    .insta .absolute-secondary {
        color: var(--black);
    }

    .insta .feed .post {
        padding: 0;
    }

    .insta .feed {
        height: auto;
        padding-bottom: 5%;
        margin-bottom: 5%;
    }

    .insta .citat h3 {
        font-size: 2rem;
    }





    footer {
        flex-direction: column;
        justify-content: center;
    }

    .nyhedsbrev {
        width: 100%;
    }

    .some {
        display: flex;
    }

    .footer {
        width: 100%;
    }


    .absolute {
        font-size: 3rem;
        padding-top: 20px;
        text-align: center;
        line-height: 100%;
    }

}



/* For small mobile devices (portrait) */
@media(max-width:480px) {

    header .navbar {
        padding: 120px 0 180px 0;
        width: 200px;
    }

    .logo-two {
        display: block;
        color: white;
    }

    .logobox {
        display: none;
    }

    header nav .logo {
        display: block;
    }

    .overskrift {
        justify-content: flex-end;
        align-items: center;
        overflow: hidden;
    }
    
    .overskrift h2 {
        font-size: calc(8vh + 8vh);
    }

    .overskrift h2:nth-child(2) {
        padding-bottom: 10%;
    }

    .overskrift img {
        width: 100%;
    }

    .landing .main .intro h1 {
        font-size: 1.3rem;
    }

    .landing .main .intro {
        justify-content: center;
        padding: 0 5vh;
        align-items: center;
    }

    .landing .main .intro .button {
        width:100%;
        font-size: 2.5rem;
        margin-top: 20px;
    }



    .mister {
        flex-direction: column;
        align-items: center;
        justify-content: space-around;
        height: auto;
        padding: 10% 0;
    }

    .mister section img {
        width: 90%;
    }
    
    .mister section {
        width: 100%;
    }

    .mister section article {
        width: 100%;
    }

    .mister section h3 {
        font-size: 2.4rem;
    }

    .mister .square {
        display: none;
    }

    .absolute {
        position: relative;
        color: var(--white);
        font-size: 2rem;
    }





    .losning {
        display: flex;
        flex-direction: column;
        width: 100%;
        align-items: center;
        height: auto;
        padding: 10% 0;
    }

    .losning .mulighed {
        margin: 20px;
    }

    .losning .square {
        display: none;
    }

    .three {
        width: 100%;
        display: block;
    }

    .mulighed article h3 {
        font-size: 2rem;
    }

    .mulighed article p {
        font-size: 1.5rem;
    }

    .mulighed article a {
        font-size: 2rem;
    }

    .two {
        display: none;
    }

    .one {
        display: none;
    }





    .insta {
        padding: 10% 0;
    }

    .insta .square {
        display: none;
    }

    .insta .absolute-secondary {
        color: var(--black);
    }

    .insta .feed .post {
        padding: 0;
    }

    .insta .feed {
        height: auto;
        padding-bottom: 5%;
        margin-bottom: 5%;
    }

    .insta .citat h3 {
        font-size: 2rem;
    }





    footer {
        flex-direction: column;
        justify-content: center;
    }

    .nyhedsbrev {
        width: 100%;
    }

    .some {
        display: flex;
    }

    .footer {
        width: 100%;
    }

    .absolute {
        font-size: 3rem;
        padding-top: 20px;
        text-align: center;
        line-height: 100%;
    }

}