@font-face {
  font-family: I-pixel-u;
  src: url(fonts/I-pixel-u.ttf);
  /*font-weight: bold;*/
}

@font-face {
  font-family: MIASMA__;
  src: url(fonts/MIASMA__.ttf);
  /*font-weight: bold;*/
}

@font-face {
  font-family: ZazGorrila;
  src: url(fonts/ZazGorrila.ttf);
  /*font-weight: bold;*/
}

@font-face {
  font-family: CHECKBK0;
  src: url(fonts/CHECKBK0.ttf);
  /*font-weight: bold;*/
}

@font-face {
  font-family: Gameplay;
  src: url(fonts/Gameplay.ttf);
  /*font-weight: bold;*/
}

@font-face {
  font-family: TheyPerished;
  src: url(fonts/TheyPerished.ttf);
  /*font-weight: bold;*/
}

@font-face {
  font-family: Evogria;
  src: url(fonts/Evogria.otf);
  /*font-weight: bold;*/
}

@font-face {
  font-family: Russo;
  src: url(fonts/RussoOne-Regular.ttf);
  /*font-weight: bold;*/
}

:root {
  --lightGray: #44484d;
  --minWidth: 600px;
  --menuBkg: #303030;
  --darkBlue: rgb(47, 93, 156);
  --lightBlue: rgb(61, 121, 206);
}

html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  background-color: #424447;
  overflow-x: hidden;

  /*user-drag: none; */
  /*user-select: none;
    -moz-user-select: none;
    -webkit-user-drag: none;
    -webkit-user-select: none;
    -ms-user-select: none;*/
}

.logo {
  cursor: pointer;
  user-select: none;
  transform: scale(-1, 1);
  padding-left: 0.9rem;
  border-left: var(--lightGray) solid 0.1rem;
  /* background-color: rgb(182, 218, 245);*/
}

.globalContainer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 0;
  margin: 0;
}

.headerContainer {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 10;
  text-align: center;

}

.fakeMenuContainer {
  width: 100%;
  height: 10rem;
  margin-bottom: 0.2rem;
}

.FMS_flexContainer {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  min-height: 100vh;
}

.siteTitle {
  position: relative;
  display: flex;
  flex-direction: row;
  width: 100%;
  font-family: Evogria;
  padding: 0.5rem;
  color: #464646;
  text-align: left;
  z-index: 100;
  background-color: #c0c9d2;
  user-select: none;
}

.titleText {
  height: 100%;
  font-size: calc(1.5rem + 2vw);
  line-height: calc(2rem + 3vw);
  user-select: none;
}

