/*
Theme Name: PlayBuy
*/
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@200..800&display=swap');

:root {
	--back-color: #000000;
	--back-color2: rgba(1, 10, 23, 1);
	--border-color: #071D3B;
	--text-color: #CCD0D6;
	--text-color2: rgba(81, 95, 140, 1);
	--blue-color: #0188F1;
}
body {
	font-family: "Manrope", sans-serif;
	font-weight: 300;
	font-size: 16px;
	line-height: 140%;
	margin: auto;
	padding: 80px 35px 20px;
	width: 100%;
	background: var(--back-color);
	color: var(--text-color);
}
@media (max-width: 600px){
	body {
		padding: 80px 20px 20px;
	}
}
* {
	outline: none;
	box-sizing: border-box;
	-webkit-transition-duration: 0.3s;
	-o-transition-duration: 0.3s;
	-moz-transition-duration: 0.3s;
	transition-duration: 0.3s;
}
a, .link {
	text-decoration: underline;
	color: var(--blue-color);
	cursor: pointer;
}
textarea,
select, 
input[type="date"],
input[type="number"],
input[type="email"],
input[type="tel"],
input[type="text"],
input[type="password"] {
	width: 100%;
	padding: 12px 18px;
	border-radius: 15px;
	border: solid 1px #cccccc;
	background: #fff;
	font-weight: 400;
	font-size: 16px;
}
input[type="checkbox"] {
	transform: scale(1.3, 1.3);
}
textarea {
	resize: none;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
	-webkit-appearance: none;
}
h1 {
	font-size: 40px;
	font-weight: 700;
	line-height: 120%;
	margin: 0 0 20px;
}
h2, .h2 {
	font-size: 48px;
	font-weight: 700;
	line-height: 120%;
	margin: 20px 0 10px;
}
h3, .h3 {
	font-size: 24px;
	font-weight: 500;
	line-height: 110%;
	margin: 30px 0 30px;
}
@media (max-width: 950px){
	h1 {
		font-size: 30px;
		margin: 0 0 20px;
	}
	h2, .h2 {
		font-size: 24px;
		margin: 15px 0 15px;
	}
}
b, strong {
	font-weight: 600;
}
img {
	max-width: 100%;
	height: auto;
	display: inline-block;
}
ins {
	text-decoration: none;
}
p {
	margin: 20px 0;
	line-height: 170%;
}
.clearfix {
	clear: both;
}
.left {
	text-align: left;
}
.center {
	text-align: center;
}
.right {
	text-align: right;
}
.hidden {
	display: none !important;
}
.nowrap {
	white-space: nowrap;
}
.overflow {
	max-width: 100%;
	overflow-x: auto;
}
.relative {
	position: relative;
}

.alignleft {
	float: left;
	max-width: 45%;
	margin: 0 20px 20px 0;
}
.alignright {
	float: right;
	max-width: 45%;
	margin: 0 0 20px 20px;
}
.aligncenter {
	display: block;
	margin: auto;
}
@media (max-width: 950px){
	.alignleft,
	.alignright {
		float: none;
		max-width: 100%;
		margin: 0 0 20px 0;
	}
}

.flex {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
}
.flex-2 > * {
	width: 49%;
}
.flex-3 > * {
	width: 32%;
}
.flex-4 > * {
	width: 24%;
}
@media (min-width: 950px){
	.mobile-only {
		display: none !important;
	}
}
@media (max-width: 950px){
	.desktop-only {
		display: none !important;
	}
	.flex-2 > *,
	.flex-3 > *,
	.flex-4 > * {
		width: 100%;
	}
}
.flex-top {
	align-items: flex-start;
}
.flex-bottom {
	align-items: flex-end;
}
.flex-left {
	justify-content: flex-start;
}
.flex-right {
	justify-content: flex-end;
}
.flex-center {
	justify-content: center;
}
.flex-stretch {
	align-items: stretch;
}
.flex-nowrap {
	flex-wrap: nowrap;
}

