html { height: 100%; overflow:auto; }
body{
	counter-reset: title;
	height: 100%;
}
body::-webkit-scrollbar{
	/*visibility: hidden;*/
	background: #252935;
	width: 10px;
}
body::-webkit-scrollbar-thumb{
	background: white;
}

.no-scroll{
	overflow: hidden;
	margin-right: 17px;
}
.kchau{
	position: fixed;
	font-size: 1rem;
}

#top-slider .slide{
	position: relative;
	display: grid;
	justify-items: center;
	align-items: center;
	grid-template-areas: 'txt img';
	grid-template-columns: 1fr 1fr;
	padding: calc(50px + 1rem + .5rem);
	box-sizing: border-box;
}
#top-slider .slide img{
	position: absolute;
	z-index: -1;
}
#top-slider .slide .txt{
	grid-area: txt;
	height: 100%;
	background: rgba(0,0,0,.5);
	padding: 1rem;
	box-sizing: border-box;
}
#top-slider .parallax-wrapper{
	width: 100%;
	height: 100%;
	position: relative;
	display: flex;
	justify-content: center;
	align-items: center;
	    outline: 2px solid red;
}
#top-slider .slide .parallax-block{
	grid-area: img;
	position: absolute;
}
#top-slider .slide .blue{
	width: 100px;
	height: 100px;
	background: yellow;
	transform: translate( 0, calc(var(--ulitochka-slide-height) - var(--ulitochka-slide-height)*2) );
	transition: 1s 1s;
}
#top-slider .slide .pink{
	width: 150px;
	height: 150px;
	background: pink;
	transform: translate(0, var(--ulitochka-slide-height));
	transition: 1s;
	transition-delay: .5s;
}
#top-slider .slide .glass{
	width: 250px;
	height: 250px;
	background: rgba(255, 255, 255, .1);
	backdrop-filter: blur(5px);
	-webkit-backdrop-filter: blur(5px);
	display: flex;
    justify-content: center;
    align-items: center;
    font-size: 3rem;
	box-shadow: rgb(0 0 0 / 20%) -5px -5px 10px;
	transform: translate(0, var(--ulitochka-slide-height));
	transition: 1s .3s;
}
#top-slider .active .glass{
	transform: translate(0, 0);
}
#top-slider .active .pink{
	transform: translate(-80px, 120px);
}
#top-slider .active .blue{
	transform: translate(45px, -100px);
}

#top-slider .ulitochka-arrow{
	background: rgba(0, 0, 0, .5);
	display: flex;
	justify-content: center;
	align-items: center;
	margin: 1rem;
}
.no-transition{
	transition: none !important;
}

.big{
	height: 100vh;
	background: url("https://i.pinimg.com/originals/47/13/49/471349ab18ce02d202cc86ebc64131c4.jpg") center 70%/cover;
	animation: rainbow 1s infinite;
}
@keyframes rainbow{
	from{
		filter: hue-rotate(0deg);
	}
	to{
		filter: hue-rotate(360deg);
	}
}

#title{
	display: flex;
	flex-direction: column;
	justify-content: center;
	font-size: 1.5rem;
	text-align: center;
	height: 100vh;
}
#title>*{
	margin: 0;
	text-transform: uppercase;
}
#title h1{
	position: relative;
    width: max-content;
	margin: 0 auto;
}
#title h1:before{
	content: "webpride";
	position: absolute;
	top:0;
	filter: url("#glitch");
	clip-path: url("#glitchPath");
    transform: scale(1.1);
}
#title h1 svg{
	position: absolute;
	left: 0;
	top: 0;
}
.block-title{
	display: grid;
	align-items: center;
	grid-template-columns: auto 150px 1fr;
	counter-increment: title;
	top: 0;
	left: 0;
	text-transform: uppercase;
	font-size: 2rem;
	margin: 3rem 0 6rem 2rem;
	max-width: 50%;
}
.block-title:before{
	content: counter(title)".";
}
.block-title:nth-child(-n+9):before{
	content: "0"counter(title)".";
}
.block-title .line{
	height: 2px;
	background: white;
}

