body {
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
}

.bg-primary-red{
    background-color: #dc3545;
}

.navbar {
    font-size: 1.1rem;
}

.navbar .nav-link {
    color: rgb(0, 0, 0) ;
}

.navbar .nav-link:hover {
    color: rgb(255, 0, 0) ;
}

.navbar .navbar-brand{
    display: flex;
    align-items: center;
    font-size: 1rem;
    font-weight: 400;

}
.navbar .navbar-brand span{
    font-weight: bold;
    margin-left: 1rem;;
    font-size: 1rem;
}

.header {
    background-image: radial-gradient(circle, #f634347c, rgb(255, 255, 255), rgb(250, 241, 241));
    background-size: 300% 100%;
    animation: animate 10s ease infinite;
    background-attachment: fixed;
    background-position: 0% 50%;
    z-index: -1;
    position: relative;
    overflow: hidden;
  }
  
  @keyframes animate {
    0% {
      background-position: 0% 50%;
    }
    50% {
      background-position: 100% 50%;
    }
    100% {
      background-position: 0% 50%;
    }
  }

.hero {
    margin-top: 12rem;
    height: 80vh;
    padding-left: 4rem;
    font-size: 5rem;
}

.about-card{
    background-color: #EC2027;
    color: #ffffff;
    border-radius: 2rem;
}

.text-justify{
    text-align: justify;
}

.img-overlay{
    max-width: 500px;
    z-index: -1;
    position: absolute;
    right: -200px;
    top: 70px;
}

.navbar.scrolled {
    background-color: #ffffff !important;
    transition: background-color 200ms linear;
}

.dropdown-item{
    color: rgb(0, 0, 0);
}

.dropdown-item:hover{
    color: rgb(255, 0, 0);
}

.dropdown-item:active{
    background-color: #dc3545;
    color: #ffffff;
}

.card{
    cursor: pointer;
    height: 27rem;
    transition: all  200ms ease-in-out;
}

.card .card-text{
    font-size: .85rem;
}

.card:hover{
    transform: translate3d(0, -1rem, 0);
    
}

.card .card-body{
    height: 15rem;
}

.card .card-img-top{
    height: 12rem;
}


.footer{
    background: url('images/footer.jpg') center;
    background-color: rgba(87, 0, 0, 0.39);
    background-size: cover;
    background-blend-mode: darken;
    background-repeat: no-repeat;
    backdrop-filter: blur(5px);
}
.img-footer{
    max-width: 80px;
    height: auto;
}

.footer li{
    margin-top: .25rem;
    list-style-type: none;
}

.footer li a{
    text-decoration: none;
    padding: .2rem;
    color: rgba(255, 255, 255, 0.856);
}
.footer li a:hover{
    text-decoration: none;
    border-radius: 3px;
    background-color: #dc3545;
}

.fs-7{
    font-size: .9rem;
    color: rgba(0, 0, 0, 0.689);
}

.footer .border-top{
    border-top: solid;
    border-top-width: 999px;
}

.img-slider{
    height: 300px;
    width: 300px;
    object-fit: contain;
}

.img-slider-service{
    height: 20rem;
    object-fit: fill;
}

.carousel-control-next-icon {
    background-image: url(/images/caret-forward-outline.svg);
}
.carousel-control-prev-icon {
    background-image: url(/images/caret-back-outline.svg);
}

.carousel {
  background: #FAFAFA;
  margin-bottom: 40px;
}

.carousel-cell {
  width: 100%;
  height: 200px;
  margin-right: 10px;
  background: #8C8;
  border-radius: 5px;
  counter-increment: carousel-cell;
}

/* cell number */
.carousel-cell:before {
  display: block;
  text-align: center;
  content: counter(carousel-cell);
  line-height: 200px;
  font-size: 80px;
  color: white;
}

.carousel-nav .carousel-cell {
  height: 80px;
  width: 100px;
}

.carousel-nav .carousel-cell:before {
  font-size: 50px;
  line-height: 80px;
}

.carousel-nav .carousel-cell.is-nav-selected {
  background: #ED2;
}

.img-hero{
    height: 18.75rem;
    width: auto;
    object-fit: cover;
    right: 0;
    z-index: -1;
    border-top-right-radius: 50px;
    border-bottom-right-radius: 50px;
}

.container-service-icon{
    background-color: #EC2027;
}

.service-icon-items{
    background-color: #000000;
    padding: 1rem;
    border-radius: 50%;
    color: #ffffff;
    font-size: 5.5rem;
}

.service-icon .fs-7{
    font-size: .85rem;
    color: white;
}



@-webkit-keyframes scroll {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(calc(-250px * 7));
    }
  }
  
  @keyframes scroll {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(calc(-250px * 7));
    }
  }

  .slider {
    background: white;
    /* box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.125); */
    height: 100px;
    margin: auto;
    overflow: hidden;
    position: relative;
  }
  
  .slider::before, .slider::after {
    background: linear-gradient(to right, white 0%, rgba(255, 255, 255, 0) 100%);
    content: "";
    height: 100px;
    position: absolute;
    width: 200px;
    z-index: 2;
  }
  .slider::after {
    right: 0;
    top: 0;
    transform: rotateZ(180deg);
  }
  .slider::before {
    left: 0;
    top: 0;
  }
  .slider .slide-track {
    -webkit-animation: scroll 40s linear infinite;
            animation: scroll 40s linear infinite;
    display: flex;
    /* animation-direction: reverse; */
    width: calc(250px * 14);
  }
  .slider-reverse .slide-track{
    animation-direction: reverse;
  }
  .slider .slide {
    height: 100px;
    width: 250px;
  }

  .slider .slide img {
    object-fit: contain;
    width: 200px;
  }

  .slider:hover .slide-track {
    animation-play-state: paused;
  }

  .contact{
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
  }

 .contact-item-right{
    padding: 2rem 2rem 2rem 1rem;
 }
 
 .contact-item-left{
    padding: 2rem 2rem 2rem 5rem;
 }

 .contact-text{
    font-size: 1rem;
    cursor: pointer;
 }
 .contact-icon{
    transition: transform .3s ease-out;
 }
 .contact-icon:hover{
    transform: translateX(10px);
 }

