@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('your-font.woff2') format('woff2');
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


: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);
    font-family: var(--font);
}

h3 {
    font-family: var(--headline);
    font-size: 2.8rem;
    text-transform: uppercase;
}

header {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 25px;
    top: 0;
    left: 0;
    right: 0;
    justify-content: space-between;
    color: var(--white);
    font-family: var(--headline);
    position: fixed;
    z-index: 1000;
}

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;
}

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(--black);
    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);
    display: none;
}

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

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

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;
    display: flex;
    padding: 50px 0;
}

.logo-two {
    width: 130px;
    height: auto;
    display: flex;
    position: absolute;
    fill: var(--white);
    margin: 2% 0 0 2%;
}

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

.landing {
    display: flex;
}


.eventsbox {
    background: var(--white);
    width: 40%;
    height: 20vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 0 0 4% 2%;
    padding: 2.5%;
    text-transform: uppercase;
    line-height: 1.2;
    overflow: hidden;
}

.eventsbox h3 {
    font-size: 4rem;
}

.eventsbox h4 {
    font-size: 1rem;
}

.landing .main {
    width: 100%;
}

.overskrift {
    height: 60vh;
    overflow: hidden;
    display: flex;
    background-image: linear-gradient(to top, rgb(40, 66, 33),rgba(40, 66, 33, 0.3)), url(/img/begivenhed-event.webp);
    background-blend-mode: multiply;
    background-color: var(--secondary-color);
    background-repeat:no-repeat;
    background-size: auto 100vh;
    background-position: right;
    align-items: flex-start;
    flex-direction: column;
    justify-content: flex-end;
}

.overskrift h2 {
    color: var(--secondary-color);
    font-family: var(--headline);
    z-index: 2;
    line-height: 80%;
    padding-left: 3%;
    text-wrap: balance;
    font-size: 30vh;
}

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

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

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

.h3 {
    height: 10vh;
    text-align: center;
}

.absolute {
    position: absolute;
    color: white;
    z-index: 3;
    padding-top: 1%;
}


/* LANDING PAGE SLUT */


/* EVENTS START */


.square {
    width: 60%;
    height: 0; 
    border-left: 100px solid transparent; 
    border-right: 100px solid transparent; 
    border-top: 100px solid var(--black);
    position: absolute;
    z-index: 3;
}

.events {
    background: var(--white);
    height: auto;
    display: flex;
    justify-content: center;
    overflow: hidden;
    padding-bottom: 10vh;
}

.events-hvid {
    background: var(--white);
    position: absolute;
    width: 100%;
    height: 63vh;
    z-index: 2;
}

.events section {
    padding: 15vh 50px 0 50px;
}

.gallery {
    display: grid;
    grid-template-columns: 2fr 2fr 2fr;
    gap: 2%;
    z-index: 3;
    padding-top: 10px;
}


.begivenhed {
    color: var(--secondary-color);
    font-family: var(--headline);
    line-height: 100%;
    font-size: 2.4rem;
    text-transform: uppercase;
    text-align: center;
}

.citat {
    width: 60vh;
}

.citation {
    width: 30px;
}

.citat svg {
    fill: var(--primary-color);
}

.citation:nth-child(3) {
    float: right;
}


.events section article {
    padding-bottom: 20px;
}

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

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


/* EVENTS 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;
    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;
}


.error {
    height: 100%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 0 20%;
    background-image: url("/img/scene.webp");
    background-blend-mode: overlay;
    background-color: var(--primary-color);
}

.error h1, .error h1, .error h1 {
    color: var(--white);
    text-transform: uppercase;
    line-height: 100%;
    padding-top: 3%;
}

.error h1 {
    font-size: 17rem;
    font-family: var(--headline);
}

.error h2 {
    font-size: 2.3rem;
    font-family: var(--font);
}

.error h3 {
    font-size: 1.6rem;
    font-family: var(--font);
}

.error-main {
    height: 100vh;
    overflow: hidden;
    background: var(--primary-color);
}






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

    .eventsbox {
        background: var(--white);
        width: 50%;
        height: 20vh;
        display: flex;
        flex-direction: column;
        justify-content: center;
        margin: 0 0 4% 2%;
        padding: 2.5%;
        text-transform: uppercase;
        line-height: 1.2;
        overflow: hidden;
    }


}


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


    .logo-two {
        width: 120px;
    }



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

    .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;
    }

    .eventsbox {
        width: 50vh;
        text-align: center;
    }



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


    .gallery {
        grid-template-columns: 2fr 2fr;
    }
    
    .events .absolute {
        color: var(--secondary-color);
    }

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

    .events section article {
        width: 100%;
    }

    .events section h3 {
        font-size: 1.8rem;
    }

    .events .square {
        display: none;
    }

    .absolute {
        position: relative;
        color: var(--white);
        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%;
    }


    .error h1, h2, h3 {
        transform: scale(0.8);
        padding-top: 0%;
    }

}



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

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

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

    header nav .logo {
        display: block;
    }

    .events-hvid {
        height: 30vh;
    }

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

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

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

    .landing .main .intro .button {
        width:100%;
        font-size: 2.5rem;
        margin-top: 20px;
    }
    
    .eventsbox {
        width: 42vh;
        text-align: center;
    }




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

    .gallery {
        grid-template-columns: 1fr;
    }

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

    .events section article {
        width: 100%;
    }

    .events section h3 {
        font-size: 1.8rem;
    }

    .events .square {
        display: none;
    }

    .absolute {
        position: relative;
        color: var(--white);
        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%;
    }


    .error h1, h2, h3 {
        transform: scale(0.8);
        padding-top: 0%;
    }

}