.contentsLC {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.articleBoxContainer {
  width: 100%;
  margin-bottom: 3rem;
}

.articleBoxImageContainer {
  width: 100%;
  margin-bottom: 0.3rem;
}

.articleBoxSlider {
  width: 100%;
}

.articleBoxImage {
  width: 100%;
  user-select: none;
}

.articleBoxText {
  padding-top: 1rem;
  text-align: left;
}

@media screen and (max-width: 600px) {
  .articleBoxImage {
    width: 150%;
    transform: translate(-16.5%, 0);
  }

  .articleBoxText {
    padding: 1rem;
    padding-top: 1rem;
  }
}

.getBookButtonContainer {
  position: fixed;
  top: 5rem;
  left: 0.4rem;
  width: 12%;
  min-width: 5rem;
  background-color: var(--menuBkg);
  padding: 0.2rem;
  font-size: calc(0.8rem + 1.2vw);
  font-family: Russo;
  line-height: 2rem;
  text-align: center;
  cursor: pointer;
  z-index: 2;
  border: 2px solid rgb(201, 201, 201);
  border-radius: 0.5rem;
  transform: scale(1);
  transition: background-color 0.5s, color 0.5s, transform 0.3s;
  user-select: none;
}

.getBookButtonContainer:hover {
  background-color: var(--darkBlue);
  color: rgb(255, 255, 255);
  transform: scale(1.04);
}

.getBookButton {
  width: 100%;
  color: white;
  /*position:absolute;*/
  text-align: center;
  top: 0;
  left: 0;
  /*clip-path: polygon(0 0, 100% 0%, 100% 64%, 50% 94%, 0 64%);*/
  z-index: 2;
}

.getBookStrelki {
  width: 70%;
  display: inline-block;
}

.getBookButtonContainerNarrow {
  position: fixed;
  background-color: var(--darkBlue);
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4rem;
  font-size: calc(1rem + 1.2vw);
  font-family: Russo;
  line-height: 4rem;
  text-align: center;
  cursor: pointer;
  z-index: 2;
  user-select: none;
  transition: background-color 0.5s, color 0.5s;
}

.getBookButtonContainerNarrow:hover {
  background-color: var(--lightBlue);
}

.getBookButtonNarrow {
  width: 100%;
  color: white;
}

/*.getBookButtonShadow {
  width: 100%;
  background-color:  #b9b9b9;
  color: white;
  position: absolute;
  padding-left: 0.5rem;
  padding-top: 0.2rem;
  padding-bottom: 3rem;
  top: 0;
  left: 0;
  clip-path: polygon(0 0, 100% 0%, 100% 64%, 50% 94%, 0 64%);
  z-index: 1;
  border: 2px solid white;
  border-radius: 0.5rem;
}*/



.menuButtonsContainer {
  order: 2;
  display: flex;
  flex-direction: column;
}

.menu {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  padding-left: 0.2rem;
  z-index: 100;
  background-color: var(--menuBkg);
  user-select: none;
  border-bottom: 0.2rem solid var(--lightBlue);
}

.menuButton {
  color: #c9c9c9;
  background-color: #31343600;
  margin: 0.1rem;
  padding: 0 0.5rem;
  /*border: 2px solid rgb(202, 215, 235);*/
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  font-size: 1rem;
  line-height: 2rem;
  border-right: 1px solid rgb(150, 155, 161);
  cursor: pointer;
  text-align: center;
}

.menuButton:hover {
  background-color: var(--lightGray);
}

.navMenu {
  order: 1;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  padding: 0.2rem;
  width: 70%;
}

.langMenu {
  order: 2;
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  flex-wrap: wrap;
  padding: 0.2rem;
  z-index: 300;
  background-color: var(--menuBkg);
  max-height: 3rem;
}

.menuNarrow {
  order: 1;
  position: fixed;
  top: 0;
  left: 0;
  background-color: var(--menuBkg);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0.2rem;
  width: calc(100% - 7rem);
  z-index: 100;
  user-select: none;
}

.menuButtonNarrow {
  color: #c9c9c9;
  background-color: #313436;
  margin: 0.1rem;
  border: 1px solid rgb(202, 215, 235);
  border-radius: 2px;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  font-size: 1rem;
  line-height: 1.9rem;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
}

.menuButtonNarrow:hover {
  background-color: var(--lightGray);
}

.mbNarrowNormal {
  order: 0;
  color: #c9c9c9;
  background-color: "#222222";
  margin: 0.1rem;
  border: 1px solid rgb(202, 215, 235);
  border-radius: 2px;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  font-size: 1rem;
  line-height: 1.9rem;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
}

.mbNarrowNormal:hover {
  background-color: var(--lightGray);
}

.mbNarrowActive {
  order: 0;
  color: #c9c9c9;
  background-color: var(--darkBlue);
  margin: 0.1rem;
  border: 1px solid rgb(202, 215, 235);
  border-radius: 2px;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  font-size: 1rem;
  line-height: 1.9rem;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
}

.mbNarrowActive:hover {
  background-color: var(--lightBlue);
  margin: 0.1rem;
}

.sectionsHolder {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  background-repeat: no-repeat;
  background-attachment: scroll;
  background-position: center;
  background-size: cover;
  overflow: hidden;
  text-align: center;
  background-color: #424447;
  /*justify-content: center;*/
  align-items: center;
  flex-grow: 1;
}

.bookCover {
  padding-top: 1rem;
  width: 25%;
  min-width: 250px;
  margin: auto;
}

.bhHeadline {
  font-size: calc(1rem + 1vw + 1vh);
  line-height: calc(1rem + 1vw + 1vh);
  font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
  font-weight: bold;
  padding: 0.5rem;
  padding-top: 2rem;
  color: var(--lightGray);
  margin-bottom: 2vh;
}

.textBlock {
  padding: 1rem;
  text-align: left;
  padding-bottom: 5rem;
  text-indent: 2rem;
}


.textBlockContents {
  padding: 1rem;
  text-align: left;
  padding-bottom: 5rem;
  margin-bottom: 0.5rem;
  font-weight: bold;
}

.textPictureHolder {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  padding: 0.5rem;
}

@media screen and (max-width: 1200px) {
  .textPictureHolder {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0.5rem;
  }
}

.photoBoyan {
  margin-top: 3vh;
  top: 5%;
  width: 15%;

  border-radius: 1rem;
  border: 2px solid rgb(77, 77, 77);
}

@media screen and (max-width: 1200px) {
  .photoBoyan {
    margin-top: 3vh;
    margin-left: 1rem;
    width: 150px;

    border-radius: 1rem;
    border: 2px solid rgb(77, 77, 77);
  }
}

.subchapters {
  padding-left: 1.5rem;
  font-weight: normal;
}

.techBoxesHolder {
  margin-top: 7px;
  display: inline-block;
  width: 70%;
  background-color: rgb(233, 233, 233);
  font-size: 1.4rem;
  font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
  padding: 2rem;
  padding-top: 1rem;
  color: var(--lightGray);
  min-height: 100%;
  flex-grow: 1;
}

@media screen and (max-width: 600px) {
  .techBoxesHolder {
    width: 100%;
    padding: 1rem;
    padding-top: 0rem;
    font-size: 1.25rem;
  }
}

.partialView {
  width: 100%;
  height: calc(3vh + 3vw);
  margin-bottom: 0.3rem;
  background-image: url("../images/Tokyo.jpg");
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
  overflow: hidden;
  text-align: center;
}

.worldBannerContainer {
  width: 100%;
  height: calc(10vh + 10vw);
  margin-bottom: 0.3rem;
}

.worldBannerE1 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-repeat: no-repeat;
  background-attachment: scroll;
  background-position: center;
  background-size: cover;
}

