@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap');

* {
	box-sizing: border-box;
	margin: 0;
}

html {
	overflow: scroll;
	overflow-x: hidden;
}

/*
::-webkit-scrollbar {
	width: 0;
	background: transparent;
}

::-webkit-scrollbar-thumb {
	background: #ff0000;
}
*/

body {
	font-family: 'Roboto', sans-serif;
	/* overscroll-behavior-y: contain; */
	scroll-behavior: smooth;
	overflow-x: hidden;
}

main {
	overflow-x: hidden;
	overflow-y: scroll;
	width: 100vw;
}

.section {
	position: relative;
	display: flex;
	margin: 0;
	padding: 0;
	width: 100%;
	max-width: 100vw;
	overflow: hidden;
}

.section::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	width: 100%;
	background: linear-gradient(
			180deg,
			rgba(0, 0, 0, 0) 0%,
			rgba(0, 0, 0, 0.6) 100%
		),
		linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, transparent 100%);
	z-index: 3;
}

img.section__img {
	height: 100vh;
	width: 100%;
	object-fit: cover;
	z-index: 1;
}

.container {
	width: 100%;
	padding-right: 15px;
	padding-left: 15px;
	margin-right: auto;
	margin-left: auto;
	height: 95vh;
	width: 100%;
	position: absolute;
	display: flex;
	flex-direction: column;
	justify-content: center;
	top: 0px;
	margin-top: 40px;
	color: #fff;
	z-index: 5;
	overflow-x: hidden;
	scroll-snap-type: proximity;
}

.subcontainer {
	position: relative;
	overflow-x: hidden;
	scroll-snap-align: end;
	max-width: 35%;
	margin-bottom: 200px;
	padding-right: 10px;
}

.subcontainer::-webkit-scrollbar {
	width: auto;
}

.subcontainer::-webkit-scrollbar-track {
	border-radius: 10px;
	background: rgba(238, 238, 238, 0.5);
}
.subcontainer::-webkit-scrollbar-thumb {
	background: #ddd;
	border-radius: 10px;
	border: epx solid rgba(238, 238, 238, 0.2);
}
.subcontainer::-webkit-scrollbar-thumb:hover {
	background: #fff;
}

.subcontainer p {
	text-align: left;
	font-size: 1.1rem;
	font-weight: 400;
	margin-bottom: 0.75em;
	line-height: 1.5em;
}

.right {
	margin-right: 50px;
	text-align: right;
	align-self: end;
}

.left {
	margin-left: 50px;
	align-self: start;
}

.employee__spotlight-header {
	font-size: 7rem;
	text-transform: uppercase;
	font-weight: 700;
	letter-spacing: 3px;
	margin-bottom: 0.5em;
	background-clip: text;
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	-webkit-text-stroke: 2px;
}

/* .button-container {
	position: absolute;
	bottom: 0;
	height: 100px;
	width: 150px;
	overflow: hidden;
	display: flex;
	align-items: center;
	cursor: pointer;
	transition: all 0.3s ease-out;
	white-space: nowrap;
}

.btn-right {
	right: 50px;
}

.btn-left {
	left: 50px;
	flex-direction: row-reverse;
}

.btn-left .logo {
	transform: scaleX(-1);
}

.button-container a {
	vertical-align: middle;
}
.button-container:hover {
	width: 300px;
}

.logo {
	float: left;
	z-index: 9;
	width: 150px;
	box-sizing: border-box;
}

.button-text {
	color: #fff;
	text-decoration: none;
	width: 100%;
	opacity: 1;
	text-align: center;
} */

/* *Styling for button */
button.button {
	position: fixed;
	display: flex;
	bottom: 20px;
	left: 50px;
	align-items: end;
	width: 160px;
	max-width: 160px;
	border: none;
	background: transparent;
	color: #fff;
	text-transform: uppercase;
	cursor: pointer;
	transition: 0.5s;
	z-index: 10;
	overflow: hidden;
}

.button span {
	max-width: 100px;
	opacity: 0;
	width: 100px;
	overflow: hidden;
	padding: 10px 10px 10px 0;
	border-bottom: 2px solid #fff;
	border-top: 2px solid #fff;
	border-right: 2px solid #fff;
	border-radius: 0px 5px 5px 0px;
	transition: 0.5s;
}

