.header {
  max-height: 600px;
  background: linear-gradient(to bottom right, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url("../images/headerBG.jpg") center center no-repeat;
  background-size: cover;
}

.header .img {
  width: 200px !important;
  height: auto !important;
}

.navbar {
  transition: all 0.5s ease-in-out;
  font-size: larger !important;
}

.footer a {
  color: white;
}

.certificate {
  display: contents;
}

.project:hover {
  transform: scale(1.05);
  transition: all 0.5s ease-in-out;
  opacity: 0.8;
}

#photo .carousel img {
  width: 400px !important;
  height: auto !important;
  object-fit: contain !important;
  object-position: center !important;
}

#photo .carousel-control-prev-icon {
  margin-left: -200px;
}

#photo .carousel-control-next-icon {
  margin-right: -200px;
}

.card-img-top {
  height: 250px !important;
  object-fit: contain !important;
  object-position: center !important;
}

.card-img-top img {
  height: 250px !important;
  object-fit: contain !important;
  object-position: center !important;
}

.to-top-btn {
  position: fixed;
  z-index: 20;
  bottom: 20px;
  right: 20px;
  opacity: 0;
  width: 52px;
  height: 52px;
  border: none;
  border-radius: 50%;
  outline: none;
  background-color: #44434a;
  cursor: pointer;
  transition: all 0.5s ease-in-out;
}

.to-top-btn:hover {
  background-color: #1d1d21;
}

.to-top-btn img {
  margin-bottom: 0.25rem;
  width: 18px;
}

.show {
  opacity: 1;
}

#cert img {
  height: 500px !important;
  width: auto !important;
  object-position: center !important;
  object-fit: contain;
}

.post:not(:last-child) {
  margin-bottom: 50px;
}

.responsive-header-text {
  font-size: 1.5rem !important;
}

.hide {
  display: none;
}

.but-wid {
  width: 150px !important;
}

.card-header {
  height: auto !important;
}

.row-striped:nth-of-type(odd) {
  background-color: #efefef;
  border-left: 4px #000000 solid;
}

.row-striped:nth-of-type(even) {
  background-color: seashell;
  border-left: 4px rgb(247, 215, 155) solid;
}

.row-striped {
  padding: 15px;
}

#sertitle img {
  max-width: 100%;
  height: auto;
}

@media (max-width: 992px) {
  .navbar {
    background: var(--bs-dark);
  }
  .header {
    height: 800px !important;
    min-height: 800px !important;
  }
  #intro img {
    display: flex !important;
    width: 50% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    width: 50% !important;
  }
  .responsive-header-text {
    font-size: 1rem !important;
  }
  .carousel-control-prev,
  .carousel-control-next {
    display: none;
  }
}
@media (max-width: 768px) {
  .carousel-control-prev,
  .carousel-control-next {
    display: none;
  }
}