.worldBannerE2 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-repeat: no-repeat;
  background-attachment: scroll;
  background-position: center;
  background-size: cover;
}

.engineeringBannerEl {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-repeat: no-repeat;
  background-attachment: scroll;
  background-position: center;
  background-size: cover;
}

.contentBox {
  margin-bottom: 4vh;
  /*border-top: 1px solid #919191;*/
  padding-top: 0.5rem;
}

.contentLine {
  height: 0.05rem;
  width: 70%;
  background-color: #bcbcbc;
  display: inline-block;
  margin-bottom: 2vh;
}

.contentTitle {
  margin: calc(1vw);
  font-size: calc(1rem + 1vw + 1vh);
  font-weight: bold;
}

.centered {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  max-width: 100%;
  max-height: 100%;
}

.imageRight {
  position: absolute;
  top: 50%;
  left: 50%;
  height: 100%;
}

.handIcon {
  width: 3rem;
  height: 3rem;
  transform: translate(-50%, -50%);
}

.flashIcon {
  position: absolute;
  left: 50%;
  top: 50%;
  width: calc(5vh + 5vw);
  height: calc(3vh + 3vw);
  transform: translate(-50%, -50%);
  z-index: 1;
  animation: opacityFadeInFlashIcon 1s ease-in 0s infinite alternate;
}

.message_box_bkg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.541);
  z-index: 1000;
}

.message_box_panel {
  position: absolute;
  display: flex;
  flex-direction: column;
  justify-content: center;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  margin: auto;
  width: 100%;
  height: 30%;
  min-height: 10rem;
  background-color: rgb(233, 233, 233);
  border: 2px solid rgb(70, 70, 70);
}

.mboxTitle {
  /*margin-top: 5vh;*/
  margin-bottom: 2vh;
  width: 100%;
  color: rgb(34, 34, 34);
  font-size: calc(1rem + 1.2vh + 1.2vw);
  font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
  text-align: center;
  user-select: none;
}

.mboxButtonHolder {
  display: flex;
  flex-direction: row;
  justify-content: center;
  font-size: 1.4rem;
  width: 100%;
}

.mboxButton {
  margin: 1rem;
  font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
  padding: 1rem;
  font-size: calc(0.5rem + 1vh + 1vw);
  color: white;
  line-height: calc(0.5rem + 1vh + 1vw);
  text-align: center;
  background-color: rgb(44, 44, 44);
  user-select: none;
  cursor: pointer;

  transition: background-color 0.5s;
}

.mboxButton:hover {
  background-color: rgb(112, 112, 112);
}

.mboxCloseButton {
  position: absolute;
  padding: 0;
  top: 0.1rem;
  right: 0.3rem;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 2.3rem;
  text-align: center;
  line-height: 2.3rem;
  width: 2.5rem;
  height: 2.5rem;
  cursor: pointer;
  user-select: none;
  color: white;
  background-color: rgb(39, 39, 39);

  transition: background-color 0.5s;
}

.mboxCloseButton:hover {
  background-color: rgb(112, 112, 112);
}

/*----------------------------------------------------------------------*/

@keyframes opacityFadeInFlashIcon {
  0% {
    opacity: 0;
    transform: translate(-20%, -50%) rotate(5deg);
  }

  50% {
    opacity: 0.5;
  }

  100% {
    opacity: 0;
    transform: translate(-80%, -50%) rotate(-5deg);
  }
}

@keyframes sectionFadeIn {
  0% {
    opacity: 1;
  }

  100% {
    opacity: 1;
  }
}

/* width */
::-webkit-scrollbar {
  width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
  background: #f1f1f1;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: #888;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #555;
}