:root {
	--black: #404040;
	--gray: #808080;
	--light-gray: #a0a0a0;
	--theme: rgb(35, 148, 130);
	--theme-light: #ebf5f4;
	--theme-lightest: #f1f9f7;
	--theme-2: #e0eb52;
	--theme-translucent: rgba(35, 148, 130, 0.2);
	--theme-translucent-light: rgba(35, 148, 130, 0.1);
}

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

body {
	margin: 0;
	margin-top: 5rem;
	font-family: 'Roboto', sans-serif;
	color: var(--black);
}

main {
	margin: 0 auto;
}

h1.page-header {
	margin-left: 15%;
	padding-top: 2rem;
	margin-bottom: 1.2rem;
	color: var(--theme-translucent);
	font-size: 4rem;
}

h2 {
	font-size: 2.5rem;
	margin: 0.2rem 0;
}

h4 {
	font-size: 1.2rem;
	color: var(--theme);
	padding: 0;
	margin: 0;
}

a {
	text-decoration: none;
	color: var(--gray);
}

a:hover {
	text-decoration: underline;
}

a.link {
	color: var(--light-gray);
}

footer {
	min-height: 200px;
	background-color: var(--black);
	color: var(--light-gray);
}

div.hr {
	display: block;
	width: 95%;
	height: 0;
	border: 0.5px solid var(--gray);
	margin: 0 auto;
}

.alert {
	color: #8c352d;
}

.background-shape {
	position: fixed;
	background-color: var(--theme-lightest);
	z-index: -1;
}

#bg-left {
	height: 40%;
	width: 90%;
	transform: skew(-30deg);
	border-radius: 20px;
	bottom: -10%;
	left: -50%;
}

#bg-right {
	height: 30%;
	width: 80%;
	transform: skew(-30deg);
	border-radius: 20px;
	top: -10%;
	right: -50%;
}

#scroll-prompt {
	opacity: 0;
	width: 25px;
	height: 25px;
	position: fixed;
	bottom: 20px;
	left: 50%;
	transform: rotate(180deg) translate(50%, 0);
	animation: bob 2s ease-in-out infinite;
	margin: 0 auto;
	transition: opacity 0.3s;
}

#scroll-prompt.active {
	opacity: 1;
	transition: opacity 0.3s;
}


@keyframes bob {
  0% {
    transform: rotate(180deg) translate(50%, 0); /* Initial position */
  }
  50% {
    transform: rotate(180deg) translate(50%, -10px); /* Halfway point */
  }
  100% {
    transform: rotate(180deg) translate(50%, 0); /* Return to initial position */
  }
}

#top {
	height: 0; 
	width: 0; 
	margin: 0; 
	padding: 0; 
	position: absolute; 
	top:0;
}

/* Buttons */
.btn-link {
	font-size: 1.2rem;
	font-weight: 300;
	padding: 1rem 3rem;
	border-radius: 30px;
	color: white;
	background-color: var(--theme);
	outline: none;
	border: none;
	box-shadow: 3px 3px 5px 4px var(--theme-translucent);
	transition: 0.5s;
	text-decoration: none;
	font-weight: bold;
	letter-spacing: 1.2;
}

.btn-link.alt {
	background-color: var(--theme-2);
	color: var(--black);

}

.btn-link:hover {
	background-color: var(--black);
	color: white;
	cursor: pointer;
	transform: translateY(-5px);
	transition: 0.2s;
}

.btn-link.btn-sm {
	font-size: 1rem;
	padding: 0.7rem 1.2rem;
	margin: 0 1rem;
}

/* Menu */
#main-title {
	color: var(--light-gray);
	font-size: 1.2rem;
	margin-top: 8px;
	padding-left: 1rem;
	max-width: 40%;
	min-width: 300px;
	display: inline-block;
}

#main-header {
	padding: 1em 0;
	font-size: 1.2rem;
	width: 100%;
	margin: 0 auto;
	position: fixed;
	top: 0;
	left: 50%;
	transform: translateX(-50%);
	z-index: 40;
	transition: 0.3s;
}

#main-header.scrolled {
	background-color: white;
	/*color: white;*/
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.scrolled .menu-item {
	/*color: white;*/
}

#menu-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 0.3rem;
}

#menu {
	margin-top: 8px;
	font-weight: bold;
	display: inline;
	float: right;
}

.menu-item {
	margin: 2rem;
	text-decoration: none;
	color: var(--black);
	transition: 0.3s;
}

.menu-item:hover {
	color: var(--theme);
}

.menu-item.active {
	color: var(--theme);
}

#carousel-container {
	font-size: 4rem;
	text-align: left;
	font-weight: bold;
}

#text-carousel {
	color: var(--theme);
	text-align: left;
	transition: opacity 0.5s ease-in-out;
}

.copy {
	font-size: 1rem;
	font-weight: 400;
	line-height: 2rem;
	color: var(--gray);
}

