.btn-primary {
    --bs-btn-bg: #D22D2D;
    --bs-btn-border-color: #D22D2D;
    --bs-btn-hover-bg: rgb(206, 27, 68);
    --bs-btn-hover-border-color: rgb(206, 27, 68);
    --bs-btn-active-bg: rgb(183, 24, 61);
    --bs-btn-active-border-color: rgb(183, 24, 61);
    --bs-btn-disabled-bg: #D22D2D;
    --bs-btn-disabled-border-color: #D22D2D;
    font-weight: bold;
}
.navcustom {
    margin-left: 3rem;
    margin-right: 3rem;
    margin-top: 1rem;
}
.header {
    max-width: 1440px;
}
.header-button {
    margin-left: 6rem;
}

.hero-custom-next {
    width: 50px;
    height: 50px;
    border: 2px solid red;
    border-radius: 50%;
    position: absolute;
    top: 45%;
    transform: translateY(-50%);
    right: calc((100vw - 1440px) / 2 + 150px);
}
.hero-custom-next-icon {
    color: red;
    font-size: 20px;
}
.hero-img {
    width: 100%;
    height: 70vh;
    object-fit: cover;
    object-position: center;
}
.hero-nav-container {
    justify-content: end;
    margin-right: calc((100vw - 1440px) / 2 + 100px);
}
.carousel-caption {
    left: 5%;
    right: 5%;
}
#heroCarousel .carousel-indicators button {
    width: 4rem;
    min-width: 2.5rem;
    height: 0.35rem;
    margin-left: 0.35rem;
    margin-right: 0.35rem;
    flex: 0 0 auto;
}

.grid-block-item .grid-block-img {
    object-fit: cover;
    object-position: center;
}
.grid .title {
    font-size: xx-large;
    font-weight: bold;
}
.grid .text {
    font-size: small;
    font-weight: bold;
}
.grid .button {
    padding: 1rem 2rem;
}
.grid .content-container {
    padding: 2rem 2rem;
}

.slider .title {
    font-size: large;
    font-weight: bold;
}

@media (max-width: 1440px) {
    .hero-nav-container {
        margin-right: 6rem;
    }
}
@media (max-width: 768px) {
    .navcustom {
        margin-left: 0;
        margin-right: 0;
        margin-top: 0;
    }
    .header-button {
        margin-left: 3rem;
    }

    .hero-img {
        object-position: left center;
    }
    .hero-nav-container {
        justify-content: end;
        margin-right: 2rem;
    }
    .hero-custom-next {
        display: none;
    }

    .grid .title {
        font-size: large;
        font-weight: bold;
    }
    .grid .text {
        font-size: x-small;
        font-weight: bold;
    }
    .grid .button {
        padding: 0.5rem 1rem;
    }
    .grid .content-container {
        padding: 1rem 1rem;
    }

    .slider {
        width: 200px;
        min-width: 200px;
    }
    .slider .title {
        font-size: small;
        font-weight: bold;
    }
}

@media (max-width: 360px) {
    .hero-img {
        object-position: center center;
    }
    .hero-nav-container {
        justify-content: end;
    }
    .carousel-caption {
        left: 6%;
        right: 5%;
    }
}