/* General Body Styling */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

h1, h2, h3 {
    text-align: center;
}

nav {
    display: flex;
    align-items: center;
    background-color: #fdfbfb;
    padding: 10px;
}

nav .logo img {
    height: 50px;
}

nav ul {
    list-style-type: none;
    display: flex;
    /*margin-left: auto;*/
    padding: 0;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    color: rgb(8, 8, 8);
    text-decoration: none;
    padding: 8px 16px;
    transition: background-color 0.3s ease;
}

nav ul li a:hover {
    background-color: #555;
    border-radius: 5px;
}

/* Slider */
/* Slider */
.slideshow-container {
    max-width: 100%;
    position: relative;
    margin: auto;
    overflow: hidden;
}

.mySlides {
    display: none;
    position: relative;
}

.mySlides img {
    width: 100%;
    height: 400px; /* Set consistent height for slider images */
    object-fit: cover; /* Ensures the images maintain aspect ratio */
}

.text {
    color: #f2f2f2;
    font-size: 24px;
    padding: 12px 20px;
    position: absolute;
    bottom: 50px; /* Adjusted to move the text up */
    left: 50%;
    transform: translateX(-50%); /* Center horizontally */
    width: 90%; /* Adjust width for better fit */
    text-align: center;
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 8px; /* Rounded corners for text background */
}

.fade {
    animation-name: fade;
    animation-duration: 3.0s;
}

@keyframes fade {
    from { opacity: 0.4 }
    to { opacity: 1 }
}

/* Arrow Buttons for the Slideshow */
.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: background-color 0.3s ease;
    user-select: none;
    background-color: rgba(0, 0, 0, 0.5); /* Transparent background */
    border-radius: 50%; /* Circular background for arrows */
    text-align: center; /* Center text inside the circular background */
}

.prev {
    left: 10px; /* Adjusted for better placement */
}

.next {
    right: 10px; /* Adjusted for better placement */
}

.prev:hover, .next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.prev::after, .next::after {
    content: "\u00AB"; /* Unicode for left arrow */
    font-size: 24px; /* Larger font size for arrow */
}

.next::after {
    content: "\u00BB"; /* Unicode for right arrow */
}


/* Body A - Image Gallery */
.bodyA {
    text-align: center;
    margin: 40px auto;
}

.instruments {
    background-color: lightgray;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap; /* Allows wrapping in smaller screens */
    /* gap: 20px; /* Adds space between items */
    /* padding: 20px; */
}

.instruments div {
    position: relative;
    margin: 10px;
    overflow: hidden;
    transition: transform 0.3s;
    flex: 1 1 calc(33.33% - 40px); /* Adjust space distribution */
    max-width: 300px; /* Set a max-width for smaller screens */
}

.instruments div:hover {
    transform: scale(1.05);
}

.instruments img {
    width: 100%;
    height: 200px; /* Set consistent height for all images */
    object-fit: cover; /* Ensures the images maintain aspect ratio */
    border-radius: 10px;
}

.instruments a {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 18px;
    /* background-color: rgba(0, 0, 0, 0.7); */
    /* padding: 8px 12px; */
    border-radius: 5px;
    text-decoration: none;
    opacity: 0;
    transition: opacity 0.3s;
}

.instruments div:hover a {
    opacity: 1;
}

.slider {
    /* width: 600px; /* Set a fixed width for the slider */
    /* height: 400px; 
    max-width: 600px; */
    overflow: hidden;
    border: 2px solid #333;
    
    position: relative;
}

.slides {
    display: flex;
    transition: transform 0.5s ease;
    width: calc(600px * 10);
}

.slides img {
    width: 350px; /* Set the fixed width of each image */
    height: 200px; /* Set the fixed height of each image */
    display: block;
}

button.prev, button.next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
    font-size: 24px;
    cursor: pointer;
    border-radius: 50%;
    z-index: 2;
}

button.prev {
    left: 10px;
}

button.next {
    right: 10px;
}

button.prev:hover, button.next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

/* Page Data Styling */
.pageData {
    padding: 40px 20px;
    background-color: #f9f9f9;
    line-height: 1.8;
    font-size: 18px;
    text-align: center;
    max-width: 1200px;
    margin: 40px auto;
}

.pageData h2 {
    font-size: 28px;
    margin-bottom: 20px;
}

.pageData p {
    font-size: 16px;
    margin-bottom: 20px;
}

footer {
    display: flex; 
    flex-wrap: wrap; 
    justify-content: space-between; 
    padding: 40px; 
    background-color: #f8f9fa; 
    border-top: 2px solid #ddd; 
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

footer h4 {
    margin-bottom: 15px; 
    font-size: 1.5em; 
    color: #007bff;
    text-align: center;
}

footer p {
    font-size: 0.9em; 
    line-height: 1.6; 
    color: #555;
}

footer div {
    flex: 1; min-width: 250px; margin-right: 20px;
}

footer ul {
    list-style-type: none; padding: 0; display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 15px;
}

footer li {
    flex: 1 0 150px;
    text-align: left;
}

footer a:hover {
    background-color: #e0e0e0; /* Light grey background */
    color: #0056b3; /* Darker text color on hover */
    border-radius: 5px; /* Rounded corners */
}