img.wing {
	width: 150px;
	max-height: 100px;
	border-bottom: 2px solid transparent;
	cursor: pointer;
	transition: 0.5s;
}

.button:hover {
	width: 250px;
	max-width: 250px;
}

.button:hover span {
	opacity: 1;
}

.button:hover img.wing {
	border-bottom: 2px solid #fff;
}

.mobile {
	display: none;
}

@media (max-width: 1025px) {
	.employee__spotlight-header {
		font-size: 5rem;
	}
	.desktop {
		display: none;
	}

	.mobile {
		display: block;
	}
}

@media (max-width: 767px) {
	.employee__spotlight-header {
		font-size: 3rem;
	}
	.section {
		flex-direction: column;
	}

	.section::before {
		background: linear-gradient(
			180deg,
			rgba(0, 0, 0, 0.2) 0%,
			rgba(0, 0, 0, 0.4) 100%
		);
	}

	/* added height property and padding to allow for space for button */

	div.container {
		height: 600px;
		padding-bottom: 100px;
	}

	button.button {
		left: 20px;
		width: 200px;
		max-width: 200px;
	}

	.button img.wing {
		width: 75px;
		border-bottom: 2px solid #fff;
		margin-right: -1px;
	}

	.button span {
		width: 70px;
		max-height: 50px;
		font-size: 0.8rem;
		border-color: #fff;
		color: #fff;
		opacity: 1;
	}

	/* .button span {
		border-color: #000;
		color: #000;
	} */

	.section__img {
		width: 100%;
		object-fit: cover;
	}
	img.section__img {
		height: auto;
	}
	.container {
		position: relative;
		height: auto;
	}

	.subcontainer {
		max-width: 100%;
		max-height: auto;
	}

	.subcontainer p {
		font-size: 1em;
	}

	.right,
	.left {
		margin: 20px;
		text-align: left;
		align-self: center;
	}

	.desktop {
		display: none;
	}

	.mobile {
		display: block;
	}
}

/* Client edits for mobile */

@media (max-width: 475px) {
	div.container {
		height: 500px;
	}

	button.button {
		bottom: 10px;
		left: 10px;
	}

	img.wing {
		width: 80px;
    	margin-right: -1px;
	}

	.button span {
		max-height: 35px;
		font-size: 0.6rem;
		padding: 5px 5px 5px;
	}
	.desktop {
		display: none;
	}

	.mobile {
		display: block;
	}
}

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

}
/* ==========================================================================
   MEDIA QUERIES Employee Spotlight
   ========================================================================== */

@media (max-width: 320px) {
	.spotlight-container {
		max-width: 1900px;
	}
}

@media (min-width: 321px) and (max-width: 576px) {
	.spotlight-container {
		max-width: 1900px;
	}
}

@media (min-width: 321px) and (max-width: 576px) and (orientation: landscape) {
	.spotlight-container {
		max-width: 1900px;
	}
}

@media (min-width: 577px) and (max-width: 768px) {
	.spotlight-container {
		max-width: 1900px;
	}
}

@media (min-width: 577px) and (max-width: 768px) and (orientation: landscape) {
	.spotlight-container {
		max-width: 1900px;
	}
}

@media (min-width: 769px) and (max-width: 901px) {
	.spotlight-container {
		max-width: 1900px;
	}
}


@media (min-width: 769px) and (max-width: 901px) and (orientation: landscape) {
	.spotlight-container {
		max-width: 1900px;
	}
}

@media (min-width: 902px) and (max-width: 1024px) {
	.spotlight-container {
		max-width: 1900px;
	}
}

@media (min-width: 1024px) {
	.spotlight-container {
		max-width: 1900px;
	}
}

@media (min-width: 1024px) and (orientation: landscape) {
	.spotlight-container {
		max-width: 1900px;
	}
}

@media (min-width: 1200px) {
	.spotlight-container {
		max-width: 1900px !important;
	}
}

@media (min-width: 1519px) {
	.spotlight-container {
		max-width: 1900px;
	}
}

@media (min-width: 1903px) {
	.spotlight-container {
		max-width: 1900px;
	}
}