.home {
  width: 100%;
  display: flex;
  background-image: linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45)),
    url(/img/fon1.webp);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  flex-direction: column;
  align-items: center;
  margin-top: -94px;
}

.home-page-block {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 10px;
  margin-top: 96px;
}

.home-page-block-link {
  background: rgba(255, 255, 255, 0.3);
  border-radius: 15px;
  text-decoration: none;
  transition: all 0.3s;
  cursor: pointer;
}

.home-page-block-link:hover {
  background: rgba(65, 65, 65, 0.3);
}

.home-page-block-content {
  padding: 20px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
}

.home-page-block-content-verh {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.home-page-block-content-head {
  font-weight: 700;
  font-size: 19px;
  color: #ffffff;
}

.home-page-block-content-text {
  font-weight: 400;
  font-size: 14px;
  line-height: 125%;
  color: #ffffff;
}

.home-page-content-bottom {
  display: flex;
  flex-direction: row;
  gap: 105px;
  margin-top: 20px;
  align-items: center;
}

.home-page-content-bottom-text {
  font-weight: 500;
  font-size: 20px;
  line-height: 125%;
  color: #f6f7f8;
}

.home-page-content-bottom-link {
  font-weight: 400;
  font-size: 16px;
  text-align: center;
  color: #333333;
  padding: 20px 68px;
  text-decoration: none;
  transition: all 0.3s;
  border-radius: 15px;
  background-color: #ffffff;
  width: 300px;
}

.home-page-content-bottom-link:hover {
  color: #333333;
  background-color: #ffdd2d;
}

@media (max-width: 1280px) {
  .home {
    height: 100%;
    margin-top: 0px;
    background-image: linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45)),
      url(/img/fon1.webp);
  }

  .home-page-title {
    font-size: 20px;
    color: #ffffff;
  }

  .home-page-block {
    margin-top: 20px;
    align-items: flex-start;
    flex-direction: column;
  }

  .home-page-content-bottom {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 15px;
  }

  .home-page-content-bottom-text {
    font-weight: 400;
    font-size: 14px;
  }

  .home-page-content-bottom-link {
    padding: 20px 0;
    width: 100%;
  }

  .home-page-block-link1 {
    width: 75%;
  }

  .home-page-block-link2 {
    width: 100%;
  }

  .home-page-block-link3 {
    width: 80%;
  }

  .home-page-block-link4 {
    width: 95%;
  }

  .page-home {
    padding-top: 150px;
  }
}
