@font-face {
  font-family: 'localFont';
  src: url('/views/static/font.otf');
  font-weight: normal;
  font-style: normal;
}

body {
  margin: 0;
  padding: 0;
  height: 100vh;
  font-family: "Bahnschrift", Arial, Helvetica, sans-serif;
}

#main-wrapper {
  display: flex;
  justify-content: center;
  height: 100vh;
  background-size: cover;
  background-position: center;
}

#main-wrapper.home {
  background-image: url('/views/static/home.png');
}

#main-wrapper.tour {
  background-image: url('/views/static/tour.png');
}

#main-wrapper.desc {
  background-image: url('/views/static/desc.png');
}

#main-wrapper.kontakts {
  background-image: url('/views/static/contacts.png');
}

#content-wrapper {
  height: 100%;
  width: 100%;
  max-width: 90%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#page-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  margin-top: 96px;
  height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
}

.page {
  display: flex;
  width: 100%;
}

#home {
  display: flex;
  width: 100%;
  height: 100%;
}

.page-title {
  display: flex;
  justify-content: center;
  font-size: 48px;
  line-height: 72px;
  font-weight: 400;
  margin: 0;
  margin-bottom: 10px;
}

.page-title.kontakts {
  color: white;
}

#news > .news-content {
  display: flex;
  flex-direction: column;
  font-size: 22px;
  line-height: 30px;
}

.article-link {
  text-decoration: none;
  color: black;
}

.text-page {
  display: flex;
  flex-direction: column;
}

.contacts-filler {
  display: flex;
  min-width: 50%;
}

.icons-wrapper {
  display: flex;
  flex: 1;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 8px;
}

.icon-row {
  display: flex;
  flex: 1;
  width: 100%;
  justify-content: right;
  gap: 42px
}

.icon-wrapper {
  display: flex;
  flex: 1;
  max-width: 128px;
}

.icon {
  display: flex;
  width: 100%;
  height: 100%;
  background-color: white;
}


.contacts-field {
  display: flex;
  flex-direction: row;
  height: 100%;
  width: 100%;
  padding-right: 360px;
}

::-webkit-scrollbar {
  width: 1px;
}

::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
}

::-webkit-scrollbar-thumb {
background-color: darkgrey;
outline: 1px solid rgba(112, 128, 144, 0.5);
}

.text-field {
  display: flex;
  width: 100%;
  flex: 1;
  flex-direction: column;
  justify-content: center;
  align-items: start;
}

.text-field.desc {
  max-width: 50%;
  align-items: center;
  font-size: 24px;
  line-height: 36px;
}

.text-field.tour {
  width: 90%;
  font-size: 24px;
  line-height: 36px;
}

.paragraph {
  margin: 0;
}

.dates {
  display: flex;
  flex-direction: column;
  align-items: center;
}

#footer-container {
  display: flex;
  width: 90%;
  padding: 20px 0;
  align-items: center;
  justify-content: flex-end;
}

#menu { 
  display: flex;
  flex-direction: column;
  justify-content: center;
  font-size: 36px;
  line-height: 54px;
  flex: 1;
}

#menu > a {
  color: inherit;
  text-decoration: none;
}

.filler {
  display: flex;
  flex: 1;
  font-size: 72px;
  font-family: 'localFont';
  padding: 0 60px;
  overflow: hidden;
}

.home-button {
  display: flex;
  height: 100px;
  width: 100px;
  background-image: url('/views/static/favicon.png');
  background-size: contain;
  background-repeat: no-repeat;
}

@media screen and (max-width: 720px) {
  .text-field.tour {
    align-items: center;
  }

  .text-field.desc {
    max-width: 70%;
  }

  .contacts-field {
    padding-right: 0;
  }

  .contacts-filler {
    min-width: 0%;
  }

  .icon-row {
    justify-content: center;
  }
}

@media screen and (max-width: 610px) {
  #page-container {
    margin-top: 88px;
  }

  .filler {
    font-size: 48px;
    line-height: 72px;
  }

  .page-title {
    font-size: 38px;
    line-height: 57px;
    font-weight: 400;
  }
  
  .text-field.tour {
    font-size: 18px;
    line-height: 27px;
  }

  .text-field.desc {
    max-width: 80%;
    font-size: 20px;
    line-height: 30px;
  }
}

@media screen and (max-width: 460px) {
  #page-container {
    margin-top: 80px;
  }

  .filler {
    font-size: 36px;
    line-height: 54px;
  }

  .page-title {
    font-size: 34px;
    line-height: 51px;
    font-weight: 400;
  }

  .text-field.tour {
    font-size: 14px;
    line-height: 21px;
  }

  .text-field.desc {
    max-width: 90%;
    font-size: 18px;
    line-height: 27px;
  }
}