@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

img{
    width: 100%;
    height: 100%;
}

body{
    background-color: #FFFF9A;
    font-size: x-large;
    margin: 0; padding: 0;
    height: 100%;
    font-family: montserrat;
}

.nav a.active {
    background-color: #fffd93; /* Highlight color */
    color: darkolivegreen; /* Text color for active link */
    border-radius: 5px;
}

.header{
    display: flex; /* Use Flexbox */
    align-items: center; /* Vertically center items */
    justify-content: space-between; /* Equal space between logo and navigation */
    background-color: #E6D55A; /* Matching yellow */
    box-sizing: border-box;
    width: 100%;
    padding: 10px 10px; /* Add some padding around the header */
    position: relative;
    color: #000;
}


.footer{
    position: sticky;
    width: 100%;
    background-color: #E6D55A;
    color: #000000;
    text-align: center;
    box-sizing: border-box;
    padding: 10px 0px;
    font-family: Arial, sans-serif;
    z-index: 10;
}

.footer-links{
    display: flex;
    justify-content: space-evenly;
    gap: 0px;
    margin-bottom:10px;
    height: auto;
    color: black;
}

.footer a{
    color: black;
    text-decoration: none;
}

.footer-links a:hover {
    color: #000000;
    background-color: yellow ;
    opacity: 0.7;
    text-decoration:underline;
    transition: color 0.3s ease;
}

.footer p {
    font-size: 14px;
    margin: 0;
}

.intro-index section, .flow1-container section, .flow2-container section, .flow3-container section, .flow4-container section, .flow5-container section{
    padding:0 10%;
}

.logo img {
    max-height: 80px; /* Prevents squishing */
    width: auto;
}

.logo img:hover {
    transform: scale(1.20); /* Slight zoom effect */
    transition: transform 0.3s ease;
}

.burger-icon{
    display: none; 
    font: 28px; 
    cursor: pointer;
}

.nav{
    flex-grow: 1;
}

.nav a{
    text-decoration: none;
    color: black;
}

.nav a:hover{
    text-decoration: none;
    color: #000000; /* Highlighted link color */
    background-color: yellow ;
    opacity: 0.7;
    transition: color 0.3s ease;
}

.menu-toggle{
    display: none;
}

/* Navigation Styles */
.nav ul {
    display: flex; 
    justify-content: space-evenly;
    align-items: center;
    list-style: none;
    margin: 0; 
    padding: 0;
    width: 100%;
}

.nav li {
    color: #330099;
    font-family: Arial, sans-serif;
    text-align: center;
    white-space: nowrap;
}


.flow1-liste{
    text-align: center;
    margin-bottom: 20px;
}

 ul{
    display: inline-block;
    text-align: left;
    gap: 2%;
    width: 30%;
  }


/*-------Intro-----*/

.intro-index{
    flex-direction: row;
    display: flex;
    padding: 5% 5% 0 5%;
}

.intro-text{
    flex: 2;
    margin-right: 4%;
    height: 800px;
}

.intro-billede {
    position: relative;
    flex: 1;
    width: 50%; /* Set desired image width */
    height: auto; /* Set desired image height */
}

.intro-billede img {
    position: absolute;
    flex: 1;
    width: auto;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.5s ease; /* Smooth transition effect */
}

.intro-billede img:first-child {
    opacity: 1;
}

.intro-billede img:last-child {
    opacity: 0;
}

.intro-billede:hover img:first-child {
    opacity: 0;
}

.intro-billede:hover img:last-child {
    opacity: 1;
}

.intro-billede-rep{
    display: none;
}

/*---Om mig---*/ 

.ommig-index{
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}


.ommig-text{
    width: 60%;
}

.ommig-billede video{
width: 50%;    
}

/*-------flow 1 -----*/

.flow1-intro{
    margin-bottom: 2%;
    text-align: center;
    padding-right: 5%;
    padding-left: 5%;
}

.flow1-text1{
    flex: 1;
    padding-top: 10px;
}

.flow1-billede1{
    flex: 1;
    height: auto;
    width: 100%;
    display: block;
}

.flow1-text2{
    flex: 1;
    padding-top: 10px;
}

.flow1-text2-rep{
    flex: 1;
    padding-top: 10px;
    display: none;
}
.flow1-billede2{
    flex: 1;
    height: auto;
    width: 100%;
}

.flow1-text3{
    flex: 1;
    padding-top: 10px;
}


.flow1-billede3{
    flex: 1;
    width: 100%;
    height: auto;
}


.flow1-text5{
    flex: 1;
    padding-top: 10px;
}

.flow1-billede5{
    flex: 1;
    width: 100%;
    height: auto;
}

.flow1-text6-rep{
    flex: 1;
    padding-top: 10px;
    display: none;
}

.flow1-text6{
    flex: 1;
    padding-top: 10px;
}

.flow1-billede6{
    flex: 1;
    width: 100%;
    height: auto;
}


/*-- FLow 2 --*/



.flow2-intro{
    margin-bottom: 5%;
    text-align: center;
    padding-right: 5%;
    padding-left: 5%;
}

