/*Generelt Start*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f0f0f0;
    color: #222;
    line-height: 1.6;
}

a {
    text-decoration: none;
}

h2 {
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

p {
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
/*Generelt Slutt*/

/*Navigasjon Start*/
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #1a1a1a;
    padding: 10px 15px;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    background-color: rgb(255, 255, 255);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 15px;
}

.nav-links a {
    color: black;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.nav-links a:hover {
    color: #c62020;
}
/*Navigasjon Slutt*/

/*Forside Start*/
.Tittel {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px; /* Justerer avstanden mellom ordene */
    flex-wrap: wrap; /* Sørger for at teksten ikke brytes på små skjermer */
    background-color: rgba(0, 0, 0, 0);
}

.BakTekst {
    color: white;
    font-family: 'Aharoni', sans-serif;
}

.RødTekst {
    color: #c62020;
    font-family: 'Aharoni', sans-serif;
}

.Forside {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 50px 100px; /* Økt høyde */
    background: url('../Bilder/Svein.jpg') no-repeat center center/cover;
    color: white;
    min-height: 110vh; /* Økt høyde */
}

.Forside h1 {
    font-size: 3.5rem;
    text-transform: uppercase;
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.Forside p {
    font-size: 1.2rem;
    max-width: 600px;
    margin-top: 10px;
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.Utforsk-Knapp {
    display: inline-block;
    background: #c62020;
    color: #222;
    padding: 15px 40px;
    border-radius: 30px;
    font-size: 20px;
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    text-decoration: none;
    margin-top: 10px;
    transition: background 0.3s ease, transform 0.2s;
}

.Utforsk-Knapp:hover {
    background: #fc990e;
    transform: scale(1.05);
}
/*Forside Slutt*/

/*Spill og Quiz Start*/
.Spill-Knapp {
    background: #fc990e;
    color: white;
    padding: 15px 40px;
    border: none;
    border-radius: 30px;
    font-size: 20px;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s;
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin-top: 20px;
    margin-right: 10px;
}

.Spill-Knapp:hover {
    background: #c62020;
    transform: scale(1.05);
}

.Quiz-Knapp {
    background: #fc990e;
    color: white;
    padding: 15px 40px;
    border: none;
    border-radius: 30px;
    font-size: 20px;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s;
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin-top: 20px;
}

.Quiz-Knapp:hover {
    background: #c62020;
    transform: scale(1.05);
}

.Spill-Bilde {
    max-width: 800px;
    border-radius: 1px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 60%;
    margin-bottom: 30px;
    margin-top: 30px;  
}

.Spill-Seksjon {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
/*Spill og Quiz Slutt*/

/*Video Start*/
.Video-Seksjon {
    background: white;
    padding: 10px 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    margin-bottom: 30px;
}

.Video-Seksjon .content {
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 3px;
}

.Video-Seksjon .text {
    flex: 0 0 60%;
    margin-right: 20px;
}

.Video-Seksjon .video { 
    flex: 40%;
}

.Video-Seksjon video {
    width: 40vw;
    margin-left: -250px;
    height: auto;
    border-radius: 8px;
}
/*Video Slutt*/

/*Seksjon Start*/
.Seksjoner {
    padding: 80px 20px;
    text-align: center;
    background: rgb(247, 247, 247);
    margin-bottom: 30px;
    border-radius: 10px;
}

.Seksjoner2 {
    padding: 80px 20px;
    text-align: center;
    background: rgb(247, 247, 247);
    margin-bottom: 30px;
    border-radius: 10px;
    height: 30vh;
}

.section-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 20px;
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
/*Seksjon Slutt*/

/*Kampanjen Start*/
.Kampanjen {
    padding: 10px 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

.content {
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 3px;
}

.text {
    flex: 0 0 60%; /* Tekst tar 60% av bredden */
    margin-right: 20px; /* Avstand mellom tekst og bilde */
}

.image {
    flex: 40%; /* Bilde tar 40% av bredden */
}

.image img {
    width: 100%; /* Sørger for at bildet fyller hele plassen */
    height: auto;
    border-radius: 8px; /* Hvis du vil gi bildet avrundede hjørner */
}
/*Kampanjen Slutt*/

/* Scrolly Start */
.scrolly-container2 {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1s ease, transform 1s ease;
    height: 100vh;
}

.Scrollytelling {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 50px 20px;
}

.scrolly-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1s ease, transform 1s ease;
    width: 80%;
    margin-bottom: 0px;
    height: 100vh;
}

.scrolly-container.show, .scrolly-container2.show {
    opacity: 1;
    transform: translateY(0);
    height: 100vh;
}

.scrolly-text {
    font-size: 1.8rem;
    font-weight: bold;
    color: #c62020;
    width: 45%;
}

.scrolly-image {
    width: 45%;
    max-width: 500px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 60px;
}

.scrolly-image2 {
    max-width: 800px;
    border-radius: 1px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 50%;
    margin-bottom: 30px;
    margin-top: 30px;
}
/*Scrolly Slutt*/

/*Utforsk Start*/
.logo {
    width: 120px;
    margin: 20px;
}
/*Utforsk Slutt*/

/*Footer Start*/
footer {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 20px;
    background-color: #ffffff00;
    color: white;
}

.FooterTekst {
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: black;
}
/*Footer Slutt*/

/* Responsiv Start */
@media (max-width: 768px) {
    .Forside h1 {
        font-size: 2.5rem;
    }
    .Bidra-Knapp {
        font-size: 18px;
        padding: 12px 30px;
    }
    .section-title {
        font-size: 2rem;
    }

    .scrolly-container {
        flex-direction: column;
        text-align: center;
    }

    .scrolly-text, .scrolly-image {
        width: 100%;
    }

    .Video-Seksjon .content {
        flex-direction: column;
    }

    .Video-Seksjon .text, .Interaktiv-Seksjon .video {
        flex: 100%;
    }

    nav {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-around;
    }
}
/*Responsiv Slutt*/
