body,
html {
	height: auto !important;
}

*{
	border: none;
}
body{
	font-family: 'Roboto Slab';
	background-color: #e2c896;
	
	color: #80715a;
	max-width: 100vw;
	overflow-x: auto;
	position: relative;
}

container{
	width: 80%;
	margin: auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 15px;

}
section{
	margin: 0px auto;
	padding: 35px 0;
	width: 100% !important;
	overflow-x: hidden;
	height: fit-content;
}

section p, h5{
	margin: 0;
}
h2{
	text-transform: uppercase;
}
h4{
	color: #433c31;
	font-weight: 700;
}
.lightboxOverlay{
	width: 100vw;
	height: 100vh;
	top:0;
	left:0;
	border: none;
}
.lb-container{
	background-color: #e2c896;
	border: 4px solid #bba478;
}
.main-img{
	width: 80%;
	height: fit-content;
	object-fit: none;
	border-radius: 14px;
	margin-bottom: 25px;
	/* border: 14px solid #f4d8a4; */
}
.main-img img{
	width: 100%;
	border-radius: 14px;
}
.main h3{
	font-size: 35px;
	font-weight: bold;
	line-height: 100px;
}
.main-text{
	font-size: 20px;
	width: 60%;
}

.row{
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-around;
	flex-wrap: nowrap;

}

.column{
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 50%;
}
.bigger{
	width: 70% !important;
	margin: 10px auto;
	color: rgb(39, 35, 29);
	font-size: 1.5rem !important;
	text-align: center;
}
.heading{
	font-family: 'Berkshire Swash';
	color: rgb(66, 61, 49);
	margin: 0 0 15px 0;
	font-size: 2.5rem;
	font-weight: 500;
}
.reverse{
	display: flex;
	flex-direction: row-reverse;
}
hr::before{
	content: ". . .";
	font-family: 'Berkshire Swash';
	color: #7b654f;
	font-size: 24px;
	line-height: 0;
	text-align: center;
	width: 100%;
	letter-spacing: 5px;
	vertical-align: top;
}


.socks{
	animation: rotate-socks 1s linear;
}
@keyframes rotate-socks{
	0% {
		transform: rotate(0);
	}
	10%{
		margin-left: 0%;
		transform: rotate(0);
	}
	15%{

	}
	35% {
		transform: rotate(-48deg);
		margin-left: -25%;
	}

	100%{
		transform: rotate(-48deg);

	}
}
.certificate{
	animation: certificate 1s linear;
}
@keyframes certificate{
	0% {
		transform: rotate(0);
		margin-left: 0;
	}
	20%{
		transform: rotate(0);
	}
	25% {
		transform: rotate(-10deg);
	}

	100%{
		transform: rotate(-10deg);
	}
}
.packing{
	animation: packing 1s linear;
}
@keyframes packing{
	0% {
		transform: rotate(0);
	}
	10%{
		margin-left: 0%;
	}
	15%{
		transform: rotate(0);
	}
	25% {
		transform: rotate(50deg);
		margin-left: 15%;
	}

	100%{
		transform: rotate(50deg);
	}
}
:root * {
	animation-play-state: paused;
	animation-delay: calc(var(--scroll) * -1s);
	animation-iteration-count: 1;
	animation-fill-mode: both;
}


.scroll-animation{
	width: 50%;
	height: 1400px;
	display: flex;
	flex-direction: column;
	align-items: center;
	position: relative;
	perspective: 1000px;

}

#features{
	overflow: visible;
}
.features{
	width: 90% !important;
	height: 1400px;
	display: flex;
	align-items: baseline;
}
.features-points{
	height: 1300px ;
	position: sticky;
	top: 25%;
	height: fit-content;
	width: 50%;
	padding-left: 30px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 40px;
	margin-bottom: 15%;

}
.features-text{
	width: 80%;
	text-align: left;
	font-size: 0.9rem;
}
.features-text h5{
	font-size: 1.1rem;
	margin-bottom: 5px;
	font-weight: 700;
	color: #3d3a32 ;
}
.icon{
	width: 55px;
	height: 55px;

}
.scroll-box{
	position: sticky;
	width: 100%;
	margin: 5px auto;
	margin-bottom: 20%;
}
.certificate{
	top: 15%;
	margin-bottom: 45%;
	/* margin-left: 30%; */

}

.socks{
	top: 35%;
	margin-left: -22%;
}
.packing{
	top: 35%;
}

