@media screen and (max-width: 1440px) {
  .grid_container {
    grid-template-columns: 1fr 1fr;
  }

  .section_wrapper {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .container {
    width: 100%;
    height: unset;
  }
}

@media screen and (max-width: 1200px) {
  header {
    padding: 0 3rem;
  }

  .page_wrapper {
    padding-left: 3rem;
    padding-right: 3rem;
  }

  .photo_gallery_wrap {
    grid-template-columns: 1fr 1fr;
  }
}

@media screen and (max-width: 992px) {
  .page_wrapper {
    padding-left: 2rem;
    padding-right: 2rem;
  }
  .burger,
  .burger_close {
    display: flex;
  }
  header {
    padding: 0 2rem;
  }
  .burger {
    margin-right: 1rem;
  }
  .menu {
    width: 500px;
    max-width: 90%;
    height: 100vh;
    max-height: auto;
    background-color: var(--main-dark);
    color: #ffffff;
    position: fixed;
    top: 0;
    right: 0;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 2rem;
    display: none;
    animation: menu_in 0.7s forwards;
    overflow: auto;
  }
  .menu li i {
    display: none;
  }
  .menu_item {
    flex-direction: column;
    align-items: flex-start;
  }
  .sub_menu {
    position: relative;
    display: block;
    top: unset;
    left: unset;
    padding: 0;
    background-color: unset !important;
    margin-left: 1rem;
    animation: none;
  }
  .sub_menu_inner {
    display: block;
    position: relative;
    top: unset;
    left: unset;
    padding: 0;
    margin-left: 1rem;
    background-color: unset !important;
    animation: none;
  }
  .sub_menu_item {
    display: block;
  }
  .menu li {
    margin: 0.5rem 0;
  }

  .tiny .menu {
    background-color: #ffffff;
    color: var(--main-dark);
  }
  header.tiny .menu li:hover > a {
    color: var(--light-blue);
  }

  .grid_container {
    grid-template-columns: 1fr;
  }

  .grid_box_cover {
    max-height: 400px;
  }

  .grid_box_button {
    align-self: center;
  }

  .hero {
    justify-content: center;
    align-items: center;
    padding: 0;
  }

  .hero > div {
    margin: 0;
    width: 80%;
    max-width: unset;
  }

  .contact {
    flex-direction: column-reverse;
    gap: 2rem;
  }

  .map {
    width: 100%;
  }
  .info {
    width: 100%;
  }

  .text_inner_img:nth-of-type(even),
  .text_inner_img:nth-of-type(odd) {
    float: unset;
    margin: 0;
    width: 100%;
    height: 400px;
  }
  .text_title {
    font-size: 2rem;
    text-align: center;
  }

  .back_button {
    display: none;
  }

  .inner_img {
    float: unset;
    margin: 0;
    margin-top: 35px;
    max-width: 100%;
  }

  .chart {
    height: 500px !important;
  }

  .header_socials {
    display: flex;
    gap: 15px;
    margin-right: 15px;
  }
}

@media screen and (max-width: 800px) {
  footer {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 1rem 2rem;
    padding: 3rem 1rem;
  }
  footer .logo {
    grid-row: 1/2;
    grid-column: 1/3;
    margin: auto;
  }

  footer ul {
    grid-row: 2/3;
    width: 100%;
  }

  .first_lvl {
    flex-direction: column;
  }

  .first_column,
  .second_column,
  .third_column {
    width: 100%;
  }
}

@media screen and (max-width: 660px) {
  .container {
    height: 400px;
    margin-bottom: 70px;
  }

  .graphs .container {
    height: unset;
  }

  .chart {
    height: 400px !important;
  }

  .date_form {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .date_form input {
    width: unset;
  }

  .member_info {
    flex-direction: column-reverse;
    gap: 25px;
  }
  .member_info img {
    max-width: 100%;
    margin-top: 35px;
  }
  .member_info p {
    margin: 0;
    font-size: 1.2rem;
  }
}

@media screen and (max-width: 540px) {
  footer {
    display: flex;
    flex-direction: column;
  }

  .footer_title {
    display: none;
  }

  footer ul {
    order: 2;
    text-align: center !important;
  }

  .text_inner_img {
    height: 300px !important;
  }
  .text_inner_p {
    margin: 15px 0;
  }

  .middle {
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  .middle a {
    width: 90%;
  }
  .first {
    width: 80%;
  }
}

@media screen and (max-width: 500px) {
  header {
    padding: 0 1rem;
  }
  .page_wrapper {
    padding: 100px 1rem 1rem 1rem;
  }
  .title {
    font-size: 1.5rem;
  }

  .grid_box {
    padding: 0.5rem;
  }
  .grid_box_button {
    font-size: 0.7rem;
  }
  .grid_all_button {
    font-size: 1rem;
  }

  .grid_box_cover {
    max-height: 300px;
  }

  .main_swiper {
    height: auto;
  }
  .mySwiper2 {
    height: 450px;
  }

  .grid_container {
    gap: 1.5rem;
  }

  .play_button {
    width: 60px;
  }

  .container {
    height: 250px;
    margin-bottom: 70px;
  }

  .graphs .contact {
    margin-bottom: 35px !important;
  }

  .chart {
    height: 300px !important;
  }

  .graphs {
    padding-top: 130px;
  }

  .date_form .input {
    width: 100px;
  }
}

@media screen and (max-width: 375px) {
  .chart {
    height: 275px !important;
  }
}
