*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
  margin: 0;
}

p {
  margin: 0;
}

.main-container {
  max-width: 1366px;
  margin: 0 auto;
  padding: 20px 20px 0;
}

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.logo {
  max-width: 250px;
}

.contact-info__button {
  background-color: #2b9442;
  padding: 12px 15px;
  border: none;
  color: white;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0px 0px 6px 1px rgb(0 0 0 / 9%);
  border-radius: 10px;
}

.contact-info {
  position: fixed;
  display: none;
  justify-content: center;
  align-items: center;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #000000a6;
}

.contact-info.visible {
  display: flex;
}

.contact-info__content {
  width: 480px;
  height: 300px;
  padding: 10px;
  border-radius: 10px;
  background-color: white;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 50px;
  position: relative;
}

.contact-info__close-icon {
  position: absolute;
  right: 12px;
  top: 5px;
  color: #085397;
  cursor: pointer;
}

.contact-info__close-icon:hover {
  color: #2b9442;
}

.contact-info__label {
  font-weight: bold;
  margin-bottom: 4px;
  font-size: 25px;
  color: #2b9442;
}

.contact-info__link {
  font-size: 20px;
  color: #085397;
  text-decoration: none;
}

.contact-info__link:hover {
  color: #2b9442;
}

.menu {
  background-color: #085397;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
}

.menu__item {
  color: white;
  font-size: 20px;
  font-weight: bold;
  text-decoration: none;
}

.menu__item:hover {
  color: lightgrey;
}

.main-photo {
  display: block;
  width: 100%;
  margin: 20px 0 -20px 0;
}

.content {
  margin-bottom: 50px;
}

.content__header {
  color: #085397;
  font-size: 50px;
  text-align: center;
  margin: 30px 0 15px;
}

.content__text {
  text-align: center;
  font-size: 20px;
}

.spacer {
  height: 1px;
  background-color: #085397;
  width: 80%;
  margin: 30px auto;
}

.box-area {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 20px;
  padding-top: 15px;
}

.box-area__item {
  padding: 20px 30px;
  background-color: #2b9442eb;
  box-shadow: 0px 0px 6px 1px rgb(0 0 0 / 78%);
  border-radius: 10px;
  color: white;
  text-align: center;
  width: 100%;
  max-width: 350px;
}

.box-area__label {
  margin: 10px 0 20px 0;
  font-size: 25px;
}

.footer {
  background-color: #085397;
  color: white;
  padding: 0 20px 30px;
}

.footer__header {
  color: white;
  font-size: 50px;
  text-align: center;
  padding: 30px 0 15px;
  margin: 0;
}

.footer__label {
  margin-bottom: 5px;
}

.footer__link {
  color: white;
}

.footer__link:hover {
  color: lightgrey;
}

.footer__container {
  display: flex;
  gap: 30px;
  justify-content: space-evenly;
  flex-wrap: wrap;
  padding-top: 15px;
}

.timetable,
.ticket-prices {
  text-align: center;
}

.timetable__link,
.ticket-prices__link {
  display: block;
  color: #2b9442;
  margin-bottom: 10px;
  font-size: 20px;
}

.timetable__link:hover,
.ticket-prices__link:hover {
  color: #085397;
}

@media only screen and (max-width: 490px) {
  .header {
    justify-content: center;
  }

  .content__header,
  .footer__header {
      font-size: 40px;
  }

  .content__text {
    font-size: 16px;
  }

  .contact-info__content {
    width: 300px;
    height: 200px;
    gap: 20px;
    margin-bottom: 25vh;
  }

  .contact-info__label {
    font-size: 22px;
  }

  .contact-info__link {
    font-size: 18px;
  }

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

@media only screen and (max-width: 400px) {
  .main-container {
    padding: 20px 10px 0;
  }

  .content__header,
  .footer__header {
      font-size: 30px;
  }

  .menu {
    padding: 10px;
    gap: 16px;
  }

  .menu__item {
    font-size: 16px;
  }
}