@keyframes iconScroll {
	0% {
		background-position-x: 0px;
	}

	100% {
		background-position-x: -1200px;
	}
}

@keyframes iconScrollReverse {
	0% {
		background-position-x: 0px;
	}

	100% {
		background-position-x: 1200px;
	}
}

.hidden1 {
	opacity: 0;
	filter: blur(2px);
	transform: translateY(20px);
	transition: opacity 2s,
		filter 2s,
		transform 2s;
		-webkit-transition: opacity 2s,
			filter 2s,
			transform 2s;
	transition-delay: 800ms;
}

.hidden2 {
	opacity: 0;
	filter: blur(5px);
	transform: translateY(20px);
	transition: opacity 2s,
		filter 2s,
		transform 2s;
		-webkit-transition: opacity 2s,
			filter 2s,
			transform 2s;
	transition-delay: 1200ms !important;
}

.hidden4 {
	opacity: 0;
	filter: blur(2px);
	transform: translateY(20px);
	transition: opacity 2s,
		filter 2s,
		transform 2s;
		-webkit-transition: opacity 2s,
			filter 2s,
			transform 2s;
	transition-delay: 1600ms !important;
}

.fade-in {
	opacity: 1;
	filter: blur(0);
	transform: translateX(0);
	transition-delay: 300ms;
}

body {
	background-color: var(--background-color);
	background-image: radial-gradient(rgba(255, 255, 255, 0.2) 1px, transparent 1px);
	background-size: 32px 32px;
	-ms-overflow-style: none;
	scrollbar-width: none;
}

body::--webkit-scrollbar {
	display: none;
}

body.menu-open {
	overflow: hidden;
	height: 100vh;
}

h1 {
	font-family: var(--heading-font);
	color: var(--accent-color1);
	margin: 0 1em;
	font-size: 3.25em;
	letter-spacing: -.02em;
	text-align: center;
}

p,
span {
	font-family: var(--body-font);
	color: var(--accent-color2);
}

.btn-primary {
	padding: 8px 25px;
	margin-top: 10px;
	background-color: transparent;
	border: 1px solid var(--background-color);
	border-radius: 4px;
	color: var(--background-color);
	text-decoration: none;
}

.btn-primary:hover {
	text-decoration: none;
	background-color: var(--accent-color1);
	border: 1px solid var(--accent-color1);
	color: var(--accent-color2);
}

section {
	width: 100%;
}

.section {
	width: 100%;
	background: transparent;
	margin-top: 1em;
	padding: 1.5em;
}

.section1 .content {
	width: 100%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 1em;
	position: relative;
	border-radius: var(--brad);
	background-color: transparent;
	border: 1px solid var(--accent-color2);
	inset: -.30em;
	padding: 7em 4em;

	& p {
		text-align: center;
		margin: 0 1em;
		max-width: 60%;
	}
}

.section1 .content::after {
	content: "";
	position: absolute;
	left: 10px;
	top: 10px;
	width: 100%;
	height: 100%;
	background: transparent;
	border-radius: var(--brad);
	border: 3px solid var(--accent-color1);
	z-index: -1;
	pointer-events: none;

}

.skills {
	display: flex;
	flex-direction: row;
	margin: 0;
	padding: 0;
}

.skill-tags {
	display: inline-block;
	font-size: 12px;
	color: var(--accent-color);
	/* margin-top: 1em; */
	margin-right: .5em;
	padding: .35em 1.25em;
	border: 1px solid var(--accent-color);
	border-radius: calc(var(--brad) / 2);
}

.section2 .content {
	width: 100%;
	border-radius: var(--brad);
	background-color: var(--accent-color2);
	padding: 1.5em;
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: stretch;
	text-align: center;
	gap: 6em 1em;
	flex-wrap: wrap;
}

