#slider img {
  object-fit: cover;
  width: 100vw;
  height: 60vh;
}

/* #slider .carousel-inner .carousel-item .project-text {
    padding-top: 10rem;
    padding-left: 6rem;
    width: 100%;
    height: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    background-image: linear-gradient(35deg, var(--pri-color--) 1%, transparent 45%);
}
.project-text .project__hotline {
    color: white;
    font-weight: bold;
    font-size: 1.3rem;
    text-align: center;
    background-color: orange;
    padding: 0.5rem 1rem;
    border-radius: 25px;
}
.project-text .project__hotline:hover {
    background-color: coral;
} */

#slider .carousel-caption {
  background-color:rgba(0,0,0,0.2);
}

#slider .carousel-caption a {
  color:white;
  opacity: 0.8
}

#slider .carousel-caption a:hover {
  opacity: 1;
}


.title-bar {
  background: linear-gradient(to right, #D5DB4C 0%, #096c47 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 2rem;
  text-align: center;
}

.title-bar span {
  border-bottom: 2px var(--sec-color--) solid;
}

/* News */

#home-news #first-news a, #home-news #other-news a {
  width: 100%;
  color: var(--sec-color--);
}
#home-news #first-news a:hover, #home-news #other-news a:hover {
  color: var(--pri-color--);
}
 
#home-news img {
  transition: transform .4s;
  object-fit: cover;
  width: 100%;
}
 
#home-news > div > div > div:hover a img {
  transform: scale(1.1);
}

#home-news #first-news > div > div a {
  display: inline-block;
  overflow: hidden;
}

#home-news #other-news > div > div a {
  display: inline-block;
  overflow: hidden;
}

#home-news #first-news img {
  height: 360px;
}

#home-news #other-news img {
  height: 131px;
}

/* Mobile */
@media screen and (max-width: 500px) {
  #slider img {
    height: 40vh;
  }

  .title-bar {
    font-size: 1.7rem;
    margin-bottom: 1.5rem;
  }

  #home-news #first-news img {
    height: 200px;
  }
  
  #home-news #other-news img {
    height: 80px;
  }
}
