/*
Theme Name: Brand Surf
Theme URI: https://7web.top
Author: 7web
*/
* {
	box-sizing: border-box;
	line-height: 1.2em;
}

body {
	margin: 0;
	background: #000;
	color: #fff;
	font-family: "Inter", sans-serif;
	font-optical-sizing: auto;
	font-weight: 400;
	font-style: normal;
}

.btn,
li.btn a {
	color: #fff;
	font-weight: 600;
	font-size: 15px;
	background: #202020;
	border: 1px solid #202020;
	text-decoration: none;
	padding: 15px;
	text-align: center;
	cursor: pointer;
}
li.btn a {
	display: inline-block;
	width: 100%;
}
.btn-primary,
li.btn-primary a {
	background: #0062ff;
	border-color: #0062ff;
}
.btn:hover,
li.btn a:hover,
.btn-primary:hover,
li.btn-primary a:hover {
	border-color: #fff;
}
li.btn {
	padding: 0;
	border: none;
	background: transparent;
}
br.l,
br.m,
br.s {
	display: none;
}
#hero {
	padding: 40px 0 160px;
}

#top {
	margin: 0 56px 35px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	position: relative;
}

#top #logo {
	width: 168px;
	height: 24px;
}

#top .buttons {
	display: flex;
	gap: 7px;
	width: 392px;
}
#top .buttons li {
	list-style: none;
}

#top .btn {
	flex: 0 0 192px;
}
#top .menu-button {
	position: absolute;
	right: 0;
	width: 38px;
	cursor: pointer;
	display: none;
}
#top .menu-button span {
	display: block;
	width: 100%;
	height: 3px;
	margin: 0 0 16px;
	background: #fff;
}
#top .menu-button span:last-child {
	margin: 0;
}
#top .close-menu {
	position: absolute;
	right: 0;
	width: 38px;
	cursor: pointer;
	height: 38px;
	background: url('img/close.svg') no-repeat 50% 50%;
	background-size: 120% 120%;
	display: none;
}
#hero h1 {
	text-align: center;
	font-size: 80px;
	font-weight: 500;
	position: relative;
	margin: 0 auto 40px;
	padding: 160px 0 0;
	padding: 140px 0 0;
	width: 1120px;
}

#hero h1::after {
	content: '';
	background: url(img/surfer.png) no-repeat;
	width: 136px;
	height: 112px;
	background-size: 100% 100%;
	display: block;
	position: absolute;
	top: 80px;
	left: 688px;
	/*animation: surf 1200ms infinite;*/
	transform-origin: 50% 50%;
	animation: surfing 2s linear infinite;
}
@keyframes surfing {
	0%, 100% {
		transform: translateY(0px) rotateZ(0deg);
	}
	25% {
		transform: translateY(-5px) rotateZ(4deg);
	}
	50% {
		transform: translateY(-10px) rotateZ(0deg);
	}
	75% {
		transform: translateY(-5px) rotateZ(-4deg);
	}
}
#hero .description {
	font-size: 24px;
	text-align: center;
	margin: 0;
}

#features {
	overflow: hidden;
	margin: 0 0 160px;
}

#features .card {
	width: 50vw;
	padding: 0 2vw;
	transition: all 200ms ease;
	display: flex;
	flex-direction: column;
	/*opacity: 0.8;*/
}
/*#features .card.is-active {
	opacity: 1;
}*/

#features .card img {
	width: 100%;
	display: block;
}

#features .card .label {
	padding: 16px 20px;
	border-style: solid;
	border-color: #fff;
	border-width: 0 1px 1px 1px;
	font-size: 18px;
	flex: 1 0 auto;
	display: flex;
	align-items: flex-start;
}

#services h2 {
	text-align: center;
	font-size: 56px;
	font-weight: 400;
	margin: 0 0 8px;
}

#services .description {
	font-size: 24px;
	margin: 0 0 104px;
	text-align: center;
}

#services .table {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	grid-template-rows: repeat(3, 1fr);
	margin: 0 112px 40px;
	border: 1px solid #fff;
}

#services .table .cell {
	position: relative;
	padding: 16px;
	border-bottom: 1px solid #fff;
	border-right: 1px solid #fff;
}

#services .table .cell7,
#services .table .cell8 {
	border-bottom: none;
}
#services .table .cell8 { grid-area: 3 / 2 / 4 / 4; }

