:root {
    --primary-color: #076615;
    --secondary-color: #2ecc71;
    --text-color: #022f0b;
    --background-color: #076615;
    --background-green: #79e1b7;
    --light-green: #daf7a6;
}

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

/* Body */
body {
    font-family: 'Gill Sans', sans-serif;
    color: var(--text-color);
    background-color: var(--background-color);
    line-height: 1.2em;
}

/* Main Section */
.mainsection {
    background-color: var(--secondary-color);
    width: 80%;
    margin: 1em auto 0;
}
@media (max-width: 768px) {
    .mainsection {
        background-color: var(--secondary-color);
        width: 98%;
        margin: 0.3em auto 0;
    }
}

/* Profile header og billede */
.profile-header {
    text-align: center;
    padding: 0.52em;
    background-color: var(--secondary-color);
}

.profile-img {
  width: 99%;
  height: auto;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid #ddd;
}
@media (max-width: 768px) {
  .profile-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 1px;
    margin: 0.2px;
    padding: 0;
  }
}
/* Navigation */
.navbar {
    background-color: var(--primary-color) !important;
    padding: 0.2rem 0; !important
    border: 0.5rem solid var(--secondary-color);
    margin-bottom: 1.8rem;!important
}

.nav-container {
    display: flex;
 align-items: center;
    margin-left: auto;
    margin-right: auto;
    padding: 0 2rem;
}

.logo {
    color: white;
    font-weight: bold;
    font-size: 1.5rem;
}

.nav-menu {
    background-color: var(--background-color);
    display: flex;
    list-style: none;
    font-size: 1.2em;
    font-weight: 500;
    margin-left: auto;
    margin-right: auto;
}

.nav-item {
    background-color: var(--primary-color);
    position: relative;
    color: var(--light-green);
}

.nav-link {
    color: white;
    text-decoration: none;
    padding: 0.5rem;
    display: block;
    transition: background-color 0.3s;
    z-index: 5;
}

.nav-link:hover {
    background-color: var(--light-green);
    color: var(--secondary-color)
}

.dropdown .nav-link::after {
    content: "▼";
    font-size: 0.6em;
    margin-left: 5px;
}

.submenu {
    font-size: 0.7em;
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--primary-color);
    list-style: none;
    min-width: 175px;
    z-index:5;
}

.submenu .nav-item {
    margin: 0;
    width: 100%;
    z-index: 2;
}

.dropdown:hover .submenu {
    display: block;
    z-index: 2;
}

.hamburger {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

.hr {
    border-top: 0.3rem solid var(--primary-color);
   
}

/* Video Section */
.video-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
    margin: 2rem auto 2rem auto; 
    padding-bottom: 2em;
    width: 80%;
}

.video {
    position: relative;
}

.thumbnail {
    position: relative;
    cursor: pointer;
}

.thumbnail img {
    width: 100%;
    display: block;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
    color: white;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    padding: 0.5rem 1rem;
    pointer-events: none;
}
p.video2 {      
    text-align: center;
    font-weight: 500;
    font-size: 1.1rem;
    margin-top: 1rem;
    color: rgb(221, 240, 216);
}

/* Footer */
footer {display: none;
    background-color: var(--background-green);
    color: var(--text-color);
    text-align: center;
    padding: 0.4rem;
    max-height: 1.5em;
}

/* Responsive Nav & Video */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        align-items: flex-start;
    }
    .hamburger {
        display: block;
        margin-left: 2rem;
    }
    .nav-menu {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: var(--primary-color);
        font-size: clamp(0.7rem, 1vw, 0.6rem);
    }
    .nav-menu.active {
        display: flex;
    }
    .nav-item {
        font-size: clamp(0.7rem, 1vw, 0.6rem);
        margin: 2px;
        width: 100%;
    }
    .dropdown .nav-link::after {
        content: "►";
        float: right;
    }
    .submenu {
        position: static;
        display: none;
        width: 100%;
        padding-left: 1rem;
        font-size: clamp(0.7rem, 1vw, 0.8rem);
    }
    .submenu.active {
        display: block;
    }
    .video-container {
        grid-template-columns: 1fr;
        width: 100%;
    }
}

