.content_1_index_first {
  padding: 120px 0 60px;
}
.content_1_index_first > div {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 20px;
}

.content_1_index_banner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-content: stretch;
  min-height: 600px;
  padding: 40px;
  background-repeat: no-repeat;
  background-position: 50%;
  background-size: cover;
  position: relative;
}
.content_1_index_banner::before {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.75);
  position: absolute;
  left: 0;
  top: 0;
}
.content_1_index_banner > div {
  color: #fff;
  position: relative;
}
.content_1_index_banner h1 {
  padding: 0 0 20px;
  font-size: 45px;
  line-height: 1.33;
  text-align: center;
}
.content_1_index_banner .text {
  max-width: 640px;
  margin: 0 auto;
  font-size: 18px;
  line-height: 1.33;
  text-align: center;
}
.content_1_index_banner .text p {
  padding: 0 0 20px;
}

.content_1_hotels_wrapper {
  padding: 40px 0;
}
.content_1_hotels_wrapper > div {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 20px;
}

.content_1_hotels_grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-auto-rows: minmax(min-content, max-content);
  grid-gap: 24px;
}

.content_1_hotel_item {
  overflow: hidden;
  position: relative;
}
.content_1_hotel_item:hover .link {
  opacity: 1;
  visibility: visible;
  top: 50%;
}
.content_1_hotel_item:hover .inner {
  bottom: -150px;
}
.content_1_hotel_item:hover img {
  transform: scale(1.02);
}
.content_1_hotel_item .image {
  font-size: 0;
}
.content_1_hotel_item img {
  width: 100%;
  transition: 0.6s cubic-bezier(0.39, 0.575, 0.565, 1);
}
.content_1_hotel_item .inner {
  width: 100%;
  padding: 20px;
  background-color: rgba(26, 47, 110, 1);
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 1;
  transition: 0.45s cubic-bezier(0.39, 0.575, 0.565, 1);
}
.content_1_hotel_item h3 {
  padding: 0 0 8px;
  font-size: 20px;
  line-height: 1.33;
  color: #fff;
  font-weight: 600;
}
.content_1_hotel_item p {
  font-size: 18px;
  line-height: 1.33;
  color: #fff;
}
.content_1_hotel_item .link {
  width: 100%;
  text-align: center;
  position: absolute;
  left: 0;
  top: calc(50% + 10px);
  transform: translate(0, -50%);
  opacity: 0;
  visibility: hidden;
  transition: 0.45s cubic-bezier(0.39, 0.575, 0.565, 1);
}
.content_1_hotel_item .link a {
  display: inline-block;
  padding: 8px 24px;
  color: #fff;
  font-size: 19px;
  line-height: 1.5;
  text-decoration: none;
  background-color: #1349eb;
  border-radius: 50px;
  box-shadow: 0 2px 12px 0 rgba(0, 0, 0, .5);
}

.content_1_text_stars {
  padding: 0 0 8px;
  font-size: 14px;
}

.content_1_stars {
  display: flex;
  justify-content: center;
  gap: 4px;
}

.content_1_star {
  width: 24px;
  height: 24px;
  background-color: gold;
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}

.content_1_content_wrapper {
  padding: 120px 0 60px;
}
.content_1_content_wrapper > div {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 20px;
}
.content_1_content_wrapper h2 {
  padding: 0 0 20px;
  margin: 0 0 20px;
  font-size: 36px;
  line-height: 1.5;
  color: #000;
  font-weight: 600;
  text-align: center;
  position: relative;
}

.content_1_about_sides {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-auto-rows: minmax(min-content, max-content);
  grid-gap: 24px;
}
.content_1_about_sides .image {
  font-size: 0;
}
.content_1_about_sides img {
  width: 100%;
  box-shadow: 4px 4px 8px 0 rgba(0, 0, 0, 0.5);
}