.section2 .content div {
	display: flex;
	gap: 0;
	justify-content: center;
	border-radius: calc(var(--brad) / 2);
	background-position: center center;
	background-repeat: no-repeat;

	&.rft-intro-video {
		flex-grow: 1;
		overflow: hidden;
		width: calc(75% - 1em);
		height: 37vw;
		margin: 0 auto;
		position: relative;
		box-shadow: 4px 2px 12px rgba(0, 0, 0, .1);

		& video {
			width: 101.25%;
			position: absolute;
			top: center;
			left: 0;
		}
	}

	&.rft-intro {
		flex-direction: column;
		width: calc(25% - 1em);
		padding: 2em;
		justify-content: center;
		align-items: center;
		box-shadow: 4px 2px 12px rgba(0, 0, 0, .1);

		& p {
			text-align: left;
			color: var(--body-font);
		}
	}

	&.rft-row-2 {
		width: 100%;
		height: 37vw;
		gap: 1em;

		& div {

			&:nth-child(1) {
				width: 25%;
				height: auto;
				overflow: hidden;
				box-shadow: 4px 2px 12px rgba(0, 0, 0, .1);
				background: top center / cover no-repeat url(../img/client-rft/mobile-view-image4.webp);
				transition: all 2s ease;

				&:hover {
					background-position: bottom center;
				}
			}

			&:nth-child(2) {
				flex-grow: 1;
				overflow: hidden;
				width: calc(75% - 1em);
				height: 37vw;
				margin: 0 auto;
				position: relative;
				box-shadow: 4px 2px 12px rgba(0, 0, 0, .1);
				background-color: #fff;

				& video {
					width: 101.25%;
					position: absolute;
					top: center;
					left: 0;
				}
			}
		}
	}

	&.rft-mobile-images {
		width: calc(75% + 2em);
		height: 37vw;
		margin: 0 auto;
		padding: 0;
		gap: 1em;	

		& div {
			width: 33.33%;
			height: 100%;
			box-shadow: 4px 2px 12px rgba(0, 0, 0, .1);
			transition: all 1s ease;
				-webkit-transition: all 1s ease;

			&:nth-child(1) {
				background: top center / cover no-repeat url(../img/client-rft/mobile-view-image1.webp);
			}

			&:nth-child(2) {
				background: top center / cover no-repeat url(../img/client-rft/mobile-view-image2.webp);
			}

			&:nth-child(3) {
				background: top center / cover no-repeat url(../img/client-rft/mobile-view-image3.webp);
			}

			&:hover {
				background-position: bottom center;
			}
		}

	}

	&.rft-logo-scroll {
		/* height: 200px; */
		width: calc(100% + 3em);
		margin: 6em -1.5em;
		display: flex;
		flex-direction: column;
		gap: 1em;
		border-radius: 0 !important;
		/* background-color: red; */

		& div {
			height: 100px;
			justify-content: center;
			align-items: center;
			border-radius: 0 !important;

			&:nth-child(1) {
				background: left center / 1200px auto repeat-x url(../img/client-rft/rft-icon-scroll-01.png);
				animation: iconScroll 60s linear infinite;
			}

			&:nth-child(2) {
				background: right center / 1200px auto repeat-x url(../img/client-rft/rft-icon-scroll-02.png);
				animation: iconScrollReverse 60s linear infinite;
			}
		}
	}

	&.rft-row-5 {
		width: 100%;
		height: 37vw;
		gap: 1em;

		& div {

			&:nth-child(1) {
				flex-grow: 1;
				overflow: hidden;
				width: calc(75% - 1em);
				height: 37vw;
				margin: 0 auto;
				position: relative;
				box-shadow: 4px 2px 12px rgba(0, 0, 0, .1);
				background-color: #fff;

				& video {
					width: 101.25%;
					position: absolute;
					top: center;
					left: 0;
				}
			}

			&:nth-child(2) {
				width: 25%;
				overflow: hidden;
				box-shadow: 4px 2px 12px rgba(0, 0, 0, .1);
				background: top center / cover no-repeat url(../img/client-rft/mobile-view-image8.webp);
				transition: all 2s ease;

				&:hover {
					background-position: bottom center;
				}
			}
		}

	}

	&.rft-mobile-videos {
		width: 100%;
		height: 48.5vw;
		align-items: center;
		gap: 1em;

		& div {
			width: 25%;
			height: 100%;
			align-items: center;
			box-shadow: 4px 2px 12px rgba(0, 0, 0, .1);
			overflow: hidden;
			position: relative;
			background-color: #fff;

			& video {
				width: 100%;
				position: absolute;
				top: center;
				left: 0;
			}
		}
	}

	&.rft-shop-video {
		width: calc(75% + 2em);
		height: 37vw;
		margin: 0 auto;

		& div {
			overflow: hidden;
			width: 100%;
			height: 37vw;
			margin: 0 auto;
			position: relative;
			box-shadow: 4px 2px 12px rgba(0, 0, 0, .1);
			background-color: #fff;

			& video {
				width: 101.25%;
				position: absolute;
				top: center;
				left: 0;
			}
		}
	}

	&.rft-footer-logos {
		width: calc(50% + 2em);
		height: 17vw;
		margin: -3em auto 0;
		gap: 1em;

		& div {
			width: 120px;
			align-items: center;
			background-color: orange;

			&:nth-child(1) {
				background: center / 60px auto no-repeat url(../img/client-rft/xWordPress_logo.svg.png);
			}

			&:nth-child(2) {
				background: center / 165px auto no-repeat url(../img/client-rft/xElementor_logo.png);
			}

			&:nth-child(3) {
				background: center / 80px auto no-repeat url(../img/client-rft/xWooCommerce_logo.webp);
			}
		}
	}

	&.disclaimer p {
		line-height: 90%;
	
		& small {
			color: var(--background-color);
		}
	}
}

