.carousel-position-relative {
    position: relative;
}

.carousel-position-relative .row {
    margin-right: 0;
    margin-left: 0;
}

.carousel-inner img {
    width: 100%;
    height: 450px;
    object-fit: cover;
}

.carousel-position-relative .col-8,
.carousel-position-relative .col-md-4 {
    padding-left: 0;
    padding-right: 0;
}

.indicator-container {
    position: absolute;
    max-width: 1320px;
    width: 100%;
    left: 50%;
    transform: translateX(-50%);
    bottom: 10px;
    z-index: 4;
    padding: 0;
}

.carousel-indicators {
    position: absolute;
    justify-content: unset;
    bottom: 0;
    right: 0;
    left: 0;
    margin: 0 0 10px 40px;
    z-index: 4;
}

@media (max-width: 1400px) {

    .indicator-container {
        position: absolute;
        max-width: 1320px;
        width: calc(100% - 80px);
        left: calc(50% - 40px);
        transform: translateX(-50%);
        bottom: 10px;
        z-index: 4;
        padding: 0;
    }

    .carousel-indicators {
        bottom: -10px;
        left: 40px;
        right: auto;
        margin: 0 auto 10px 0;
    }
}

@media (max-width: 1200px) {
    .carousel-indicators {
        bottom: -15px;
    }
}

@media (max-width: 992px) {
    .indicator-container {
        position: absolute;
        transform: translateX(0);
        width: 100%;
        left: 0;
        right: 0;
    }

    .carousel-indicators {
        position: absolute;
        bottom: -50px;
        left: auto;
        right: 20px;
    }

    .carousel-indicators button {
        background-color: #707070 !important;
    }

    .carousel-indicators button.active {
        background-color: var(--foucault-primary)!important;
    }
}

.carousel-indicators button.active {
    background-color: var(--foucault-primary);
}

.carousel-indicators button {
    background-color: white;
    border: none;
    border-radius: 100%;
    width: 10px!important;
    height: 10px!important;
    margin-right: 5px;
    margin-left: 5px;
    transition: background-color 0.3s ease;
}

.carousel-control-prev,
.carousel-control-next {
    display: none;
}

.btn-link i {
    color: #006989;
    margin-right: 4px;
}

.btn-link {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    height: 35px;
    width: 65px;
    background-color: white;
    border-radius: 0.25rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    font-size: 0.8rem;
    text-decoration: none;
    color: #006989ff;
    transition:
            transform 0.3s ease,
            box-shadow 0.3s ease;
}

.btn-link:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    background-color: white;
    color: var(--foucault-primary);
}

.btn-link:active {
    background-color: white !important;
    color: var(--foucault-primary) !important;
}

.header-container {
    position: absolute;
    bottom: 10px;
    left: 0;
    right: 0;
    z-index: 2;
    color: white;
    padding: 0;
}

.header-text-container {
    margin: 0;
    padding: 0;
}

.header-text {
    padding: 20px;
    margin: 20px 20px 10px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 1rem;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
}

.header-title {
    font-size: 1.2rem;
    line-height: 1.4rem;
    font-weight: 500;
    color: white!important;
    max-width: 70%;
}

.header-title-text {
    font-size: 1rem;
    font-weight: lighter;
    line-height: 1rem;
    padding-bottom: 0;
    margin-bottom: 0;
}

.btn-link span {
    font-size: 0.8rem;
    font-weight: 300;
}

.quicklink-container {
    display: flex;
    flex-direction: row;
    flex: 1;
    padding: 0 20px;
}

.quicklink-column {
    display: flex;
    flex-direction: row;
    flex: 1;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin-left: 0;
    margin-right: 0;
}

.quicklink-row {
    width: 100%;
}

@media (max-width: 440px) {
    .quicklink-container {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-around;
    }

    .quicklink-column {
        width: 45%;
        margin-bottom: 10px;
        display: flex;
        justify-content: center;
    }
}

@media (min-width: 344px) {
    .btn-link {
        height: 35px;
        width: 100%;
    }

    .quicklink-column {
        margin-left: 5px;
        margin-right: 5px;
    }
}

@media (min-width: 576px) {
    .btn-link {
        height: 35px;
        width: 100%;
    }
}

@media (min-width: 576px) {
    .header-title {
        font-size: 1.2rem;
        line-height: 1.2rem;
    }
}

@media (min-width: 576px) {
    .quicklink-container {
        display: flex;
        padding: 0 20px;
    }
}


@media (min-width: 768px) {
    .btn-link {
        height: 35px;
        width: 100%;
    }

    .carousel-inner img {
        height: 550px;
    }
}

@media (max-width: 1199px) {
    .header-title-text {
        font-weight: 300;
    }

    .btn-link span {
        font-size: 0.8rem;
        font-weight: 400;
    }
}

@media (min-width: 992px) {
    .quicklink-row {
        width: auto;
    }
}

@media (min-width: 992px) {
    .btn-link i {
        font-size: 1.5rem;
        margin-bottom: 10px;
    }
}

@media (min-width: 992px) {
    .btn-link {
        width: 74px;
        height: 74px;
        padding: 10px;
        flex-direction: column;
    }
}

@media (min-width: 992px) {
    .header-title {
        font-size: 1.6rem;
        line-height: 1.6rem;
    }
}

@media (min-width: 992px) {
    .quicklink-row {
        position: absolute;
        bottom: 0;
        padding-right: 20px;
    }
}

@media (min-width: 992px) {
    .quicklink-container {
        margin: 0;
        padding: 0;
    }
}

@media (min-width: 992px) {
    .quicklink-column {
        padding-left: 12px;
        padding-right: 12px;
        flex-direction: column;
        width: 77px;
        flex: 0;
        margin-left: 0;
        margin-right: 0;
    }
}

@media (min-width: 992px) {
    .header-title-text {
        font-size: 1rem;
        line-height: 1.2rem;
    }
}

@media (min-width: 992px) {
    .header-text {
        margin-bottom: 17px;
        margin-right: 10px;
    }
}

@media (min-width: 992px) {
    .header-container {
        bottom: 20px;
    }
}

@media (min-width: 1200px) {
    .btn-link span {
        font-size: 0.8rem;
    }
}

@media (min-width: 1200px) {
    .btn-link i {
        font-size: 2rem;
    }
}

@media (min-width: 1200px) {
    .btn-link {
        width: 90px;
        height: 90px;
    }
}

@media (min-width: 1200px) {
    .header-title {
        font-size: 2rem;
        line-height: 2rem;
        font-weight: 500;
    }
}

@media (min-width: 1200px) {
    .header-title-text {
        font-size: 1.2rem;
        line-height: 1.6rem;
    }
}

@media (min-width: 1200px) {
    .header-text {
        margin-bottom: 25px;
    }
}

@media (min-width: 1200px) {
    .quicklink-column {
        width: 95px;
    }
}

@media (min-width: 1400px) {
    .btn-link span {
        font-size: 0.9rem;
    }
}

@media (min-width: 1400px) {
    .btn-link i {
        font-size: 2rem;
    }
}

@media (min-width: 1400px) {
    .btn-link {
        width: 100px;
        height: 100px;
    }
}

@media (min-width: 1400px) {
    .header-text {
        margin-bottom: 33px;
    }
}

@media (min-width: 1400px) {
    .quicklink-column {
        width: 105px;
    }
}