.copy.bold {
	font-weight: 700;
}

.center-copy {
	text-align: center;
	width: 80%;
	margin: 0 auto;
}

.get-started-btn {
	margin: 0 auto;
	margin-top: 2rem;
	display: inline-block;
}

.body-image {
	width: 100%;
	max-width: 500px;
}

.section {
	display: flex;
	align-items: center;
	justify-content: center;
	max-width: 1200px;
	margin: 0 auto;
	padding: 3rem 3rem;
}

#section-1 {
	height: calc(100% - 5rem);
}

#section-4 {
	display: block;
	text-align: center;
	align-items: center;
	width: 80%;
	margin: 0 auto;
}

#section-5 {
	display: block;
	text-align: center;
	align-items: center;
	width: 80%;
	margin: 0 auto;
}

#section-6 {
	display: block;
	text-align: center;
	align-items: center;
	width: 70%;
	margin: 0 auto;
	padding-top: 5rem;
	padding-bottom: 5rem;
}

.section-container.colored {
	background-color: var(--theme-light);
}

.section-container.colored-deep {
	background-color: var(--theme);
	color: white;
}

.left, .right {
	width: 50%;
}

.left {
  float: left;
}

.right {
	float: right;
}

.right>img {
	float: right;
}

.left>img {
	float: left;
}

#to-top {
	padding: 1rem;
	position: fixed;
	bottom: 20px;
	right: 20px;
	border: 1px solid var(--gray);
	border-radius: 100%;
	background-color: white;
	opacity: 0;
	transition: 0.3s;
}

#to-top:hover {
	cursor: pointer;
	box-shadow: 0px 0px 5px 4px var(--theme-translucent);
}

#arrow-up {
	width: 20px; 
	aspect-ratio: 1;
}

.card-container {
	margin: 0 auto;
}

.card {
	box-shadow: 0 20px 50px 5px var(--theme-translucent-light);
	display: inline-block;
	text-align: center;
	max-width: 17rem;
	min-width: 10rem;
	padding: 2rem 2rem;
	margin: 1rem;
	border-radius: 1rem;
	color: var(--gray);
	transition: 0.3s;
	background-color: white;
}

.card.alt {
	box-shadow: none;
	background-color: #00000000;
	height: auto;
	max-width: 20rem;
	padding: 0;
	margin-top: 1.5rem;
}

.card-title {
	margin: 1.6rem 0;
	font-size: 1.2rem;
	font-weight: 700;
	color: var(--black);
}

.ds-card:hover {
	cursor: pointer;
}

.card-img {
	width: 8rem;
	height: 8rem;
	border-radius: 50%;
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2)
}

.card-img.sm {
	width: 3rem;
	height: 3rem;
	margin-right: 2rem;
}

.card-img-border {
	border: 3px solid var(--theme);
}

.card-text {
	margin-top: 1rem;
	font-size: 1rem;
	/*height: 12rem;*/
	line-height: 1.8;
}

.card.alt .card-text {
	height: 6rem;
}

#hamburger {
	display: none;
	float: right;
	margin-right: 1.5rem;
	position: relative;
	z-index: 50;
}

#hamburger {
	cursor: pointer;
}

#hamburger:hover > .burger-patty{
	/*box-shadow: 0px 0px 5px 5px var(--theme-translucent-light)*/
}

.burger-patty {
	border: 3px solid var(--theme);
	background-color: white;
	width: 2.5rem;
	margin: 0.4rem auto;
	border-radius: 10%/50%;
	box-sizing: border-box;
	transition: .3s;
}

#ham-menu {
	font-size: 0.9rem;
	font-style: normal;
	text-align: center;
	width: 2.5rem;
	margin: 0 auto;
}

#hamburger-menu {
	opacity: 0;
	color: var(--theme);
	background-color: white;
	position: fixed;
	padding-top: 5rem;
	padding-right: 2rem;
	top: 0;
	right: -20rem;
	text-align: right;
	align-items: right;
	border-radius: 0 0 0 25px;
	transition: .3s ease-out;
	max-width: 19rem;
	box-shadow: 0px 0px 5px 5px var(--theme-translucent-light);
}

#hamburger-menu li {
	margin: 1em 0;
	list-style-type: none;
}

#hamburger-menu a {
	text-decoration: none;
}

#hamburger-menu a:hover {
	text-decoration: underline;
}

.open-burger #top-burger{
	border-color: var(--theme);
	background-color: var(--theme);
	transform: rotate(45deg) translateY(1.1rem);
}

.open-burger #mid-burger {
	opacity: 0;
}

.open-burger #btm-burger{
	border-color: var(--theme);
	background-color: var(--theme);
	transform: rotate(-45deg) translateY(-1.1rem);
}

.open-burger #ham-menu {
	display: none;
}

