 /* Download Button Styling */
.download-btn {
    display: inline-block;
    padding: 12px 24px; /* Adequate padding for button-like appearance */
    background-color: #ff5500; /* Orange box */
    color: white;
    text-decoration: none;
    border-radius: 6px; /* Rounded corners */
    border: 2px solid #cc4400; /* Darker orange border */
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    text-transform: uppercase;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

/* Hover Effect */
.download-btn:hover {
    transform: scale(1.05); /* Slight zoom on hover */
    background-color: #ff7733; /* Lighter orange */
    box-shadow: 0 8px 15px rgba(255, 85, 0, 0.6); /* Orange glow on hover */
    border-color: #ff3300; /* Slightly redder border */
}

/* Optional Styling for li Elements */
li {
    list-style: none; /* Remove bullet points */
    margin: 10px 0; /* Space between list items */
    text-align: center; /* Center align */
}
/* General Reset */
body, h1, h2, p, ul, li {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

/* Header */
header {
    background: linear-gradient(to right, #243b55, #4e657a); /* Gradient from dark to light */
    color: white;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid white; /* Keeps the white border */
}

.header-container h1 {
    font-size: 3.1rem;
    color: #62a3bf; /* Light blue */
    margin-bottom: 20px; /* Space below the title */
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7); /* Shadow effect */
    letter-spacing: 1px; /* Slight spacing for a clean look */
}

.menu {
    list-style: none;
    display: flex;
    gap: 20px;
}

.menu li a {
    text-decoration: none;
    color: white;
    font-size: 1rem;
    transition: color 0.3s, text-shadow 0.3s;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.5); /* Subtle glow */
}

.menu li a:hover {
    color: #ff5500; /* Keep the red color change */
    text-shadow: 0 0 12px rgba(255, 85, 0, 0.8); /* Stronger glow on hover */
}

/* Main */
main {
    padding: 20px;
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 10px;
    justify-content: center; /* Ensure the grid is centered */
}

.image-grid img {
    width: 70%;
    border: 2px solid #333;
}

/* Video Section */
#video {
    text-align: center;
    padding: 20px;
}

.video-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.video-item {
    width: 300px;
    position: relative;
}

.video-item iframe {
    width: 100%;
    height: 170px;
    border-radius: 10px;
    border: 2px solid #ff5500;
    transition: transform 0.3s, border-color 0.3s;
}

.video-item:hover iframe {
    transform: scale(1.05);
    border-color: #ff7733;
}

.video-caption {
    font-size: 14px;
    color: #ccc;
    margin-top: 8px;
}

/* Placeholder Video */
.placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #333;
    width: 300px;
    height: 170px;
    border-radius: 10px;
    border: 2px dashed #555;
    color: #999;
    font-size: 18px;
    font-weight: bold;
}

.placeholder-content {
    text-align: center;
}

/* Footer */
footer {
    background: ;
    color: white;
    text-align: center;
    padding: 10px;
    position: relative;
}

/* Background */
body {
    background: linear-gradient(to bottom, #243b55, #141e30);
    color: white;
}

/* Image Gallery */
#image-gallery {
    text-align: center;
    padding: 20px;
}

.viewer-container {
    width: 70%;
    margin: 0 auto 20px;
    border: 2px solid #ff5500;
    border-radius: 10px;
    overflow: hidden;
}

.viewer-container img {
    width: 100%;
    height: auto;
    display: block;
}

.thumbnail-container {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.thumbnail {
    width: 100px;
    height: auto;
    cursor: pointer;
    transition: transform 0.3s, opacity 0.3s;
    border-radius: 5px;
}

.thumbnail:hover {
    transform: scale(1.1);
    opacity: 0.8;
}

.thumbnail.active {
    border: 2px solid #ff5500;
}

/* Download Button */
.download-button {
    display: inline-block;
    text-decoration: none;
    background: #ff5500;
    color: white;
    padding: 5px 10px;
    border-radius: 2px;
    font-size: 1rem;
    font-weight: bold;
    transition: background-color 0.3s, transform 0.3s;
}

.download-button:hover {
    background: #ff7733;
    transform: scale(1.1);
}

/* Center .text-box elements */
.text-box {
    max-width: 800px;
    background-color: #f9f9f9;
    border: 6px dotted #cccccc;
    border-radius: 12px;
    padding: 20px;
    margin: 20px auto; /* Center the text box */
    font-family: Arial, sans-serif;
    color: #333333;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    line-height: 1.6;
}

.text-box h2 {
    font-size: 1.5em;
    margin-bottom: 15px;
    text-align: center; /* Center header text */
}

.text-box p {
    margin-bottom: 15px;
    text-align: justify; /* Ensure readability with justified text */
}

/* Center Section Updates */
#Hobie .text-box {
    position: relative;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    font-family: Arial, sans-serif;
    line-height: 1.6;
    text-align: center; /* Center the content for this specific section */
}

#Hobie .text-box img.text-box-image {
    float: none;
    margin: 0 auto 15px; /* Center the image */
    max-width: 342px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

/* Modal Styles for Thumbnails */
.modal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 1001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8); /* Semi-transparent background */
}

.modal-content {
    margin: 5% auto;
    display: block;
    max-width: 80%;
    animation: zoomIn 0.3s ease-in-out;
    border-radius: 10px;
    overflow: hidden;
}

@keyframes zoomIn {
    from { transform: scale(0.5); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.modal img {
    width: 100%;
    display: block;
    border-radius: 8px;
}

.close-modal {
    position: absolute;
    top: 10px; /* Adjusted for better positioning */
    right: 20px; /* Adjusted for better positioning */
    color: white;
    font-size: 60px; /* Increased size for visibility */
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
    padding: 0 10px; /* For better click area */
    z-index: 1002; /* Ensures the "X" is above modal content */
}

.close-modal::before {
    content: '×'; /* Adding the "X" symbol */
    font-size: inherit; /* Inheriting font size from parent */
}

.close-modal:hover {
    color: #ff5500;
}
.audio-player-container {
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  max-width: 700px;
  margin: 0 auto;
}

.audio-player-title {
  font-size: 24px;
  color: #333;
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.song {
  margin: 15px 0;
  padding: 10px;
  border: 2px solid #ddd;
  border-radius: 6px;
  background-color: #fafafa;
}

.song h3 {
  margin-top: 0;
  font-size: 18px;
  color: #333;
}

audio {
  width: 100%;
  margin-top: 10px;
}

.song:hover {
  background-color: #f0f0f0;
  border-color: #bbb;
}