section{
    display: flex;
    padding-right: 5%;
    padding-left: 5%;
}

.flow2-billede1{
    flex: 1;
    height: auto;
    width: 70%;
}

.flow2-text1 img{
    width: 100%;
    height: auto;
    margin-top: 50px;
}

.flow2-text1{
    flex: 1;
    margin-top: 1%;
    font-size: x-large;
}

.flow2-text2{
    flex: 1;
    padding-top: 10px;
}

.flow2-text2-rep{
    flex: 1;
    padding-top: 10px;
    display: none;
}
.flow2-billede2{
    flex: 1;
    height: auto;
    width: 70%;
    display: block;
}

.flow2-billede3{
    flex: 1;
    height: auto;
    width: 100%;
}

.flow2-text3{
    flex: 1;
    padding-top: 10px;
}

.flow1-text4{
    flex: 1;
    padding-top: 10px;
}

.flow1-text4-rep{
    flex: 1;
    padding-top: 10px;
    display: none;
}

.flow1-billede4{
    flex: 2;
    width: 70%;
    min-width: 30%;
    height: auto;
    
}

.flow2-text4{
    flex: 1;
    padding-top: 10px;
}

.flow2-billede4{
    flex: 1;
    width: 70%;
    min-width: 30%;
    height: auto;
    
}

.flow2-text4-rep{
    flex: 1;
    padding-top: 10px;
    display: none;
}


.flow2-text5{
    flex: 1;
    padding-top: 10px;
}

.flow2-billede5{
    flex: 1;
    width: 70%;
    min-width: 30%;
    height: auto;
    
}

.flow2-text6{
    flex: 1;
    padding-top: 10px;
}

.flow2-billede6{
    flex: 1;
    width: 70%;
    min-width: 30%;
    height: auto;
    
}

.flow2-text6-rep{
    flex: 1;
    padding-top: 10px;
    display: none;
}

.flow2-text7{
    flex: 1;
    padding-top: 10px;
}

.flow2-text7 img{
height: auto;
width: 90%;


}

.flow2-billede7{
    flex: 1;
    width: 70%;
    min-width: 30%;
    height: auto;
    
}

.flow2-text8-rep{
    flex: 1;
    padding-top: 10px;
    display: none;
}

.flow2-text8{
    flex: 1;
    padding-top: 10px;
}

.flow2-billede8{
    flex: 2;
    width: 70%;
    min-width: 30%;
    height: auto;
    
}

/*-----------------flow 3 aka Politiker opgaven-----------------*/

.flow3-intro{
    margin-bottom: 5%;
    text-align: center;
    padding-right: 5%;
    padding-left: 5%;
}



section{
    display: flex;
    gap: 1em;
    padding-right: 5%;
    padding-left: 5%;
}

.flow3-billede1{
    flex: 1;
    height: auto;
    width: 100%;
}


.flow3-text1{
    flex: 1;
    font-size: x-large;
}


.flow3-text2{
    flex: 1;
    padding-top: 10px;
}

.flow3-text2-rep{
    flex: 1;
    padding-top: 10px;
    display: none;
}

.flow3-billede2{
    flex: 1;
    height: auto;
    width: 100%;
    display: block;
}


.flow3-text3{
    flex: 1;
    padding-top: 10px;
}

.flow3-billede3{
    flex: 1;
    width: 100%;
    height: auto;
    
}

/*-- FLow 4 --*/


.flow4-container section{
    padding-top: 5%;
}

.flow4-intro{
    margin-bottom: 5%;
    text-align: center;
    padding-left: 10%;
    padding-right: 10%;
}

.flow4-text1{
    flex: 1;
    padding-top: 10px;
}

.flow4-billede1{
    flex: 0.7;
}

.flow4-billede1 img, .flow4-billede3 img{
    flex: 1;
    height: auto;
    width: 100%;
    border-radius: 20px;
}


.flow4-text2{
    flex: 1;
    padding-top: 10px;
}

.flow4-text2-rep{
    flex: 1;
    padding-top: 10px;
    display: none;
}

.flow4-billede2{
    flex: 1;
    height: auto;
    width: 100%;
}

.flow4-text3{
    flex: 1;
    padding-top: 10px;
}

.flow4-billede3{
    flex: 2;
    height: auto;
    width: 100%;
}
.flow4-text4{
    flex: 2;
    padding-top: 10px;
}

.flow4-text4-rep{
    flex: 2;
    padding-top: 10px;
    display: none;
}

.flow4-billede4{
    flex: 1;
    height: auto;
    width: 100%;
}

.flow4-text5{
    flex: 1;
    padding-top: 10px;
}

.flow4-billede5{
    flex: 2;
    height: auto;
    width: 100%;
}
/*------------------Flow5-------------*/
.flow5-container section{
    padding-top: 1%;
}

.flow5-intro{
    margin-bottom: 2%;
    text-align: center;
    padding-right: 5%;
    padding-left: 5%;
}


.flow5-text1{
    flex: 1;
}

.flow5-text1 img{
    width: 100%;
    height: auto;
}

.flow5-billede1{
    flex: 1;
    height: auto;
    width: 100%;
}

