/* Global reset for margins, padding, and box-sizing */
* {
    margin: auto;
    padding: 0;
    box-sizing: border-box;
				text-align:center;
}

/* Main container for the slider - this holds the images and navigation buttons */
.slider-container-fader {
    position: relative; /* Allows for absolute positioning of navigation buttons */
    width: 100%; /* Sets the slider width to 60% of the parent container */
    max-width: 347px; /* Maximum width for larger screens */
				max-height: 347px; /* Maximum width for larger screens */
    overflow: hidden; /* Hides the overflow content (only one image is visible at a time) */
    border-radius: 0px; /* Rounds the corners of the slider */
}

/* Flexbox container that holds all the slides */
.slider-fader {
    display: flex; /* Enables flexbox layout to line up slides horizontally */
    transition: transform 0.4s ease-in-out; /* Smooth transition when sliding between images */
				text-align:center;
}

/* Each individual slide - takes up full width of the container */
.slide-fader {
    min-width: 100%; /* Each slide takes up 100% of the slider container's width */
    height: 347px; /* Fixed height for each slide */
    transition: transform 0.5s ease-in-out; /* Smooth transition when slides are changed */
				text-align:center;
}

/* Ensures that images fill the slide area while maintaining aspect ratio */
.slide-fader img {
    width: 100%; /* Image width matches the slide width */
    height: 100%; /* Image height matches the slide height */
    object-fit: cover; /* Images are scaled to cover the entire slide, cropping if necessary */
    border-radius: 0px; /* Rounds the corners of the images to match the slider */
				text-align:center;
}

/* Common styling for both previous and next navigation buttons */
.prev, .next {
    position: absolute; /* Absolute positioning within the slider container */
    top: 50%; /* Centers the button vertically */
    transform: translateY(-50%); /* Offsets the button position by half its height */
    background-color: rgba(0, 0, 0, 0.8); /* Semi-transparent black background */
    color: transparent; /* White color for the arrow icons */
    border: none; /* Removes default button borders */
    width: 0px; /* Fixed width for the buttons 40px */
    height: 0px; /* Fixed height for the buttons 40px */
    cursor: pointer; /* Changes the cursor to pointer on hover */
    z-index: 10; /* Ensures buttons appear above the slider content */
    border-radius: 50%; /* Makes the buttons round */
    transition: background-color 0.3s ease; /* Smooth transition for background color on hover */
    display: flex; /* Enables flexbox for centering the arrow inside the button */
    justify-content: center; /* Centers arrow horizontally */
    align-items: center; /* Centers arrow vertically */
    padding: 0; /* Removes any default padding */
}

/* Positioning the previous button to the left */
.prev {
    left: 10px; /* Positions the button 10px from the left edge */
}

/* Positioning the next button to the right */
.next {
    right: 10px; /* Positions the button 10px from the right edge */
}

/* Hover effect for navigation buttons */
.prev:hover, .next:hover {
    background-color: rgba(0, 0, 0, 0.0); /* Darkens the button background on hover */
}

/* Container for the dot indicators below the slider */
.dots-container {
    margin-top: 20px; /* Space above the dots */
    display: flex; /* Enables flexbox layout for horizontal alignment */
    justify-content: center; /* Centers the dots horizontally */
    align-items: center; /* Centers the dots vertically */
}

/* Common styling for each individual dot */
.dot {
    height: 15px; /* Fixed height for the dots */
    width: 15px; /* Fixed width for the dots */
    margin: 0 5px; /* Spacing between the dots */
    background-color: rgba(255, 255, 255, 0.5); /* Semi-transparent white background */
    border-radius: 50%; /* Makes the dots round */
    display: inline-block; /* Ensures dots are inline */
    cursor: pointer; /* Changes cursor to pointer on hover */
    transition: background-color 0.3s ease; /* Smooth transition for background color on hover */
}

/* Styling for the active dot - indicates the current slide */
.dot.active {
    background-color: rgba(255, 255, 255, 1); /* Solid white background for the active dot */
}

/* •••••••••••••••••••••••••• Size Change •••••••••••••••••••••••••• */
@media (max-width: 400px) { 
/* •••••••••••••••••••••••••• Size Change •••••••••••••••••••••••••• */

/* Main container for the slider - this holds the images and navigation buttons */
.slider-container-fader {
    position: relative; /* Allows for absolute positioning of navigation buttons */
    width: 100%; /* Sets the slider width to 60% of the parent container */
    max-width: 303px; /* Maximum width for larger screens */
				max-height: 303px; /* Maximum width for larger screens */
    overflow: hidden; /* Hides the overflow content (only one image is visible at a time) */
    border-radius: 0px; /* Rounds the corners of the slider */
}

/* Each individual slide - takes up full width of the container */
.slide-fader {
    min-width: 100%; /* Each slide takes up 100% of the slider container's width */
    height: 303px; /* Fixed height for each slide */
    transition: transform 0.5s ease-in-out; /* Smooth transition when slides are changed */
				text-align:center;
}
}