html {
  scroll-behavior: smooth;
}

h2 {
	text-align: center;
	font-size: 32px;
	line-height: 38px;
	margin-bottom: 40px;
}

.l-content {
	max-width: 1400px;
	min-width: 375px;
	width: 100%;
	padding-left: 20px;
	padding-right: 20px;
	margin-left: auto;
	margin-right: auto;
}

.section {
	padding: 40px 0;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

.section .l-content {
	min-height: 100%;
	margin-top: auto;
	margin-bottom: auto;
}

.section_align-top .l-content {
	margin-top: 0;
	margin-bottom: 0;
}

.section_inverse {
	color: #fff;
}

.section_contacts {
	background-repeat: no-repeat, repeat;
	background-position: center;
	background-size: fill, cover;
}

.section-head {
	display: flex;
	justify-content: flex-end;
	max-width: 1400px;
	min-width: 375px;
	width: 100%;
	padding-left: 20px;
	padding-right: 20px;
	margin-left: auto;
	margin-right: auto;
}

.l-two-cols {
	display: flex;
	flex-flow: wrap;
}

.l-two-col {
	width: 50%;
}

/*heeader*/
.b-header {
	position: absolute;
	top: 0;
	z-index: 10;
	width: 100%;
	height: 80px;
	border-bottom: 1px solid #888;
	color: #fff;
	transition: all .3s;
}

.b-header__logo {
	font-size: 20px;
	line-height: 24px;
	color: #000;
}

.b-header .l-content {
	display: flex;
	align-items: center;
	height: 100%;
}

.b-header__nav {
	margin-left: auto;
}

.b-header__nav-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
}

.b-header__nav-item:not(:first-child) {
	margin-left: 15px;
}

.b-header__nav-link {
	font-size: 20px;
	line-height: 24px;
	text-decoration: none;
}

.b-header .b-header__nav-link {
	color: #000;
}

.section .b-header__nav-link {
	color: #000;
}

.section_inverse .b-header__nav-link {
	color: #fff;
}

.b-header__nav-link.active {
	color: #000;
}

.b-header__nav-link_disabled {
	opacity: 0;
}


.b-header__wrapper {
	height: auto!important;
}

.b-header_fix .b-header {
	background: #000;
	width: 100%;
	height: 80px!important;
	border-bottom-color: #000;
}

/*promo*/
.b-promo {
	width: 100%;
	height: 100vh;
	background: #ccc;
	padding-top: 80px;
	display: flex;
	background-repeat: no-repeat;
	background-position: top center;
	background-size: cover;
	position: relative;
	overflow: hidden;
	color: #000;
}

.b-promo p {
	font-size: 30px;
	line-height: 40px;
	color: #000;
}

.b-promo .l-content {
	height: 100%;
	display: flex;
	align-items: center;
}

.b-promo__ctn {
	animation-duration: 2s;
	color: #fff;
	position: relative;
	z-index: 10;
	max-width: 800px;
	width: 100%;
}

/*b-desc*/
.b-desc__item {
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 20px;
	line-height: 24px;
	text-align: center;
	min-height: 150px;
}

.b-desc_inner .b-desc__item:not(:last-child) {
	margin-bottom: 40px;
}

.b-desc_inner .b-desc__item {
	min-height: 100%;
}

/*b-cards*/
.b-cards {
	display: flex;
	flex-flow: wrap;
	justify-content: center;
	margin-left: -20px;
	margin-top: -40px;
}

.b-cards__item {
	width: calc(152px - 20px);
	margin-left: 20px;
	margin-top: 40px;
	display: flex;
	flex-direction: column;
	align-items: center;
	position: relative;
}

.b-cards__item a:first-child::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 2;
}

.b-cards__item a {
	color: #fff;
}

.b-cards__item a:hover {
	text-decoration: none;
}

.b-cards__item-link {
    font-size: 12px;
}

.b-cards-ctn.hidden {
	display: none;
}

.b-cards-ctn.show {
	display: block;
}

.b-cards__item img {
	max-width: 100%;
	max-height: 150px;
}

