@import url(https://fonts.cdnfonts.com/css/signpainter);
.homepage {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-bottom: 3rem
}

.promotional__banner--display {
    background-color: #fff;
    width: 100%;
    text-align: center;
    margin-bottom: 3rem;
    padding-block: 3rem;
    padding-top: 1rem;
    color: #00666C;
    h3 {
        font-weight: bolder;
        padding-bottom: 1rem
    }
    img {
        width: 100%
    }
}

.promotional__banner--display- {
    background-color: #fff;
    width: 100%;
    text-align: center;
    padding-top: 1rem;
    color: #00666C;
    h3 {
        font-weight: bolder;
        padding-bottom: 1rem
        
    }
    img {
        width: 80%
    }
}

.promotional__banner.mobile {
    display: none
}

.carousel__container--display {
    background-color: #fff;
    width: 80%;
    height: auto;
    padding-block: 3rem;
    padding-top: 1rem;
    text-align: center;
    color: #00666C;
    h3 {
        font-weight: bolder;
        padding-bottom: 1rem
    }
}

.carousel__container--content {
    margin-bottom: 1rem;
    width: 100%
}

.carousel-indicators li {
    border-radius: 50%;
    width: .6rem;
    height: .6rem
}

.img__slide {
    width: 100%;
    height: auto
}

.img__slide.mobile {
    display: none
}

.carousel-control-prev,
.carousel-control-next {
    opacity: 1;
    width: 4rem
}

.arrow__prev--white,
.arrow__next--white {
    height: 3rem;
    filter: drop-shadow(0 2px 5px #000000)
}

.container__new-product,
.container__best-sellers {
    text-align: center;
    color: #00666C;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-block: 1rem;
    padding-bottom: .5rem;
    margin-bottom: 3rem;
    & h3 {
        font-weight: bolder;
        padding-bottom: 1rem
    }
}

.row__new-product,
.row__best-sellers {
    display: flex;
    overflow-y: hidden;
    overflow-x: scroll;
    gap: 2rem;
    height: 30rem;
    margin-inline: 2rem;
    scroll-snap-type: x mandatory
}

.custom-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: min-content;
    height: 28rem;
    scroll-snap-align: start;
    border-radius: 20px 20px 15px 15px;
    background-color: #fff
}

.image-container {
    position: relative;
    border-radius: 15px 15px 0 0;
    background-color: #fff;
    height: 320px;
    width: 320px;
    padding: 10px
}

.card_container-description {
    display: flex;
    flex-direction: column;
    justify-content: space-between
}

.card-body {
    display: flex;
    justify-content: center;
    padding-block: .5rem;
    padding-inline: 1.2rem;
    align-items: center;
    gap: 1rem
}

.card-img-top {
    border-radius: 15px 15px 0 0;
    object-fit: contain;
    width: 15rem;
    height: 15rem
}

.card-text {
    color: #ffce4c;
    font-size: x-large
}

.btn-details {
    display: flex;
    justify-content: center;
    color: #F5F5F5;
    background-color: #00666C;
    padding: .75rem 1.5rem;
    border-radius: 1rem;
    transition: 0.4s ease-in-out transform;
    &:hover {
        border: none;
        background-color: #004246;
        color: #fff;
        transform: scale(1.1)
    }
}

.card-title {
    height: 3.75rem;
    color: #00666C;
    padding-top: .75rem;
    margin-bottom: 0;
    font-weight: 400;
    text-align: center;
    padding-inline: .01rem
}

.container__our-commitments {
    display: flex;
    flex-direction: column;
    background-repeat: no-repeat;
    padding-top: 1rem;
    background-image: linear-gradient(hsl(183 100% 14% / .1), hsl(183 100% 14% / .1)), url(/images/icones/prefooter-tRight.svg);
    background-position: top right;
    margin-bottom: 3rem;
    h3 {
        text-align: center;
        font-weight: bolder;
        padding-bottom: 2rem;
        color: #00666C
    }
    >h3:first-child {
        text-shadow: 0 0 8px #E5F0F1
    }
}

.SAV--container,
.decontamination--container,
.preparator--container,
.delivery--container {
    padding-inline: 2rem;
    padding-block: 3rem;
    border-radius: 1rem;
    width: 30.5rem;
    height: fit-content;
    padding: 2rem;
    img {
        border-radius: 1rem;
        width: 100%
    }
    h3 {
        padding-bottom: 0
    }
    p {
        color: #004246
    }
}

.our-commitments__first-row,
.our-commitments__second-row {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    gap: 3rem
}

.our-commitments__first-row {
    flex-wrap: wrap-reverse
}

.delivery--container h3:last-of-type {
    font-family: 'SignPainter', sans-serif;
    text-align: center;
    padding-inline: 4rem;
    font-weight: 400;
    margin-top: 1.5rem;
    color: #00666c;
    border-left: 3px solid #00666C;
    border-right: 3px solid #00666C;
    margin-bottom: 0;
    border-radius: 1rem
}

.SAV--container,
.delivery--container {
    background-color: rgb(0 103 108 / .9);
    background-color: #fffc
}

.decontamination--container {
    background-color: #ffcf4de6
}

.preparator--container {
    background-color: #ffcf4de6;
    h3:last-of-type {
        padding-top: 1.5rem
    }
    p:last-of-type {
        margin-bottom: 0
    }
}

.company__description--container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding-inline: 2rem;
    padding-block: 3rem;
    width: 100%;
    margin-bottom: 3rem;
    background-repeat: no-repeat;
    background-image: linear-gradient(hsl(183 100% 14% / .1), hsl(183 100% 14% / .1)), url(/images/icones/bg-prefooter.svg);
    flex-wrap: wrap;
    gap: 3rem
}

