@media (max-width: 1500px) {
  .events-galery img {
    width: 300px;
  }
}

@media (max-width: 1367px) {
  .events-galery img {
    width: 200px;
  }

  .image-block-wrapper .image-block1-text {
    gap: 80px 0px;
  }

  .image-block1 img {
    width: 900px;
  }
}

@media (max-width: 1288px) {
  .image-block-wrapper {
    left: 40rem;
  }

  .image-block1 img {
    width: 700px;
  }

  .footer-contact {
    margin-right: 100px;
  }
  .footer-header img {
  width: 300px;
  height: 300px;
  object-fit: contain;
}
}



@media (max-width: 1130px) {
  .image-block-wrapper {
    left: 30rem;
  }

  .image-block-wrapper h1 {
    padding-bottom: 3rem;
  }

  .image-block1 img {
    width: 600px;
  }

  .text2 p {
    display: block;
    max-width: 160px;
  }
}

@media (max-width: 910px) {
  .events-galery {
    grid-template-columns: repeat(2, -webkit-max-content);
    grid-template-columns: repeat(2, max-content);
    gap: 5rem;
  }

  .events-galery img {
    width: 250px;
  }

  .image-block-wrapper .image-block1-text {
    grid-template-columns: -webkit-max-content;
    grid-template-columns: max-content;
    gap: 20px;
  }

  .image-block-wrapper {
    padding: 50px;
    right: 0;
  }
}

@media (max-width: 900px) {
  .image-block-wrapper h1 {
    font-size: 3rem;
  }

  .slide-title-container {
    width: 100%;
    padding: 0 2rem;
  }

  .text p {
    padding: 15px 0px 25px;
  }

  .text h2 {
    padding-bottom: 15px;
  }

  .slider-controls {
    top: 65%;
    width: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    justify-content: center;
    gap: 50%;
  }

  .control-btn {
    padding: 1rem;
  }

  .control-btn img {
    width: 120px;
    height: 120px;
  }

  html,
  body {
    height: 100%;
    overflow-y: visible;
  }

  nav {
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding-top: 10px;
  }

  nav .logo img {
    width: 50px;
  }

  nav .logo a {
    padding-left: 0;
    align-self: start;
  }

  .nav-links a {
    padding-left: 10px;
  }

  footer p {
    font-size: 12px;
    padding-left: 0;
    padding-bottom: 12px;
  }

  .nav-links a svg {
    width: 2rem;
    height: auto;
  }

    .baseline-left a {
    padding-left: 0px;
  }

  .baseline-right a {
    font-size: 14px;
    padding-left: 0px;
  }

  .footer-contact h3 {
    font-size: clamp(0.1rem, 2vw + 0.5rem, 10rem);
  }

   .footer-contact p {
    font-size: clamp(0.1rem, 1vw + 0.5rem, 10rem);
   }
}

@media (max-width: 730px) {
  .image-block1 {
    flex-direction: column;
  }

  .image-block-wrapper {
    position: static;
  }

  .image-block-wrapper .image-block1-text {
    grid-template-columns: repeat(2, -webkit-max-content);
    grid-template-columns: repeat(2, max-content);
  }

  .image-block1 img {
    width: 100%;
  }

  .footer-baseline {
    flex-direction: column;
  }

  .footer-header img {
    width: 200px;
    height: 200px;
  }

  .footer-content .footer-img-contact-wrapper {
    gap: 0rem;
    justify-content: center;
    align-items: center;
  }

}

@media (max-width: 640px) {
  .events-galery {
    grid-template-columns: repeat(1, -webkit-max-content);
    grid-template-columns: repeat(1, max-content);
    gap: 2rem;
  }

  .events-galery img {
    width: 400px;
  }

  .drinks-section1 {
    grid-template-areas:
      "a a"
      "b b"
      "c c";
  }
  .image-block1 {
    padding-top: 120px;
  }
  .text-block1 {
    padding-top: 100px;
  }

  .text-block1 p,
  .text-block2 p {
    padding-left: 20px;
    padding-right: 75px;
    line-height: 1.1;
    padding-bottom: 50px;
  }

  .footer-baseline .baseline-right a {
    padding-right: 0;
  }

  .footer-contact {
    margin-right: 20px;
  }
}

@media (max-width: 490px) {
  .slider-controls {
    gap: 100%;
  }

  .control-btn img {
    width: 75px;
    height: 75px;
  }

  .events-galery img {
    width: 300px;
  }

  .text-block1 p,
  .text-block2 p {
    padding-left: 10px;
    padding-right: 25px;
    line-height: 1.1;
    padding-bottom: 50px;
  }

  .text-block1 p {
    font-size: 20px;
  }

  .text-block2 p {
    font-size: 18px;
  }
  .image-block-wrapper {
    padding: 20px;
    text-align: center;
  }

  .text hr {
    width: 90%;
    align-self: center;
  }
}

@media (max-width: 376px) {
  .footer-baseline .baseline-right a {
    font-size: 12px;
  }
}

@media (max-width: 360px) {
  nav {
    padding: 10px;
  }

  .nav-links a {
    font-size: 15px;
  }

  nav .logo a img {
    width: 40px;
  }

  .events-galery img {
    width: 220px;
  }

  .text-block1 p {
    font-size: 15px;
  }

  .text-block2 p {
    font-size: 12px;
  }
}
