@media only screen and (max-width: 1024px) {
    .title{
        background-image: url("../../img/rogk/806A5390.jpg") !important;
    }
    .title-h1{
        text-align: right !important;
    }
    .program > article{
        width: 80vw !important;
        margin: 50px 50px 50px 50px !important;
    }
}
*, *::before, *::after {
    box-sizing: border-box;
}
:root{
    --bgcolor: rgb(249, 249, 241);
    --textcolormain: #000000;
    --textcolorinverse: #ffffff;
    --primary-brown: rgb(112, 83, 77);
}

html, body, header, .title {
    width: 100%;
    max-width: 100%;
}
html, body {
    overflow-x: hidden;
}
html{
    overflow-x: hidden;
    background-color: var(--bgcolor);
}
body{
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    margin: 0;
    color: black;
    max-width: 100%;
    white-space: normal;
}
/* --- Header og Tittel Seksjon --- */
.title{
    margin-top: 0;
    padding-bottom: 0; /* Endret fra 10vh for å minske gap */
    height: 45vh;
    background-image: url("../../img/rogk/806A5745.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}
.title-opacity-layer{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(rgba(255,255,255,0) 50%, rgba(249,249,241,1) 100%);
}

.title-header {
    position: absolute;
    top: 30%;
    left: 10%;
    right: 10%;
    width: 80%;
    color: var(--textcolorinverse);
    z-index: 2;
    text-shadow: 0px 0px 10px rgba(0,0,0,0.3);
}
.title-h1{
    text-align: left;
    font-size: 60px;
    margin-bottom: 0;
    font-weight: 100;
    font-family: 'EB Garamond', serif;
}

.title, .title-h1, h1{
    font-family: 'EB Garamond', serif;
}

.paamelding{
    width: 100vw;
    overflow-x: hidden;
}
.paamelding > article{
    margin: 50px;
}
.paamelding > article > p{
    word-wrap: break-word;
    white-space: normal;
    font-size: 20px;
    line-height: 1.5;
}
.paamelding > article > a{
    color: rgb(112, 83, 77);
    font-size: 20px;
    font-family: sans-serif;
}
h2{
    font-size: 32px;
}



footer{
    height: 180px;
    color: rgb(112, 83, 77);
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}
.footer-content{
    margin: 0 5% 0 5%;
    height: 150px;
    display: flex;
    flex-direction: row;
    align-items: center;
    font-size: 12px;
    justify-content: space-between;
}
.footer-title{
    width: 150px;
}
.copyright{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    align-items: center;
}
.contact > p > a{
    color: rgb(112, 83, 77);
}
.contact > h5{
    font-size: 14px;
}
footer > p{
    text-align: center;
    font-size: 14px;
}