.grid-1 {
	display:block;
	width:100%;
}
.grid-2 {
	display:grid;
	grid-template-columns:49.3fr 49.3fr;
	grid-column-gap:1.3%;
	width:100%;
}
.grid-3 {
	display:grid;
	grid-template-columns:33fr 33fr 33fr;
	grid-column-gap:1.3%;
	width:100%;
}
@media (max-width: 950px){
	.grid-2,
	.grid-3 {
		display:grid;
		grid-template-columns:49fr 49fr;
		gap:1fr;
	}
}
@media (max-width: 600px){
	.grid-2,
	.grid-3 {
		display: block;
		width:100%;
	}
}

.inline {
	display: inline-block;
	vertical-align: middle;
	margin: 0 10px 10px 0;
}

.table {
	display: table;
	width: 100%;
}
.table tr,
.table > * {
	display: table-row;
}
.table tr td,
.table > * > * {
	display: table-cell;
	vertical-align: top;
	padding: 6px;
	text-align: left;
}
@media (max-width: 600px){
	.table {
		display: block;
	}
	.table tr,
	.table > * {
		display: block;
	}
	.table tr td,
	.table > * > * {
		display: block;
	}	
}

.container {
	width: 100%;
	max-width: 1851px;
	margin: auto;
	padding: 0;
	position: relative;
}

button,
input[type="submit"],
.button {
	font-size: 16px;
	font-weight: 700;
	display: inline-block;
	background: #000000;
	padding: 12px 25px;
	margin: 0 20px 0 0;
	border-radius: 12px;
	border: solid 1px var(--border-color);
	color: #ffffff;
	text-decoration: none;
	text-align: center;
	cursor: pointer;
}
button:hover,
input[type="submit"]:hover,
.button:hover {
	background: #333333;
	color: #ffffff;
}
@media (max-width: 600px){
	button,
	input[type="submit"],
	.button {
		margin: 0 20px 10px 0;
	}
}

.primary-button {
	background: linear-gradient(rgba(165, 0, 0, 1), rgba(233, 36, 48, 1)) !important;
	color: #fff;
}
.secondary-button {
	background: linear-gradient(rgba(0, 84, 149, 1), rgba(1, 136, 241, 1)) !important;
	color: #fff;
}

header {
	padding: 10px 35px;
	position: fixed;
	left: 0;
	top: 0;
	z-index: 10;
	width: 100%;
	background: rgba(0, 0, 0, .7);
}
header .logo {
	width: 200px;
}
header nav a {
	color: #fff;
	text-decoration: none;
	display: inline-block;
	margin: 0 20px;
}
@media (max-width: 950px){
	header .mobile-menu-button {
		font-size: 31px;
		font-weight: 300;
		padding: 3px 10px;
		margin: 0;
		background: transparent;
	}
	header nav {
		display: none;
		width: 100%;
		font-size: 21px;
	}
	header nav a {
		display: block;
		margin: 30px 10px;
	}
	header nav.opened {
		display: block;
	}
}
@media (max-width: 600px){
	header {
		padding: 10px 20px;
	}
	header .logo {
		width: 150px;
	}
}

.buttons {
	margin: 30px 0;
}

.breadcrumbs {
	margin: 30px auto 0;
}
.breadcrumbs .crumb {
	display: inline-block;
	font-size: 16px;
	line-height: 24px;
}
.breadcrumbs .crumb a {
	color: var(--text-color);
	text-decoration: none;
}
.breadcrumbs .crumb:not(:last-child):after {
	content: '/';
	margin: 0 10px;
}