.certificate img{
	width: 60% !important;
	transform-origin: center;
	filter: drop-shadow(-3px 3px 6px #00000051);
}
.socks img{
	width: 28% !important;
	filter: drop-shadow(-3px 3px 6px #00000051);
}
.packing img{
	width: 28% !important;
	transform-origin: center;
	filter: drop-shadow(-3px 3px 6px #00000051);
}
.how-to{
	width: 80%;

}
.process-line{
	position: absolute;
	margin-top: 220px;
}
.process-line img{
	height: 1100px
}
.how-to .row{
	height: 320px;
	justify-content: space-between;
}
.half{
	display: none;
	position: absolute;
	width: 80%;
	height: 2px;
	background-color: black;
}
.zoom-cont{
	width: 30%;

	transition: all 3s ease-in-out;
	overflow: hidden;
	aspect-ratio: 1/1;
	box-shadow: rgba(0, 0, 0, 0.2) 0px 12px 28px 0px, rgba(0, 0, 0, 0.1) 0px 2px 4px 0px, rgba(255, 255, 255, 0.05) 0px 0px 0px 1px inset;
	border-radius: 10%;
}
.zoom-cont img{
	width: 85%;
	transition: transform .5s ease;
}
.zoom-cont:hover img{
	transform: scale(1.1);
}
.how-to p{
	width: 30%;
	float: right;
	font-size: 1.2rem;
}
.how-to .column{
	align-items: right;
}
.how-to .reverse p{
	margin-right: auto;
}
.how-to .reverse .column{
	align-items: left;
}

.examples p{
	color: #80715a;
	font-size: 1rem;
}
.examples .row{
	height: fit-content;
}
.flip-card {
	background-color: transparent;
	width: 20vw;
	height: 20vw;
	perspective: 1000px;
	position: relative;

}

.flip-card-inner {
	position: relative;
	width: 100%;
	height: 100%;
	text-align: center;
	transition: transform 1.2s;
	transform-style: preserve-3d;
}

/* .flip-card:hover .flip-card-inner {
      transform: rotateY(180deg);
} */

.flip-card-front, .flip-card-back {
	position: absolute;
	width: 100%;
	height: 100%;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
	box-shadow: none;
	filter: drop-shadow(0.25rem 0.25rem 0.4rem rgba(0, 0, 0, 0.5));
}


.flip-card-back {
	transform: rotateY(180deg);
}
.flip-card-front img, .flip-card-back img{
	border-radius: 10%;
	height: 100%;
}
/*------------------------------------------------------------------------*/

.form{
	width: 80%;
	position: relative;
}
.col-25 {
	float: left;
	width: 25%;
	margin-top: 6px;
	text-align: right;
}

.col-75 {
	float: right;
	width: 75%;
	margin-top: 6px;
}
.form .row:after {
	content: "";
	display: table;
	clear: both;
}
.form input[type=text], .form input[type=email], select, textarea {
	width: 95%;
	padding: 12px;
	border: 4px solid #f4d8a4;
	border-radius: 4px;
	resize: vertical;
	box-shadow: inset 2px 3px 3px rgb(210 187 142 / 43%), inset 0 0 0 1px rgb(211 184 131 / 50%);
	outline: none;

}
.form input[type=text]:focus, .form input[type=email]:focus, select:focus, textarea:focus{
	border: 4px solid #cea95f;

}
.form label {
	padding: 12px 12px 12px 0;
	font-weight: bold;
	display: inline-block;
	text-align: right;
	width: fit-content;

}

.form .help-block {
	display: block;
}

hr {
	border-top: 0 !important;
}

.form [type=submit] {
	width: fit-content;
	border-radius: 4px;
	margin-top: 30px;
	float: right;
	padding: 15px 22px;
	color: #fff!important;
	font-family: 'Berkshire Swash',cursive;
	text-shadow: 0 2px 0 rgb(0 0 0 / 30%);
	font-weight: 400;
	font-size: 1.3rem;
	line-height: 1.3rem;
	border: 0!important;
	text-decoration: none!important;
	text-align: center;
	cursor: pointer;
	background: #d58239;
	box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 5px, inset 0 0 0 5px #d58239, inset 0 0 0 7px white;
	transform: scale(1);
	transition: all 0.3s ease-in-out;
}

.form [type=submit]:hover {
	transform: scale(1.1);
	box-shadow: rgba(0, 0, 0, 0.3) 0px 10px 15px 3px,  inset 0 0 0 5px #d58239, inset 0 0 0 7px white;
}

@media only screen and (max-width: 800px){
	.main-img img{
		background-image: url(/images/pro\ firmy\ 1920-crop.jpg);
	}

	.features{
		width: 100% !important;
	}
	.features-points{
		width: 100%;
		padding-left: 0;
	}
	.features-points .row{
		justify-content: space-around;
	}
	.features-text{
		width: 70%;
	}
	.scroll-animation{
		width: 100%;
        contain: paint;
	}

	.certificate{
		top: 15%;
		margin-bottom: 15% !important;

	}
	.scroll-box{
		position: sticky;
		margin: 5px auto;
		margin-bottom: 0%;
	}

	.socks{
		top: 28%;
	}
	.packing{
		top: 28%;
	}

	.certificate img{
		width: 70% !important;
		transform-origin: center;
	}
	.socks img{
		width: 25% !important;

	}
	.packing img{
		width: 25% !important;
		transform-origin: center;
	}
	@keyframes rotate-socks{
		0% {
			transform: rotate(0);
			margin-left: 0%;
		}

		13%{


		}
		15%{
			transform: rotate(0);
			margin-left: 0%;
		}
		25% {
			transform: rotate(-45deg);
			margin-left: -20%;
		}


	}
	@keyframes packing{
		0% {
			transform: rotate(0);
			margin-left: 0%;
		}
		10%{
			margin-left: 0%;
			transform: rotate(0);
		}

		15% {
			margin-left: 20%;
		}
		25%{
			transform: rotate(55deg);
		}

	}
	@keyframes certificate{
		0% {
			transform: rotate(0);
			margin-left: 0;
		}
		15%{
			transform: rotate(0);
		}
		20% {
			transform: rotate(-15deg);
		}

		100%{
			transform: rotate(-15deg);
		}
	}
	.form{
		width: 100%;
		padding: 0;
	}
	.form input[type=text], .form input[type=email], select, textarea{
		width: 85%;
	}
	.form .row{
		width: auto;
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: space-between;
		padding: 0;
	}
	.col-75{
		width: 100%;
		margin: 0 auto;
	}
	.col-25{
		width: 100%;
		padding-left: 2.5%;
		text-align: left;
		margin: 0 auto;
	}
	.form label{
		padding: 15px 0 0 0;
		margin: 0;
	}
	.form [type=submit] {
		padding: 12px 20px;
		margin: 2.5%;
		width: 60%;
		border: none;
		border-radius: 4px;
		cursor: pointer;
		float: none;
	}
	container{
		width: 95%;
	}

	.m-c{
		flex-direction: column;
	}
	.mid{
		width: 40vw;
	}
	.features-points{
		margin-top: 50px;
		width: 100%;
	}
	.main-text{
		width: 90%;
	}
	section{
		margin: 15px auto;
	}
	.main h3{
		line-height: normal;
	}
	.main-img{
		width: 95%;
	}
	.flip-card{
		width: 80vw;
		height: 60vw;
		margin-bottom: 20px;
	}
	.m-c .column{
		width: 80%;
	}
	.examples p{
		font-size: 0.8rem;

	}
	.examples .row{
		padding: 20px 0;
	}
	h4{
		font-size: 1rem;
	}
	.how-to{
		width: 95%;

	}
	.process-line{
		margin-top: 160px;
	}
	.process-line img{
		height: 730px
	}
	.how-to .row{
		height: 200px;
	}
	.how-to p, .zoom-cont{
		font-size: 0.8rem;
		width: 40%;
	}
	.bigger{
		width: 95% !important;
		font-size: 1rem !important;
		margin: 20px auto;
	}

}
@media only screen and (min-width: 1400px){
	.how-to{
		width: 60%;

	}
	.process-line{
		margin-top: 275px;
	}
	.process-line img{
		height: 1760px
	}
	.how-to .row{
		height: 517px;
	}
	.features{
		height: 2000px;
	}
	.scroll-animation{
		height: 2000px;
	}
	.scroll-box{
		margin-bottom: 15%;
	}
	.certificate{
		margin-bottom: 40%;
	}
	@keyframes rotate-socks{
		0% {
			transform: rotate(0);
		}
		10%{
			margin-left: 0%;
			transform: rotate(0deg);
		}
		15%{

		}
		35% {
			transform: rotate(-45deg);
			margin-left: -25%;
		}

		100%{
			transform: rotate(-45deg);

		}
	}
	@keyframes certificate{
		0% {
			transform: rotate(0);
			margin-left: 0;
		}
		25%{
			transform: rotate(0);
		}
		28% {
			transform: rotate(-15deg);
		}

		100%{
			transform: rotate(-15deg);
		}
	}
	@keyframes packing{
		0% {
			transform: rotate(0);
		}
		10%{
			margin-left: 0%;
		}
		15%{
			transform: rotate(0);
		}
		35% {
			transform: rotate(50deg);
			margin-left: 25%;
		}

		100%{
			transform: rotate(50deg);
		}
	}
}