html,
body {
  height: 100%;
}
body {
  padding: 0;
  margin: 0;
  background: #004b7c url('../i/geekbrains/i/bg2.jpg') no-repeat top center / cover;
	background-attachment: fixed;
  min-height: 700px;
	font-family: 'Avenir Next Cyr';
}
a {
  color: #004a80;
}
a:hover {
  text-decoration: none;
}
input:focus {
  outline: none;
}
.GB-global {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  min-width: 900px;
  height: 100%;
  min-height: 820px;
  text-align: center;
}
.GB-title.GB-pb-5 {
	font-size: 26px;
	font-weight: 300;
}
.GB-main {
  position: relative;
  width: 880px;
    height: 100vh;
    display: flex;
    flex-direction: column;
    margin: auto;
}
.logo1 {
	margin-top: 40px;
	margin-bottom: 50px;
}
.logo2 {
	margin-bottom: 25px;
}
.logo3 {
	margin-bottom: -100px;
	position: relative;
    z-index: 8;
}

.GB-logo-geekgrains {
}
.GB-logo-gameguru {
}
.GB-logo-shadow {
}
.GB-logo {
}
.GB-game {
  position: relative;
  margin: -50px auto 50px auto;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.6);
  display: none;
  z-index: 9;
}
.GB-game.active {
  display: inline-block;
}
.GB-load-font {
  position: absolute;
  top: -1000px;
  left: 0;
}
.GB-block {
  position: relative;
  width: 780px;
  margin: auto;
  text-align: center;
  display: inline-block;
  z-index: 2;
		padding: 50px;
	margin-top: -50px;
	margin-bottom: 50px;
	margin-left: auto;
	margin-right: auto;
	font-size: 20px;
}
.GB-block .GB-title {
  font-size: 24px;
  line-height: 35px;
	text-transform: uppercase;
}
.GB-block .GB-desc {
  font-size: 20px;
  line-height: 30px;
}
.GB-block .GB-desc.GB-red {
  color: #ff0000;
}
.GB-desc.GB-pt-5 {
	color: #b6dbe0;
	font-size: 20px;
	font-weight: 300;
}
.f-logo {
	text-align: center;
	margin-top: auto;
	margin-bottom: 50px;
	cursor: pointer;
}
/*
.p-open {
	position: fixed;
    bottom: 200px;
    left: 0;
    top: 300px;
    width: 400px;
	cursor: pointer;
}
*/
.txt-rtx {
	cursor: pointer;
	text-decoration: underline;
}
.p-open {
    position: fixed;
    background: transparent url('../i/geekbrains/i/rtx.png') no-repeat top center / cover;
    bottom: 200px;
    left: 60px;
    top: 378px;
    width: 400px;
    cursor: pointer;
    height: 373px;
	animation: rtxinfo 3s ease-in-out infinite;
}
@keyframes rtxinfo {
    0% { opacity: 1; }
    50% { opacity: .6; }
    100% { opacity: 1; }
   }
.GB-block .GB-button {
  display: block;
  font-size: 30px;
  padding: 25px 60px;
  cursor: pointer;
	background: #fff;
	color: #0f1318;
	max-width: 300px;
	margin: auto;
	font-weight: 500;
	text-transform: uppercase;
	border-radius: 6px;
}

