@import url("projects-style-media-responsive.css"); /* Using a url */

.img-fluid-projects {
  object-fit: cover;
  object-position: center;
  height: 35vh;
  width: 100vw;
  overflow: hidden;
}

.projects-carousel {
  width: 100%;
  height: auto;
  /* 
    height: 41.5vh;
    width: 24.9vw;
   */
  height: 35.5vh;
  filter: grayscale(90%);
  background-color: #46444444;
}

.projects-title {
  will-change: transform;
  transition: transform 450ms;
  font-size: 14px;
}

.projects-overlay-background {
  position: absolute;
  z-index: 1;

  background: rgb(0, 0, 0);
  background: rgba(0, 0, 0, 0.5); /* Black see-through */

  border-left: 3px solid #0059a2;
  padding: 15px;

  height: 50px;
  width: 100%;
  text-align: left;
}

.projects-hiddenbutton {
  opacity: 0;
  position: absolute;
  margin-top: 10px;
  transition: transform 450ms;
  font-weight: normal;
  font-size: 11px;
}

.projects-title-container {
  line-height: 1;
  margin-top: -50px;
  font-size: 0.9rem;
  color: white;
}

.projects-hover-effect {
  position: relative;
}

.projects-hover-effect:hover .projects-title {
  font-size: 14px;
  transition: transform 150ms;
  transform: translateY(-8px);
}

.projects-hover-effect:hover .projects-hiddenbutton {
  opacity: 100;
  transition: transform 350ms;
  transform: translate(0, -15px);
  text-align: left;
  width: 100%;
}

.projects-hover-effect:hover .projects-carousel {
  filter: grayscale(20%);
  transition: 0.3s;
  cursor: pointer;
}

/* Create four equal columns that floats next to each other */
.column {
  float: left;
  width: 50%;
}

/* Clear floats after rows */
.row-featured_projects:after {
  content: "";
  display: table;
  clear: both;
}

/* Content */
.content {
  background-color: rgba(170, 170, 170, 0.193);
  padding: 10px;
  height: 410px;
  position: relative;
}

/* Responsive layout - makes a two column-layout instead of four columns */
@media screen and (max-width: 1500px) {
  .column {
    width: 50%;
  }
}

/* Responsive layout - makes the two columns stack on top of each other instead of next to each other object-fit: cover; */
@media screen and (max-width: 800px) {
  .column {
    width: 100%;
  }
}

.featured-projects {
  object-fit: cover;
  object-position: center;
  height: 12.5vw;
  overflow: hidden;
  filter: grayscale(90%);
  filter: grayscale(20%);
}
.featured-projects:hover {
  filter: grayscale(20%);
  transition: 0.1s;
  cursor: pointer;
}
.featured-project-text-content {
  color: rgba(51, 51, 51, 0.871);
  font-size: 0.9rem;
  text-align: justify;
  padding: 10px;
}

.read-more {
  position: absolute;
  bottom: 7px;
  right: 7px;
}
.button-read-more {
  border-radius: 4px;
  background-color: #0059a2;
  font-size: 11px;
  padding: 5px;
  padding-left: 10px;
  padding-right: 10px;
  transition: all 0.5s;
  border: none;
  color: #ffffff;
  cursor: pointer;
  opacity: 1;
}

.button-read-more span {
  cursor: pointer;
  display: inline-block;
  position: relative;
  transition: 0.5s;
}

.button-read-more span:after {
  content: "Read More";
  position: absolute;
  opacity: 0;
  top: 0;
  right: -20px;
  transition: 0.5s;
}

.button-read-more:hover span {
  padding-right: 60px;
}

.button-read-more:hover span:after {
  opacity: 1;
  right: 0;
}

#carouselExampleCaptions .carousel-item img {
  object-position: center;
  height: 80vh;
  overflow: hidden;
}
#carouselExampleCaptions .carousel-item:before {
  content: "";
  background-image: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.5));
  display: block;
  position: absolute;
  top: 0;
  width: 100vw;
  height: 80vh;
}

.img-fluid-highlight {
  object-fit: cover;
  object-position: center;
  height: 80vh;
  width: 100vw;
  overflow: hidden;
}

.secondary-title-header {
  margin-bottom: 30px;
  letter-spacing: 3.5px;
}

.project-text-content-decode {
  color: rgba(51, 51, 51, 0.871);
  font-size: 0.9rem;
  text-align: justify;
  line-height: 25px;
}
.project-text-content-decode li {
  line-height: 17px;
}