#p{
	position: relative;
	background: linear-gradient(var(--black) 0%, white 0%, white);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	animation: liquid 1s forwards;
}
#p:before{
	content: attr(txt);
	filter: url("#inline-txt");
	position: absolute;
	top: 0;
	left: 0;
	-webkit-text-fill-color: initial;
}
.liquid{
	position: relative;
	background: linear-gradient(var(--black) 100%, white 100%, white);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	animation: liquid 1s forwards;
}
.liquid:before{
	content: attr(txt);
	filter: url("#inline-txt");
	position: absolute;
	top: 0;
	justify-self: flex-end;
	-webkit-text-fill-color: initial;
}
.empty-liquid-char :is(.before, .stuff){
	animation: showtxt 1s forwards;
}
@keyframes showtxt{
	from{
		opacity: 0;
	}
	to{
		opacity: 1;
	}
}
#about{
	position: relative;
}
#about .prop{
	position: relative;
	display: grid;
    justify-items: flex-end;
	width: 50%;
	grid-template-rows: 70px auto;
	grid-template-areas: 'lines' 'txt';
}
#about .prop .txt{
	grid-area: txt;
	position: relative;
	justify-self: flex-start;
}
#about .prop :is(.before, .stuff){
	opacity: 0;
}
#about .prop :is(.hline, .vline){
	position: absolute;
	background: white;
	transition: .5s;
	grid-area: lines;
}
#about .prop .vline{
	width: 2px;
	height: 70px;
	/*bottom: calc(100% - 30px);*/
    left: calc(50% + 20px);
	transform: scaleY(0);
	transform-origin: top;
	transition-delay: .5s
}
#about .prop .hline{
	width: calc(50% + 106px);
    height: 2px;
    /*bottom: calc(150% - 30px);*/
	left: calc(50% + 20px);
	transform: scaleX(0);
	transform-origin: right;
}
#about .prop:nth-child(2n){
	margin-left: auto;
}
#about .prop:nth-child(2n) .hline{
	left: -124px;
	width: calc(50% + 96px);
   /* bottom: calc(150% - 30px);*/
	transform-origin: left;
}
#about .prop:nth-child(2n) .txt{
	justify-self: flex-end;
	text-align: right;
}
#about .prop .visible{
	transform: scale(1);
}
#about .prop .visible.vline{
	transform: scaleY(1.5);
}
#about .prop .before{
	position: absolute;
	top: 0;
	left: 0;
	font-weight: bold;
	font-size: 1.5rem;
}
#about .prop:nth-child(3) .before{
	/*left: 100%;*/
}
#about .prop .num{
	/*filter: url("#inline-txt");*/
	font-size: 200px;
	line-height: 200px;
	font-weight: bold;
	display: block;
	line-height: 1;
}

#line{
	position: absolute;
	left: 50%;
	top: calc(50vh + 20px);
	width: 2px;
	height: 0;
	background: white;
	z-index: -1;
	transition: .5s;
}

#mouse{
	position: absolute;
	top: 100vh;
	left: 50%;
	transform: translate(-50%, -100%);
	animation: shake 1s forwards linear;
	animation-delay: 1s;
}
@keyframes shake{
	0%{
		transform: translate(-50%, -100%);
	}
	20%{
		transform: translate(-50%, -150%);
	}
	40%{
		transform: translate(-50%, -100%);
	}
	60%{
		transform: translate(-50%, -50%);
	}
	100%{
		transform: translate(-50%, -100%);
	}
}

#circle-slider{
	position: relative;
}
#circle-slider .circle-slide-wrapper{
	width: calc(100% - 50px);
	padding-top: calc(100% - 50px);
	border-radius: 50%;
	/*background: tomato;*/
	background: #252935;
	margin: 0 auto;
	position: relative;
}
#circle-slider .slide{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	z-index: 1;
	cursor: pointer;
}
#circle-slider .slide>*:not(img){
	opacity: 0;
}
#circle-slider .slide.active-с{
	z-index: 3;
	display: flex;
	opacity: 1;
}
#circle-slider .slide.active-с>*:not(img){
	display: block;
	opacity: 1;
}
#circle-slider .slide.active-с img{
	clip-path: url("#arc");
	transition: .3s;
}
#circle-slider .slide:hover img{
	transform: scale(1.05);
}
#circle-slider .slide:hover~.liquid-border{
	transform: scale(1.05);
}
#circle-slider .slide.next{
	z-index:2;
	display: flex;
	transform: scale(1);
	opacity: 1;
}
#circle-slider .slide :is(.txt, .title){
	z-index: 2;
	transition: .5s;
}
#circle-slider .slide .txt{
	font-size: clamp(2rem, calc(1rem + 5vw), 100px);
	opacity: 0;
	transition: .3s;
}

