/* General Body Styles */
body {
    font-family: "Kohinoor Zerone", "Roboto Thin", sans-serif;
    font-size: 0.95em;
    color: #222;
    font-weight: lighter;
    line-height: 1.5;
    padding: 0;
    background-color: #fff;
    max-width: 1420px;
    width: 95%;
    margin: 30px auto;
    box-sizing: border-box;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

body.pages {
    max-width: 800px;
    margin: 0 auto;
    align-items: center;
}

/* General Link Styles */
a, a[href$=".pdf"], a[href^="mailto:"] {
    text-decoration: none;
    color: #cb5100;
}

a:hover, a:focus, a:active,
a[href$=".pdf"]:hover, a[href$=".pdf"]:focus, a[href$=".pdf"]:active,
a[href^="mailto:"]:hover, a[href^="mailto:"]:focus, a[href^="mailto:"]:active {
    
    color: #ff6600;
}

/* Index Page Specific Link Styles */
.index-page a, .index-page a[href$=".pdf"], .index-page a[href^="mailto:"] {
    color: #222;
    text-decoration: none;
}

.index-page a:hover, .index-page a:focus, .index-page a:active,
.index-page a[href$=".pdf"]:hover, .index-page a[href^="mailto:"]:hover,
.index-page a[href$=".pdf"]:focus, .index-page a[href^="mailto:"]:focus,
.index-page a[href$=".pdf"]:active, .index-page a[href^="mailto:"]:active {
    color: #555;
    text-decoration: none;
}

/* Thumbnail Container */
.thumbnailContainer {
    margin: 30px 25px 15px;
    display: inline-block;
    text-align: center;
    transition: transform 0.3s ease;
    max-width: 275px;
    padding: 0;
    box-sizing: border-box;
}

.thumbnailContainer img {
    max-width: 100%;
    height: auto;
}

/* Caption Styles */
.caption {
    color: #333;
    font-size: 0.95em; /* Adjusted font size to 0.9em */
    font-weight: lighter;
    text-align: center;
    margin: 5px 0px 0px 0;
}

/* Home Button Styles */
#homeButton {
    cursor: pointer;
    font-size: 1.0em;
    line-height: 30px;
    text-align: center;
    padding: 0;
    color: #a14000; /* Orange color for text */
    margin: 0 auto;
    top: 30px;
    z-index: 1000;
}

#homeButton:hover {
    color: #ff6600; /* Black color on hover */
   
}

#homeButton a {
    color: inherit; /* Ensure the link inherits the button's color */
}

/* Container for image (removing fixed aspect ratio) */
.image-container {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.image-container img {
    width: 100%;
    height: auto;
}

/* About and Contact Information */
#aboutContact {
    text-align: center;
    margin-top: 20px;
}

#aboutContact a {
    display: block;
    margin-bottom: 10px;
    font-size: 0.95em;
}

#aboutContact p,
#aboutContact h4 {
    margin: 0;
    padding: 5px 0;
}

/* Slideshow Container */
.slideShowContainer {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

.slideShowImages img {
    width: auto;
    height: 100;
    max-width: 100%;
    display: block;
    object-fit: cover;
    cursor: pointer;
}

/* Hide both captions by default */
#slideShowCaption1, #slideShowCaption2 {
    display: none;
}

/* Show caption for the current slide */
.active-caption {
    display: block;
}


.slideShowImages div {
    position: relative;
    display: inline-block;
}


/* Video Container */
.video-container {
    position: relative;
    margin: 0 auto 20px;
    text-align: center;
    width: 100%;
    padding-top: 56.25%;
    box-sizing: border-box;
    overflow: hidden;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    margin-top: 10px;
    width: 100%;
    height: 100%;
    border: 0;
    box-sizing: border-box;
}

/* Spacer Bottom */
.spacerBottom {
    height: 20%;
    width: 100%;
}

/* Headings */
h4 {
    font-size: 0.95em;
    font-weight: lighter;
    color: #444;
    text-align: center;
}
h5 {
    font-size: 0.85em;
    font-weight: lighter;
    color: #444;
    text-align: center;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        gap: 5px;
    }
}
.caption .title {
    font-size: 1.0em;
    font-weight: lighter;
    color: #222; /* Default grey color for title */
    margin-bottom: 5px;
}

.caption .subtitle {
    font-size: 1.0em;
    color: #444; /* Default grey color for subtitle */
    margin: -5px;
}
/* Hover Effect: Change Text to orange on Hover */
.thumbnailContainer:hover .caption .title,
.thumbnailContainer:hover .caption .subtitle,
.thumbnailContainer:hover .titleLink {
    color: #cb5100;
}

/* Footer Spacing */
.footer {
    margin-top: auto;
    width: 100%;
    padding: 20px 0 300px; /* 300px plads under indholdet i footeren */
    box-sizing: border-box; /* Sørger for, at padding ikke udvider elementet */
}
/* Instagram Icon */
.footer-container {
    text-align: center;
    padding: 20px 0;
}

.footer-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px; /* Spacing between copyright text and icon */
}

.footer-content h4 {
    margin: 0;
    font-size: 16px;
}

.social-icons img {
    width: 24px; /* Adjust size as needed */
    height: 24px;
    transition: transform 0.3s ease;
}

.social-icons img:hover {
    transform: scale(1.2);
}