.company__description--left-section {
    border-radius: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #004246;
    width: 35rem;
    height: fit-content;
    padding: 2rem;
    padding-bottom: 1rem;
    background-color: #fffc;
    text-align: left;
    & img:first-child {
        width: 15rem;
        align-self: center;
        border-radius: 1rem;
        margin-bottom: 1rem
    }
    & img:last-child {
        border-radius: 1rem;
        width: 100%;
        margin-block: 1rem
    }
    & h4 {
        text-align: center;
        text-decoration: underline;
        color: #00666C;
        padding-bottom: 1rem
    }
    & h2 {
        text-align: center;
        font-weight: 700;
        padding-bottom: 1rem
    }
}

.company__description--right-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 1rem;
    color: #004246;
    text-align: center;
    padding: 2rem;
    width: 35rem;
    height: fit-content;
    background-color: #ffcf4de6;
    h3,
    h4 {
        font-weight: 700;
        color: #00666C;
        padding-bottom: .5rem
    }
    p {
        text-align: left
    }
    img {
        margin-block: 1rem;
        margin-bottom: 2rem;
        border-radius: 1rem
    }
}

.logo__almadia--container {
    background-color: #fff;
    border-radius: 1rem;
    width: 100%;
    margin-bottom: 2rem;
    img {
        padding: 2rem;
        padding-bottom: 0;
        margin: 0;
        width: 100%
    }
    p {
        text-align: center;
        margin: 0;
        padding: 0;
        color: #00666C;
        padding-bottom: 2rem
    }
}

.homepage--tagline {
    font-size: clamp(18px, 3vw, 1.5rem);
    font-weight: 700;
    width: 100%;
    text-align: center
}

.app__title__section {
    display: flex;
    flex-direction: column;
    margin-inline: 1rem;
    padding: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
    background: linear-gradient(to left, #0299a1, #00666c, #004246);
    width: 100%;
    h1 {
        color: #F5F5F5;
        span {
            color: #ffce4c;
            text-shadow: 1px 1px 1px #23430C;
            font-weight: 700;
            font-size: xx-large
        }
    }
    p {
        display: inline
    }
}

@media only screen and (max-width:700px) {
    .app__title__section,
    .promotional__banner--display,
    .homepage,
    .container__best-sellers,
    .container__new-product,
    .container__our-commitments {
        margin-bottom: 1rem
    }
    .app__title__section {
        padding-block: .5rem;
        h1 {
            span {
                font-size: x-large
            }
            p {
                display: block;
                margin-bottom: 0
            }
        }
    }
    .carousel__container--display {
        padding-inline: 0;
        & h3 {
            font-size: x-large
        }
    }
    .carousel-control-prev,
    .carousel-control-next {
        opacity: .3;
        top: -2rem
    }
    .img__slide.desktop,
    .promotional__banner.desktop {
        display: none
    }
    .img__slide.mobile,
    .promotional__banner.mobile {
        display: block
    }
    .row__new-product,
    .row__best-sellers {
        margin-inline: .5rem
    }
    .container__our-commitments {
        background-image: none;
        background-color: #E5F0F1;
        padding-inline: .5rem;
        h3 {
            padding-bottom: 1rem
        }
    }
    .our-commitments__first-row,
    .our-commitments__second-row {
        gap: 3rem;
        h3 {
            font-size: larger
        }
    }
    .our-commitments__first-row {
        flex-direction: column-reverse
    }
    .our-commitments__second-row {
        flex-direction: column
    }
    .SAV--container,
    .decontamination--container,
    .preparator--container,
    .delivery--container {
        width: 100%;
        padding-inline: 1rem
    }
    .delivery--container h3:last-of-type {
        font-size: x-large;
        padding-inline: 2.5rem
    }
    .company__description--container {
        flex-direction: column;
        padding-inline: .5rem;
        gap: 3rem
    }
    .company__description--left-section,
    .company__description--right-section {
        width: 100%;
        padding-inline: .5rem;
        & h2,
        h3,
        h4 {
            font-size: large
        }
        p:last-of-type {
            margin-bottom: 0
        }
        & .nurse-img {
            width: 95%
        }
    }
}

@media screen and (min-width :1600px) {
    .SAV--container,
    .decontamination--container,
    .preparator--container,
    .delivery--container {
        width: 40.5rem
    }
    .company__description--container {
        justify-content: space-evenly
    }
    .company__description--left-section,
    .company__description--right-section {
        width: 45rem;
        padding: 3rem
    }
    .company__description--right-section {
        img {
            width: 100%
        }
        h3 {
            font-size: xx-large
        }
        h4 {
            font-size: x-large
        }
    }
}

.stock-and-price {
    display: flex;
    align-items: center;
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 100%
}

.stock-info,
.price-info {
    color: #00666C;
    margin-left: auto;
    padding: 5px 10px;
    border-radius: 5px;
    margin-bottom: 0
}

.price-bg {
    align-self: flex-end;
    background-color: #FFCE4C;
    width: fit-content;
    padding: .2rem;
    margin-top: 0;
    margin-left: 1rem;
    margin-right: 0;
    border-radius: 20px 0 20px 0
}

.stock-info {
    font-size: .9rem
}