#services .table .label {
	font-size: 32px;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	padding: 16px;
	display: flex;
	align-items: flex-end;
	background: #000;
	transition: all 300ms ease;
	z-index: 2;
}
#services .table .cell:hover .label {
	opacity: 0;
}
#services .table .info div {
	font-size: 16px;
	line-height: 35.2px;
	/*padding: 0 0 0 20px;**/
	position: relative;
}
/*#services .table .info div:before {
	content: '-';
	display: block;
	position: absolute;
	left: 0;
}*/
#promo {
	padding: 328px 0 0;
	background: linear-gradient(180deg, rgba(0,0,0,0.3), rgba(0,98,255,0.3) 100%);
	position: relative;
}
#promo h2 {
	text-align: center;
	font-size: 112px;
	font-weight: 400;
	margin: 0 0 -220px;
	position: relative;
}
#promo .brand-dashboard {
	display: block;
	width: 80vw;
	margin: 0 auto;
	z-index: 2;
	position: relative;
}
#promo #promo-button {
	position: absolute;
	bottom: 112px;
	left: 50%;
	margin-left: -131px;
	z-index: 3;
	padding: 20px 36px;
	line-height: 28px;
	font-size: 20px;
}
#bottom {
	background: #000;
	font-size: 15px;
}

#bottom .container {
	width: 87.5%;
	margin: 0 auto;
	padding: 36px 0 104px;
	display: flex;
	flex-wrap: wrap;
}

#bottom .col {
	flex: 0 0 33.33%;
}

#bottom .col-title {
	font-weight: 700;
	margin: 0 0 20px;
	color: rgba(147, 147, 147);
}

#bottom ul {
	margin: 0;
	padding: 0;
	display: inline-flex;
	gap: 8px 15px;
	list-style: none;
}

#bottom a {
	color: #fff;
	text-decoration: none;
}

#bottom p {
	margin: 0 0 5.6px;
}

#bottom .copyright {
	color: rgba(107, 107, 107);
	flex: 0 0 100%;
}

#bottom .subscribe-form {
	height: 43.2px;
	display: flex;
}

#bottom .subscribe-form input {
	background: #000;
	color: #fff;
	border: 1px solid #fff;
	font-size: 15px;
}

#bottom .subscribe-form input[type="text"] {
	flex: 0 0 70%;
	border-right: none;
}

#bottom .subscribe-form input[type="submit"] {
	flex: 0 0 30%;
	cursor: pointer;
}

