@font-face {
  font-family: 'Gilroy-Bold';
  src: local('Gilroy-Bold'), url(./assets/fonts/Gilroy-Bold.ttf) format('truetype');
}
@font-face {
  font-family: 'Gilroy-Medium';
  src: local('Gilroy-Medium'), url(./assets/fonts/Gilroy-Medium.ttf) format('truetype');
}
@font-face {
  font-family: 'Gilroy-Light';
  src: local('Gilroy-Light'), url(./assets/fonts/Gilroy-Light.ttf) format('truetype');
}
body {
  overflow-x: hidden; 
}
a {
  color: inherit;
  text-decoration: none;
}
h2 {
  font-size: 48px;
  font-family: 'Gilroy-Medium';
  margin: 0px;
}
h3 {
  font-size: 40px;
  font-family: 'Gilroy-Medium';
}
h4 {
  font-size: 20px;
  font-family: 'Gilroy-Light';
}
h5 {
  font-size: 18px;
  font-family: 'Gilroy-Light';
  margin: 0px;
}
h6 {
  font-size: 16px;
  font-family: 'Gilroy-Light';
  margin: 0px;
}
.content {
  padding-left: 20px;
  padding-right: 20px;
  max-width: 1312px;
  margin-left: auto;
  margin-right: auto;
  font-family: 'Gilroy-Light';
}
.flex {
  display: flex;
}
.footer {
  background-color: #00c3e3;
  height: 200px;
  margin-top: 40px;
  padding: 20px;
  color: white;
  .footer-container {
    margin: auto;
    max-width: 1312px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
  }
  .left-block {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    white-space: pre; 
    flex: 1;
  }
  .right-block {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    text-align: right;
    white-space: pre; 
    flex: 1;
  }
  .bottom {
    margin: auto;
  }
}
body {
  margin: 0px;
}
.hero {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
}
.hero .container {
  display: flex;
  flex-direction: row;
}
.hero .left-block {
  flex-direction: column;
  margin-right: 20px;
}
.hero .left-block .image-container {
  width: 864px;
  height: 464px;
  border-radius: 25px;
}
.hero .right-block {
  background-color: #e6e6f1;
  border-radius: 25px;
  display: flex;
  align-items: center;
  padding: 20px;
}
.second-hero {
  margin-top: 72px;
  display: flex;
}
.second-hero h4 {
  margin-top: 0px;
  margin-left: 32px;
  width: 100%;
}
.second-hero img {
  height: 500px;
}
.mivacs-container {
  margin-top: 72px;
}
.mivacs-container h4 {
  max-width: 50%;
}
.mivacs {
  display: flex;
  justify-content: center;
  flex-flow: row wrap;
  gap: 40px;
}
.mivacs .mivac-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-basis: 30%;
  border: 1px solid #00c3e3;
  border-radius: 25px;
  height: 200px;
  width: 400px;
  margin-top: 20px;
  color: #00c3e3;
}
.mivacs .mivac-tile h6 {
  font-family: 'Gilroy-Medium';
}
.mivacs .mivac-tile img {
  width: 72px;
  height: 72px;
  margin-bottom: 12px;
  filter: invert(64%) sepia(57%) saturate(4912%) hue-rotate(150deg) brightness(102%) contrast(106%);
}
.travels {
  display: flex;
  flex-flow: row wrap;
  column-gap: 32px;
}
.travels h5 {
  height: 44px;
}
.travels .travel-tile {
  display: flex;
  flex-direction: column;
  flex-basis: 30%;
  margin-top: 20px;
  margin-bottom: 50px;
  justify-content: space-between;
}
.travels .travel-tile .introduction {
  display: flex;
  flex-grow: 1;
}
.travels .travel-tile .travel-image {
  width: 100%;
  border-radius: 12px;
  margin-top: 12px;
}
.travels .travel-tile .stars {
  background-color: #e6e6f1;
  justify-content: space-between;
  display: flex;
  padding: 12px;
  width: 80%;
  border-radius: 12px;
  margin-top: 12px;
  margin-bottom: 12px;
}
.travels .travel-tile .stars .star {
  width: 12px;
}
.travels .travel-tile .area-price {
  display: flex;
  justify-content: space-between;
  width: 100%;
  margin-top: 12px;
  font-family: 'Gilroy-Medium';
}
.travels .travel-tile .travel-cta {
  margin-top: 16px;
}
.content.details {
  margin-top: 20px;
}
.content.details .description {
  margin-top: 20px;
  padding: 36px 60px;
  background-color: #e6e6f1;
  border-radius: 25px;
  width: 70%;
  margin-bottom: 20px;
}
button {
  background-color: #00c3e3;
  color: white;
  width: 100%;
  padding-top: 12px;
  padding-bottom: 12px;
  display: flex;
  justify-content: center;
  border: none;
  border-radius: 12px;
  font-size: 18px;
  font-family: 'Gilroy-Light';
}
.posts {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  margin-top: 72px;
  background-color: #00c3e3;
  border-radius: 20px;
  padding: 72px 32px;
}
.posts .post {
  display: flex;
  flex-direction: column;
  flex-basis: 30%;
  color: white;
  justify-content: flex-start;
  height: 100%;
}
.posts .post img {
  border-radius: 40px;
  width: 100%;
  margin-top: 20px;
}
.posts .post h4 {
  margin-top: 0px;
  font-family: 'Gilroy-Medium';
}
.posts .post.reverse {
  flex-direction: column-reverse;
}
.posts .post.reverse h4 {
  margin-top: 20px;
}
.posts .post.reverse img {
  margin-top: 0px;
}