.GB-block-1 {
  position: relative;
  display: none;
  z-index: 9;
  color: #ffffff;
}
.GB-block-1.active {
  display: inline-block;
}
.popup {
	background: #fff;
	padding: 50px;
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	color: #000;
	border-radius: 4px;
	display: none;
}
.popup.show {
	display: block;
}
.popup:before {
	content: '';
	display: block;
	position: absolute;
	left: -36px;
	top: calc(50% - 36px);
	width: 0; 
	height: 0;
	border-top: 36px solid transparent;
	border-right: 36px solid #fff;
	border-bottom: 36px solid transparent;
}
.popup .title {
	font-size: 24px;
	margin-bottom: 30px;
	font-weight: 500;
}
.popup .descr {
	font-size: 17px;
	margin-bottom: 40px;
	line-height: 1.4;
	font-weight: 400;
}
.popup .button {
	background: #172327;
	color: #fff;
	padding: 20px;
	text-align: center;
	text-transform: uppercase;
}
.popup .close {
	position: absolute;
	top: 20px;
	right: 20px;
	cursor: pointer;
	left: auto;
}
.GB-block-2 {
	background: rgba(21, 34, 38, .4);
	color: #ffffff;
	display: none;
}
.GB-block-2 .GB-button.js-button-block-2 {
	padding: 15px 25px;
	font-size: 16px;
	max-width: 180px;
}
.GB-block-2.active {
  display: inline-block;
}
.GB-block-2.GB-block .GB-title {
	color: #b6dbe0;
	font-size: 26px;
}
.GB-block-3 {
background: rgba(21, 34, 38, .4);
	color: #ffffff;
  display: none;
}
.GB-block-3.active {
  display: inline-block;
}
.GB-block-3 .GB-title {
	font-size: 26px;
	color: #b6dbe0;
	margin-bottom: 15px;
}
.GB-block-3 .GB-title-2 {
  font-size: 20px;
}
.GB-block-3 .GB-table {
  padding: 10px 0 30px 0;
}
.GB-block-3 .descr {
	margin-top: 60px;
	color: #b6dbe0;
	margin-bottom: 40px;
}
.GB-block-3 .buttons {
	display: flex;
	justify-content: center;
}
.GB-block-3 .buttons .GB-button {
    padding: 15px 25px;
    font-size: 16px;
    max-width: 180px;
	margin: 0 10px;
}
.GB-block-3 .GB-table td {
  padding: 3px 0;
}
.GB-block-3 table {
  width: 100%;
}
.GB-social-button span {
  display: inline-block;
  width: 72px;
  height: 72px;
  margin: 0 5px 5px 5px;
  cursor: pointer;
  border-radius: 3px;
}
.GB-social-button span:hover {
  background-color: #ffffff;
}
.GB-social-button .fb {
  background: url('../i/geekbrains/i/fb.png') no-repeat;
}
.GB-social-button .tw {
  background: url('../i/geekbrains/i/tw.png') no-repeat;
}
.GB-social-button .vk {
  background: url('../i/geekbrains/i/vk.png') no-repeat;
}
.GB-social-button .mail {
  background: url('../i/geekbrains/i/mail.png') no-repeat;
}
.GB-control-keys {
  display: inline-block;
  position: relative;
  font-size: 14px;
}
.GB-control-keys .GB-key {
  position: absolute;
  white-space: nowrap;
}
.GB-control-keys .GB-key-1 {
  top: 60px;
  left: -111px;
}
.GB-control-keys .GB-key-2 {
  top: -27px;
  left: 24px;
}
.GB-control-keys .GB-key-3 {
  top: 60px;
  left: 156px;
}
.GB-control-keys .GB-key-4 {
  top: 102px;
  left: 28px;
}
.GB-control-keys:after {
  content: '';
  display: block;
  background: url('../i/geekbrains/i/keys_arrows.png') no-repeat;
  width: 140px;
  height: 90px;
}
.GB-blackout {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 15;
  text-align: center;
}
.GB-blackout:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000000;
  opacity: 0.7;
}
.GB-blackout:after {
  content: '';
  display: inline-block;
  vertical-align: middle;
  width: 0;
  height: 100%;
}
.GB-window {
  position: relative;
  vertical-align: middle;
  width: 600px;
  background: #ffffff;
  padding: 40px 20px 20px 20px;
  display: none;
}
.GB-window.active {
  display: inline-block;
}
.GB-window .GB-close {
  width: 32px;
  height: 32px;
  position: absolute;
  top: 10px;
  right: 10px;
  cursor: pointer;
  background: url('../i/geekbrains/i/close.gif') no-repeat;
}
.GB-window .GB-title {
  font-size: 36px;
  color: #000000;
  padding: 0 0 20px 0;
}
.GB-window .GB-form {
  padding: 0 50px 0 50px;
}
.GB-window .GB-row {
  padding-bottom: 20px;
}
.GB-window .GB-row input[type="text"],
.GB-window .GB-row input[type="password"] {
  width: 100%;
  height: 40px;
  border: 2px solid #000000;
  font-size: 20px;
  padding: 0 10px 0 10px;
  box-sizing: border-box;
  background: #ffffff;
}
.GB-window .GB-row input[type="submit"] {
  color: #000000;
  display: inline-block;
  font-size: 20px;
  border: 3px solid #000000;
  padding: 5px 20px 6px 20px;
  cursor: pointer;
  background: #ffffff;
}
.GB-window .GB-row input[type="submit"]:hover {
  color: #004a80;
  border-color: #004a80;
}
.GB-window .GB-row input[type="submit"]:active {
  color: #ffffff;
  background: #000000;
  border-color: #000000;
}
.GB-window .GB-row .error {
  display: inline-block;
  padding: 5px 0 0 0;
  color: #ff0000;
}
.GB-window .GB-change-form {
  color: #004a80;
  text-decoration: underline;
  cursor: pointer;
}
.GB-window .GB-change-form:hover {
  text-decoration: none;
}
.GB-window .GB-confirm {
  font-size: 11px;
  color: #777777;
  font-weight: normal;
}
.GB-pt-1 {
  padding-top: 10px;
}
.GB-pt-2 {
  padding-top: 20px;
}
.GB-pt-3 {
  padding-top: 30px;
}
.GB-pt-4 {
  padding-top: 40px;
}
.GB-pt-5 {
  padding-top: 50px;
}
.GB-pb-1 {
  padding-bottom: 10px;
}
.GB-pb-2 {
  padding-bottom: 20px;
}
.GB-pb-3 {
  padding-bottom: 30px;
}
.GB-pb-4 {
  padding-bottom: 40px;
}
.GB-pb-5 {
  padding-bottom: 50px;
}

.button_link {
    color: white;
    text-decoration: none;
}
.aorus_link {
    color: #b6dbe0;
}