﻿@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;900&display=swap');

* {
	border: 0;
	box-sizing: inherit;
	margin: 0;
	padding: 0;
}

*:before, *:after {
  box-sizing: inherit;
}

:root {
	--foldDur: 0.7s;
	font-size: calc(24px + (30 - 24)*(100vw - 320px)/(1280 - 320));
}

body, button {
	color: #171717;
	font: 1em Roboto;
	line-height: 1.5;
}
body {
	background-image:
		linear-gradient(#8ccfd100 1.35em,#8ccfd1 1.4em 1.45em,#8ccfd100 1.5em),
		linear-gradient(90deg,#e5e5e5 1.35em,#8ccfd1 1.4em 1.45em,#e5e5e5 1.5em);
	background-position: 50% 0;
	background-size: 1.5em 1.5em;
}
form, .select__button, .select__options {
	width: 100%;
}
form {
	margin: auto;
	padding: 3em 1.5em 6em 1.5em;
	max-width: 13.25em;
}
label {
	display: block;
	font-weight: bold;
}

.section-services .custom-select {
	height: inherit;
	padding: 0 20px;
	line-height: inherit;
	font-size: 20px;
	font-weight: bold;
	border-radius: 27px;
	padding-left: 20px;
	padding-right: 20px;
	padding-top: 5px;
	padding-bottom: 5px;
	color: #000;
}

.select-club-services {
	--max-scroll: 8;
	--text: #191919;
	--border: #687898;
	--borderActive: #fff;
	--background: #fff;
	--arrow: #6C7486;
	--arrowActive: #E4ECFA;
	--listText: #191919;
	--listBackground: #F5F9FF;
	--listActive: #E4ECFA;
	--listTextActive: #6C7486;
	--listBorder: none;
	--textFilled: #191919;
	width: 220px;
	position: relative;
}
.select-club-services select {
	display: none;
}
.select-club-services > span {
	cursor: pointer;
	padding: 9px 16px;
	border-radius: 17px;
	display: block;
	position: relative;
	color: var(--text);
	border: 5px solid var(--border);
	background: var(--background);
	-webkit-transition: all .3s ease;
	transition: all .3s ease;
}
.select-club-services > span:before, .select-club-services > span:after {
	content: '';
	display: block;
	position: absolute;
	width: 8px;
	height: 2px;
	border-radius: 1px;
	top: 50%;
	right: 15px;
	background: var(--arrow);
	-webkit-transition: all .3s ease;
	transition: all .3s ease;
}
.select-club-services > span:before {
	margin-right: 4px;
	-webkit-transform: scale(0.96, 0.8) rotate(50deg);
	transform: scale(0.96, 0.8) rotate(50deg);
}
.select-club-services > span:after {
	-webkit-transform: scale(0.96, 0.8) rotate(-50deg);
	transform: scale(0.96, 0.8) rotate(-50deg);
}
.select-club-services ul {
	margin: 0;
	padding: 0;
	list-style: none;
	opacity: 0;
	visibility: hidden;
	position: absolute;
	max-height: calc(var(--max-scroll) * 42px);
	top: 42px;
	left: 0;
	z-index: 1;
	right: 0;
	background: var(--listBackground);
	border-radius: 6px;
	overflow-x: hidden;
	overflow-y: auto;
	-webkit-transform-origin: 0 0;
	transform-origin: 0 0;
	-webkit-transition: opacity 0.2s ease, visibility 0.2s ease, -webkit-transform 0.3s cubic-bezier(0.4, 0.6, 0.5, 1.32);
	transition: opacity 0.2s ease, visibility 0.2s ease, -webkit-transform 0.3s cubic-bezier(0.4, 0.6, 0.5, 1.32);
	transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.3s cubic-bezier(0.4, 0.6, 0.5, 1.32);
	transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.3s cubic-bezier(0.4, 0.6, 0.5, 1.32), -webkit-transform 0.3s cubic-bezier(0.4, 0.6, 0.5, 1.32);
	-webkit-transform: scale(0.8) translate(0, 4px);
	transform: scale(0.8) translate(0, 4px);
	border: 1px solid var(--listBorder);
}
.select-club-services ul li {
	opacity: 0;
	-webkit-transform: translate(6px, 0);
	transform: translate(6px, 0);
	-webkit-transition: all .3s ease;
	transition: all .3s ease;
}
.select-club-services ul li a {
	cursor: pointer;
	display: block;
	padding: 10px 16px;
	color: var(--listText);
	text-decoration: none;
	outline: none;
	position: relative;
	-webkit-transition: all .3s ease;
	transition: all .3s ease;
}
.select-club-services ul li a:hover {
	color: var(--listTextActive);
}
.select-club-services ul li.active a {
	color: var(--listTextActive);
	background: var(--listActive);
}
.select-club-services ul li.active a:before, .select-club-services ul li.active a:after {
	--scale: .6;
	content: '';
	display: block;
	width: 10px;
	height: 2px;
	position: absolute;
	right: 17px;
	top: 50%;
	opacity: 0;
	background: var(--listText);
	-webkit-transition: all .2s ease;
	transition: all .2s ease;
}
.select-club-services ul li.active a:before {
	-webkit-transform: rotate(45deg) scale(var(--scale));
	transform: rotate(45deg) scale(var(--scale));
}
.select-club-services ul li.active a:after {
	-webkit-transform: rotate(-45deg) scale(var(--scale));
	transform: rotate(-45deg) scale(var(--scale));
}
.select-club-services ul li.active a:hover:before, .select-club-services ul li.active a:hover:after {
	--scale: .9;
	opacity: 1;
}
.select-club-services ul li:first-child a {
	border-radius: 6px 6px 0 0;
}
.select-club-services ul li:last-child a {
	border-radius: 0 0 6px 6px;
}
.select-club-services.filled > span {
	color: var(--textFilled);
}
.select-club-services.open > span {
	border-color: var(--borderActive);
}
.select-club-services.open > span:before, .select-club-services.open > span:after {
	background: var(--arrowActive);
}
.select-club-services.open > span:before {
	-webkit-transform: scale(0.96, 0.8) rotate(-50deg);
	transform: scale(0.96, 0.8) rotate(-50deg);
}
.select-club-services.open > span:after {
	-webkit-transform: scale(0.96, 0.8) rotate(50deg);
	transform: scale(0.96, 0.8) rotate(50deg);
}
.select-club-services.open ul {
	opacity: 1;
	visibility: visible;
	-webkit-transform: scale(1) translate(0, 12px);
	transform: scale(1) translate(0, 12px);
	-webkit-transition: opacity 0.3s ease, visibility 0.3s ease, -webkit-transform 0.3s cubic-bezier(0.4, 0.6, 0.5, 1.32);
	transition: opacity 0.3s ease, visibility 0.3s ease, -webkit-transform 0.3s cubic-bezier(0.4, 0.6, 0.5, 1.32);
	transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s cubic-bezier(0.4, 0.6, 0.5, 1.32);
	transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s cubic-bezier(0.4, 0.6, 0.5, 1.32), -webkit-transform 0.3s cubic-bezier(0.4, 0.6, 0.5, 1.32);
}
.select-club-services.open ul li {
	opacity: 1;
	-webkit-transform: translate(0, 0);
	transform: translate(0, 0);
}
.select-club-services.open ul li:nth-child(1) {
	-webkit-transition-delay: 80ms;
	transition-delay: 80ms;
}
.select-club-services.open ul li:nth-child(2) {
	-webkit-transition-delay: 160ms;
	transition-delay: 160ms;
}
.select-club-services.open ul li:nth-child(3) {
	-webkit-transition-delay: 240ms;
	transition-delay: 240ms;
}
.select-club-services.open ul li:nth-child(4) {
	-webkit-transition-delay: 320ms;
	transition-delay: 320ms;
}
.select-club-services.open ul li:nth-child(5) {
	-webkit-transition-delay: 400ms;
	transition-delay: 400ms;
}
.select-club-services.open ul li:nth-child(6) {
	-webkit-transition-delay: 480ms;
	transition-delay: 480ms;
}
.select-club-services.open ul li:nth-child(7) {
	-webkit-transition-delay: 560ms;
	transition-delay: 560ms;
}
.select-club-services.open ul li:nth-child(8) {
	-webkit-transition-delay: 640ms;
	transition-delay: 640ms;
}
.select-club-services.open ul li:nth-child(9) {
	-webkit-transition-delay: 720ms;
	transition-delay: 720ms;
}
.select-club-services.open ul li:nth-child(10) {
	-webkit-transition-delay: 800ms;
	transition-delay: 800ms;
}

select {
	--text: #3F4656;
	--border: #2F3545;
	--background: #151924;
}
select.select-club-services {
	padding: 9px 16px;
	border-radius: 6px;
	color: var(--text);
	border: 1px solid var(--border);
	background: var(--background);
	line-height: 22px;
	font-size: 20px;
	font-family: inherit;
	-webkit-appearance: none;
}

@keyframes appear {
	from { opacity: 0 }
	to { opacity: 1 }
}
@keyframes fold4 {
	from { color: #171717; transform: translateY(0) rotateX(0deg) }
	12.5% { color: #171717; transform: translateY(0) rotateX(-90deg) }
	12.51% { color: transparent; transform: translateY(0) rotateX(-90deg) }
	25% { color: transparent; transform: translateY(0) rotateX(-180deg) }
	25.01% { color: transparent; transform: translateY(100%) rotateX(0deg) }
	50% { color: transparent; transform: translateY(100%) rotateX(-180deg) }
	50.01% { color: transparent; transform: translateY(200%) rotateX(0deg) }
	75% { color: transparent; transform: translateY(200%) rotateX(-180deg) }
	75.01% { color: transparent; transform: translateY(300%) rotateX(0deg) }
	to { color: transparent; transform: translateY(300%) rotateX(-100deg) }
}
@keyframes fold5 {
	from { color: #171717; transform: translateY(0) rotateX(0deg) }
	10% { color: #171717; transform: translateY(0) rotateX(-90deg) }
	10.01% { color: transparent; transform: translateY(0) rotateX(-90deg) }
	20% { color: transparent; transform: translateY(0) rotateX(-180deg) }
	20.01% { color: transparent; transform: translateY(100%) rotateX(0deg) }
	40% { color: transparent; transform: translateY(100%) rotateX(-180deg) }
	40.01% { color: transparent; transform: translateY(200%) rotateX(0deg) }
	60% { color: transparent; transform: translateY(200%) rotateX(-180deg) }
	60.01% { color: transparent; transform: translateY(300%) rotateX(0deg) }
	80% { color: transparent; transform: translateY(300%) rotateX(-180deg) }
	80.01% { color: transparent; transform: translateY(400%) rotateX(0deg) }
	to { color: transparent; transform: translateY(400%) rotateX(-100deg) }
}