.img-layanan{
    height: 260px;
    width: 260px;
    object-fit: cover;;
}

.img-circle{
    border-radius: 60%;
}

.img-services-1{
    height: 430px;
    width: 330px;
    object-fit: cover;
}

.img-services-2{
    height: 200px;
    width: 300px;
    object-fit: cover;
}
.img-services-3{
    height: 200px;
    width: 300px;
    object-fit: cover;
}

.img-services{
    width: 100%;
    height: 100%;
    display: block;
    margin-left: auto;
    margin-right: auto;
    object-fit: contain;
}

.gallery {
  background: #ffffff;
}

.gallery-cell {
  width: 33%;
  height: 60vh;
  margin-right: 20px;
  background: rgb(255, 255, 255);
  counter-increment: gallery-cell;
}

.gallery-cell.is-selected {
  background: rgb(218, 217, 217);
}

.card-delivery{
 position: relative;
 transition: all 200ms ease-in-out;
 background-color: #ffffff;
}

.card-delivery:hover .card-delivery-overlay{
  opacity: 0.8;
  cursor: pointer;
}
.card-delivery-overlay{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, #830000, #ff00005b,  #ffffff00, #ffffff00);
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0.5;
    transition: all 200ms ease-in-out;
}
.overlay-text{
  position: absolute;
  font-size: 1.5rem;
  font-weight: 600;
  bottom: 0;
  left: 20%;
  opacity: 1;
  z-index: 2;
  cursor: pointer;
  color: #ffffff;
}

.img-delivery{
    height: 300px;
    width: 200px;
    display: block;
    object-fit: cover;
}

.card-img-healthy-life{
    height: 220px;
    width: 100%;
    display: block;
    object-fit: cover;
}

@media screen and (max-width: 768px) {

      .img-services{
        width: 100%;
        height: 100%;
        display: block;
        margin-top: auto;
        margin-bottom: auto;
        margin-left: auto;
        margin-right: auto;
        object-fit: contain;
    }
    .gallery-cell {
        width: 40%;
        height: 27rem;
        margin-right: 10px;
    }
    .gallery-cell.is-selected {
        background: rgb(143, 143, 143);
    }
    .img-services-1{
        height: 200px;
        width: 300px;
        object-fit: cover;
    }
  
}

#layanan-kami{
    top: 100vh;
    position: absolute;
}

#service-channel::before{
  position: absolute;
  top: 1rem;
  left: 0;
  width: 100%;
  height: 2rem;
  background-color: transparent;
  z-index: -1;
}

#delivery-channel{
  position: relative;
  top: -4rem;
  left: 0;
  width: 100%;
  height: 2rem;
  background-color: transparent;
  z-index: -1;
}

#healthy-life::before{
  position: absolute;
  top: 1rem;
  left: 0;
  width: 100%;
  height: 2rem;
  background-color: transparent;
  z-index: -1;
}

