body {
    margin: 0;
    background-image: url("../background.png");
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: 100% 100%;
}

h1 {
    margin: 0;
    color: rgb(253, 172, 95);
    font-family: "Bebas Neue", sans-serif;
    font-size: 24px;
    text-align: center;
    position: relative;
    top: 20px;
}

/* Slider Container */
.slider-container {
    position: relative;
    max-width: 800px;
    margin: 40px auto;
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 1;
}

.slider-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 66.67%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fade {
    animation: fade 0.5s ease-in-out;
}

@keyframes fade {
    from {
        opacity: 0.5;
    }
    to {
        opacity: 1;
    }
}

/* Navigation Buttons */
.prev,
.next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    margin-top: -22px;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.3s ease;
    border-radius: 3px;
    background-color: rgba(0, 0, 0, 0.5);
    user-select: none;
    z-index: 100;
}

.prev:hover,
.next:hover {
    background-color: rgba(253, 172, 95, 0.8);
    color: white;
}

.prev {
    left: 0;
}

.next {
    right: 0;
}

/* Dots Indicator */
.dots-container {
    text-align: center;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.1);
}

.dot {
    cursor: pointer;
    height: 12px;
    width: 12px;
    margin: 0 5px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.3s ease;
}

.dot.active,
.dot:hover {
    background-color: rgb(253, 172, 95);
}


/* Tablet media query */
@media (max-width: 1024px) {
    .slider-container {
        max-width: 600px;
        margin: 30px auto;
    }

    h1 {
        font-size: 22px;
    }
}

/* Mobile media query */
@media (max-width: 768px) {
    .slider-container {
        max-width: 100%;
        margin: 20px 15px;
        border-radius: 6px;
    }

    .prev,
    .next {
        padding: 12px;
        font-size: 16px;
        margin-top: -16px;
    }

    .dot {
        height: 10px;
        width: 10px;
        margin: 0 4px;
    }

    .dots-container {
        padding: 15px;
    }

    h1 {
        font-size: 20px;
    }
}

/* Small mobile media query */
@media (max-width: 480px) {
    .slider-container {
        margin: 15px 10px;
    }

    .prev,
    .next {
        padding: 10px;
        font-size: 14px;
        margin-top: -14px;
    }

    .dot {
        height: 8px;
        width: 8px;
        margin: 0 3px;
    }

    .dots-container {
        padding: 12px 5px;
    }

    h1 {
        font-size: 18px;
    }
}