/* Universal reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body styling */
body {
    font-family: Arial, sans-serif;
    background-color: #222; /* Dark background */
}

/* Container for the slider */
.container {
    width: 100%;
    max-width: 100%; /* Full width */
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Carousel styling */
.carousel-inner {
    width: 700px;
    height: fit-content; /* Adjust height as per the image size */
}

/* Carousel images */
.carousel-item img {
    width: 100%;
}

/* Carousel caption */
.carousel-caption {
    background: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
    color: white;
    padding: 1px;
}

/* Media Queries for responsiveness */

/* Small devices (phones) */
@media (max-width: 520px) {
    .carousel-inner{
        width: 400px;
    }
    .carousel-caption h5 {
        font-size: 1.5rem;
    }
    .carousel-caption p {
        font-size: 0.9rem;
    }
}

/* Medium devices (tablets) */
@media (max-width: 768px) {
    .carousel-inner{
        width: 400px;
    }
    .carousel-caption h5 {
        font-size: 2rem;
    }
    .carousel-caption p {
        font-size: 1.2rem;
    }
}

/* Large devices (desktops) */
@media (min-width: 1200px) {
    .carousel-inner{
        width: 800px;
    }
    .carousel-caption h5 {
        font-size: 1rem;
    }
    .carousel-caption p {
        font-size: 0.8rem;
    }
}
