@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-reverse;
    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);
        outline: solid 6px var(--white);
        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%;
}

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

.landing {
    display: flex;
}

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

.overskrift {
    height: 100vh;
    overflow: hidden;
    display: flex;
    background-image: url(/img/stot.webp)  ;
    background-blend-mode: multiply;
    background-color: var(--secondary-color);
    background-repeat:no-repeat;
    background-size: auto 100%;
    background-position: left;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.overskrift h2 {
    color: var(--white);
    font-family: var(--headline);
    z-index: 2;
    font-size: 20rem;
    line-height: 80%;
}

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

.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;
    display: flex;
    justify-content: center;
    align-items: center;
}

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

.absolute {
    position: absolute;
}

.arrow {
    fill: none;
    stroke: var(--white);
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 5px;
    width: 6%;
    position: absolute;
    bottom: 10%;
    opacity: 0.5;
}


/* LANDING PAGE SLUT */


/* LOSNING STARTER */


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

.absolute-white {
    color: var(--black);
    margin-top: 25px;
}

.padding {
    padding-top: 10%;
}

.losning {
    background: var(--secondary-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;
    max-width: 40%;
    overflow: hidden;
}
   
.venstre img {
    height: 100%;
    object-fit: cover;
}

.hojre {
    flex: 2;
    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;
}

.one {
    display: flex;
    width: 25%;
    margin: 0 20px
}

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

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

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

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


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









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



}


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

   

    header nav .logo {
        display: block;
    }



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

    .overskrift {
        justify-content: flex-end;
    }
    
    .overskrift h2 {
        font-size: 20vh;
        padding-bottom: 20px;
    }

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

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

    .overskrift {
        align-items: center;
        flex-direction: column;
        justify-content: center;
    }





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



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


    .arrow {
        width: 20%;
    }

}



/* 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: 20%;
    }

    .logobox {
        display: none;
    }

    header nav .logo {
        display: block;
    }

    .overskrift {
        align-items: center;
        flex-direction: column;
        justify-content: center;
    }
    
    .overskrift h2 {
        font-size: 20vh;
        padding-bottom: 20px;
    }

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

    .arrow {
        width: 20%;
    }



    .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: 1.8rem;
    }

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

}