

#header-slider {
    height: 100vh;
}

.carousel-item img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: center;
}

.carousel-control-prev-icon:hover,
.carousel-control-next-icon:hover {
    filter: brightness(0) invert(1) sepia(100%) saturate(10000%) hue-rotate(0deg) brightness(90%) contrast(100%);
}

.carousel-indicators {
    margin-bottom: 4%;
}

.carousel-indicators .active {
    background-color: yellow;
}

.text-overlay {
    position: absolute;
    top: 55%;
    left: 10%;
    color: #fff;
    text-align: left;
    max-width: 50%;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid yellow;
    box-shadow: 0 0 10px rgba(255, 255, 0, 0.6);
    padding: 20px;
    border-radius: 2em;
}

.text-overlay h1 {
    font-size: 2.5rem;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.text-overlay p {
    font-size: 1.2rem;
    line-height: 1.8;
}

.text-overlay h2 {
    font-size: 2rem;
    font-weight: bold;
    text-align: left;
}

.text-overlay {
    animation: fadeIn 1s ease-out forwards;
}

.carousel-item {
    transition: transform 1s ease-in-out;
}

@media (max-width: 1420px) {
    .carousel-inner {
        width: 100%;
        height: 100%;
    }

    .carousel-item {
        height: 100%;
        width: 100%;
    }
}


@media (max-width: 768px) {
    #carouselExampleIndicators {
        height: 80vh;
        margin-bottom: -7vh;
    }

    .carousel-indicators {
        bottom: 30px;
    }

    .carousel-indicators button {
        width: 10px;
        height: 10px;
        border-width: 3px;
    }

    .carousel-inner {
        width: 100%;
        height: 100%;
    }

    .carousel-item {
        height: 100%;
        width: 100%;
    }

    .carousel-indicators .active {
        background-color: yellow;
    }

    .text-overlay {
        top: 53%;
        left: 5%;
        max-width: 90%;
        padding: 10px;
    }

    .text-overlay span {
        font-size: 1.5rem;
    }

    .text-overlay h1 {
        font-size: 1.75rem;
        margin-bottom: 10px;
    }

    .text-overlay h2 {
        font-size: 1.5rem;
    }

    .text-overlay p {
        font-size: 1rem;
    }

    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        background-size: 20px;
        width: 30px;
        height: 30px;
    }
}

@media (min-width: 1080px) and (max-width: 2340px) and (orientation: portrait) {
    .text-overlay {
        top: 50%;
        left: 8%;
        max-width: 60%;
        padding: 20px;
    }

    .text-overlay h1 {
        font-size: 2.8rem;
    }

    .text-overlay h2 {
        font-size: 2.2rem;
    }

    .text-overlay p {
        font-size: 1.2rem;
    }

    .carousel-indicators {
        margin-bottom: 3%;
    }
}

@media (min-width: 1284px) and (max-width: 2778px) and (orientation: portrait) {
    .text-overlay {
        top: 50%;
        left: 8%;
        max-width: 50%;
        padding: 25px;
    }

    .text-overlay h1 {
        font-size: 3rem;
    }

    .text-overlay h2 {
        font-size: 2.5rem;
    }

    .text-overlay p {
        font-size: 1.5rem;
    }

    .carousel-indicators {
        margin-bottom: 2%;
    }
}

@media (min-width: 1440px) and (max-width: 3200px) and (orientation: portrait) {
    .text-overlay {
        top: 45%;
        left: 10%;
        max-width: 55%;
        padding: 30px;
    }

    .text-overlay h1 {
        font-size: 3.2rem;
    }

    .text-overlay h2 {
        font-size: 2.7rem;
    }

    .text-overlay p {
        font-size: 1.6rem;
    }

    .carousel-indicators {
        margin-bottom: 2%;
    }
}

@media (min-width: 1024px) and (max-height: 2300px) {
    .text-overlay {
        top: 50%;
        left: 10%;
        max-width: 60%;
        padding: 20px;
    }

    .text-overlay h1 {
        font-size: 2.7rem;
    }

    .text-overlay h2 {
        font-size: 2.3rem;
    }

    .text-overlay p {
        font-size: 1.3rem;
    }

    .carousel-indicators {
        margin-bottom: 3%;
    }
}
