/* general */

body, html {
	width: 100%;
	height: 100%;
	margin: auto;
	padding: 0;
	font-family: Helvetica, Arial, sans-serif;
	scroll-behavior: smooth;
}

body {
	width: 80%;
}

* {
	box-sizing: border-box;
}

/* action banner */

#action-banner {
	width: 100%;
	position: relative;
	padding-top: 25px;
	user-select: none;
	margin-top: -300px;
	z-index: 2;
}

#action-banner-background {
	width: 900px;
	margin: auto;
	height: 200px;
	border-radius: 25px;
	display: flex;
	justify-content: space-between;
}

#action-banner-background div {
	height: 100%;
	width: 280px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	transition: 0.3s;
	box-shadow: 0 0 10px #555;
	cursor: pointer;
}

#action-banner-background img {
	width: 100px;
	margin-bottom: 10px;
}

#action-banner-background h1 {
	margin: 0;
	font-size: 1.4em;
}

#action-banner-background div:hover {
	scale: 1.07;
}

#action-banner-main {
	width: 400px;
	position: absolute;
	left: calc(50% - 200px);
	height: 250px;
	top: 0;
	border-radius: 25px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	box-shadow: 0 0 40px rgb(1, 45, 53);
	transition: 0.2s;
	color: white;
	font-size: 1.1em;
	cursor: pointer;
}

#action-banner-main:hover {
	scale: 1.05;
}

#action-banner-main button {
	border-radius: 0;
	padding: 5px 15px;
	border: 2px solid white;
	color: white;
	background: none;
	font-size: 1.2em;
	cursor: pointer;
}

#action-banner-main * {
	margin: 0;
	text-align: center;
}

#action-banner-small {
	padding: 10px;
	display: none;
}

#action-banner-small div {
	width: 250px;
	height: 200px;
	border-radius: 20px;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	text-align: center;
	margin: 10px;
	cursor: pointer;
	box-shadow: 0 0 5px #555;
	transition: 0.3s;
}

#action-banner-small a, #action-banner a {
	color: black;
	text-decoration: none;
}

#action-banner-small div:hover {
	scale: 1.05;
}

#action-banner-small img {
	width: 75px;
}

#action-banner-small div.blue {
	background: rgb(26, 211, 202);
}

#action-banner-small div.blue h1, #action-banner-small div.blue h2 {
	margin: 0;
}

#action-banner-small div.grey {
	background: rgb(179, 204, 236);
}

/* navbar */

#navbar {
	position: fixed;
	width: 80%;
	top: 0;
	left: 10%;
	z-index: 3;
}

#small-navbar-items {
	position: fixed;
	top: 80px;
	left: 0;
	width: 100%;
	z-index: 3;
	overflow: hidden;
	transition: 0.5s;
}

#small-navbar-items a {
	color: black;
	text-decoration: none;
	display: block;
	padding: 10px 30px;
	font-size: 1.1em;
	width: 100%;
	background: rgba(200, 200, 200, 0.9);
	border-bottom: 1px solid #aaa;
}

#navbar-bottom {
	height: 80px;
	background: rgba(26, 211, 202, 0.8);
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 30px;
	z-index: 100;
	position: relative;
}

#navbar-title {
	font-family: "Aleo", serif;
	font-size: 1.5em;
}

#navbar a {
	color: black;
	text-decoration: none;
	margin-left: 10px;
	font-family: "Aleo", serif;
}

#navbar-hamburger {
	display: none;
	font-size: 1.4em;
	cursor: pointer;
}

/* hero image */

#hero-image {
	width: 100%;
	height: 80%;
	display: flex;
	align-items: center;
	justify-content: center;
}

#hero-image:after {
	background-image: url("../assets/rocks.jpg");
	position: absolute;
	top: 0;
	left: 10%;
	display: block;
	background-size: cover;
	width: 80%;
	height: 80%;
	content: "";
	filter: brightness(0.9) blur(2px);
}

#hero-image div {
	width: 900px;
	margin: auto;
	color: white;
	padding-bottom: 100px;
	z-index: 2;
	font-size: 1.1em;
}

#hero-image h1 {
	margin: 0;
	font-size: 3em;
	text-align: center;
}

.hero-image-small:after {
	height: 300px !important;
	top: 80px !important;
}

.hero-image-small {
	height: 300px !important;
	margin-top: 80px;
}

.hero-image-small div {
	padding-bottom: 0 !important;
}

/* our services + our team */

#our-services, #our-team {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	margin-top: 75px;
}

#our-services div, #our-team div {
	margin: 20px;
	width: 500px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

#our-services div div, #our-team div div {
	width: 300px;
	height: 300px;
	border-radius: 50%;
	overflow: hidden;
}

#our-services img, #our-team img {
	height: 300px;
}

#our-services a, #our-team a {
	display: block;
	text-align: left;
	width: 100%;
	color: #333;
}

#our-services h1, #our-team h1, #testimonials h1 {
	text-align: center;
	width: 100%;
}