section {
	margin: 170px auto;
}
section .header {
	margin-bottom: 40px;
}
section .header h2 {
	font-weight: 500;
	font-size: 48px;
	color: var(--blue-color);
	text-align: center;
}
section .header h3,
section .header p {
	text-align: center;
	margin: 22px auto;
	max-width: 900px;
}
section .item {
	position: relative;
	text-decoration: none;
	color: var(--text-color);
	margin-bottom: 20px;
	text-align: center;
	overflow: hidden;
}
section .item a {
	text-decoration: none;
	color: inherit;
}
section.home-directions .item img {
	position: absolute;
	left: 0;
	top: 0;
	z-index: -1;
	object-fit: cover;
	width: 100%;
	height: 100%;
}
section.home-projects .item img {
	object-fit: contain;
	width: 100%;
	height: 300px;
	margin: auto;
}
section .content {
	padding: 10px;
	text-align: left;
	background: linear-gradient(to bottom, transparent, var(--back-color));
}
section h3 {
	margin: 10px 0 25px 0;
	font-size: 24px;
	line-height: 32px;
	font-weight: 600;
	color: #fff;
}
section.home-params .item h3 {
	height: 2lh;
}
@media (max-width: 950px){
	section {
		margin: 90px auto;
	}
}

.column1 {
	max-width: 25%;
}
.column2 {
	max-width: 73%;
}
@media (max-width: 1200px){
	.column1 {
		max-width: 35%;
	}
	.column2 {
		max-width: 63%;
	}
}
@media (max-width: 600px){
	.column1 {
		max-width: 100%;
		margin-bottom: 30px;
	}
	.column2 {
		max-width: 100%;
	}
}

.home-hero h1 {
	font-size: 58px;
	font-weight: 500;
}
.home-hero p {
	font-size: 16px;
}
.home-hero video {
	width: 100%;
}
@media (max-width: 1200px){
	.home-hero h1 {
		font-size: 38px;
	}
	.home-hero p {
		font-size: 14px;
	}
}
@media (max-width: 600px){
	.home-hero h1 {
		font-size: 30px;
	}
}

.home-partners {
	margin: 30px auto;
	overflow-x: auto;
	width: 100%;
}
.home-partners img {
	display: inline-block;
	margin: 10px 20px;
	position: static;
	filter: brightness(0.3);
	height: 25px;
	width: auto;
}
.home-partners .item:hover img {
	filter: brightness(0.8);
}

.home-directions .item:nth-child(1),
.home-directions .item:nth-child(2),
.home-directions .item:nth-child(3) {
	width: 33%;
	padding-top: 400px;
}
.home-directions .item:nth-child(4),
.home-directions .item:nth-child(5) {
	width: 49.5%;
	padding-top: 400px;
}
@media (max-width: 1300px){
	.home-directions .item:nth-child(1),
	.home-directions .item:nth-child(2),
	.home-directions .item:nth-child(3),
	.home-directions .item:nth-child(4),
	.home-directions .item:nth-child(5) {
		padding-top: 300px;
	}
}
@media (max-width: 950px){
	.home-directions .item:nth-child(1),
	.home-directions .item:nth-child(2),
	.home-directions .item:nth-child(3),
	.home-directions .item:nth-child(4),
	.home-directions .item:nth-child(5) {
		width: 49.5%;
		padding-top: 250px;
	}
}
@media (max-width: 600px){
	.home-directions .item:nth-child(1),
	.home-directions .item:nth-child(2),
	.home-directions .item:nth-child(3),
	.home-directions .item:nth-child(4),
	.home-directions .item:nth-child(5),
	.home-projects .item {
		width: 100%;
	}
}

.home-params .item {
	margin: 20px 0;
}
.home-params .value {
	position: relative;
	font-size: 48px;
	font-weight: 600;
	line-height: 100%;
	color: var(--blue-color);
	margin-right: 30px;
}
.home-params .value::before {
	content: attr(data-text);
	position: absolute;
	top: 0;
	left: 0;
	color: transparent;
	text-shadow: 0 0 40px rgba(1, 136, 241, 0.9);
	transform: scale(2);
	transform-origin: center;
	z-index: -1;
	pointer-events: none;
}

.home-projects .nav {
	position: absolute;
	top: 30%;
	z-index: 100;
	width: 100%;
}
.home-projects .nav .arrow-prev {
	position: absolute;
	left: 0;
}
.home-projects .nav .arrow-next {
	position: absolute;
	right: 0;
}

