@import url('https://fonts.googleapis.com/css2?family=BBH+Sans+Bogle&display=swap');
body {
    margin: 0;
    font-family:  Arial, sans-serif;
}

#containerSlider {
    margin: auto;
    width: 100%;
    padding-top: 75px;
    box-sizing: border-box;
    color: #fff;
    overflow: hidden;
}

.slidingImage {
    position: relative;
    width: 100%;
    height: 80vh;
    /* adjust as you want */
    overflow: hidden;
}

.slidingImage img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(50%);
    /* darkens the image */
    transition: 0.5s ease;
}

.slidingImage:hover img {
    filter: brightness(40%);
    /* slightly darker on hover */
}

.text-box {
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    max-width: 40%;
    z-index: 2;
}

.text-box h2 {
    font-size: 6.5rem;
    background: linear-gradient(90deg, #e9a11b, #46eb0a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 10px;
    font-family: "BBH Sans Bogle", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.text-box p {
    font-size: 1.2rem;
    color: #eee;
    line-height: 1;
}

.slide-btn {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 30px;
    background: linear-gradient(90deg, #e9a11b, #46eb0a);
    color: #000;
    font-weight: bold;
    text-decoration: none;
    border-radius: 30px;
    transition: 0.3s ease;
}

.slide-btn:hover {
    background-color: #e6b800;
    transform: scale(1.05);
}
/* Responsive tweaks */
@media (max-width: 900px) {
    .text-box {
        max-width: 70%;
        left: 5%;
    }

    .text-box h2 {
        font-size: 7rem;
    }

    .text-box p {
        font-size: 0.8rem;
    }
}

@media (max-width: 600px) {
    .slidingImage {
        height: 60vh;
    }

    .text-box {
        max-width: 80%;
        left: 50%;
        transform: translate(-50%, -50%);
        text-align: center;
    }

    .text-box h2 {
        font-size: 1.8rem;
    }

    .text-box p {
        font-size: 1rem;
    }
}