@import url("https://fonts.googleapis.com/css2?family=Roboto+Mono:wght@200;300;400;500;600&display=swap&subset=latin,cyrillic");

html {
  height: 100%;
  width: 100%;
  height: 100vh;
  width: 100vw;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

body {
  height: 100vh;
  width: 100vw;
  padding: 0;
  overflow: hidden;

  margin: 0;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
}

.imbg {
  background-image: url("./media/bg_fallback-image.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

input[type="text"] {
  padding: 15px 15px 15px 15px;
  margin: 5px 0px 0px 0px;
  box-sizing: border-box;
  font-family: "Roboto Mono", Arial, monospace;
  font-size: 22px;
  font-weight: 300;
  color: rgba(0, 0, 0, 0.9);
  opacity: 0.5;
  text-align: center;
}

button {
  padding: 15px 15px 15px 15px;
  margin-top: 5px;
  margin-left: auto;
  margin-right: auto;
  width: auto;
  font-family: "Roboto Mono", Arial, monospace;
  font-size: 22px;
  font-weight: 300;
  color: rgba(0, 0, 0, 0.9);
  opacity: 0.5;
  text-align: center;
}

video {
  position: fixed;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: -100;
  transform: translateX(-50%) translateY(-50%);
  background: url("./media/bg_fallback-image.jpg") no-repeat;
  background-size: cover;
  transition: 1s opacity;
}

.bandw {
  -webkit-filter: grayscale(100%);
  filter: grayscale(100%);
}

.beautiful_links {
}
.beautiful_links a {
  text-decoration: underline;
  color: #fff;
}

.stopfade {
  opacity: 0.5;
}

.languagebox {
  font-family: "Roboto Mono", Arial, monospace;
  font-weight: 200;
  color: #fff;
  top: 18px;
  left: 18px;
  width: 20px;
  display: inline-block;
  position: fixed;
  z-index: 998;
}

.languageBtn {
  font-size: 18px;
  padding: 0px;
  margin: 0px;
  border: 0px;
  position: relative;
  text-align: left;
  border: none;
  background-color: transparent;
  background-repeat: no-repeat;
  outline: none;
  color: #fff;
  transition: all 0.2s ease-in-out;
}

.languageDropDown {
  padding: 0px;
  margin: 0px;
  border: 0px;
  text-align: left;
  position: relative;
  opacity: 0;
  transition: all 0.2s ease-in-out;
}

.languageDropDown a {
  padding: 0px;
  margin: 0px;
  border: 0px;
  position: relative;
  display: table;
  font-size: 18px;
  text-decoration: none;
  text-align: left;
  color: #fff;
}

.languageDropDown:hover .languageDropDown {
  opacity: 1;
}

.languagebox:hover .languageDropDown {
  opacity: 1;
}

.menubox {
  top: 0;
  display: flex;
  justify-content: center;
  height: 50px;
  z-index: 999;
  -webkit-transform: translate3d(0, 0, 10px);
  transform: translate3d(0, 0, 10px);

  transition: opacity 0.2s ease-in-out;
}

.burgerbox {
  font-family: "Roboto Mono", Arial, monospace;
  color: #fff;
  top: 18px;
  right: 18px;
  width: 20px;
  display: none;
  justify-content: right;
  position: fixed;
  z-index: 997;
}

nav {
  position: fixed;
  text-align: center;
  width: 1200px;
  padding: 1em 0;
}

nav .act {
  color: #fff;
  border-bottom: 3px solid #fff;
  font-weight: 300;
}

nav a {
  font-family: "Roboto Mono", Arial, monospace;
  font-weight: 200;
  color: #fff;
  margin: 0 2em;
  text-decoration: none;
  font-size: 18px;
  transition: all 0.2s ease-in-out;
}
@media (pointer: fine) {
  nav a:hover {
    color: rgba(255, 255, 255, 0.6);
  }
}

.scrolling-box {
  z-index: 1;
  display: block;
  height: calc(100% - 60px);
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0;
  margin: 0;

  bottom: 0;
  overflow-y: scroll;
  scroll-behavior: smooth;
  text-align: center;
  scroll-snap-type: y proximity;
  transition: opacity 0.2s ease-in-out;
}

.section {
  height: auto;
  overflow: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100%;
  width: 100%;
  vertical-align: top;
  scroll-snap-align: start;
}

@media (pointer: coarse) {
  /* custom css for "touch targets" */
  .scrolling-box {
    scroll-snap-type: y none;
    overflow-anchor: none;
  }
  .section {
    scroll-snap-align: none;
    overflow-anchor: none;
  }
}

.title {
  font-family: "Roboto Mono", Arial, monospace;
  font-weight: 600;
  color: rgba(255, 255, 255, 1);
}

.title_xs {
  font-size: 42px;
  line-height: 1.23;
}

.title_sm {
  font-size: 48px;
  line-height: 1.23;
}

.title_md {
  font-size: 52px;
  line-height: 1.23;
}

.descr {
  font-family: "Roboto Mono", Arial, monospace;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.9);
}

.descr_xs {
  font-size: 18px;
  line-height: 1.55;
}

.descr_sm {
  font-size: 20px;
  line-height: 1.55;
}

.descr_md {
  font-size: 22px;
  line-height: 1.55;
}

.uptitle {
  font-family: "Roboto mono", Arial, sans-serif;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.77);
  letter-spacing: 2.5px;
}

.uptitle_xs {
  font-size: 30px;
}

.uptitle_sm {
  font-size: 36px;
}

.uptitle_md {
  font-size: 40px;
}

.padded_title {
  padding-top: 20px;
  padding-bottom: 20px;
}

.padded_uptitle {
  padding-bottom: 30px;
  padding-top: 0px;
}

.padded_descr {
  padding: 10px 0 20px 0;
  letter-spacing: 0.7px;
  font-weight: 400;
}

.padded_bank {
  padding: 0px 0 20px 0;
  letter-spacing: 0.7px;
  font-weight: 400;
}

.padded_bank_header {
  padding: 10px 0 0px 0;
  letter-spacing: 0.7px;
  font-weight: 400;
}


.center {
  text-align: center;
}

.valign_middle {
  vertical-align: middle;
}

.container_main {
  text-align: center;
  vertical-align: middle;
  margin-left: 5%;
  margin-right: 5%;
  width: min(1000px, 70%);
}

.timetable {
  border: 0px;
  width: 130%;
  margin-left: -10%;
  margin-right: 0%;
  border-spacing: 30px 5px;
}

@media screen and (max-width: 1500px) {
  nav a {
    margin: 0 1.5em;
  }
  nav {
    width: 900px;
  }
}

@media screen and (max-width: 1024px) {
  nav a {
    margin: 0 0.8em;
    font-size: 16px;
  }
  nav {
    width: 700px;
  }
}

@media screen and (max-width: 800px) {
  nav a {
    margin: 0 0.4em;
    font-size: 16px;
  }
  nav {
    width: 550px;
  }

  .languageBtn {
    font-size: 16px;
  }

  .languageDropDown a {
    font-size: 16px;
  }
  .descr_xs {
    font-size: 14px;
    line-height: 1.45;
  }
  .descr_sm {
    font-size: 16px;
    line-height: 1.45;
  }
  .descr_md {
    font-size: 18px;
    line-height: 1.45;
  }
  .uptitle_xs {
    font-size: 20px;
  }
  .uptitle_sm {
    font-size: 24px;
  }
  .uptitle_md {
    font-size: 26px;
  }
  .title_xs {
    font-size: 24px;
  }
  .title_sm {
    font-size: 28px;
  }
  .title_md {
    font-size: 30px;
  }

  .padded_title {
    padding-left: 0px;
    padding-right: 0px;
  }
  .padded_uptitle {
    padding-left: 0px;
    padding-right: 0px;
  }
  .padded_descr {
    padding-left: 0px;
    padding-right: 0px;
  }
  .container_main {
    margin: auto;
    margin-left: auto;
    margin-right: auto;
    width: 70%;
  }
  .timetable {
    border-spacing: 20px 4px;
  }
}

@media screen and (max-width: 650px) {
  nav a {
    margin: 0em 0em 0.25em 0em;
    font-size: 14px;
    display: block;
  }
  nav {
    width: 400px;
  }

  .languagebox {
    top: 18px;
    left: 18px;
    width: 20px;
  }

  .menubox {
    display: none;
    height: auto;
  }

  nav .act {
    color: #fff;
    border-bottom: none;
    font-weight: 400;
  }

  .burgerbox {
    display: inline;
    top: 16px;
    right: 16px;
    width: 20px;
  }

  .languageBtn {
    font-size: 14px;
  }
  .languageDropDown a {
    font-size: 14px;
  }
  .timetable {
    border-spacing: 15px 3px;
  }
}

@media screen and (max-width: 480px) {
  nav a {
    margin: 0em 0em 1em 0em;
    font-size: 14px;
    display: block;
  }
  nav {
    width: 200px;
  }

  .languagebox {
    top: 16px;
    left: 16px;
    width: 20px;
  }

  .menubox {
    display: none;
    height: auto;
  }

  .burgerbox {
    display: inline;
    top: 16px;
    right: 16px;
    width: 20px;
  }

  .languageBtn {
    font-size: 14px;
  }
  .languageDropDown a {
    font-size: 14px;
  }
  .timetable {
    border-spacing: 10px 2px;
  }
}

@media screen and (max-width: 320px) {
  nav a {
    margin: 0em 0em 0.7em 0em;
    font-size: 14px;
    display: block;
  }
  nav {
    width: 150px;
  }
  .languagebox {
    top: 14px;
    left: 14px;
    width: 10px;
  }
  .menubox {
    display: none;
    height: auto;
  }

  .burgerbox {
    display: inline;
    top: 16px;
    right: 16px;
    width: 20px;
  }
  .languageBtn {
    font-size: 14px;
  }
  .languageDropDown a {
    font-size: 14px;
  }
  .timetable {
    border-spacing: 5px 1px;
  }
}

.col_main {
  display: inline;
  float: left;
  margin-left: 5%;
  margin-right: 5%;
  width: 90%;
}

#welcomeMessage button:hover {
  background: rgba(0, 0, 0, 0.5);
}
/*
@media screen and (((max-width: 374px) and (orientation:portrait)) or ((max-width: 666px) and (orientation:landscape))) {
  html {
    background: url("./media/bg_fallback-image.jpg") #000 no-repeat center
      center fixed;
    background-size: cover;
  }
  #bgvid {
    display: none;
  }
}
*/