@media (max-width: 1200px) {
  .hero .container {
    display: flex;
    flex-direction: column;
 }
  .hero .left-block {
    display: flex;
    align-items: center;
    flex-direction: column;
    margin-right: 0px;
 }
  .hero .left-block img {
    width: 100%;
    height: 400px;
    border-radius: 25px;
 }
  .mivacs-container h4 {
    max-width: 70%;
 }
  h2 {
    font-size: 32px;
 }
  h3 {
    font-size: 32px;
 }
  h4 {
    font-size: 18px;
 }
  h6 {
    font-size: 18px;
 }
  .hero .right-block {
    margin-top: 20px;
 }
  .second-hero {
    margin-top: 72px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
 }
  .second-hero h4 {
    margin-top: 0px;
    margin-left: 0px;
    width: 100%;
 }
  .second-hero img {
    height: 500px;
    width: 550px;
 }
 .posts {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  background: none;
  padding: 50px 0px;
  margin-top: 30px;
}
.posts .post {
  justify-content: center;
  align-items: center;
  background-color: #00c3e3;
  border-radius: 45px;
  padding: 75px 25px;
  margin-left: -20px; 
  margin-right: -20px;
}
.posts .post.reverse {
  background-color: #00c3e3;
  border-radius: 45px;
  padding: 75px 25px;
}
.posts .post img {
  height: 100%;
}
.posts .posts-text {
  line-height: 1.6;
}
  .mivacs .mivac-tile {
    width: 300px;
 }
  .travels .travel-tile .stars {
    width: 93%;  
  }
  .travels .travel-tile {
    margin-bottom: 10px;
  }
} 
@media (max-width: 996px) {
  .hero .container {
    display: flex;
    flex-direction: column;
 }
  .hero .left-block {
    display: flex;
    align-items: center;
    flex-direction: column;
    margin-right: 0px;
 }
  .hero .left-block .image-container {
    width: 100%;
    height: 400px;
    border-radius: 25px;
 }
  .mivacs-container h4 {
    max-width: 100%;
 }
  h2 {
    font-size: 32px;
 }
  h3 {
    font-size: 32px;
 }
  h4 {
    font-size: 18px;
 }
  h6 {
    font-size: 18px;
 }
  .hero .right-block {
    margin-top: 20px;
 }
  .second-hero {
    margin-top: 72px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
 }
  .second-hero h4 {
    margin-top: 0px;
    margin-left: 0px;
    width: 100%;
 }
  .second-hero img {
    height: 500px;
    width: 550px;
 }
  .posts {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    background: none;
    padding: 50px 0px;
    margin-top: 30px;
 }
  .posts .post {
    justify-content: center;
    align-items: center;
    background-color: #00c3e3;
    border-radius: 45px;
    padding: 75px 25px;
    margin-left: -20px; 
    margin-right: -20px;
 }
 .posts .post.reverse {
    background-color: #00c3e3;
    border-radius: 45px;
    padding: 75px 25px;
}
  .posts .post img {
    height: 100%;
 }
  .posts .posts-text {
    line-height: 1.6;
 }
  .mivacs .mivac-tile {
    width: 300px;
 }
 .footer {
  padding: 20px;
  height: 150px;
}
.footer .left-block {
  white-space: normal;
  padding-bottom: 10px;
}
.footer .right-block {
  text-align: center;
  white-space: normal;
  padding-bottom: 10px;
}
.flex {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.site-header {
  text-align: center;
  padding-bottom: 5px;
}
.travels {
  display: flex;
  flex-wrap: wrap; 
  gap: 10px; 
  justify-content: space-between; 
}
.travels .travel-tile {
  flex-basis: 47%;
  margin-bottom: 10px;

}
.travels .travel-tile .stars {
  width: 93%; 
}
} 
@media (max-width: 767px) {
  .hero .container {
    display: flex;
    flex-direction: column;
 }
  .hero .left-block {
    display: flex;
    align-items: center;
    flex-direction: column;
    margin-right: 0px;
 }
  .hero .left-block .image-container {
    width: 100%;
    height: 400px;
    border-radius: 25px;
 }
  h2 {
    font-size: 28px;
 }
  h3 {
    font-size: 24px;
 }
  h4 {
    font-size: 18px;
 }
  h6 {
    font-size: 18px;
 }
  .hero .right-block {
    margin-top: 20px;
 }
  .second-hero {
    margin-top: 72px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
 }
  .second-hero h4 {
    margin-top: 0px;
    margin-left: 0px;
    width: 100%;
 }
  .second-hero img {
    height: 450px;
    width: 100%;
 }
  .posts {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
 }
  .posts .post {
    justify-content: center;
    align-items: center;
 }
  .posts .post img {
    height: 432px;
 }
  .posts .posts-text {
    line-height: 1.6;
    font-size: 20px;
 }
  .mivacs-container h4 {
    max-width: 100%;
 }
  .mivacs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px; 
    justify-content: center;
 }
  .mivacs .mivac-tile {
    width: 100%;
    height: 180px;
 }
  .mivacs .mivac-tile img {
    width: 72px;
    height: 72px;
 }
 .icon-title {
  font-size: 18px;
 }
  .footer {
    padding: 20px;
    height: 200px;
 }
  .footer .left-block {
    white-space: normal;
    text-align: center;
    padding-bottom: 10px;
 }
  .footer .right-block {
    text-align: center;
    white-space: normal;
    padding-bottom: 10px;
 }
  .flex {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
 }
  .site-header {
    text-align: center;
    padding-bottom: 5px;
 }
  .travels {
    flex-direction: column;
  }
  .travels .travel-tile .stars {
    width: 97%;
  }
}  
@media (max-width: 576px) {
  h2 {
    font-size: 20px;
  }
  h4 {
    font-size: 16px;
  }
  h6 {
    font-size: 16px;
  }

  .hero .left-block .image-container {
    height: 300px;
  }
  .mivacs-container {
    margin-top: 25px;
  }
  .mivacs .mivac-tile img {
  width: 150px;
  height: 160px;
  }
  .second-hero img {
    height: 350px;
  }
  .posts .post img {
    height: 432px;
  }
  .posts {
    gap: 30px;
    margin-top: 25px;
  }
  .site-header {
    font-size: 30px;
}
  .site-footerSubtitle {
    font-size: 10px;
  }
  .site-phone {
    font-size: 10px;
  }
  .site-hours {
    font-size: 10px;
  }
  .site.email {
    font-size: 10px;
  }
  .mivacs {
    display: grid;
    grid-template-columns: repeat(2, 1fr); 
    gap: 40px; 
    justify-content: center;
 }
  .mivacs .mivac-tile {
    width: 100%;
    height: 180px;
 }
  .mivacs .mivac-tile img {
    width: 72px;
    height: 72px;
 }
 .icon-title {
    font-size: 16px;
  }
  .hero {
    margin-top: 15px;
  }
  .second-hero {
    margin-top: 35px;
  }
  .travels .travel-tile .stars {
    width: 95%;
  }
}