#circle-slider .slide .title{
	font-size: 1.5rem;
	position: absolute;
	left: 100%;
	width: max-content;
	transform-origin: calc(0% - var(--diameter)/2);
}
#circle-slider .slide.anim-circle-txt img, #circle-slider .slide.anim-circle-txt~.liquid-border{
	transform: scale(1);
}
#circle-slider .slide.anim-circle-txt :is(.txt, .title){
	transform: rotate(10deg);
	opacity: 0;
}
#circle-slider .slide img{
	width: 100%;
	height: 100%;
	border-radius: 50%;
	position: absolute;
	top: 0;
	left: 0;
	object-fit: cover;
}
.liquid-border{
	position: absolute;
	transform: rotate(-90deg);
	top: 0;
	left: 0;
	z-index: 5;
	pointer-events: none;
	transition: .3s;
}
.liquid-border circle{
	stroke: white;
	stroke-width: 1px;
	fill: none;
	clip-path: url("#circle");
}

#what-we-do {
	position: relative;
}
#what-we-do h2{
	width: 50%;
	font-size: clamp(2.5rem, 5vw, 4.5rem);
}
#what-we-do .container{
	overflow-x: hidden;
}
#what-we-do .thing{
	width: 45%;
	transition: .5s;
	transform: translateX(-100%) scalex(0);
	margin: 200px 0;
	opacity: 0;
}
#what-we-do .thing:nth-child(2n){
	margin-left: auto;
	transform: translateX(100%) scalex(0);
}
#what-we-do .thing>*{
	margin: 0;
}
#what-we-do .thing a:after{
	content: "→";
}
#what-we-do .thing.visible-thing{
	transform: translateX(0%) scalex(1);
	opacity: 1;
}
#what-we-do .thing-title{
	font-size: 2.2rem;
	text-transform: uppercase;
}

.form-title{
	text-align: center;
}
.form-title>*{
	margin: 0;
}

#bottom-form{
	border: none !important;
}

@media(max-width:1000px){
	.no-scroll {
		margin-right: 0;
	}
	#top-slider .slide{
		grid-template-columns: 100%;
		grid-template-areas: 'img' 'txt';
		grid-template-rows: 50% 50%;
		padding: 1rem calc(50px + 1rem + .5rem);
	}
	#about .prop .num{
		font-size: 100px;
	}
	#about .prop .before{
		font-size: 1rem;
	}
}
@media(max-width:800px){
	.block-title{
		grid-template-columns: 1fr;
	}

	#what-we-do .thing-title{
		font-size: 1rem;
	}
	#about .prop .visible.vline {
		transform: scaleY(1.4);
	}
	#circle-slider .slide .title{
		position: relative;
		left: auto;
	}
}
@media (max-width:600px){
	h1+p{
		font-size: 1rem;
	}
}
@media(max-width:480px){
	h1+p{
		max-width: 320px;
		margin: 0 auto !important;
	}
	#about .prop .num{
		font-size: 3rem;
	}

	#circle-slider .slide .title{
		font-size: 1rem;
	}
	#about .prop .before {
		position: relative;
	}
	#about .prop .visible.vline {
		transform: scaleY(1.4);
	}
	
	#what-we-do h2{
		width: 100%;
		background: var(--black);
		padding: 1rem 0;
		border-bottom: 2px solid white;
		border-top: 2px solid white;
		margin: 0
	}
}
@media(max-width:320px){
	#title h1{
		font-size: 3rem;
	}
}