/* General Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    color: black;
    background-color: lightblue;
}

/* Header Styles */
header {
    background-color: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

#navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 2rem;
}

#navbar .container {
    display: flex;
    align-items: center;
    width: 100%;
}

/* Logo (clickable) */
.logo {
    cursor: pointer;
    margin-right: 10px;
    transition: color 0.3s ease;
    color:darkblue
}

.logo:hover {
    color: lightblue;
}

/* Heading (non-clickable) */
#navbar h1 {
    margin: 0;
    font-size: 1.5rem;
    color: black;
}

/* Navigation Menu */
ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

ul li {
    margin: 0 10px;
}

ul li a {
    text-decoration: none;
    color: black;
    padding: 5px 10px;
    transition: all 0.3s ease;
}

ul li a:hover {
    color: darkblue;
}

ul li .current {
    color: blue;
    background-color: lightblue;
    border-radius: 5px;
    padding: 5px 10px;
    transition: all 0.3s ease;
}

/* Main Content Sections */
.section {
    padding: 2rem;
    margin: 1rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
}

.section h2 {
    font-size: 1.8rem;
    color: darkblue;
    margin-bottom: 1rem;
}

.section p {
    margin: 0.5rem 0;
}

.section .text {
    flex: 1;
    text-align: justify;
}

.section .image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.section .image img {
    max-width: 50%; /* Ensures the image doesn't overflow its container */
    height: 50%; /* Ensures the image height matches the height of the text */
    object-fit: cover; /* Ensures the image is clipped to cover its container, preserving aspect ratio */
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Section Backgrounds for Differentiation */
.section:nth-child(odd) {
    background-color: #f0f8ff;
}

.section:nth-child(even) {
    background-color: #fffaf0;
}

/* Page Break */
hr {
    border: none;
    height: 10px;
    background-color: #ddd;
    margin: 2rem 0;
}

/* Style for "Loe Rohkem" button */
.read-more-btn {
    background-color: darkblue;
    color: white;
    padding: 10px 20px;
    font-size: 1rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
}

.read-more-btn:hover {
    background-color: navy;
    transform: scale(1.05);
}


/* Slideshow Styling */ 
.slideshow {
    position: relative;
    max-width: 100%;
    margin: 50px auto;
    width: 90%;
    max-width: 1200px;
    height: 60vh;
    overflow: hidden;
}

.mySlides {
    display: none;
    width: 100%;
    height: 100%;
    position: relative;
}

.mySlides img {
    width: 100%;
    height: 100%;
    object-fit: contain;  /* Ensure the entire image is visible */
    object-position: center;
}

/* Description Container (Below the Slideshow) */
.description-container {
    text-align: center;
    padding: 20px;
    margin-top: 20px;
}

/* Description Styling */
.description {
    display: none;  /* Hide description initially */
    font-size: 18px;
    color: #333;
    background-color: #f4f4f4;
    margin-top: 10px;
    padding: 10px;
    border-radius: 5px;
    width: 80%;
    margin: 10px auto;  /* Center the descriptions */
}

/* Slideshow Buttons */
.slide-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    font-size: 24px;
    border: none;
    padding: 15px;
    cursor: pointer;
    z-index: 1;
    transition: background-color 0.3s ease;
}

.slide-button:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.previous {
    left: 0;
}

.next {
    right: 0;
}

/* Register Styling */
.register-container {
    background-image: url('img/grain-2437808_1280.jpg'); 
    background-size: cover;
    background-position: center;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Form Container */
.register-form {
    background-color: rgba(173, 216, 230, 0.9); /* Light blue with slight transparency */
    padding: 20px 30px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    width: 90%;
    max-width: 400px;
    text-align: center;
}

/* Form Styles */
.register-form h2 {
    color: darkblue;
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.register-form label {
    display: block;
    font-size: 1rem;
    margin-top: 10px;
    color: black;
    text-align: left;
}

.register-form input {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
}

.register-form button {
    background-color: darkblue;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.register-form button:hover {
    background-color: navy;
}


/* Blogi style */
.intro {
    background-image: url('img/grass-7703132_1280.jpg'); 
    background-size: cover;
    background-position: center;
    padding: 3rem 1rem;
    color: white;
    text-align: center;
}

.intro h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.intro p {
    font-size: 1.2rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

/* Text on Image Section */
.text-on-image {
    position: relative;
    background-image: url('img/horse-5836459_1280.jpg'); 
    background-size: cover;
    background-position: center;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.text-on-image .text-container {
    background-color: rgba(255, 255, 255, 0.8);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    max-width: 600px;
}

/* Video Section */
.video-container {
    display: flex;
    justify-content: center; /* Centers the video horizontally */
    margin: 20px auto;
    max-width: 90%; /* Adjusts width to fit screens but leaves some margin */
}

.video-container video {
    width: 100%; /* Makes the video responsive */
    max-width: 600px; /* Ensures the video doesn’t exceed 600px width */
    height: auto; /* Maintains aspect ratio */
    border: 2px solid darkblue; /* Optional: Adds a border for design */
    border-radius: 10px; /* Optional: Rounds corners for a polished look */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Optional: Adds subtle shadow */
}

.video-title {
    text-align: center; /* Centers the text */
    margin: 10px 0; /* Adjusts spacing above and below the title */
    font-size: 1.8rem; /* Optional: Adjust font size for visibility */
    color: darkblue; /* Optional: Change color to match the design */
}


/* Links Section */
.links-section {
    padding: 1.5rem;
    text-align: center;
}

.links-section a {
    color: darkblue;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.links-section a:hover {
    color: navy;
    text-decoration: underline;
}

/* Buttons Section */
.buttons-section {
    text-align: center;  /* Center the heading */
    margin-top: 20px;  /* Add space between sections */
}

/* Centering the button (with icon) */
.facebook-button {
    background-color: #3b5998;  
    color: white;  /* Text and icon color */
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none; /* Remove underline from link */
    display: inline-flex;
    align-items: center;
    gap: 10px; /* Space between icon and text */
    transition: background-color 0.3s ease, color 0.3s ease;  /* Smooth color transition */
    margin: 0 auto; /* Center the button itself */
}

/* Font Awesome icon color */
.facebook-button i {
    color: white;  /* Ensure the icon color is white */
    transition: color 0.3s ease;  /* Smooth color transition on hover */
}

/* Hover effect for the button */
.facebook-button:hover {
    background-color: lightblue;  /* Darker Facebook Blue on hover */
    color: white;  /* Keep text and icon white on hover */
}

/* Hover effect for the icon */
.facebook-button:hover i {
    color: white;  /* Ensure the icon remains white */
}

/* Footer */
footer {
    background-color: white;
    box-shadow: 0 -4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    padding: 1rem 0;
    color: black;
    margin-top: 2rem;
}

footer kbd {
    font-family: monospace;
    background-color: #f2f2f2;
    color: black;
    padding: 0.2rem 0.5rem;
    border-radius: 3px;
}


