@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;500;600;700&family=Roboto:wght@100;300;400;500;700;900&family=Spectral:wght@200;300;400;500;600;700;800&display=swap');

* {
	margin: 0;
	padding: 0;
}

::-webkit-scrollbar {
	width: 10px;
}

::-webkit-scrollbar-track {
	background: #0b1e2d;
}

::-webkit-scrollbar-thumb {
	background: #366286;
}

::-webkit-scrollbar-thumb:hover {
	background: #093253;
}

html,
body {
	font-size: 100%;
	font-family: 'Open Sans', sans-serif;
	font-family: 'Roboto', sans-serif;
	font-family: 'Spectral', serif;
	background-image: url('/Assets/background.webp');
	background-size: cover;
	color: #fff;
}

nav {
	width: 100%;
	height: 50px;
	background-color: #071724;
	position: fixed;
}

nav .navbar {
	display: flex;
	justify-content: space-evenly;
	align-items: center;
}

nav .navbar .nav-left {
	width: fit-content;
	display: flex;
	align-items: center;
}

nav .navbar .nav-left img {
	width: 40px;
	height: 40px;
	border-radius: 20px;
	padding: 5px;
}

nav .navbar .nav-right {
	width: fit-content;
}

nav .navbar .nav-right ul {
	list-style: none;
	display: flex;
	justify-content: space-between;
}

nav .navbar .nav-right ul li a {
	text-decoration: none;
	color: #fff;
	padding: 10px;
	font-size: larger;
	font-weight: 600;
}

nav .navbar .nav-right ul li a:hover {
	border-bottom: 2px solid #fff;
}

.mainbody {
	background-color: rgba(7, 30, 47,0.95);
	position: relative;
	width: 100%;
	height: calc(100vh - 50px);
	top: 50px;
	overflow-y: scroll;
}

#banner {
	width: 80vw;
	margin: auto;
	padding: 10px 0;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

#banner button {
	margin-top: 60px;
	padding: 10px;
	font-weight: 600;
	font-size: x-large;
	color: red;
	border: 1px grove rgb(0, 0, 0);
	background-color: #fff;
	border-radius: 10px;
	transition: transform 0.4s ease;
}

#banner button:hover {
	background-color: rgb(209, 7, 7);
	color: #fff;
	transform: scale(1.1);
cursor: pointer;
}

#banner .banner-right,
#banner .banner-left {
	width: 40%;
	text-align: center;
}

#banner .banner-right img {
	width: 229px;
	height: 420px;
}

#banner .banner-right h4 {
	font-size: large;
	font-weight: 700;
}

#banner .banner-right p {
	text-align: center;
	font-size: medium;
	font-weight: 500;
	padding: 0;
}

hr {
	background-color: black;
	margin: auto;
	width: 80vw;
	height: 2px;
}

p {
	font-size: 1.2em;
	text-align: justify;
	font-weight: 400;
	padding: 10px;
}

#about {
	width: 80vw;
	margin: auto;
	padding: 20px 0;
}

h3 {
	font-size: x-large;
	padding-bottom: 10px;
	text-align: center;
}

.aboutus {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.aboutus img {
	width: 540px;
	height: 304px;
	margin-right: 10px;
	border: 1px groove white;
	border-radius: 10px;
	transform-style: preserve-3d;
	transition: transform 0.3s ease;
}

.aboutus img:hover {
	transform: scale3d(1.1, 1.1, 1);
	cursor: pointer;
}

#treatment {
	width: 80vw;
	margin: auto;
	padding: 20px 0;
}

#treatment .treats {
	width: 100%;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
}

#treatment .treats .treat {
	width: 240px;
	height: 350px;
	margin: 10px;
	display: flex;
	flex-direction: column;
	border: 2px groove #fff;
	border-radius: 10px;
	background-color: #093253;
	transition: transform 0.3s ease;
}

#treatment .treats .treat:hover {
	background-color: #071724;
	transform: scale(1.1);
	cursor: pointer;
}

#treatment .treats .treat img {
	width: 200px;
	height: 200px;
	margin: 10px auto;
	border-radius: 10px;
}
#treatment .treats .treat p{
	text-align: center;
}
#services {
	width: 80vw;
	margin: auto;
	padding: 20px 0;
}

.services {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-evenly;
	align-items: center;
}

.services div {
	border: 1px groove #fff;
	border-radius: 20px;
	background-color: #093253;
	width: 350px;
	padding: 5px 10px;
	margin: 10px;
	display: flex;
	align-items: center;
	transition: transform 0.3s ease;
}

.services div h4 {
	margin-left: 10px;
	font-size: 1.2em;
}
.services img {
	width: 100px;
	height: 100px;
	border-radius: 50px;
	background-color: #fff;
	transition: transform 0.5s ease;
}

.services div:hover img {
	transform: rotate3d(0, 1, 0, 180deg);
}

