.home-container {
  position: relative;
  width: 100%;
  max-width: 1440px;
  height: 790px;
  font-family: 'Montserrat', sans-serif;
  color: white;
  padding: 18px 5.5em;

  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}



@media screen and (min-width: 1200px) {
  #home-hero {

    height: 106vh;
  }
}



.hero-overlay::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: inherit;
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.hero-fade {
  position: relative;
  z-index: 1;
}

.home-title {
  font-size: 3vw;
  font-weight: 300;
  margin: 0;
  line-height: 1.4;
}


.home-title b {
  font-weight: 700;
}

.home-title strong {
  font-weight: 700;
}

.home-search {
  margin-top: 30px;
  position: relative;
}

.home-card:has(.home-card-link:hover) {
  border: 1px solid white;
  transition: border 0.3s ease;
}

.home-card:hover {
  border: 1px solid white;
}

.home-search-input {
  width: 100%;
  height: 61px;
  padding: 14px 20px 14px 18px;
  border: none;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.2);
  color: white;
  outline: none;
  font-size: 14px;
  font-weight: 400;
  border: 1px solid #FFFFFF80;
  backdrop-filter: blur(23px);
}

.home-search-input::placeholder {
  color: white;
  font-size: 18px;
  font-weight: 400;

}

.home-search-icon {
  position: absolute;
  right: 9px;
  top: 15px;
  font-size: 18px;
}

.home-cards-main {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 25%;
  left: 55vw;
  width: 100%;
  overflow: hidden;
}

.home-cards {
  display: flex;
  gap: 10px;
  transition: transform 0.3s ease;
}

.home-card {
  padding: 30px;
  width: 360px;
  height: 360px;
  background: linear-gradient(90deg, #00000013, #ffffff15);
  box-shadow: 0px 4px 9px rgba(0, 0, 0, 0.09);
  position: relative;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  backdrop-filter: blur(7.900000095367432px);
  transition: border 0.3s ease;
}


.home-card-title {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
  height: calc(1.4em * 3);
  color: white;
  overflow: hidden;
  white-space: normal;
  display: -webkit-box;
  -webkit-box-orient: vertical;
	text-transform:uppercase;
}

.home-card-text {
  font-size: 18px;
  opacity: 0.8;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-top: 20px;
  color: white;
}

.home-card-link {
  bottom: 0;
  right: 0;
  color: white;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
}

.home-buttons {
  display: flex;
  align-items: center;
  border-radius: 90px;
  backdrop-filter: blur(21.5px);
  opacity: 0.87;
  width: 192px;
  height: 85px;
  margin-top: 2vw;
  background: #ffffff5e;
  justify-content: space-around;
}

.home-btn {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.3);
  color: white;
  font-size: 18px;
  cursor: pointer;
}

.home-btn:hover {
  border: 1px solid white;
}


.home-text {
  width: fit-content;
	max-width: 530px;
}



}


@media (max-width: 1336px) {
  .home-container {
    padding: 18px 5.5em;
  }
}

@media (max-width: 450px) {


  .home-title {
    font-size: 32px !important;
  }

  .home-container {
    padding: 20px;
  }


  .home-search-icon {
    right: 22px;
    top: 5px;
  }

  .home-cards-main {
    display: flex;
    flex-direction: column;
    position: relative;
    top: 0;
    left: 0;
    width: auto;
    overflow: hidden;
    margin-top: 0;
    transform: none;
    margin-top: 32px;
  }

  .home-container {
    padding: 0 20px !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: auto;
  }

  .home-text {
    width: 100%;
    text-align: center;
  }

  .home-title {
    font-size: 2.5vw;
    margin-top: 100px;
    font-weight: 300;
    line-height: 1.2;
    width: 100%;
    text-align: start;
  }

  .home-search-input {
    width: 100%;
    font-size: 16px;
    height: 40px;
  }

  .home-search-input::placeholder {
    font-size: 16px;
  }

  .home-cards {
    width: 100vw;
    gap: 0;
    padding-left: 20px;
    padding-bottom: 20px;
  }

  .home-card {
    min-width: 90vw !important;
    margin: 0 auto;
  }

  .home-buttons {
    margin-top: 20px;
    width: 80px;
    height: 35px;

    margin-bottom: 65px;
    align-self: flex-end;
    margin-right: 20px;
    background-color: transparent;
  }

  .home-btn {
    width: 32px !important;
    height: 32px !important;
  }
}