#our-team {
	margin-top: 0;
}

/* clinic */

.section {
	background-image: url("../assets/perlin.png");
	background-size: cover;
	left: 0;
	box-shadow: 0 0 10px #aaa;
	padding: 50px 150px;
	position: relative;
	z-index: 1;
}

.section * {
	position: relative;
	z-index: 2;
}

.section::after {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(255, 255, 255, 0.5);
}

#clinic-gallery {
	display: flex;
	justify-content: space-evenly;
	flex-wrap: wrap;
}

#clinic-gallery img {
	width: 40%;
	margin: 10px;
	cursor: pointer;
	transition: 0.2s;
	position: relative;
}

#clinic-gallery img:hover {
	scale: 1.1;
}

/* contact */

#contact {
	display: flex;
	flex-wrap: wrap;
	padding: 50px;
	justify-content: center;
	align-items: center;
}

#contact-hours-container {
	width: 30%;
	min-width: 300px;
}

#contact-hours-container div {
	padding: 10px;
	border-radius: 10px;
	background: #3899b6;
	color: white;
	text-align: center;
}

.contact-hours {
	margin: 0 0 10px 0;
}

.contact-day {
	border-top: 1px solid white;
	padding: 10px 0 4px 0;
	margin: 0;
}

#contact-details {
	padding: 10px;
	box-sizing: border-box;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
}

#contact-details div {
	width: 220px;
	text-align: left;
	max-width: 80%;
}

#contact-details .fa:not(#social-media .fa) {
	margin-right: 10px;
}

#contact-details * {
	margin: 5px 0;
}

#contact > div {
	width: 100%;
	height: 500px;
	display: flex;
	background: rgb(220, 220, 220);
	padding: 10px;
	border-radius: 7px;
}

#contact > div > div {
	width: 50%;
	text-align: center;
}

#map {
	width: 100% !important;
	height: 100% !important;
}

#social-media {
	display: flex;
	justify-content: center;
}

#social-media a {
	width: 50px;
	height: 50px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: white;
	text-decoration: none;
	font-size: 1.2em;
}

#social-facebook {
	background: #3B5998;
}

#social-twitter {
	background: #55ACEE;
}

#faq > div > div {
	overflow: hidden;
}

#faq > div > div:first-child {
	padding: 10px;
	font-weight: bold;
	cursor: pointer;
	user-select: none;
}

#faq > div > div:last-child {
	padding: 0 10px;
	transition: 0.3s;
}

#contact-small {
	display: none;
}

#footer {
	display: flex;
	background: rgb(30, 50, 59);
}

#footer::after {
	background: none;
}

#footer > div {
	width: 50%;
	padding: 10px;
	display: flex;
	flex-direction: column;
	align-items: center;
	color: white;
}

#footer > div > a {
	color: white !important;
	text-decoration: none;
}


.testimonials-container {
	padding: 30px 0;
}

.testimonials-button-holder {
	display: flex;
	justify-content: center;
}

.testimonials-button {
	width: 10px;
	height: 10px;
	margin: 4px;
	background: white;
	border-radius: 50%;
	border: 1px solid #555;
	cursor: pointer;
	position: relative;
	z-index: 5;
}

.testimonial {
	transition: 0.5s;
	position: absolute;
	text-align: center;
	color: #4a4a4e;
	line-height: 1.3em;
	max-width: 850px;
}

.testimonial p {
	text-align: center !important;
	margin: 10px 0;
}

.testimonials-holder {
	display: flex;
	justify-content: center;
}

.fa-star {
	font-size: 1.3em;
}

#direct-billing {
	text-align: center;
	display: block !important;
	width: 100% !important;
}

#direct-billing img {
	width: 100px;
	height: auto;
}

/* @media */

@media screen and (max-width: 1400px) {
	body {
		width: 100%;
	}

	#navbar {
		width: 100%;
		left: 0;
	}

	#hero-image::after {
		left: 0;
		width: 100%;
	}

	#clinic-gallery img {
		width: 40%;
	}

	#clinic-gallery {
		flex-wrap: wrap;
	}

	.section {
		padding: 50px 50px;
	}

	#action-banner {
		scale: 0.8;
		margin-top: -250px;
	}

	#our-services {
		margin-top: 25px;
	}
}

@media screen and (max-width: 1000px) {
	#clinic-gallery img {
		width: 100%;
		max-width: 300px;
	}

	#navbar-items {
		display: none;
	}

	#navbar-hamburger {
		display: block;
	}

	#navbar-title {
		font-size: 1.2em;
	}

	#action-banner {
		display: none;
	}

	#action-banner-small {
		display: flex;
		align-items: center;
		justify-content: center;
		flex-wrap: wrap;
	}

	#our-services {
		margin-top: 0;
	}

	#hero-image div {
		max-width: 80%;
	}

	#contact {
		display: none;
	}

	#contact-small {
		display: block;
	}

	#footer {
		flex-direction: column;
	}

	#footer div {
		width: 100%;
	}
}