.services div:hover {
	background-color: #071724;
	transform: scaleX(1.1);
	cursor: pointer;
}

.equipment {
	text-align: center;
	padding: 20px 0;
	width: 80vw;
	margin: auto;
}

.equipment .slider {
	width: 100%;
	display: flex;
	align-items: center;
}

.equipment .slider button {
	margin: 0 5px;
	padding: 0 9px;
	color: #fff;
	font-size: xx-large;
	font-weight: 100;
	border: 1px solid #fff;
	border-radius: 20px;
	background-color: transparent;
	cursor: pointer;
}

.equipment .slider button:hover {
	color: #051625;
	background-color: #fff;
}

.equipment .slider .slides {
	display: flex;
	overflow: hidden;
}

.equipment .slides .slide {
	width: 200px;
	height: 150px;
	padding: 0 10px;
	transition: transform 1s;
}

#contact {
	width: 80vw;
	padding: 20px 0;
	margin: auto;
}

.timing p {
	text-align: center;
	font-size: 1.2em;
	color: rgb(255, 255, 0);
}

.contact {
	display: flex;
	justify-content: space-evenly;
	align-items: center;
	padding-top: 10px;
}

.contact .contact-left,
.contact .contact-right {
	width: 45%;
	padding-top: 10px;
}

.contact img {
	width: 35px;
	height: 35px;
	padding: 8px 8px;
	border-radius: 15px;
}

.contact .text {
	display: flex;
	flex-direction: column;
}

.contact .text .contact-text {
	display: flex;
	align-items: center;
}

.contact a {
	text-decoration: none;
	color: #fff;
	font-size: 1.1em;
}

.contact iframe {
	width: 100%;
	height: 200px;
	border: none;
	text-align: center;
}

.footer {
	font-weight: 300;
	height: 40px;
	width: 100%;
	margin: auto;
}

.footer p {
	padding: 10px 0;
	text-align: center;
}

.img1 {
	position: absolute;
	bottom: calc(40vh);
	left: 0;
}

.img1 img,
.img2 img {
	width: 40px;
	height: 40px;
	margin: 5px;
	border-radius: 20px;
}

.img2 {
	position: absolute;
	bottom: calc(40vh);
	right: 9px;
}

@media screen and (max-width: 1200px) {
	body {
		font-size: 90%;
	}

	hr,
	#banner,
	#about,
	#services,
	#treatment,
	.equipment,
	#contact {
		width: 84vw;
	}

	.aboutus img {
		width: 405px;
		height: 218px;
	}

	#treatment .treats .treat {
		width: 220px;
		height: 330px;
	}

	#treatment .treats .treat img {
		width: 190px;
		height: 190px;
		margin: 8px auto;
	}
}

@media screen and (max-width: 1024px) {
	body {
		font-size: 80%;
	}

	::-webkit-scrollbar {
		width: 8px;
	}

	.img2 {
		right: 5px;
	}

	nav {
		height: 85px;
	}

	.navbar {
		flex-direction: column;
	}

	nav .navbar .nav-left,
	nav .navbar .nav-right {
		width: 100%;
		justify-content: center;
	}

	nav .navbar .nav-right ul {
		justify-content: space-evenly;
	}

	.mainbody {
		height: calc(100vh - 85px);
		top: 85px;
	}

	hr,
	#banner,
	#about,
	#services,
	#treatment,
	.equipment,
	#contact {
		width: 87vw;
	}

	#banner .banner-right,
	#banner .banner-left {
		width: 45%;
	}

	.aboutus {
		flex-direction: column;
	}

	.aboutus img {
		margin-right: 0;
	}

	#treatment .treats .treat {
		width: 200px;
		height: 310px;
		margin: 8px;
	}

	#treatment .treats .treat img {
		width: 180px;
		height: 180px;
		margin: 6px auto;
	}
}

@media screen and (max-width: 568px) {
	body {
		margin: 0;
		font-size: 80%;
	}

	::-webkit-scrollbar {
		width: 5px;
	}

	#banner {
		flex-direction: column;
	}

	#banner button {
		margin-top: 20px;
		margin-bottom: 10px;
	}

	#banner .banner-right,
	#banner .banner-left {
		width: 90%;
	}

	#banner .banner-right {
		padding-top: 10px;

	}

	hr,
	#banner,
	#about,
	#services,
	#treatment,
	.equipment,
	#contact {
		width: 95vw;
	}

	#treatment .treats .treat {
		width: 180px;
		height: 300px;
		margin: 6px
	}

	#treatment .treats .treat img {
		width: 165px;
		height: 165px;
	}

	.contact {
		flex-direction: column;
		justify-content: center;
	}

	.contact .contact-left,
	.contact .contact-right {
		width: 90%;
	}
}

@media screen and (max-width: 430px) {
	.aboutus img {
		width: 270px;
		height: 152px;
	}
}