@import url('https://fonts.googleapis.com/css?family=Cutive+Mono');
@import url('https://fonts.googleapis.com/css?family=Open+Sans+Condensed:700');
@import url('https://fonts.googleapis.com/css?family=Raleway');

@font-face {
  font-family: 'undying';
  src: URL('../fonts/undying.ttf') format('truetype');
}

@font-face {
  font-family: 'undying2';
  src: URL('../fonts/undying2.ttf') format('truetype');
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
	width: 100%;
	position: relative;
    min-height: 100%;
}
a {
	font-weight: 700;
}
body {
  width: 100%; 
  position:fixed; /* prevent overscroll bounce*/
  overflow-y:auto;
  overflow-x:hidden;
  -webkit-overflow-scrolling: touch; /* iOS velocity scrolling */      
  background-color: #141517;  
  min-height: 100%;
}
header {
  position: relative;
  top: 0;
  left: 0;
  text-align: center;
  width: 100%;
  height: 60px;
  line-height: 60px;
  /*background-color: #00000069;*/
  z-index: 10;
  color: #ca2626;
  font-size: 45pt;
  font-family: undying;
  text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
}
header a {
  position: absolute;
  left: 1%;
  font-size:36pt;
  color:#fff;
}
header a:hover {
  cursor: pointer;
  color:#ffffffd6;
}
header p {
  position: absolute;
  font-size:31pt;
  color:#fff;
  right: 1%;
  top: 0;
  bottom: 0;
  margin: 0;
  padding: 0;
}
header p:hover {
  cursor: pointer;
  color:#ffffffd6;
}
header p a {
  position: relative;
  top: auto;
  left: 43%;
  text-align: left;
  font-size:42px;
  color:#fff;
  justify-content: center;
  align-items: center;
}
.link {
  position: relative;
  left: 0;
  font-family: 'Open Sans Condensed', sans-serif;
  letter-spacing: 5px;
  color: #fff;
  text-transform: uppercase;
  font-size:35px;
  text-decoration: none;
}
.link:hover {
  cursor: default;
  color:#fff;
}

#text {
    width: 70%;
	background-color: #0a0a0afa;
	color: #adb7bd;
	margin:15px auto;
	min-width: 600px;
	max-width: 750px;
	padding: 30px;
	border: 2px solid #151515;
	border-radius: 5px;
}
	
#text h1 { color: #ffffff; font-family: 'undying2', sans-serif; font-size: 54px; font-weight: 300; line-height: 58px; margin: 0 0 12px; }
#text p { color: #adb7bd; font-family: 'Lucida Sans', Arial, sans-serif; font-size: 16px; line-height: 26px; margin: 0 0 10px; }
#text a { color: #fe921f; text-decoration: underline; }
#text a:hover { color: #ffffff }
#text iframe { margin-bottom: 40px; max-width: 100% !important; }
#text ul { margin-left: 15px; }
#text img { margin-bottom: 40px; max-width: 100% !important; }

#nabbleiframe {
  height: 400px;
}

.language { position: absolute; top: 5px; right: 5px; padding: 20px; }
.english { display: block; }
.russian { display: none; }

#language {
	position: fixed;
	top: 0px;
	right: 0px;
	padding: 0.5em 0.7em;
	display: block;
	width: 40px;
	height: auto;
	z-index: 99;
}

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

::-webkit-scrollbar-track
{
  background: rgba(0, 0, 0, 0.1);
  border-radius:20px;
}

::-webkit-scrollbar-thumb
{
  background: rgba(76, 76, 76, 0.51);
  border-radius:20px;
}


@media screen and (max-width: 670px) {
    iframe {
        width: auto !important;
        height: auto !important;
    }
}