/* --- Spalter til Band --- */ 
.container {
    max-width: 1000px;
    margin: auto;
    overflow: hidden;
}

/* Flex-row (Band sektion) */
.row {
    display: flex;
    flex-wrap: wrap; /* Gør det muligt for kolonner at stable på små skærme */
    margin-bottom: 2rem;
    background-color: #2ecc71;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.left-column {
    flex: 1;
    min-width: 200px;
    padding-right: 1.5rem;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.right-column {
    flex: 2;
    min-width: 300px;
    border-style: solid;
    padding: 0.2em;
    margin: 0.4em;
    align-items: flex-start;
}

.rowv {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    flex-direction: column; 
    margin-bottom: 2rem;
    background-color: #2ecc71;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.left-columnv {
    flex: 1;
    min-width: 200px;
    padding-right: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.right-columnv {
    flex: 2;
    flex-direction: column;
    min-width: 300px;
}

/*.kontakt-container{

}*/
.kontakt-row {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: center;
}
.kontakt-block {
  width: 38%;
  border-style: solid;
  border-width: 0.1em;
  border-color:#daf7a6;
/*  border-radius: 100%;*/  
  padding-top: 1em;
  margin-left: 0.2em;
  margin-right: 0.2em;
}

/* Gør billeder responsive */
.band-img {
    max-width: 95%;
    height: auto;
    border-radius: 50%;
    border: 3px solid #ddd;
    }

/* @media (max-width: 768px) 
{
    .band-img {
        width: 50%;
         height: auto;
        border-radius: 50%;
        border: 1px solid #ddd;
        margin-bottom: 1em;
    }
    
}    
*/
/* Typografi for overskrifter i band sektion */
.right-column h2 {
    color: var(--text-color);
    text-align: center;
    margin-top: 0;
}

/* Media query for små skærme (Band sektion) */
@media (max-width: 768px) {
    .row {
        flex-direction: column;
        align-items: center;
    }
    .left-column {
        padding-right: 0;
        padding-bottom: 1.5rem;
    }
    .kontakt-row {
        flex-direction: column;
        align-items: center;        
    }

}

/* Typografi */
h1 {
    font-size: clamp(1.2rem, 3vw, 2rem);
    color: #013509;
    font-weight: 800;
    text-align: center;
    margin-bottom: 1rem;
    margin-top: 0.5em;
    
}

h2 {
   font-size: clamp(1rem, 2vw, 1.5rem);
    text-align: center;
    color: #013509;
    margin-bottom: 0.7rem;
    margin-top: 07.rem;
    padding-top: 0.7rem;
}
h3 {
 font-size: clamp(1rem, 1.9vw, 1.2rem);
    text-align: center;
    color: #045f11;
    margin-bottom: 0.5rem;
    font-weight: 600;   
}

p {
    font-size: clamp(1rem, 1.8vw, 1.1rem);
    font-weight: 400;
    color: var(--text-color);
    width: 80%;
    margin: 0 auto 1rem;
    line-height: 1.4rem;
}
.knap {
    display: block;
    height: 3em;
   
    margin: auto;
 
  border: 0.2em solid green;
  padding: 10px;
  text-align: center;  
   
    font-size: 1.1em;
    text-decoration:none;
    color:#daf7a6;
    background-color: #076615;
    }
.knap link{
  display: block;
    height: 3em;
    width: 50%;
    margin: auto;
 
  border: 0.2em solid green;
  padding: 10px;
  text-align: center;  
   
    font-size: 1.1em;
    text-decoration:none;
    color:#daf7a6;
    background-color: #076615;
    }  
}    