@media screen and (max-width: 1200px) {

	.section2 .content {
		flex-direction: column;
		gap: 1.5em 1em;

		& div.rft-intro-video {
			width: 100%;
			height: 50vw;
		}

		& div.rft-intro {
			width: 100%;
			height: auto;
		}

		& div.rft-footer-logos {
			margin: 0 auto;
		}
	}

}

@media screen and (max-width: 900px) {
	
	.section1 .content {
		padding: 5em 2em;

		& h1 {
			margin: 0;
			font-size: 2.75em;
			letter-spacing: -.02em;
			text-align: center;
		}
	}
}

@media screen and (max-width: 650px) {

	.section1 .content p {
		max-width: 100%;
	}

	.section2 .content div {
		width: 100%;
		/* height: 40vh; */
	}

	.skills {
		flex-direction: column;
		gap: .5em;
		text-align: center;
	}

}

@media screen and (max-width: 540px) {

	.section2 .content div {
		width: 100%;

		&.rft-intro-video {
				width: 100%;
				height: 45vw;
			}

		&.rft-row-2 {
			flex-direction: column;
			height: auto;

			& div:nth-child(1) {
				width: 65%;
				height: 100vw;
				margin: 0 auto;
			}

			& div:nth-child(2) {
				width: 100%;
				height: 45vw;
			}
		}

		&.rft-mobile-images {
			display: none;
		}

		&.rft-logo-scroll {
			margin: 4em -1.5em;

			& div {
				height: 60px;
				justify-content: center;
				align-items: center;
				border-radius: 0 !important;
				
				&:nth-child(1) {
					background: left center / 700px auto repeat-x url(../img/client-rft/rft-icon-scroll-01.png);
					animation: iconScroll 60s linear infinite;
				}
			
				&:nth-child(2) {
					background: right center / 700px auto repeat-x url(../img/client-rft/rft-icon-scroll-02.png);
					animation: iconScrollReverse 60s linear infinite;
				}
			}
		}

		&.rft-row-5 {
			flex-direction: column;
			height: auto;

			& div:nth-child(2) {
				width: 65%;
				height: 100vw;
				margin: 0 auto;
			}

			& div:nth-child(1) {
				width: 100%;
				height: 45vw;
			}
		}

		&.rft-mobile-videos {
			width: 100%;
			height: auto;

			& div {
				width: 100%;
				height: 75vw;

				&:nth-child(1) {
					display: none;
				}
			}
		}

		&.rft-shop-video {
			width: 100%;
			flex-direction: column;
			height: auto;

			& div {
				width: 100%;
				height: 45vw;
			}
		}

		&.rft-footer-logos {
			width: 100%;
			margin: 3em 0;
		}
	}

}