.home-reviews h2,
.home-team h2 {
	font-size: 40px;
	color: var(--blue-color);
}
.home-reviews p,
.home-team p {
	margin: 10px 0;
}
.home-team .item {
	text-align: center;
	margin: 30px 0;
}
.home-team .item img {
	object-fit: contain;
	width: 157px;
	height: 157px;
	margin-bottom: 15px;
}
.home-team .item h4 {
	font-size: 24px;
	margin: 10px 0;
}
.home-reviews .tags,
.home-team .tags {
	color: var(--blue-color);
}

.home-reviews {
	position: relative;
	overflow: hidden;
}
.home-reviews .text {
	min-height: 440px;
}
.home-reviews .nav {
	position: absolute;
	right: 20px;
	bottom: 0;
	z-index: 100;
}

.nav .arrow {
	width: 40px;
	height: 40px;
	display: inline-block;
	border-radius: 100%;
	background: rgba(17, 56, 124, 0.2);
	border: solid 0.2px var(--text-color2);
	color: var(--blue-color);
	margin: 10px;
	padding: 8px 11px;
	font-size: 22px;
	cursor: pointer;
}
.nav .arrow:hover {
	background: rgba(17, 56, 124, 0.7);
}
.owl-prev,.owl-next {
	display: none;
}

.home-reviews .text {
	margin: 20px 0 50px;
	width: 100%;
}
.home-reviews h4,
.home-team h4 {
	margin: 0;
}
.home-team .item {
	width: 33%;
}
@media (max-width: 950px){
	.home-team .item {
		width: 49%;
	}
}

.home-contact {
	margin-bottom: auto;
	max-width: 1215px;
	padding: 0 0 60px;
	background: radial-gradient(
	  ellipse at center bottom,
	  #001227 0%,
	 transparent 70%,
	  #000000 100%);
}
.home-contact .button {
	width: 100%;
}
.home-contact .accept p {
	max-width: 80%;
}
.home-contact textarea {
	height: 110px;
}
.home-contact textarea,
.home-contact input[type="text"],
.home-contact input[type="tel"],
.home-contact input[type="email"] {
	width: 100%;
	background: var(--back-color2);
	border: solid 1px var(--border-color);
	margin: 8px 0;
}
.home-contact input[type="checkbox"] {
	margin-right: 20px;
}

footer {
	padding: 40px 0;
}
footer .column2 {
	text-align: right;
}
footer .menu {
	margin: 0 0 35px;
}
footer .menu a {
	color: var(--text-color);
	text-decoration: none;
	display: inline-block;
	margin: 0 20px;
}
footer .logo {
	margin: 0 0 30px 0;
	width: 200px;
}
footer .contacts {
	font-size: 21px;
	margin: 20px 0;
}
footer .contacts a {
	color: var(--text-color);
	text-decoration: none;
	margin: 10px 0;
}
footer .bottom-panel {
	border-top: solid 1px var(--text-color2);
	padding-top: 20px;
	margin-top: 20px;
}
footer .copyright {
	color: var(--text-color2);
	font-size: 14px;
}
footer .copyright a {
	color: var(--text-color2);
	text-decoration: none;
}
@media (max-width: 950px){
	footer .column1 {
		margin-bottom: 30px;
	}
	footer .column2 {
		text-align: left;
	}
	footer .menu {
		margin-bottom: 60px;
	}
	footer .menu a {
		display: block;
		margin: 20px 0;
	}
}
@media (max-width: 600px){
	footer .logo {
		width: 150px;
	}
	footer .contacts a {
		display: inline-block;
		width: 90%;
	}
}

.error-page {
	text-align: center;
}
.error-page h1 {
	font-size: 128px;
}

.error-input {
	border: solid 1px red !important;
}

.video-block {
	text-align: center;
}
.video-block video {
	max-width: 80%;
	max-height: 700px;
}
@media (max-width: 950px){
	.video-block video {
		max-width: 100%;
	}
}