* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	color: var(--text-color);
	font-family: Verdana, Geneva, Tahoma, sans-serif;
}
:root {
	--main-color: #3d97fd;
	/* --main-color: #5cb85c; */
	--element-color: #ff0060;
	/* --accent-color: #5cb85c; */
	--text-color: #000080;
}

footer {
	background-color: var(--main-color);
	font-size:1rem;
	padding: 5em 0;
	border-top: 2px var(--element-color) solid;
	display: flex;
	justify-content: space-evenly;
	flex-wrap: wrap;letter-spacing: 0.5em;
}
@media (width<=768px) {
	footer {
		flex-direction: column;
		padding: 1em;
	}
}
footer p,
footer span {
	color: aliceblue;
	letter-spacing: 0.1em;
}
.footer-box{
width:fit-content;

}
.footer-header {
	margin-top: 2em;
	padding-left: 1em;
}
.footer-line{
	text-decoration: underline var(--element-color);
}
h1 {
	padding: 1.5em;
	text-align: center;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	font-weight: 400;
}
@media (width<=576px) {
	h1 {
		font-size: 1.5em;
	}
}

nav {
	background-color: var(--main-color);
	padding: 0.5em;
	border-top: 2px var(--element-color) solid;
	border-bottom: 2px var(--element-color) solid;
	position: sticky;
	top: 0;
	z-index: 1;
}
.nav {
	margin: 0;
	display: flex;
	justify-content: space-around;
	list-style: none;
}
a {
	text-decoration: none;
}
.nav-link {
	padding: 2em;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--text-color);
}
@media (width<=576px) {
	.nav {
		padding: 0;
	}
}
@media (width<=576px) {
	.nav-link {
		padding: 0;
	}
}

.nav-link:hover {
	color: var(--element-color);
}
.nav-active {
	color: aliceblue;
}

.text-nav {
	text-align: center;
	color: var(--main-color);
}
.hero-bg-image {
	min-height: 1080px;
	background-image: url('picture/the-humble-co-cADflhZzgyo-unsplash.jpg');
	background-repeat: no-repeat;
	background-size: cover;
	background-position: left;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
}
.hero-box {
    box-shadow: 5px 5px 10px gray;
	border-radius: 0.5em;
	line-height: 1.5;
	padding: 1em;
	backdrop-filter: blur(5px);
	background-color: rgba(255, 255, 255, 0.5);
}
.hero-text {
	font-size: 2.5rem;
	font-weight: 400;
}
@media (width<=576px) {
	.hero-text {
		font-size: 1.5rem;
	}
}
.hero-link {
	background-color: var(--element-color);
	text-decoration: none;
	padding: 0.2em 0.5em;
	margin-top: 1em;
	border-radius: 0.25em;
	display: inline-block;
	position: relative;
	top: 0;
	left: calc(100% - 250px);
	text-transform: uppercase;
	font-size: 1.2rem;
    box-shadow: 5px 5px 10px gray;
}
.dentist-image {
	border-radius: 0.5em;
	max-width: 100%;
	margin: 0 1em;
	/* overflow: auto; */
}

.dentist-text {
	margin-left: 2em;
	line-height: 1.5;
}
.dentist-box {
	margin: 2em 0;
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.dentist {
	width: 80vw;
	margin: 0 auto;
	padding: 2em 0;
}

.dentist-header {
	margin: 0 0 0.5em 1.33em;
}
.dentist ul {
	margin-left: 2em;
	line-height: 1.5;
}
.dentist-text-work {
	line-height: 1.5;
	padding: 0 1em;
}
.dentist-motto,
.info {
	margin: 0.5em;
	text-align: center;
	padding: 1em;
	background-color: #d0e3fd;
	border-radius: 5px;
	border-bottom: 1px solid var(--main-color);

	/* box-shadow: #8abdff 5px 5px 30px; */
}
.info {
	color: var(--element-color);
}
@media (width<=992px) {
	.dentist-box {
		flex-direction: column;
	}
	.dentist-text {
		margin: 1em;
	}
	.dentist {
		width: 95%;
	}
	.dentist-header {
		margin-left: 0.5em;
		margin-top: 1em;
	}
}
iframe {
	border: 1px solid;
	border-radius: 10px;
	max-width: 95%;
	margin: 0.5em;
}
.contact {
	
	line-height: 1.5;
}
.contact-phon {
	color: var(--element-color);
	font-weight: 700;
}
.contact-email {
	text-decoration: none;
	color: var(--element-color);
}
.contact-space {
	/* margin-bottom: 1.5em; */
}
.material-symbols-outlined {
	font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
	padding: 0.2em;
}

.card-box {
	margin-top: 2em;
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
}
.card {
	margin: 0.3em;
	display: flex;
	flex-direction: column;
	width: 250px;
	border: 2px solid;
	border-radius: 10px;
	overflow: hidden;
}
.card-body {
	height: 100%;
	display: flex;
	flex-direction: column;
	padding: 1em;
}
.card-body a {
	font-weight: 700;
	margin-top: auto;
	padding: 1em 0;
	background-color: var(--main-color);
	border-radius: 5px;
	text-align: center;
}
.card img {
	width: 100%;
}
.card-body p {
	margin: 0.5em 0 1em;
}

html {
	scroll-padding-top: 5em;
}
.text-card-header {
	margin: 5em 0 0em;
}
.text-card-description {
	margin: 0em 0 1em;
	font-size: 0.8rem;
}
.return {
	background-color: var(--main-color);
	border-radius: 5px;
	padding: 5px 30px;
	margin-top: 1em;
}
