* {
    margin: 0;  
}

body{
    background: linear-gradient(to right, #000, #daa520); /* Black to gold */
}

header {   
    text-align: center;
    background-color: #f8f1e8;
}

header a {
    display: flex;
}

header nav ul li {
    display: inline;
    white-space: nowrap;
}


.left-icon {
    width: 12%;
    height: auto;
    margin: 0.8rem auto;
    display: flex;
}

nav {
    position: sticky; 
    top: 0;
    left: 0;
    width: 100%;
    background-color:  rgba(0, 0, 0, 0.8); 
    color:white;
    padding: 1rem 0;
    text-align: center;
}

nav label img {
    width: 15%;
    height: auto;
    margin-right: 2%;
    position: absolute;
    right: 0;
    top: 0;
    margin-top: 4%;
}

#menu-bar {
    display: none;
}

#menu-bar:checked ~ ul {
    display: block;
}

#menu-bar:checked ~ ul li {
    background-color: rgba(0, 0, 0, 0.8);
}

#menu-bar:checked ~ ul li a {
    display: block;
    margin: 0 auto;
    text-decoration: none;
    color: var(--primary);
    padding: 0.3rem;
    font-size: 2rem;
}

header #menu-bar ul li:focus-within > ul,
header #menu-bar ul li:hover > ul {
    display: block;
}

nav ul {
    display: none;
}


@font-face {
    font-family: 'ackor-demo'; 
    src: url('../fonts/AckorDemo-Regular.otf') format('otf');
    font-weight: normal; 
    font-style: normal; 
}


.hero {
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.hero-overlay h1 {
    font-size: 3rem;
    text-align: center;
    margin: 0;
    font-family: 'ackor-demo', 'Times New Roman', Times, serif;
}

.hero-overlay .highlight {
    color: #fcd34d; 
    font-family: 'ackor-demo', 'Times New Roman', Times, serif;
    font-size: 5rem;
}

.description {
    position: relative;
    background: url('../img/frivillig.webp') no-repeat center center/cover; 

    height: 400px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.description-content {
    background-color: rgba(0, 0, 0, 0.9); 
    padding: 50px;
    width: 50%;
    justify-content: center;
    align-items: center;
    display: flex;
    border-radius: 10px;
    text-align: center;
}

.description-content p {
    margin: 0;
    font-size: 1.2rem;
}


.frivillig-info {
    color: #FFFFFF;
    padding: 50px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 120px;
}


.bølge-grafik img{
    position: absolute;
    top: 870px;
    left: 0;

}

.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 800px;
    margin: auto;
}


.text-content h2 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
}

.text-content p {
    font-size: 18px;
    line-height: 1.6;
}

.button-container {
    text-align: center;
    margin-top: 20px;
}
  
.frivillig1-button {
    display: inline-block;
    padding: 20px 40px;
    font-size: 20px;
    font-weight: bold;
    color: white;
    background: rgba(0, 0, 0, 0.8);
    text-decoration: none;
    border-radius: 25px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s, box-shadow 0.2s;
}
  
.frivillig1-button:hover {
    transform: scale(1.05);
    box-shadow: 0px 6px 8px rgba(0, 0, 0, 0.3);
}
  
.frivillig1-button:active {
    transform: scale(1);
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
}

.linje{
    border: none;
    height: 4px;
    background-color: #000;
    width: 100%;
    margin: 20px auto;
  }

  footer a {
    color: #FFD700;
    text-decoration: none;
    font-size: 1.5rem;
  }

  footer .social-links a {
    margin: 0 70px;
  }

  footer {
    text-align: center;   
    background:rgba(0, 0, 0, 0.8);
    padding: 20px;
}


form {
    display: grid;
    margin-bottom: 1.5rem;
    text-align: left;
    max-width: 350px; 
    margin: 0 auto;   
    color: white;
}

form label {
    font-size: 1rem;
    font-weight: bold;
}

form input[type="text"] {
    padding: 0.8rem;
    font-size: 1rem;
    border: 1px solid white;
    border-radius: 4px;
}

form input[type="submit"] {
    background-color: #4f402c; 
    color:  white;
    border: none;
    padding: 0.6rem 1.4rem;
    cursor: pointer;
    font-size: 1rem;
    border-radius: 4px;
}

footer h2 {
    font-size: 3rem;
    padding-top: 2.5rem;
    padding-bottom: 1rem;
}

.contact-info h2 {
    font-size: 45px;
    color: white;
    margin-bottom: 15px;
    text-align: center;
}


form input[type="submit"]:hover {
    background-color: #8F7858;
}

.booking-form input[type="text"],
.booking-form input[type="email"],
.booking-form input[type="tel"] {
    width: 100%;               
    padding: 8px;             
    margin-bottom: 10px;      
    border: 1px solid #4f402c; 
    border-radius: 4px;        
    box-sizing: border-box;   
    font-size: 14px;           
    background-color: white;  
}

.submit-button {
    background-color: #4f402c;
    color: white;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    border-radius: 4px; 
}

.kontakt1, .kontakt2 {
    font-size: 15px;
    color: white;
    line-height: 1.6;
    text-align: center;
}

.booking-form h2 {
    font-size: 35px;
    color: white; 
    margin-bottom: 15px;
    max-width: 400%;
    text-align: center;
}

ul {
    list-style-type: none; 
    padding: 0; 
    margin: 0; 
}

footer ul li{
    font-size: 1.1rem;
}

@media only screen and (min-width: 540px) and (orientation: landscape){

.description-content{
    padding: 50px;
}

.left-icon {
    width: 8%;
}

nav label img {
    width: 9%;
    margin-top: 2%;
}
}