#bottom .subscribe-form input[type="submit"]:hover {
	background: rgba(0, 98, 255, 1);
}
#page-hero {
	padding: 30px 0 50px;
}
#main-content {
	padding: 0 56px;
}
#main-content .entry-title {
	font-size: 3em;
	margin: 0 0 30px;
	text-align: center;
}
@media (max-width: 1160px) {
	#hero h1 {
		width: auto;
		margin-left: 20px;
		margin-right: 20px;
		font-size: 72px;
	}
	#hero h1::after {
		left: calc(50% + 40px);
		top: 70px;
	}
	br.l {
		display: inline;
	}
	#services .table {
		grid-template-columns: repeat(2, 1fr);
		grid-template-rows: repeat(4, 1fr);
		margin: 0 40px 40px;
	}
	#services .table .cell {
		border-bottom: 1px solid #fff;
		border-right: 1px solid #fff;
	}
	#services .table .cell7,
	#services .table .cell8 {
		border-bottom: none;
	}
	#services .table .cell:nth-child(even) {
		border-right: none;
	}
	#services .table .cell8 {
		grid-area: auto;
	}
	#promo h2 {
		font-size: 88px;
	}
	#bottom .container {
		gap: 25px;
	}
	#bottom .col-title {
		margin: 0;
	}
	#bottom .col-3 {
		flex: 0 0 100%;
		order: 1;
		margin: 0 0 10px;
	}
	#bottom .col-3 .col-title {
		margin: 0 0 20px;
	}
	#bottom .subscribe-form {
		width: 60%;
	}
	#bottom .col-1 {
		flex: 0 0 100%;
		order: 2;
		display: flex;
		gap: 25px;
	}
	#bottom .col-2 {
		flex: 0 0 calc(100% - 225px);
		order: 3;
		display: flex;
		gap: 25px;
	}
	#bottom .copyright {
		order: 4;
		flex: 0 0 200px;
	}
	#promo .brand-dashboard {
		width: 100%;
	}
}
@media (max-width: 900px) {
	br.xl {
		display: none;
	}
	br.m {
		display: inline;
	}
	#top .menu-button {
		display: block;
	}
	#top .buttons {
		position: absolute;
		right: 0;
		flex-wrap: wrap;
		width: 192px;
		top: 40px;
		display: none;
		z-index: 2;
	}
	.menu-opened #top .buttons {
		display: flex;
	}
	.menu-opened #top .menu-button {
		display: none;
	}
	.menu-opened #top .close-menu {
		display: block;
	}
	#promo #promo-button {
		bottom: 9vw;
		font-size: 18px;
		padding: 14px 20px;
		margin-left: -106px;
	}
	#main-content {
		padding: 0 30px;
	}
}
@media (max-width: 660px) {
	#services .table {
		display: block;
		border: none;
		margin: 0 30px;
	}
	#services .table .cell {
		border: none;
		padding: 0;
		margin: 0 0 20px;
	}
	#services .table .label {
		position: relative;
		top:unset;
		left: unset;
		padding: 0 0 0 30px;
		background: url('img/plus.svg') no-repeat 0 7px;
		background-size: 24px 24px;
		align-items: center;
		cursor: pointer;
	}
	#services .table .label br {
		display: none;
	}
	#services .table .cell:hover .label {
		opacity: 1;
		text-decoration: underline;
	}
	#services .table .info {
		padding: 0 0 0 30px;
		max-height: 0;
		overflow: hidden;
		transition: all 200ms ease;
	}
	#services .table .info div {
		margin: 0 0 5px;
		line-height: 1.2em;
		font-size: 14px;
	}
	#services .table .opened ~ .info {
		max-height: 500px;
		padding: 20px 0 0 30px;
	}
	#main-content {
		padding: 0 20px;
	}
	#main-content .entry-title {
		font-size: 2.5em;
		margin: 0 0 20px;
	}
}
@media (max-width: 600px) {
	#hero {
		padding: 20px 0 100px;
	}
	#top {
		margin: 0 20px 20px;
	}
	#top .menu-button {
		width: 24px;
	}
	#top .menu-button span {
		height: 2px;
		margin: 0 0 7px;
	}
	#hero h1 {
		font-size: 40px;
		padding: 100px 0 0;
	}
	#hero .description {
		font-size: 18px;
	}
	#features .card .label {
		font-size: 16px;
	}
	#services h2 {
		font-size: 34px;
		margin: 0 0 40px;
	}
	#services .description {
		font-size: 16px;
		padding: 0 20px;
		margin: 0 0 50px;
	}
	#services .description br {
		display: none;
	}
	#services .table .label {
		font-size: 21px;
		background-size: 20px 20px;
		background-position: 0 2px;
		padding: 0 0 0 26px;
	}
	#hero h1::after {
		width: 90px;
		height: 75px;
		top: 50px;
		left: calc(50% + 30px);
	}
	#promo h2 {
		font-size: 50px;
	}
	#promo #promo-button {
		padding: 10px 15px;
		font-size: 16px;
		margin-left: -92px;
	}
	#bottom {
		font-size: 13px;
	}
	#bottom .subscribe-form input {
		font-size: 13px;
		height: 30px;
	}

	#bottom .col-3 .col-title {
		display: none;
	}
}
@media (max-width: 450px) {
    #promo h2 {
        margin: 0 0 -190px;
    }
}
@media (max-width: 390px) {
    #promo h2 {
        margin: 0 0 -180px;
    }
}
.sender-form-success .sender-form-subtitle {
	color: #0062ff;
}
#backdrop {
	position: fixed;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	background: rgba(0, 0, 0, 0.5);
	z-index: 100000;
	backdrop-filter: blur(2px);
	display: none;
	align-items: center;
	justify-content: center;
}
#backdrop.visible {
	display: flex;
}
#modal {
	width: 90%;
    height: 80%;
    padding: 50px 0 0;
    position: relative;
    max-width: 1280px;
}
#modal .close {
	position: absolute;
	right: 0;
	top:0;
	width: 50px;
	height: 50px;
	background: url('img/close.svg') no-repeat 50% 50%;
	background-size: 50px 50px;
	cursor: pointer;
}
#modal iframe {
	position: relative;
	width: 100%;
	height: 100%;
	overflow: hidden;
	border: 1px solid #fff;
    box-sizing: border-box;
}
@media (max-width: 600px) {
	#modal {
	    height: 90%;
	    padding: 30px 0 0;
	}
	#modal .close {
		width: 30px;
		height: 30px;
		background-size: 30px 30px;
	}
}