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

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

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

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

.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-main .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-main .content div {
	display: flex;
	gap: 0;
	justify-content: center;
	border-radius: calc(var(--brad) / 2);
	background-position: center center;
	/* background-repeat: no-repeat; */
}

.section2 {
	width: 100%;
	padding: 0;
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
}

.screen-recordings img {
	display: flex;
	width: 100%;
	box-shadow: 4px 2px 12px rgba(0, 0, 0, .1);
	border-radius: calc(var(--brad) / 2);
	border: 1px solid #ddd;
	padding: 0;
	margin: 0 auto;
}

.section3 {
	width: 75%;
	/* height: 100vh; */
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
	margin: 0 auto;
	padding: 0em;
	gap: 2em;
}

.section3 div {
	height: 37vw;
	width: 33.33%;
	background-position: top;
	background-size: cover;
	box-shadow: 4px 2px 12px rgba(0, 0, 0, .1);
	border-radius: calc(var(--brad) / 2);
	border: 1px solid #ddd;
	transition: all 2s ease;
}

.section3>div:first-child {
	background-image: url(../img/webdesign/mn-life-financialFuture-mobile1.png);
	/* animation-delay: 0s; */
	&:hover {
		transition: all .5s ease;
		background-position: bottom;
	}
}

.section3>div:nth-child(2) {
	background-image: url(../img/webdesign/mn-life-financialFuture-mobile2.png);
	transition-delay: 1.3s;
	&:hover {
			transition: all .5s ease;
			background-position: bottom;
		}
}

.section3>div:last-child {
	background-image: url(../img/webdesign/mn-life-financialFuture-mobile3.png);
	transition-delay: 2.2s;
	&:hover {
			transition: all .5s ease;
			background-position: bottom;
		}
}

.section4 {
	width: calc(100% + 3em);
		margin: 0em -1.5em;
	display: flex;
	/* overflow: hidden; */
	padding: 6em 0 0;
}

.section4 div {
	width: 100%;
	height: 100px;
	background-image: url(../img/webdesign/icon-scroll1.png);
	background-position: left center;
	background-size: 1500px auto;
	background-repeat: repeat-x;
	animation: iconScroll 80s linear infinite;
}

.section5 {
	width: calc(100% + 3em);
		margin: 0em -1.5em;
	display: flex;
	/* overflow: hidden; */
	padding: 0 0 6em;
}

.section5 div {
	width: 100%;
	height: 100px;
	background-image: url(../img/webdesign/icon-scroll2.png);
	background-position: left center;
	background-size: 1500px auto;
	background-repeat: repeat-x;
	animation: iconScrollReverse 80s linear infinite;
}

.section6 {
	 width: 100%;
	/* height: 100vh; */
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	z-index: 0;
}

.section7 {
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
	width: 75%;
	gap: 2em;
	margin: 0 auto;
}

.section7 div {
	height: 37vw;
	width: 33.33%;
	background-position: top;
	background-size: cover;
	box-shadow: 4px 2px 12px rgba(0, 0, 0, .1);
	border: 1px solid #ddd;
	transition: all 2s ease;
}

.section7 div:last-child {
	transition-delay: 1.3s;
}

.section7 div img {
	width: 100%;
	border-radius: calc(var(--brad) / 2);
}

.section8 {
	width: 100%;
	/* height: 100vh; */
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
}

.section9 {
	width: calc(100% + 3em);
		margin: 0em -1.5em;
	height: 50vw;
	position: relative;
	padding: 3em;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	background-image: url(../img/webdesign/iconBackground.png);
	background-attachment: fixed;
	background-size: 350px;
	background-color: #fff;
	z-index: 0;
	gap: 1.5em;
}

.section9::before {
	content: "";
	position: absolute;
	width: 100%;
	height: 100%;
	background: linear-gradient(rgba(253, 249, 237, 1) 0%, rgba(253, 249, 237, .9) 25%, rgba(253, 249, 237, .9) 75%, rgba(253, 249, 237, 1) 100%);
	z-index: -1;
}

.sammons-logo {
	width: 300px;
	height: 70px;
	background-image: url(../img/webdesign/sammonsLogo.png);
	background-size: 250px;
	background-position: center bottom;
	background-repeat: no-repeat;
	background-blend-mode: screen;
}

.section9 div:last-child {
	background-color: #ffffff;
	width: 580px;
	padding: 2em 3em;
	border-radius: calc(var(--brad) / 2);
	box-shadow: 4px 2px 12px rgba(0, 0, 0, .1);
	transition-delay: 800ms;

	& p {
		color: var(--background-color);
	}
}

.section10 {
	width: 100%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;

	& .brands {
		/* width: 100%; */
		display: flex;
		flex-direction: row;
		justify-content: center;
		align-items: center;
		position: relative;
		padding: 3em 0;
	}

	& .sammons-tech-logo {
		background-color: transparent;
		background-position: center;
		background-size: contain;
		background-repeat: no-repeat;
		height: 100px;
		width: 200px;
		background-size: 150px;
	}

	& .sammons-tech-logo:nth-child(1) {
		background-image: url(../img/webdesign/logo-ion-rock.webp);

	}

	& .sammons-tech-logo:nth-child(2) {
		background-image: url(../img/webdesign/logo-liferay.png);
		transition-delay: 800ms;
	}

	& .sammons-tech-logo:nth-child(3) {
		background-image: url(../img/webdesign/logo-salesforce-mc.png);
		transition-delay: 1200ms;
	}

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

}

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

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

	}

	.section3 div {
		height: 37vw;
		width: 33.33%;
	}

	.section7 div {
		height: 400px;
		width: 220px;
	}

}

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

	.intro>h1 {
		font-size: 3em;
	}

	.section3 {
		flex-direction: column;
	}

	.section3>div {
		transition-delay: 0s !important;
	}

	.screen-recordings img {
		width: 100%;
	}

	.section4 div {
		height: 60px;
		background-size: 1000px auto;
	}

	.section5 div {
		height: 60px;
		background-size: 1000px auto;
	}

	.section7 {
		flex-direction: column;
	}

	.section7>div {
		transition-delay: 0s !important;
	}

}

@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: 520px) {

	.intro>h1 {
		font-size: 2em;
	}

	.section4 {
		padding-top: 4em;
	}

	.section5 {
		padding-bottom: 4em;
	}

	.section9 {
		padding: 0;
	}

	.sammons-logo {
		width: 180px;
		height: 60px;
		background-size: 180px;
	}

	.section9 {
		height: 50vh;
		padding: 1.5em;
	}

	.section9 div:last-child {
		width: 90%;
		padding: 1em 1.5em;
	}

	.section10 .brands {
		flex-direction: column;
	}

	.section10 .brands .sammons-tech-logo {
		height: 70px;
		background-size: 100px;
	}

}

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

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

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

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

}

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

	.section2-main .content div {
		/* width: 100%; */
	}

}