@media only screen and (min-width: 768px) and (orientation: portrait){

.description-content{
    padding: 60px;
    font-size: 2rem;
}

.left-icon {
    width: 12%;
}

nav label img {
    width: 14%;
    margin-top: 1.2%;
}
}


@media only screen and (min-width: 897px) and (orientation: portrait){
.footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 20px;
    font-family:'Times New Roman', Times, serif
}

.footer-section {
    flex: 1;
    margin: 0 20px; 
}

.booking-form, .contact-info, .logo-section {
    text-align: left;
}

.booking-form h2 {
    font-size: 35px;
    color: white; 
    margin-bottom: 15px;
    max-width: 400%;
    text-align: center;
}

.booking-form form label {
    display: flex;
    margin: 2px 0 5px;
    font-size: 14px;
    color: white;
}

.booking-form input {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #E7E0D6;
    font-size: 14px;
}

.submit-button {
    background-color: white;
    color: white;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    border-radius: 4px; 
}

.submit-button:hover {
    background-color: white;
}


.contact-info h2 {
    font-size: 45px;
    color: white;
    margin-bottom: 15px;
    text-align: center;
}

.kontakt1, .kontakt2 {
    font-size: 15px;
    color: white;
    line-height: 1.6;
    text-align: center;
}

.booking-form input[type="text"],
.booking-form input[type="email"],
.booking-form input[type="tel"] {
    width: 100%;               
    padding: 8px;             
    margin-bottom: 10px;      
    border: 1px solid white; /* mørk linje */
    border-radius: 4px;        /* runde hjørner */
    box-sizing: border-box;   
    font-size: 14px;           
    background-color: white;  
}


ul {
    list-style-type: none; 
    padding: 0; 
    margin: 0; 
  }

footer ul li{
    font-size: 1.1rem;
}

}

@media only screen and (min-width: 1024px) and (orientation: landscape){

.description-content{
    padding: 70px;
 }

nav label img {
    margin-top: 1%;
}

.footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 20px;
    font-family:'Times New Roman', Times, serif
}

.footer-section {
    flex: 1;
    margin: 0 20px; 
}

.booking-form, .contact-info, .logo-section {
    text-align: left;
}

.booking-form h2 {
    font-size: 35px;
    color: white; 
    margin-bottom: 15px;
    max-width: 400%;
    text-align: center;
}

.booking-form form label {
    display: flex;
    margin: 2px 0 5px;
    font-size: 14px;
    color: white;
}

.booking-form input {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #E7E0D6;
    font-size: 14px;
}

.submit-button {
    background-color: white;
    color: white;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    border-radius: 4px; 
}

.submit-button:hover {
    background-color: white;
}


.contact-info h2 {
    font-size: 45px;
    color: white;
    margin-bottom: 15px;
    text-align: center;
}

.kontakt1, .kontakt2 {
    font-size: 15px;
    color: white;
    line-height: 1.6;
    text-align: center;
}

.booking-form input[type="text"],
.booking-form input[type="email"],
.booking-form input[type="tel"] {
    width: 100%;               
    padding: 8px;             
    margin-bottom: 10px;      
    border: 1px solid white; /* mørk linje */
    border-radius: 4px;        /* runde hjørner */
    box-sizing: border-box;   
    font-size: 14px;           
    background-color: white;  
}


ul {
    list-style-type: none; 
    padding: 0; 
    margin: 0; 
}

footer ul li{
    font-size: 1.1rem;
}

}

@media only screen and (min-width: 1200px){

.description-content{
    padding: 70px;
    font-size: 2rem;
}

.left-icon {
    width: 40%;
}

nav label img {
    display: none;
}

nav {
    display: flex;
    flex-direction: row;
    align-items: center;
}

nav ul {
    display: flex;
}

nav ul li {
    list-style: none;
    padding: 0 3%;
}

nav ul li a {
    text-decoration: none;
    color: var(--primary);
    font-size: 1.6rem;
}

nav ul li a:hover {
    background: #4f402c;
}

nav ul li ul {
    display: none;
}

.footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 20px;
    font-family:'Times New Roman', Times, serif
}

.footer-section {
    flex: 1;
    margin: 0 20px; 
}

.booking-form, .contact-info, .logo-section {
    text-align: left;
}

.booking-form h2 {
    font-size: 35px;
    color: white; 
    margin-bottom: 15px;
    max-width: 400%;
    text-align: center;
}

.booking-form form label {
    display: flex;
    margin: 2px 0 5px;
    font-size: 14px;
    color: white;
}

.booking-form input {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #E7E0D6;
    font-size: 14px;
}

.submit-button {
    background-color: white;
    color: white;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    border-radius: 4px; 
}

.submit-button:hover {
    background-color: white;
}

.contact-info h2 {
    font-size: 45px;
    color: white;
    margin-bottom: 15px;
    text-align: center;
}

.kontakt1, .kontakt2 {
    font-size: 15px;
    color: white;
    line-height: 1.6;
    text-align: center;
}

.booking-form input[type="text"],
.booking-form input[type="email"],
.booking-form input[type="tel"] {
    width: 100%;               
    padding: 8px;             
    margin-bottom: 10px;      
    border: 1px solid white; 
    border-radius: 4px;     
    box-sizing: border-box;   
    font-size: 14px;           
    background-color: white;  
}


ul {
    list-style-type: none; 
    padding: 0; 
    margin: 0; 
}

footer ul li{
    font-size: 1.1rem;
}

}