.open-burger+#hamburger-menu {
	opacity: 1;
	transform: translateX(-20rem);
}

.ham-link {
	color: var(--black);
	font-size: 1.5rem;
	font-weight: 700;
}

.ham-link.active {
	color: var(--theme);
}

.gs-item-header {
	display: flex;
    align-items: center;
    font-size: 1.4rem;
    color: var(--theme);
}

#gs-button {
	margin-bottom: 3rem;
}

.slide-in {
  opacity: 0;
  transform: translateX(100%);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.slide-in.active {
  opacity: 1;
  transform: translateX(0);
}

.slide-in-from-left {
  opacity: 0;
  transform: translateX(-100%);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.slide-in-from-left.active {
  opacity: 1;
  transform: translateX(0);
}

.slide-in-from-bottom {
  opacity: 0;
  transform: translateY(100%);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.slide-in-from-bottom.active {
  opacity: 1;
  transform: translateY(0);
}

#footer-title {
	font-weight: bold;
	font-size: 1.2rem;
	text-decoration: none;
	color: var(--light-gray)
}

.footer-div {
	display: inline-block;
	box-sizing: border-box;
	width: 33.33%;
	min-height: 200px;
	padding: 1rem 5rem;
}

.footer-link {
	display: block;
	color: var(--gray);
	font-size: 1.2rem;
	padding: 0.5rem 0;
}

#footer-bottom div {
	width: 50%;
	color: var(--gray);
}

#footer-bottom a {
	color: var(--gray);
}

#copyright {
	float: left;
}

#policies {
	float: right;
	text-align: right;
}

#terms {
	width: 75%;
	min-width: 400px;
	margin: 0 auto;
	padding-top: 5rem;
}

#contact-container {
	background-color: white;
	box-shadow: 0 20px 50px 5px var(--theme-translucent);
	padding: 2rem 5rem;
	box-sizing: border-box;
	width: 50%;
	border-radius: 10px;
}

#contact-form {
	width: 100%;
}

.contact-input {
	display: block;
	margin: 1rem 0;
	width: 100%;
}

input {
	font-size: 1rem;
	padding: 0.5rem 0.5rem;
	border: 1px solid var(--theme);
	border-radius: 5px;
}

textarea {
	font-family: 'Roboto', sans-serif;
	color: var(--black);
	font-size: 1rem;
	border: 1px solid var(--theme);
	border-radius: 5px;
	padding: 0.5rem 0.5rem;
}

#email-body {
	width: 100%;
}

#contact-send {
	margin: 0 auto;
	width: 100%;
}

div.g-recaptcha {
	margin-bottom: 1rem;
}

#thankyou-message-container {
	background-color: white;
	box-shadow: 0 20px 50px 5px var(--theme-translucent);
	padding: 2rem 5rem;
	box-sizing: border-box;
	width: 50%;
	border-radius: 10px;
}

.legal-text {
	margin: 2rem 5%;
}

#social-links {
	text-align: left;
	align-items: normal;
	justify-content: normal;
	padding: 1rem 0;
}

#social-links>a {
	padding: 0 1rem;
}

#portfolio_links {
	text-align: center;
	width: 100%;
	display: block;
	padding: 0 0.2rem;
}

.portfolio_link {
	color: var(--theme);
	font-weight: bold;
}

@media (min-width: 1020px) {
	#hamburger-menu {
		display: none;
	}

	#hamburger {
		display: none;
	}
}

@media (max-width: 1020px) {
	.section {
		width: 95%;
		padding: 2rem 0;
		flex-direction: column;
		align-items: center;
	}

	.section>div {
		display: flex;
		flex-direction: column;
		align-items: center;
	}

	.section>.card-container {
		display: block;
	}

	.section>.card-container>div.card {
		display: inline-block;
	}

	#section-1 {
		height: 100%;
	}

	#section-6 {
		width: 95%;
	}

	#section-1> .left.top {
		height: 100%;
	}

	#section-1>.right {
		display: none;
	}
  
	.left, .right {
		float: none;
		max-width: 600px;
		width: fit-content;
	}

	.left:has(img), .right:has(img) {
		margin: 0 auto;
	}

	.left>img, .right>img {
		float: none;
		margin: 0 auto;
	}

	.right.top {
		order: 1;
	}

	.left.bottom {
		order: 2;
	}

	.left, .top {
		margin-bottom: 3rem;
	}

	#main-title {
		display: none;
	}

	#menu {
		display: none;
	}

	#hamburger {
		display: block;
	}

	.get-started-btn {
		display: block;
		width: fit-content;
	}

	.footer-div {
		width: 95%;
		min-height: 0;
	}

	#footer-bottom div {
		width: 100%;
	}

	#contact-container {
		padding: 2rem 1rem;
		width: 95%;
	}
}

@media (max-width: 400px) {
	#carousel-container {
		font-size: 3rem;
	}
}