.flow5-text2{
    flex: 1;
    padding-top: 10px;
}

.flow5-text2-rep{
    flex: 1;
    padding-top: 10px;
    display: none;
}
.flow5-billede2{
    flex: 1;
    height: auto;
    width: 100%;
}

.flow5-text3{
    flex: 1;
    padding-top: 10px;
}


.flow5-billede3{
    flex: 1;
}

.flow5-text4{
    flex: 1;
    padding-top: 10px;
}

.flow5-billede4{
    flex: 1;
    height: auto;
    width: 100%;
}

.flow5-text4-rep{
    flex: 1;
    padding-top: 10px;
    display: none;
}


.flow5-billede5{
    display: flex;
    flex-direction: row;
    flex: 1;
}

.flow5-billede5 img{
    height: auto;
    width: 50%;
}

.flow5-text5{
    flex: 2;
    padding-top: 10px;
}

.flow5-text6{
    flex: 1;
    padding-top: 10px;
}

.flow5-text6-rep{
    flex: 1;
    padding-top: 10px;
    display: none;
}
.flow5-billede6{
    flex: 1;
    height: auto;
    width: 100%;
}

.video-container {
    display: flex; /* Arrange videos side by side */
    justify-content: center; /* Center videos horizontally */
    gap: 20px; /* Space between videos */
    padding: 20px; /* Padding for spacing at the bottom */
    background-color: #ffffa5; /* Light background */
}

/* Individual Video Styling */
.video video {
    width: 100%; /* Set a fixed width for the videos */
    height: auto; /* Maintain video aspect ratio */
    cursor: pointer; /* Indicate videos are clickable */
    border: 2px solid #ffffa5; /* Light border */
    border-radius: 8px; /* Rounded corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

/* Hover Effect */
.video video:hover {
    transform: scale(1.05); /* Slight zoom effect */
}


.flow1-intro, .flow2-intro, .flow3-intro, .flow4-intro, .flow5-intro{
    padding: 0 10%;
    
}

/*------------------------------------------------------Responsive--------------------------------------------------------------------*/

@media screen and (max-width:1070px) {

.ommig-text{
    font-size: medium;
}

.flow1-liste{
    font-size: medium;
}

    .video-container {
        flex-direction: column; /* Stack videos vertically */
        align-items: center; /* Center videos */
    }

    .video video {
        width: 90%; /* Make videos take up more space on smaller screens */
    }
    
    .burger-icon{
        display: block;
    }

/* General Header Styling */
.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #ffc800;
    padding: 10px 20px;
    box-sizing: border-box;
    position: relative;
    z-index: 2;
}


.logo img {
    max-height: 100px;
    width: auto;
}


.burger-icon { 
    font-size: 70px;
    cursor: pointer;
    z-index: 3;
    position: absolute;
    margin-left: 80%;
}

/* Navigation Menu */
.nav {
    position: fixed;
    top: 0;
    left: -250px; /* Hidden off-screen initially */
    height: 100%;
    width: 250px;
    background-color: #E6D55A;
    transition: left 0.3s ease; /* Smooth slide-in effect */
    z-index: 1;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.5);
}

/* Menu Links */
.nav ul {
    list-style: none;
    margin: 0;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 100px;
}

.nav a {
    text-decoration: none;
    color: #000000;
    font-size: 28px;
    font-family: Arial, sans-serif;
}

/* Hidden Checkbox */
.menu-toggle {
    display: none;
}

/* Show the menu when the checkbox is checked */
.menu-toggle:checked ~ .nav {
    left: 0; /* Slides the menu in from the left */
}



.intro-index section, .flow1-container section, .flow2-container section, .flow3-container section, .flow4-container section, .flow5-container section{
        flex-direction: column;
        text-align: center;
        align-items: center;
        margin: 1em 1em;
        padding:0;
        font-size: medium;
    }

/*--reverse metode--*/
.flow1-text2, .flow1-text4, .flow1-text6, .flow2-text2, .flow2-text4, .flow2-text6, .flow2-text8, .flow3-text2, .flow4-text2, .flow4-text4, .flow5-text2, .flow5-text4, .flow5-text6{
    display: none;
}
.flow1-text2-rep, .flow1-text4-rep, .flow1-text6-rep, .flow2-text2-rep, .flow2-text4-rep, .flow2-text6-rep, .flow2-text8-rep, .flow3-text2-rep, .flow4-text2-rep, .flow4-text4-rep, .flow5-text2-rep, .flow5-text4-rep, .flow5-text6-rep{
    display: block;
}
/*--reverse metode slut--*/

.intro-index{
    padding: 0 0 0 0;
}

.footer-links{
    flex-direction: column;
    gap: 10px;
    width: 100%;
}

.intro-billede{
    display: none;
}

.intro-billede-rep{
    display: block;
}

.intro-text{
    margin-top: -10%;
}

.intro-text h1, h2{
background-color: #E6D55A;
}


.flow5-billede5 img{
    width: 50%;
    height: auto;
    text-align: center;
}

.header{
    flex-direction: column;
}


}