.b-cards__item-image {
	width: 60px;
	height: 60px;
    margin-bottom: 20px;
	border-radius: 50%;
	/*background-color: #fff;*/
	display: flex;
	align-items: center;
	justify-content: center;
}

/*b-cards_inner*/
.b-cards_inner .b-cards__item {
	width: calc(33.3% - 20px);
}


/*switch*/
.switch {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 200px;
  height: 60px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 40px;
  margin-top: 40px;
  cursor: pointer;
}

.switch-text {
	position: relative;
	z-index: 10;
	width: 50%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #000;
}

.switch input {
	display:none;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: calc(100% - 4px);
  width: calc(50% - 2px);
  left: 2px;
  bottom: 2px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

.switch input:checked + .slider {
  background-color: #ccc;
}

.switch input:focus + .slider {
  box-shadow: 0 0 1px #2196F3;
}

.switch input:checked + .slider:before {
  -webkit-transform: translateX(100%);
  -ms-transform: translateX(100%);
  transform: translateX(100%);
}

.slider.round {
  border-radius: 10px;
}

.slider.round:before {
  border-radius: 10px;
}


/*b-contacts*/
.b-contacts__title {
	text-align: center;
	margin-bottom: 40px;
	color: #fff;
}

.b-contacts__title {
	text-align: center;
}

.b-social__list {
	display: flex;
	justify-content: center;
	align-items: center;
	margin-top: 40px;
}

.b-social__list-item:not(:last-child) {
	margin-right: 30px;
}

.b-social__discord img, .b-social__telegram img, .b-social__github img {
	max-width: 50px;
	width: 100%;
}

.b-social__mail img {
	max-width: 100%;
	width: 60px;
}

/*b-location*/
.b-location {
	display: flex;
	align-items: center;
	justify-content: center;
}

.b-location__title {
	font-size: 20px;
	line-height: 24px;
	display: flex;
	align-items: center;
	margin-bottom: 40px;
}

.b-location__title img {
	margin-right: 20px;
	max-width: 30px;
	width: 100%;
}

.b-location__list-item {
	font-size: 20px;
	line-height: 24px;
}

.b-location__list-item:not(:last-child) {
	margin-bottom: 40px;
}

/*b-footer*/
.b-footer {
	padding: 40px 0;
}

@media (max-width: 767px) {
	.l-two-cols {
		flex-direction: column;
	}

	.l-two-cols_inner {
		flex-direction: column-reverse;
	}

	.l-two-col {
		width: 100%;
	}

	.section-head {
		justify-content: center;
	}

	.b-header .l-content {
		flex-direction: column;
		align-items: center;
	}

	.b-header {
		border-bottom-color: #111;
	}	

	.b-header__logo {
		margin-top: 10px;
		margin-bottom: 10px;
	}

	.b-header__nav {
		margin-left: 0;
	}

	.b-header__nav-link, .b-header__logo {
		font-size: 16px;
		line-height: 20px;
	}

	.b-promo {
		padding-top: 100px;
		height: 100%;
		background-position: left;
	}

	.b-promo::before {
		content: '';
		position: absolute;
		top: 0;
		left: 0;
		z-index: 1;
		width: 100%;
		height: 100%;
		background-color: #fff;
		opacity: 0.3;
	}

	.b-promo p {
		font-size: 20px;
		line-height: 32px;
	}

	.b-desc__item {
		min-height: 100%;
	}

	.b-desc__item:not(:last-child) {
		margin-bottom: 40px;
	}

	.b-desc_inner {
		margin-top: 40px;
	}

	.b-cards__item {
		width: calc(50% - 20px);
		height: 100%;
	}

	.b-cards__item-image {
		width: 100px;
		height: 100px;
		margin-bottom: 15px;
	}

	.b-location {
		margin-top: 40px;
		text-align: center;
	}

	.b-location__title {
		margin-bottom: 20px;
		justify-content: center;
	}

	.b-location__list-item:not(:last-child) {
		margin-bottom: 20px;
	}

    .b-social__list-item img {
        max-width: 30px;
        width: 100%;
    }

    .b-social__mail img {
        max-width: 100%;
        width: 30px;
    }
}