.content_1_uni_text {
  font-size: 18px;
  line-height: 1.5;
  color: rgba(0, 0, 0, 0.75);
}
.content_1_uni_text p {
  padding: 0 0 20px;
}
.content_1_uni_text h3 {
  padding: 0 0 16px;
  font-size: 18px;
  font-weight: 600;
  color: #000;
}
.content_1_uni_text strong {
  font-weight: 600;
}
.content_1_uni_text hr {
  height: 1px;
  margin: 0 0 20px;
  border: none;
  border-bottom: 1px dashed #4aa8ff;
}
.content_1_uni_text ul {
  padding: 0 0 20px;
}
.content_1_uni_text li {
  margin: 0 0 12px;
  padding: 0 0 0 20px;
  position: relative;
}
.content_1_uni_text li::before {
  content: "";
  display: inline-block;
  transform: rotate(45deg);
  height: 12px;
  width: 6px;
  border-bottom: 3px solid #78b13f;
  border-right: 3px solid #78b13f;
  position: absolute;
  left: 0;
  top: 2px;
}

.content_1_application_form {
  max-width: 600px;
  padding: 48px;
  margin: 0 auto;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.5);
  background-color: rgba(0, 0, 0, 0.9);
}
.content_1_application_form h3 {
  margin: 0 0 24px;
  font-size: 18px;
  font-weight: 500;
  color: #fff;
  text-align: center;
}

.content_1_input_item {
  margin: 0 0 18px;
}
.content_1_input_item input {
  display: block;
  width: 100%;
  height: 50px;
  padding: 0 16px;
  border: 1px solid #000;
  font-size: 16px;
  transition: 0.2s cubic-bezier(0.39, 0.575, 0.565, 1);
}
.content_1_input_item input::placeholder {
  color: rgba(97, 102, 121, 0.5);
}
.content_1_input_item input:focus {
  border-color: rgba(0, 0, 0, 0.2);
}
.content_1_input_item textarea {
  display: block;
  width: 100%;
  height: 220px;
  padding: 20px 16px;
  border: 1px solid #000;
  font-size: 14px;
  line-height: 1.2;
  resize: none;
  transition: 0.2s cubic-bezier(0.39, 0.575, 0.565, 1);
}
.content_1_input_item textarea::placeholder {
  color: rgba(97, 102, 121, 0.5);
}
.content_1_input_item textarea:focus {
  border-color: rgba(0, 0, 0, 0.2);
}

.content_1_form_button a, .content_1_form_button button {
  display: block;
  width: 100%;
  padding: 8px 60px;
  border: none;
  font-size: 17px;
  line-height: 1.64;
  color: #fff;
  text-decoration: none;
  text-align: center;
  background-color: #1349eb;
  border-radius: 5px;
  cursor: pointer;
  transition: 0.2s cubic-bezier(0.39, 0.575, 0.565, 1);
}
.content_1_form_button a:hover, .content_1_form_button button:hover {
  background-color: #1349eb;
}
.content_1_form_button a:disabled, .content_1_form_button button:disabled {
  background-color: rgba(0, 0, 0, 0.3);
  cursor: auto;
}

@media (min-width: 240px) and (max-width: 1023px) {
  .content_1_index_first {
    padding: 120px 0 0;
  }
  .content_1_index_first > div {
    padding: 0;
  }
  .content_1_hotels_grid {
    grid-template-columns: 1fr;
  }
  .content_1_hotel_item .inner {
    padding: 16px;
  }
  .content_1_hotel_item h3 {
    font-size: 14px;
  }
  .content_1_hotel_item p {
    font-size: 13px;
  }
  .content_1_index_banner {
    min-height: 60vw;
    padding: 32px;
  }
  .content_1_index_banner h1 {
    font-size: 32px;
  }
  .content_1_index_banner .text {
    font-size: 14px;
  }
  .content_1_content_wrapper h2 {
    padding: 0 0 15px;
    margin: 0 0 15px;
    font-size: 24px;
  }
  .content_1_about_sides {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .content_1_application_form {
    padding: 20px;
  }
  .content_1_application_form h3 {
    font-size: 16px;
  }
}
