/*=============== GOOGLE FONTS ===============*/
@import url('https://fonts.googleapis.com/css2?family=Roboto+Mono:ital,wght@0,100..700;1,100..700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Alegreya+Sans:ital,wght@0,100;0,300;0,400;0,500;0,700;0,800;0,900;1,100;1,300;1,400;1,500;1,700;1,800;1,900&display=swap');

/*=============== VARIABLES CSS ===============*/
:root {
	--header-height: 3.5rem;

	/*========== Colors ==========*/
	/*Color mode HSL(hue, saturation, lightness)*/
	--first-color: hsl(14, 98%, 50%);
	--black-color: hsl(0, 0%, 0%);
	--black-color-light: hsl(0, 0%, 40%);
	--white-color: hsl(0, 0%, 95%);
	--title-color: hsl(0, 0%, 0%);
	--text-color: hsl(0, 0%, 35%);
	--text-color-light: hsl(0, 0%, 64%);
	--body-color: hsl(0, 0%, 87%);
	--container-color: hsl(0, 0%, 83%);

	--black: #1a1a1d;
	--gray: #4e4e50;
	--accent: #c10046;
	--dark: #202731;
	--orange: #f63;
	--blue: #0cc;
	--green: #25d366;

	/*========== Font and typography ==========*/
	--body-font: 'Alegreya Sans', monospace;
	--biggest-font-size: 2.5rem;
	--h1-font-size: 1.75rem;
	--h2-font-size: 1.25rem;
	--h3-font-size: 1.125rem;
	--normal-font-size: 0.938rem;
	--small-font-size: 0.813rem;
	--smaller-font-size: 0.75rem;

	/*========== Font weight ==========*/
	--font-regular: 400;
	--font-medium: 500;
	--font-semi-bold: 600;
	--font-bold: 700;

	/*========== z index ==========*/
	--z-tooltip: 10;
	--z-fixed: 100;
}

/*========== Responsive typography ==========*/
@media screen and (min-width: 1150px) {
	:root {
		--biggest-font-size: 4.5rem;
		--h1-font-size: 3rem;
		--h2-font-size: 1.5rem;
		--h3-font-size: 1.25rem;
		--normal-font-size: 1rem;
		--small-font-size: 0.875rem;
		--smaller-font-size: 0.813rem;
	}
}

/*=============== BASE ===============*/
* {
	box-sizing: border-box;
	padding: 0;
	margin: 0;
}

html {
	scroll-behavior: smooth;
}

body {
	font-family: var(--body-font);
	font-size: var(--normal-font-size);
	background: #fff;
	color: var(--text-color);
	letter-spacing: -0.01em;
}

h1,
h2,
h3,
h4 {
	color: var(--black);
	font-weight: var(--font-bold);
}

ul {
	list-style: none;
}

a {
	text-decoration: none;
}

img {
	display: block;
	max-width: 100%;
	height: auto;
}

/*=============== REUSABLE CSS CLASSES ===============*/
.container {
	max-width: 1200px;
	margin-inline: 1.5rem;
}

.grid {
	display: grid;
	gap: 1.5rem;
}

.section {
	padding-block: 3rem 2rem;
}

.section__title-1,
.section__title-2 {
	position: relative;
	font-size: var(--h1-font-size);
	width: max-content;
	margin: 0.75rem auto 2rem;
	color: var(--red-light);
}

.section__title-1 span,
.section__title-2 span {
	z-index: 5;
	position: relative;
}

.main {
	overflow: hidden; /* For animation ScrollReveal */
}

/*=============== MENU ===============*/
.header {
	position: fixed;
	width: 100%;
	top: 0;
	left: 0;
	background-color: #fff;
	z-index: var(--z-fixed);
	transition: box-shadow 0.4s;
}

.nav {
	position: relative;
	height: var(--header-height);
	height: 4rem;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.nav__logo {
	display: flex;
	column-gap: 0.5rem;
	align-items: center;
	font-weight: 600;
	font-size: 1.5rem;
	color: var(--black);
	letter-spacing: 10px;
	border-radius: 50%;
	overflow: hidden;
}

.nav__logo img {
	width: 3.25rem;
}

.nav__logo-name {
	color: #fff;
}

.nav__toggle {
	/* width: 32px;
	height: 32px; */
	/* background-color: var(--orange); */
	color: #000000;
	display: grid;
	place-items: center;
	border-radius: 0.1rem;
	font-size: 2.5rem;
	cursor: pointer;
}

/* Navigation for mobile devices */
/* @media screen and (max-width: 1150px) { */
.nav__menu {
	position: fixed;
	top: -150%;
	left: 0;
	background-color: hsla(0, 0%, 0%, 0.7);
	width: 100%;
	padding-block: 1.8rem 5rem;
	text-align: center;
	backdrop-filter: blur(8px);
	transition: top 0.4s;
}
/* } */

.nav__close {
	color: #fff;
}
.nav__name {
	color: var(--orange);
}

.nav__title {
	color: var(--blue);
}

.nav__close:hover {
	color: var(--orange);
}

.nav__title {
	display: block;
	font-size: 1rem;
	font-weight: 600;
	margin-bottom: 3.5rem;
}

.nav__name {
	position: relative;
	width: max-content;
	margin: 0 auto 3rem;
	font-size: var(--h2-font-size);
	letter-spacing: 5px;
	font-style: italic;
}

.nav__name::after,
.nav__name::before {
	content: '';
	width: 40px;
	height: 2px;
	background-color: var(--orange);
	position: absolute;
	top: 50%;
	left: -4rem;
}

.nav__name::before {
	left: initial;
	right: -4rem;
}

.nav__list {
	display: flex;
	flex-direction: column;
	row-gap: 1.5rem;
}

.nav__link {
	position: relative;
	color: #fff;
	font-size: var(--h3-font-size);
	font-weight: var(--font-semi-bold);
	transition: color 0.3s;
}

.nav__link::after {
	content: '';
	width: 0;
	height: 2px;
	background-color: #fff;
	position: absolute;
	left: 0;
	bottom: -0.5rem;
	transition: width 0.3s;
}

.nav__link:hover {
	color: var(--blue);
}

.nav__link:hover::after {
	width: 100%;
}

.nav__close {
	position: absolute;
	font-size: 1.5rem;
	top: 1rem;
	right: 1.5rem;
	cursor: pointer;
}
/* Show menu */
.show-menu {
	top: 0;
}
/* Add shadow header */
.shadow-header {
	box-shadow: 0 1px 16px var(--orange);
}
/* Active link */
.active-link {
	color: var(--orange);
}

.active-link::after {
	width: 50%;
	background: #fff;
}

.nav__logo-name::after {
	content: '';
	width: 166px;
	height: 2px;
	background-color: #fff;
	position: absolute;
	top: 18%;
	left: 0rem;
}
/*=============== MENU ===============*/

/*=============== HOME ===============*/
#home {
	min-height: 100vh;
	position: relative;
	padding-top: 3.5rem;
	/* background-image: url(images/bg.jpg);
	background-size: cover; */
}
/* адрес время работы */
.home__address_time {
	width: 100%;
	display: flex;
	align-items: stretch;
	justify-content: flex-end;
	flex-direction: row;
	/* position: absolute;
	top: 4rem;
	left: 0.5rem; */
	/* z-index: 2; */
	margin-right: 3rem;
}

.home__adress,
.home__time {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: row;
	margin: 1rem;
}
.home__address_time .home__adress p:hover {
	color: var(--orange);
}

.home__address_time .home__adress i,
.home__address_time .home__time i {
	display: block;
	color: #d9d9d9;
	font-size: 1.8rem;
	display: flex;
	align-items: center;
}

.home__address_time p {
	display: block;
	color: var(--black);
	line-height: 1;
	font-weight: 500;
	margin-left: 0.5rem;
	font-size: 1.25rem;
}

/* телефоны  и соц сети */
.home__phone__social {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: row;
}

.home__phone {
	font-size: 1.25rem;
	font-weight: 400;
	background: #fff;
	padding: 0 1rem;
	margin-top: 0.5rem;
	border-radius: 2rem;
	color: #1bc4c0;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 54px;
	width: 14rem;
	border: 1px solid #1bc4c0;
	margin: 1rem;
}

.home__phone__social .home__phone i {
	display: block;
	font-size: 1.6rem;
}

.home__phone__social p {
	display: block;
	color: #1bc4c0;
	line-height: 1;
	font-weight: 400;
	margin-left: 0.2rem;
	font-size: 1.25rem;
}

.home__social {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: row;
	width: 100%;
}

.home__social__btn {
	color: var(--green);
	font-size: 2rem;
	margin-left: 0.5rem;
	margin-right: 0.5rem;
}

.home__social__btn:hover {
	color: var(--blue);
}

.home__write {
	font-size: 1.25rem;
	font-weight: 400;
	background: #1bc4c0;
	padding: 0 1rem;
	margin-top: 0.5rem;
	border-radius: 2rem;
	color: #fff;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 54px;
	width: 12rem;
	margin: 1rem;
}

.home__write:hover {
	background: var(--blue);
}

.home__write__2 {
	text-align: center;
	font-size: 1.1rem;
	font-weight: 400;
	background: var(--green);
	padding: 0 1rem;
	margin-top: 0.5rem;
	border-radius: 1rem;
	color: #fff;
	cursor: pointer;
	display: block;
	width: 10rem;
	position: fixed;
	right: 0.5rem;
	top: -50%;
	z-index: 3;
	background: #1bc4c0;
	padding: 0.3rem;
}

.home__write__2:hover {
	background: var(--blue);
}

/* титл */
.home__title {
	width: 100%;
	text-align: center;
	margin-bottom: 3rem;
	position: absolute;
	z-index: 2;
}

.home__title h2 {
	font-size: 6.5rem;
	line-height: 90%;
	color: black;
	text-transform: uppercase;
	font-weight: 500;
}

.home__title h1 {
	font-size: 1.25rem;
	line-height: 1;
	color: #000;
	font-weight: 400;
	margin: 1rem;
}

.home__title h3 {
	font-size: 1.4rem;
	line-height: 0.8;
	color: var(--blue);
	font-weight: 800;
}

/* карусель квизов */
.container__q {
	margin: 0 auto;
	width: 250px;
	height: 200px;
	position: relative;
	perspective: 1000px;
}

.carousel__q {
	height: 100%;
	width: 100%;
	position: absolute;
	transform-style: preserve-3d;
	transition: transform 1s;
}

.item__q {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-direction: column;
	position: absolute;
	background: #000;
	width: 250px;
	height: 200px;
	font-size: 2rem;
	text-align: center;
	color: #fff;
	border-radius: 10px;
	/* overflow: hidden; */
}

.item__q::before {
	content: '';
	z-index: 1;
	width: 100%;
	height: 100%;
	display: block;
	position: absolute;
	background: linear-gradient(0deg, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.9) 100%);
}

.c__title {
	margin-top: 0.5rem;
	z-index: 3;
	font-size: 1.8rem;
	font-weight: 600;
	line-height: 0.8;
}

.c__btn {
	background: var(--green);
	font-size: 1.2rem;
	font-weight: 600;
	border-radius: 10px;
	margin-bottom: 0.5rem;
	padding: 0.2rem 1rem 0.2rem 1rem;
	cursor: pointer;
	z-index: 3;
}

.c__btn:hover {
	background: var(--blue);
}

.a {
	transform: rotateY(0deg) translateZ(250px);
	background-image: url(images/cq1.png);
	background-size: cover;
}
.b {
	transform: rotateY(90deg) translateZ(250px);
	background-image: url(images/cq2.jpg);
	background-size: cover;
}
.c {
	transform: rotateY(180deg) translateZ(250px);
	background-image: url(images/cq3.png);
	background-size: cover;
}
.d {
	transform: rotateY(270deg) translateZ(250px);
	background-image: url(images/cq4.jpg);
	background-size: cover;
}

.carusel__btns {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-top: 3rem;
}

.next,
.prev {
	color: #fff;
	font-weight: 600;
	padding: 0.5em 2em;
	margin: 0 0.5rem 0 0.5rem;
	cursor: pointer;
	background: var(--orange);
	border-radius: 5px;
	border-top: 1px solid #fff;
	box-shadow: 0 5px 0 var(--blue);
	transition: box-shadow 0.1s, top 0.1s;
}
.next:hover,
.prev:hover {
	color: var(--blue);
}
.next:active,
.prev:active {
	top: 104px;
	box-shadow: 0 1px 0 #999;
}
.next {
	right: 5em;
}
.prev {
	left: 5em;
}

.our__wiki {
	display: block;
	font-size: 2.2rem;
	color: #000000;
	text-align: center;
	margin-top: 25rem;
	margin-bottom: 1rem;
	font-weight: 500;
}

.wiki__wrapper {
	display: flex;
	align-items: center;
	justify-content: center;
	/* flex-direction: column; */
	flex-wrap: wrap;
	width: 100%;
	margin-top: 0.5rem;
	margin-bottom: 4rem;
}

.wiki__btn {
	color: #fff;
	background: #8fb0a2;
	width: 20rem;
	margin: 0.5rem;
	padding: 1.7rem;
	border-radius: 1rem;
	font-size: 1.25rem;
	font-weight: 400;
	line-height: 100%;
	height: 10rem;

	display: flex;
	align-items: center;
	justify-content: center;

	position: relative;
}

.read__btn {
	background: #fff;
	color: #8fb0a2;
	padding: 0.2rem;
	border-radius: 50%;
	margin-top: 1.5rem;
	position: absolute;
	bottom: 1.5rem;
	right: 1.5rem;
	cursor: pointer;
	width: 2.2rem;
	height: 2.2rem;
	display: flex;
	align-items: center;
	justify-content: center;
}

/* скролл */
.home__info {
	margin-top: 4rem;
	position: absolute;
	bottom: 1rem;
	left: 1rem;
}

.home__scroll {
	display: block;
	width: max-content;
	margin: 0 auto;
	margin-top: 2rem;
}

.home__scroll-text {
	display: none;
}

.home__scroll-box {
	background-color: var(--orange);
	color: #fff;
	width: 36px;
	height: 36px;
	display: grid;
	place-items: center;
	font-size: 1rem;
	cursor: pointer;
	overflow: hidden;
	transition: background-color 0.4s;
}

.home__scroll-box i {
	animation: scroll-down 3s infinite;
}

/* Animate scroll icon */
@keyframes scroll-down {
	0% {
		transform: translateY(-1rem);
		opacity: 0;
	}

	50% {
		transform: translateY(0);
		opacity: 1;
	}

	110% {
		transform: translateY(0.6rem);
		opacity: 0;
	}
}

@media (min-width: 1200px) {
	.container__q {
		margin-top: 10rem;
		transform: scale(1.5);
	}

	.carusel__btns {
		margin-top: 9rem;
		transform: scale(1.3);
	}
}
/*=============== HOME ===============*/

/*=============== BUTTON ===============*/
.button {
	display: flex;
	align-items: center;
	justify-content: center;
	column-gap: 0.5rem;
}

.button {
	background-color: var(--gray);
	padding: 1.1rem 1.5rem;
	color: #fff;
	font-weight: bold;
	border-radius: 0.3rem;
	font-size: 1rem;
	/* box-shadow: 0 0 2px 4px var(--gray); */
}

.button i {
	font-size: 1.25rem;
}

.button:hover {
	background-color: var(--blue);
}

/*=============== STOCK ===============*/
#stock {
	background: var(--dark);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
}

.stock__wrapper {
	position: relative;
	height: 380px;
	width: 700px;
}

.stock__wrapper .img {
	position: absolute;
	height: 100%;
	width: 100%;
	border-radius: 1rem;
	overflow: hidden;
	cursor: pointer;
}

.stock__wrapper .img img {
	height: 100%;
	width: 100%;
	object-fit: cover;
	clip-path: circle(0% at 0% 100%);
	transition: all 0.7s;
}

#slide1:checked ~ .img-1 img {
	clip-path: circle(150% at 0% 100%);
}

#slide2:checked ~ .img-1 img,
#slide2:checked ~ .img-2 img {
	clip-path: circle(150% at 0% 100%);
}

#slide3:checked ~ .img-1 img,
#slide3:checked ~ .img-2 img,
#slide3:checked ~ .img-3 img {
	clip-path: circle(150% at 0% 100%);
}

#slide4:checked ~ .img-1 img,
#slide4:checked ~ .img-2 img,
#slide4:checked ~ .img-3 img,
#slide4:checked ~ .img-4 img {
	clip-path: circle(150% at 0% 100%);
}

#slide5:checked ~ .img-1 img,
#slide5:checked ~ .img-2 img,
#slide5:checked ~ .img-3 img,
#slide5:checked ~ .img-4 img,
#slide5:checked ~ .img-5 img {
	clip-path: circle(150% at 0% 100%);
}

#slide6:checked ~ .img-1 img,
#slide6:checked ~ .img-2 img,
#slide6:checked ~ .img-3 img,
#slide6:checked ~ .img-4 img,
#slide6:checked ~ .img-5 img,
#slide6:checked ~ .img-6 img {
	clip-path: circle(150% at 0% 100%);
}

#slide7:checked ~ .img-1 img,
#slide7:checked ~ .img-2 img,
#slide7:checked ~ .img-3 img,
#slide7:checked ~ .img-4 img,
#slide7:checked ~ .img-5 img,
#slide7:checked ~ .img-6 img,
#slide7:checked ~ .img-7 img {
	clip-path: circle(150% at 0% 100%);
}

.stock__wrapper .sliders {
	position: absolute;
	bottom: -1rem;
	left: 50%;
	transform: translateX(-50%);
	z-index: 2;
	display: flex;
}

.stock__wrapper .sliders label {
	height: 13px;
	width: 13px;
	border: 2px solid var(--orange);
	margin: 0 3px;
	cursor: pointer;
	border-radius: 50%;
	transition: all 0.3 ease;
}

#slide1:checked ~ .sliders label.slide1,
#slide2:checked ~ .sliders label.slide2,
#slide3:checked ~ .sliders label.slide3,
#slide4:checked ~ .sliders label.slide4,
#slide5:checked ~ .sliders label.slide5,
#slide6:checked ~ .sliders label.slide6,
#slide7:checked ~ .sliders label.slide7 {
	width: 35px;
	border-radius: 1rem;
	background: var(--orange);
}

.sliders label:hover {
	background: var(--orange);
}

.stock__wrapper input[type='radio'] {
	display: none;
}

@media screen and (max-width: 600px) {
	.stock__wrapper {
		height: 11rem;
		width: 21rem;
	}
}

.stock__buttons {
	display: flex;
	align-items: center;
	justify-content: center;
}

.stock__btn {
	background: var(--orange);
	border-radius: 50%;
	margin: 2rem;
	font-size: 2rem;
	width: 3rem;
	height: 3rem;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	cursor: pointer;
}

.stock__btn:hover {
	color: #1a1a1d;
}
/*=============== STOCK ===============*/

/*=============== ABOUT ===============*/
#about {
	background: #fff;
}

.about-title {
	color: var(--black);
}

.about__container {
	row-gap: 0;
	padding-bottom: 2rem;
}

.about__perfil {
	position: relative;
	justify-self: center;
	margin-block: 2.5rem 4.5rem;
}

.about__image {
	width: 25rem;
}

@keyframes border_anim {
	0% {
		box-shadow: 0 2px 16px var(--orange);
	}
	25% {
		box-shadow: 0 2px 16px var(--blue);
	}
	50% {
		box-shadow: 0 2px 16px var(--blue);
	}
	75% {
		box-shadow: 0 2px 16px var(--blue);
	}
	100% {
		box-shadow: 0 2px 16px var(--orange);
	}
}

.about__img {
	width: 25rem;
	position: relative;
	z-index: 1;
	box-shadow: 0 0 2px 4px var(--orange);
	border-radius: 0.5rem;
	cursor: pointer;
	animation: border_anim 2s infinite;
}

.h3__about {
	line-height: 1;
	font-size: 1.5rem;
	margin-bottom: 1.5rem;
	text-align: center;
}

.h3__about__2 {
	line-height: 1;
	font-size: 1.3rem;
	margin-bottom: 0.5rem;
}

.about__ul {
	margin-left: 1.5rem;
	margin-bottom: 2rem;
}

.about__li {
	font-size: 1.2rem;
	font-weight: 600;
	line-height: 1;
	margin-bottom: 0.3rem;
}

.about__li i {
	color: var(--blue);
}

.orange__span {
	color: var(--orange);
}

.blue__span {
	font-size: 1.9rem;
	color: var(--blue);
}

.about__info {
	padding-left: 1.25rem;
}

.about__description {
	position: relative;
	color: var(--black);
	margin-bottom: 1.5rem;
	line-height: 1;
}

.about__description i {
	font-size: 0.6rem;
}

.about__spis {
	line-height: 0.5;
}

.about__description::after {
	content: '';
	width: 20px;
	height: 1px;
	background-color: var(--orange);
	position: absolute;
	left: -1.75rem;
	top: 0.5rem;
}

.about__buttons {
	display: flex;
	justify-content: center;
	align-items: center;
	column-gap: 1rem;
	margin-bottom: 1.5rem;
}

.about__buttons .button {
	background: var(--green);
}

.about__buttons .button_blue {
	background: var(--blue);
}

.about__buttons .button_blue:hover {
	box-shadow: 0 0 2px 4px var(--blue);
}

.about__buttons .button:hover {
	background: var(--blue);
}
/*=============== ABOUT ===============*/

/*=============== SERVICES ===============*/
#services {
	background-color: var(--dark);
}

.services-title {
	color: #fff;
}

.acc-wrapper {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
}

.accordion {
	max-width: 800px;
}

.accordion .contentBx {
	position: relative;
	margin: 10px 20px;
}

.accordion .contentBx .label {
	position: relative;
	padding: 10px;
	background: var(--orange);
	color: #fff;
	cursor: pointer;
	font-size: 1.3rem;
	line-height: 1;
	font-weight: 600;
}

.accordion .contentBx .label.l1 {
	border-top-left-radius: 0.5rem;
	border-top-right-radius: 0.5rem;
}

.accordion .contentBx .label::before {
	content: '+';
	position: absolute;
	top: 50%;
	right: 20px;
	transform: translateY(-50%);
	font-size: 2rem;
	font-weight: bold;
	font-style: normal;
}

.accordion .contentBx.active .label::before {
	content: '-';
}

.accordion .contentBx .content {
	position: relative;
	background: var(--blue);
	color: var(--black);
	height: 0;
	transition: 0.5s;
	overflow-y: auto;
	font-size: 1.1rem;
	font-weight: 500;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
}

.accordion .contentBx .content p {
	background: #fff;
	border-radius: 0.5rem;
	padding: 0.5rem;
	height: 350px;
	overflow: auto;
}

.accordion .contentBx.active .content {
	height: 450px;
	padding: 10px;
}

.label__buttons {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: row;
	flex-wrap: wrap;
	margin-bottom: 0.5rem;
}

.label__button {
	background: var(--orange);
	color: #fff;
	padding: 0.5rem;
	margin: 0.2rem 0.2rem 0.2rem 0.2rem;
	font-size: 1rem;
	font-weight: 600;
	border-radius: 0.3rem;
	cursor: pointer;
}

.label__button:hover {
	text-decoration: underline;
}

.label__button.active {
	text-decoration: underline;
}

.span__hide {
	visibility: hidden;
	display: none;
}

.price__wrapper {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.price__btn {
	background-color: var(--orange);
	font-size: 1.5rem;
	font-weight: 600;
	padding: 0.5rem 1rem;
	border-radius: 0.5rem;
	color: #fff;
	margin-top: 2rem;
	cursor: pointer;
}

.price__btn:hover {
	color: var(--blue);
	box-shadow: 0 0 2px 4px var(--orange);
}
/*=============== SERVICES ===============*/

/*=============== PORTFOLIO ===============*/
.wrapper {
	margin: 2rem auto;
	max-width: 1100px;
}

#portfolio {
	background: #fff;
	display: none;
}

.stp {
	margin-bottom: 0;
}

.p-title {
	color: var(--black);
}

.wrapper nav {
	display: flex;
	justify-content: center;
}

nav .items {
	display: flex;
	max-width: 720px;
	width: 100%;
	justify-content: center;
	flex-wrap: wrap;
}

nav .items .item {
	padding: 7px;
	width: 6rem;
	font-size: 1.2rem;
	font-weight: bold;
	color: #fff;
	background: var(--orange);
	border-radius: 0.1rem;
	cursor: pointer;
	margin: 0.5rem;
	text-align: center;
}

nav .items .active,
nav .items .item:hover {
	background: var(--blue);
	box-shadow: 0 0 1px 2px var(--blue);
}

.gallery {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	margin-top: 2rem;
}

.gallery .image {
	padding: 0.5rem;
	width: calc(100% / 4);
}

.gallery .image.hide {
	display: none;
}

.gallery .image.show {
	animation: animate 0.4s ease;
}

@keyframes animate {
	0% {
		transform: scale(0.5);
	}
	100% {
		transform: scale(1);
	}
}

.gallery .image span {
	display: flex;
	width: 100%;
	overflow: hidden;
	box-shadow: 0 0 2px 4px var(--orange);
	border-radius: 0.3rem;
	cursor: pointer;
}

.gallery .image img {
	width: 100%;
	vertical-align: middle;
	transition: all 0.3s ease;
}

.gallery .image:hover img {
	transform: scale(1.1);
}

.gallery .image img {
	width: 100%;
}

.preview-box {
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%) scale(0.8);
	background: var(--dark); /* fallback for old browsers */
	max-width: 500px;
	width: 100%;
	opacity: 0;
	pointer-events: none;
	border-radius: 0.3rem;
	padding: 0 5px 5px 5px;
	box-shadow: 0px 0px 15px var(--orange);
	z-index: 9999;
}

.preview-box.show {
	opacity: 1;
	pointer-events: auto;
	transform: translate(-50%, -50%) scale(0.95);
	transition: all 0.3s ease;
}

.preview-box .image-box {
	display: flex;
	width: 100%;
}

.preview-box .details {
	display: flex;
	align-items: center;
	padding: 5px;
	justify-content: space-between;
}

.preview-box .details .title {
	display: flex;
	opacity: 0;
	font-weight: 500;
	color: #fff;
}

.details .title p {
	margin-left: 5px;
	font-weight: 500;
}

.details .prev__icon {
	color: #fff;
	font-size: 2rem;
	cursor: pointer;
	font-weight: 900;
}

.details .prev__icon:hover {
	color: var(--accent);
}

.image-box img {
	width: 100%;
	max-height: 90vh;
	object-fit: contain;
	cursor: pointer;
}

.prev__shadow {
	position: fixed;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	background: rgba(0, 0, 0, 0.8);
	z-index: 9990;
	display: none;
}

.prev__shadow.show {
	display: block;
}

@media (max-width: 1000px) {
	.gallery .image {
		width: calc(100% / 3);
	}
}

@media (max-width: 800px) {
	.gallery .image {
		width: calc(100% / 2);
	}
}

@media (max-width: 700px) {
	nav .items {
		max-width: 600px;
	}

	nav .items .item {
		padding: 7px 15px;
	}
}

@media (max-width: 600px) {
	nav .items {
		flex-wrap: wrap;
		justify-content: center;
	}

	nav .items .item {
		margin: 5px;
	}

	.gallery .image {
		width: 40%;
	}
}

.portfolio-text {
	font-size: 2.2rem;
	font-weight: 500;
	color: var(--black);
	display: flex;
	align-items: center;
	justify-content: center;
	font-style: italic;
	line-height: 1;
}

.portfolio-text i {
	color: var(--orange);
}
/*=============== PORTFOLIO ===============*/

/*=============== REVIEWS ===============*/
#reviews {
	background: var(--dark);
	margin-top: 1rem;
}

.review-title {
	color: #fff;
}

.review_block {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 2rem;
}

.review_block_div {
	width: 560px;
	height: 800px;
	overflow: hidden;
	position: relative;
}

/*=============== REVIEWS ===============*/

/*=============== CONTACT ===============*/
.contact {
	padding-bottom: 0;
}

.our__contacts {
	color: #fff;
}

.contact__container {
	position: relative;
	grid-template-rows: 300px max-content max-content;
	row-gap: 0;
}

.contact__data {
	position: relative;
	width: 300px;
	height: 300px;
	background-color: var(--black);
	padding: 3rem 1.5rem 3.5rem;
	margin-left: auto;
	z-index: 5;
	box-shadow: 0px 0px 11px 7px var(--orange);
}

.contact__data .section__title-1 {
	margin: 0 0 1.5rem;
	transform: translateX(-1rem);
}

.contact__description-1 {
	color: #fff;
	font-size: 1.5rem;
	font-weight: 600;
	margin-bottom: 2rem;
	line-height: 0.5;
}

.address-font {
	font-size: 1rem;
	margin-left: 3rem;
}

.contact__description-1 {
	color: var(--orange);
}

.contact__description-1 a {
	color: #fff;
	font-size: 1.5rem;
	font-weight: 600;
	margin-bottom: 2rem;
}

.contact__description-1 a:hover {
	color: var(--orange);
}

.contact__mail {
	position: relative;
	background-color: var(--dark);
	padding: 5rem 1.5rem 2.5rem;
	margin-top: -2.5rem;
	box-shadow: 0px 0px 11px 7px var(--blue);
}

.contact__title {
	color: var(--white-color);
	font-size: var(--h2-font-size);
	margin-bottom: 2rem;
	text-align: center;
}

.contact__form,
.contact__group {
	display: grid;
	row-gap: 1.25rem;
}

.contact__form {
	position: relative;
}

.contact__box {
	position: relative;
	width: 100%;
	height: 58px;
}

.contact__input,
.contact__button {
	font-family: var(--body-font);
	font-size: var(--normal-font-size);
	outline: none;
	border: none;
}

.contact__input {
	position: absolute;
	width: 100%;
	height: 100%;
	background-color: var(--dark);
	border: 3px solid var(--orange);
	color: #fff;
	padding: 0.5rem 1rem;
	font-weight: var(--font-medium);
	transition: border 0.4s, background-color 0.4s;
}

.contact__input::placeholder {
	color: #fff;
	transition: opacity 0.4s;
}

.contact__input:focus {
	box-shadow: 0px 0px 5px 5px var(--orange);
}

.contact__input:-webkit-autofill {
	transition: background-color 6000s, color 6000s;
}

.contact__label {
	position: absolute;
	top: 8px;
	left: 10px;
	color: var(--orange);
	font-size: var(--small-font-size);
	font-weight: var(--font-medium);
	background-color: var(--dark);
	padding: 8px;
	pointer-events: none;
	transition: top 0.4s, opacity 0.4s, background-color 0.4s;
	opacity: 0;
}

.contact__form .contact__area {
	height: 10rem;
}

.contact__area textarea {
	resize: none;
	padding-top: 1rem;
}

.contact__button {
	cursor: pointer;
	background-color: var(--green);
	color: #fff;
	font-size: 1.2rem;
	font-weight: 600;
	border-radius: 0.3rem;
	border: 0;
}

.contact__button:hover {
	background-color: var(--green);
	box-shadow: 0px 0px 5px 5px var(--green);
}

.contact__input:focus::placeholder {
	opacity: 0;
}

.contact__input:focus + .contact__label,
.contact__input:not(:placeholder-shown).contact__input:not(:focus) + .contact__label {
	opacity: 1;
	top: -16px;
}

.contact__social {
	display: grid;
	row-gap: 1rem;
	padding-block: 1rem 2rem;
	text-align: center;
}

.contact__social-arrow {
	width: 32px;
	margin: 0 auto;
}

.contact__social-data {
	display: flex;
	flex-direction: column;
	row-gap: 1.5rem;
}

.contact__social-description-1 {
	color: var(--gray);
	font-size: 0.9rem;
	font-weight: 600;
	margin-bottom: 0.5rem;
	line-height: 1;
}

.contact__social-description-1 a {
	color: var(--gray);
	font-size: 0.9rem;
	font-weight: 600;
	margin-bottom: 0.5rem;
	line-height: 1;
	text-decoration: underline;
}

.contact__social-description-1 a:hover {
	color: var(--blue);
}

.contact__social-links {
	display: flex;
	justify-content: center;
	column-gap: 0.75rem;
}

.contact__social-link {
	border-radius: 50%;
	width: 2.5rem;
	height: 2.5rem;
	background-color: #fff;
	color: var(--black);
	padding: 6px;
	font-size: 1.25rem;
	display: grid;
	place-items: center;
	box-shadow: 0px 0px 2px 4px var(--orange);
}

.contact__social-link:hover {
	background-color: var(--blue);
	color: #fff;
}
/*=============== CONTACT ===============*/

/*=============== FOOTER ===============*/
.footer {
	background-color: var(--black);
}

.footer__container {
	padding-block: 3rem 2rem;
	row-gap: 2.5rem;
}

.footer__links {
	display: flex;
	justify-content: center;
	column-gap: 2rem;
}

.footer__link {
	color: #fff;
	font-weight: 600;
	transition: color 0.4s;
}

.footer__link:hover {
	color: var(--orange);
}

.footer__copy {
	color: var(--gray);
	font-size: 1rem;
	font-weight: 600;
	text-align: center;
}

.footer__copy a {
	color: var(--gray);
	font-weight: var(--font-medium);
}

.footer__copy a:hover {
	color: var(--orange);
	text-decoration: underline;
}
/*=============== FOOTER ===============*/

/*=============== SCROLL BAR ===============*/
::-webkit-scrollbar {
	width: 0.6rem;
	border-radius: 0.5rem;
	background-color: var(--blue);
}

::-webkit-scrollbar-thumb {
	border-radius: 0.5rem;
	background-color: var(--orange);
}

::-webkit-scrollbar-thumb:hover {
	background-color: var(--blue);
}

/*=============== BREAKPOINTS ===============*/
@media screen and (max-width: 576px) {
	.home__contacts {
		font-size: 0.7em;
		top: 1rem;
	}

	.home__contacts a {
		font-size: 0.7rem;
	}

	#header-phone {
		font-size: 0.9rem;
	}

	.home__image {
		width: 250px;
		height: 230px;
		position: relative;
		right: -2rem;
	}

	.home__social {
		left: -2rem;
	}

	.hs__title {
		font-size: 1rem;
	}

	#smaller__font {
		font-size: 1.1rem;
	}

	.review_block_div {
		width: 21rem;
		height: 40rem;
		overflow: hidden;
		position: relative;
	}

	.about__buttons .button {
		padding-left: 0.3rem;
		padding-right: 0.3rem;
	}

	.about__buttons .button i {
		font-size: 1rem;
	}
}
/* For small devices */
@media screen and (max-width: 340px) {
	.container {
		margin-inline: 1rem;
	}

	.home__image {
		width: 180px;
		height: 160px;
	}

	.about__image {
		width: 180px;
	}

	.about__shadow {
		height: 330px;
		right: -2.5rem;
	}

	.contact__data {
		width: 100%;
	}

	.contact__data .section__title-1 {
		transform: translateX(0);
	}
}
/* For medium devices */
@media screen and (min-width: 576px) {
	.home__container,
	.about__container {
		grid-template-columns: 350px;
		justify-content: center;
	}

	.contact__data {
		width: 350px;
		height: 320px;
		padding: 4rem 1.5rem;
		margin-inline: auto;
	}

	.contact__container {
		grid-template-columns: 500px;
		justify-content: center;
	}

	.contact__group {
		grid-template-columns: repeat(2, 1fr);
		column-gap: 1rem;
	}

	.home__contacts {
		top: 1rem;
	}
}

/* For large devices */
@media screen and (min-width: 1150px) {
	.home__icons {
		margin-top: 0rem;
	}

	.home__buttons a:nth-child(2) {
		display: flex;
		align-items: center;
		justify-content: center;
		font-size: 1.5rem;
		position: absolute;
		width: 15rem;
		height: 4rem;
		bottom: -8rem;
		right: -10rem;
	}

	#header-phone {
		font-size: 1.8rem;
	}

	.home__contacts {
		top: -2rem;
	}

	.container {
		margin-inline: auto;
	}

	.section {
		padding-block: 4rem 2rem;
	}

	.section__title-1::after,
	.section__title-2::after {
		width: 70px;
		height: 48px;
	}

	.geometric-box {
		transform: scale(1.2);
	}

	.nav {
		height: var(--header-height);
	}

	.nav__close,
	.nav__toggle,
	.nav__title,
	.nav__name {
		/* display: none; */
	}

	.nav__list {
		/* flex-direction: row;
		column-gap: 4rem;
		font-size: var(--normal-font-size); */
	}

	.nav__link:hover {
		color: var(--orange);
	}

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

	.nav__link-button {
		background-color: var(--orange);
		color: #fff;
		padding: 0.3rem 0.5rem;
		border-radius: 0.1rem;
	}

	.nav__link-button:hover {
		color: var(--black);
	}

	.nav__link-button::after {
		background-color: transparent;
	}

	.home__container {
		grid-template-columns: repeat(2, 460px);
		gap: 2rem 4rem;
		align-items: center;
		padding-block: 5.5rem;
	}

	.home__perfil {
		grid-column: 2/3;
		grid-row: 1/3;
	}

	.home__image {
		width: 350px;
	}

	.home__shadow {
		right: -1.25rem;
		bottom: -1.25rem;
	}

	.home__info {
		margin-top: 0;
		align-self: flex-start;
	}

	.home__scroll {
		margin: 0;
		display: flex;
		align-items: center;
		column-gap: 0.75rem;
		margin-top: 2rem;
	}

	.home__scroll-text {
		display: block;
		color: var(--orange);
		font-size: 1rem;
		font-weight: bold;
	}

	.home__scroll-box {
		width: 44px;
		height: 44px;
	}

	.home__scroll-box i {
		font-size: 1.25rem;
	}

	.home__perfil .geometric-box {
		top: 15rem;
	}

	.home__arrow {
		top: 4.5rem;
		left: -8rem;
		rotate: 80deg;
		width: 80px;
	}

	.home__line {
		left: -15rem;
		bottom: 4rem;
		width: 80px;
		rotate: 30deg;
	}

	.home__social {
		left: initial;
		right: -6rem;
	}

	.home__social-link {
		font-size: 1.5rem;
		padding: 0.5rem;
	}

	.about__container {
		grid-template-columns: 440px 525px;
		gap: 1rem 9rem;
		align-items: center;
		padding-block: 1rem;
	}

	.about__perfil {
		order: -1;
		grid-row: 1/3;
	}

	.about__image {
		width: 30rem;
	}

	.about__shadow {
		width: 240px;
		height: 615px;
		top: -4rem;
		right: -5.5rem;
	}

	.about__perfil .geometric-box {
		right: -4rem;
		top: 4.5rem;
	}

	.about__line {
		width: 80px;
		right: -2rem;
		top: 10rem;
	}

	.about__box {
		width: 64px;
		height: 64px;
		right: -0.75rem;
	}

	.about__container .section__title-1 {
		align-self: flex-end;
		margin-inline: 0;
	}

	.about__info {
		align-self: flex-start;
		padding-left: 3rem;
	}

	.about__description {
		font-size: var(--h2-font-size);
		margin-bottom: 2rem;
	}

	.about__description::after {
		width: 32px;
		height: 2px;
		left: -3rem;
		top: 14px;
	}

	.about__buttons {
		justify-content: initial;
	}

	.services__container {
		grid-template-columns: repeat(2, 25rem);
		column-gap: 5rem;
		padding-block: 3rem 5rem;
	}

	.services__content {
		padding: 6.5rem 1.5rem 3.5rem;
	}

	.services__icon i {
		font-size: 3rem;
	}

	.services__box {
		width: 32px;
		height: 32px;
	}

	.services__title {
		margin-bottom: 1.5rem;
	}

	.services__card:hover .services__border {
		transform: translate(1.25rem, 1.25rem);
	}

	.contact__container {
		grid-template-columns: 440px 670px;
		grid-template-rows: initial;
		padding-bottom: 2rem;
	}

	.contact__container .section__title-1 {
		font-size: var(--h2-font-size);
	}

	.contact__container .section__title-1::after {
		width: 40px;
		height: 30px;
	}

	.contact__mail {
		grid-column: 2/3;
		grid-row: 1/3;
		padding: 7rem 5.5rem 6rem 7.5rem;
	}

	.contact__title {
		font-size: var(--h3-font-size);
		text-align: initial;
	}

	.contact__box {
		height: 60px;
	}

	.contact__form .contact__area {
		height: 11rem;
	}

	.contact__button {
		margin-top: 1.25rem;
		width: max-content;
	}

	.contact__data {
		width: 392px;
		height: 375px;
		padding: 4.5rem 3.5rem 3.5rem;
		margin: 7.5rem 0 0 8rem;
	}

	.contact__data .section__title-1 {
		margin: 0 0 2rem;
		transform: translateX(-3rem);
	}

	.contact__social {
		margin-left: 8rem;
		text-align: initial;
		background-color: transparent;
	}

	.contact__social-data {
		flex-direction: row;
		align-items: center;
		column-gap: 1.25rem;
	}

	.contact__social-arrow {
		width: 40px;
	}

	.contact__social-link {
		font-size: 1.5rem;
		padding: 0.5rem;
	}

	.footer__container {
		padding-block: 4rem;
		grid-template-columns: repeat(2, max-content);
		justify-content: space-between;
	}

	.footer__links {
		column-gap: 3rem;
		order: 1;
	}

	.scroll__up {
		right: 3rem;
	}

	.button__project {
		font-size: 1.2rem;
		font-weight: var(--font-semi-bold);
	}
}

@media (min-width: 340px) and (max-width: 450px) {
	.about__image {
		width: 17rem;
	}
}

/*=============== SCROLL UP ===============*/
.scroll__up {
	width: 2.3rem;
	position: fixed;
	left: 1rem;
	bottom: -50%;
	background-color: var(--orange);
	display: inline-flex;
	padding: 8px;
	font-size: 1.25rem;
	color: #fff;
	z-index: var(--z-tooltip);
	transition: bottom 0.4s, transform 0.4s, background-color 0.4s;
}

.scroll__up:hover {
	transform: translateY(-0.5rem);
	background-color: var(--blue);
}
/* Show Scroll Up */
.show-scroll {
	bottom: 1rem;
}

.show-zap {
	top: 4rem;
}
/*=============== SCROLL UP ===============*/

/* WIDGET */
#widget {
	position: fixed;
	bottom: 0.3rem;
	right: 0.3rem;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: grab;
	z-index: 99999;
}

#widget .nav-content {
	display: flex;
	align-items: center;
	justify-content: center;
	transform: rotate(-45deg);
}

.nav-content .toggle-btn,
.nav-content span a {
	height: 3rem;
	width: 3rem;
	background-size: cover;
	background-repeat: no-repeat;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
}

.nav-content .toggle-btn {
	color: #fff;
	background-color: var(--green);
	color: #fff;
	z-index: 100;
	cursor: pointer;
	transform: rotate(-45deg);
	transition: all 0.6s ease;
}

#widget.open .toggle-btn {
	transform: rotate(315deg);
}

.nav-content span {
	position: absolute;
	transition: all 0.6s ease;
	opacity: 0;
}

#widget.open .nav-content span {
	transform: rotate(calc(var(--i) * (360deg / 8))) translateY(120px);
	opacity: 1;
}

.nav-content span a {
	text-decoration: none;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0.3rem;
}

.nav-content span a:hover {
	background: var(--blue);
}

.first {
	background-color: var(--green);
	transform: rotate(45deg);
	font-size: 2rem;
}

.second {
	background-color: var(--green);
	transform: rotate(45deg);
	font-size: 2rem;
}

.third {
	background-color: var(--green);
	transform: rotate(45deg);
	font-size: 1.4rem;
}

.nav-content span a i {
	color: #fff;
	transform: rotate(calc(var(--i) * (360deg / -8)));
	transition: 0.2s;
}

.nav-content span a:hover i {
	opacity: 1;
}

.pulse::before,
.pulse::after {
	content: '';
	position: absolute;
	border: 2px solid var(--green);
	left: -20px;
	opacity: 0;
	right: -20px;
	top: -20px;
	bottom: -20px;
	border-radius: 50%;
	animation: pulse 2.5s linear infinite;
}

.pulse::after {
	animation-delay: 1.25s;
}

@keyframes pulse {
	0% {
		transform: scale(0.5);
		opacity: 0;
	}
	50% {
		opacity: 1;
	}
	100% {
		transform: scale(1.2);
		opacity: 0;
	}
}
/* WIDGET */

/*=============== Просмотр лицензии ===============*/
.license__modal {
	position: fixed;
	inset: 0;
	background-color: rgba(0, 0, 0, 0.8);
	padding: 2rem 1rem;
	display: grid;
	place-items: center;
	visibility: hidden;
	opacity: 0;
	transition: 0.4s;
	z-index: 999;
}

.license__modal-content {
	position: relative;
	background-color: var(--black);
	width: 20rem;
	border: 3px solid var(--orange);
	border-radius: 0.5rem;
	cursor: pointer;
	transition: 0.4s;
}

.license__modal-content img {
	overflow: hidden;
}

.license__modal-content img:hover {
	transform: scale(1.5);
}

.license__modal-close {
	position: absolute;
	top: 1rem;
	right: 1rem;
	font-size: 2rem;
	color: var(--orange);
	cursor: pointer;
}

.license__modal-close:hover {
	color: var(--blue);
}

.license__btns {
	position: absolute;
	bottom: -4rem;
	z-index: 9999;
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-around;
}

.license__btn {
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 2rem;
	color: #1a1a1d;
	border-radius: 50%;
	background: #fff;
	width: 3rem;
	height: 3rem;
	transition: 0.3s;
}

.license__btn:hover {
	background: var(--orange);
}

/*Active modal*/
.active-modal {
	opacity: 1;
	visibility: visible;
}
/*=============== Просмотр лицензии ===============*/

/*================= Thanks Modal =================*/
.thanks__modal {
	position: fixed;
	inset: 0;
	background-color: rgba(0, 0, 0, 0.7);
	padding: 2rem 1rem;
	display: grid;
	place-items: center;
	visibility: hidden;
	opacity: 0;
	transition: 0.4s;
	z-index: 9999;
}

.thanks__modal-content {
	position: relative;
	background-color: #fff;
	padding: 1.5rem;
	width: 20rem;
	border: 3px solid var(--orange);
}

.thanks__modal-title,
.thanks__modal-description {
	text-align: center;
}

.thanks__modal-title {
	font-size: var(--h2-font-size);
	color: var(--orange);
	margin-bottom: 1rem;
	line-height: 1;
}

.thanks__modal-description {
	color: var(--black);
	font-size: 1.1rem;
	font-weight: 600;
	margin-bottom: 2rem;
	line-height: 1;
}

.thanks__modal-close {
	position: absolute;
	top: 0.5rem;
	right: 0.5rem;
	font-size: 1.5rem;
	color: var(--gray);
	cursor: pointer;
}

.thanks__modal-close:hover {
	color: var(--orange);
}

/*Active modal*/
.active-modal {
	opacity: 1;
	visibility: visible;
}
/*================= Thanks Modal =================*/

/*================= Doctor Cards =================*/
.our__doctors {
	font-size: 2.5rem;
	text-align: center;
}

.doctor__cards {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: row;
	flex-wrap: wrap;
	margin-top: 1rem;
}

.card_doctor {
	height: 30rem;
	width: 20rem;
	border-radius: 1rem;
	perspective: 1000px;
	margin: 1rem;
}

.flip-card-container {
	height: 100%;
	width: 100%;
	box-sizing: border-box;
	position: relative;
	transform-style: preserve-3d;
	transition: transform 0.8s;
}

.front,
.back {
	display: flex;
	justify-content: space-around;
	align-items: center;
	flex-direction: column;
	height: 100%;
	width: 100%;
	border-radius: 1rem;
	background: #fff;
	box-shadow: 0px 0px 8px 3px var(--orange);
	position: absolute;
	backface-visibility: hidden;
	padding: 1rem 0 1rem 0;
}

.back {
	transform: rotateY(180deg);
	background-color: var(--blue);
}

.flip-card {
	transform: rotateY(180deg);
}

/* photo/logo style */
.img-area {
	height: 19rem;
	width: 18rem;
	display: flex;
	align-items: center;
	justify-content: center;
	background: transparent;
	overflow: hidden;
}

.img-area img {
	height: 100%;
	width: 100%;
	border-radius: 1rem;
	object-fit: cover;
	cursor: pointer;
	transition: 0.4s;
}

.img-area img:hover {
	transform: scale(1.3);
}

.f_name {
	font-size: 1.3rem;
	font-weight: 600;
	color: #1a1a1d;
	margin: 0.5rem 1rem 0 1rem;
	text-align: center;
}

.f_work {
	font-weight: 600;
	font-size: 1.3rem;
	text-align: center;
	line-height: 1;
	color: var(--blue);
}

/* buttons */
.buttons {
	display: flex;
	width: 100%;
	justify-content: space-between;
	padding: 0.5rem 1rem 0 1rem;
	flex-direction: row-reverse;
}

.btn {
	width: 8rem;
	height: 3rem;
	border-radius: 1rem;
	justify-self: center;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	text-decoration: none;
	font-weight: 600;
	font-size: 1.1rem;
	transition: 0.3s ease;
}

.btn__primary {
	background: var(--green);
	color: #fff;
}

.btn__primary:hover {
	color: #1a1a1d;
	box-shadow: 0px 0px 8px 3px var(--green);
}

.btn__secondary {
	color: #292824;
	background: #fff;
	border: 3px solid var(--blue);
}

.btn__secondary:hover {
	background: var(--blue);
	color: #fff;
}

/* BACK CARD */

/* close btn */
hr {
	color: var(--blue);
}

.close {
	font-size: 2rem;
	position: absolute;
	cursor: pointer;
	color: #212121;
	transition: all 0.5s ease;
}

.close:hover {
	color: var(--orange);
}

#close {
	right: 0.5rem;
	top: 0.5rem;
}

.review__btn {
	position: absolute;
	top: 1rem;
	left: 0.5rem;
	background: var(--orange);
	color: #fff;
	padding: 0.5rem;
	border-radius: 0.5rem;
	font-weight: 600;
	cursor: pointer;
}

.review__btn:hover {
	color: var(--black);
	text-decoration: underline;
}

/* other information */
.more__information {
	color: #1a1a1d;
	font-weight: 500;
	font-size: 1rem;
	margin: 3rem 0.5rem 0.5rem 0.5rem;
	text-align: left;
	padding: 1rem;
	justify-self: center;
	width: 19rem;
	height: 100%;
	border-radius: 1rem;
	background-color: #fff;
	overflow: auto;
	/* justify-self: center; */
	/* display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column; */
	gap: 1rem;
}
/*================= Doctor Cards =================*/

/*================= Doctor Zap Modal =================*/
.zap__modal {
	position: fixed;
	inset: 0;
	background-color: rgba(0, 0, 0, 0.7);
	padding: 2rem 1rem;
	display: grid;
	place-items: center;
	visibility: hidden;
	opacity: 0;
	transition: 0.4s;
	z-index: 9999;
}

.zap__modal-content {
	position: relative;
	background-color: #fff;
	padding: 1.5rem;
	width: 20rem;
	border: 3px solid var(--orange);
	border-radius: 0.5rem;
}

.zap__modal-title {
	font-size: var(--h2-font-size);
	color: var(--orange);
	margin-bottom: 1rem;
	line-height: 1;
	text-align: center;
}

.zap__modal-close {
	position: absolute;
	top: 0.5rem;
	right: 0.5rem;
	font-size: 1.5rem;
	color: var(--gray);
	cursor: pointer;
}

.zap__modal-close:hover {
	color: var(--orange);
}

.contact__form_zap,
.contact__group_zap {
	display: grid;
	row-gap: 1.25rem;
}

.contact__form_zap {
	position: relative;
}

.contact__box_zap {
	position: relative;
	width: 100%;
	height: 58px;
}

.contact__input_zap,
.contact__button_zap {
	font-family: var(--body-font);
	font-size: var(--normal-font-size);
	outline: none;
	border: none;
}

.contact__input_zap {
	position: absolute;
	width: 100%;
	height: 100%;
	background-color: #fff;
	border: 3px solid var(--orange);
	color: #1a1a1d;
	padding: 0.5rem 1rem;
	font-weight: 600;
	transition: border 0.4s, background-color 0.4s;
}

.contact__input_zap::placeholder {
	color: var(--black);
	transition: opacity 0.4s;
}

.contact__input_zap:focus {
	box-shadow: 0px 0px 5px 5px var(--orange);
}

.contact__input_zap:-webkit-autofill {
	transition: background-color 6000s, color 6000s;
}

.contact__label_zap {
	position: absolute;
	top: 8px;
	left: 10px;
	color: var(--black);
	font-size: var(--small-font-size);
	font-weight: var(--font-medium);
	background-color: #fff;
	padding: 8px;
	pointer-events: none;
	transition: top 0.4s, opacity 0.4s, background-color 0.4s;
	opacity: 0;
}

.contact__button_zap {
	cursor: pointer;
	background-color: var(--green);
	color: #fff;
	font-size: 1.2rem;
	font-weight: 600;
	border-radius: 0.3rem;
	border: 0;
}

.contact__button_zap:hover {
	box-shadow: 0px 0px 5px 5px var(--blue);
	background: var(--blue);
}

.contact__input_zap:focus::placeholder {
	opacity: 0;
}

.contact__input_zap:focus + .contact__label_zap,
.contact__input_zap:not(:placeholder-shown).contact__input_zap:not(:focus) + .contact__label_zap {
	opacity: 1;
	top: -16px;
}

.input__date {
	border: 3px solid var(--orange);
	height: 3rem;
	text-align: center;
	color: var(--black);
	font-size: var(--small-font-size);
	font-weight: var(--font-medium);
	outline: none;
}

.input__date::placeholder {
	color: var(--black);
	transition: opacity 0.4s;
}

.input__date:focus {
	box-shadow: 0px 0px 5px 5px var(--orange);
}

/*Active modal*/
.active-modal {
	opacity: 1;
	visibility: visible;
}
/*================= Doctor Zap Modal =================*/

/*================= Review Modal =================*/
.rev__modal {
	position: fixed;
	inset: 0;
	background-color: rgba(0, 0, 0, 0.7);
	padding: 2rem 1rem;
	display: grid;
	place-items: center;
	visibility: hidden;
	opacity: 0;
	transition: 0.4s;
	z-index: 9999;
}

.rev__modal-content {
	position: relative;
	background-color: #fff;
	padding: 1.5rem;
	width: 20rem;
	height: 30rem;
	border: 3px solid var(--orange);
	border-radius: 0.5rem;
	overflow: auto;
}

.rev__modal-title {
	font-size: var(--h2-font-size);
	color: var(--orange);
	margin-bottom: 1rem;
	line-height: 1;
	text-align: center;
}

.rev__modal-close {
	position: absolute;
	top: 0.5rem;
	right: 0.5rem;
	font-size: 1.5rem;
	color: var(--gray);
	cursor: pointer;
}

.rev__modal-close:hover {
	color: var(--orange);
}

.pacient {
	text-align: center;
	display: block;
	font-weight: 600;
	font-size: 1.6rem;
}

.pacient__rev {
	text-align: left;
	display: block;
	font-weight: 500;
	font-size: 1rem;
	margin-bottom: 2rem;
}

/*Active modal*/
.active-modal {
	opacity: 1;
	visibility: visible;
}
/*================= Review Modal =================*/

/*================= quiz Modal =================*/
.quiz__modal {
	position: fixed;
	inset: 0;
	background-color: rgba(0, 0, 0, 0.7);
	padding: 2rem 1rem;
	display: grid;
	place-items: center;
	visibility: hidden;
	opacity: 0;
	transition: 0.4s;
	z-index: 9999;
}

.quiz__modal-content {
	position: relative;
	background-color: #fff;
	padding: 1.5rem;
	width: 20rem;
	border: 3px solid var(--blue);
	border-radius: 0.5rem;
	overflow: auto;
}

.quiz__modal-title {
	margin-top: 1rem;
	font-size: 1.2rem;
	color: var(--orange);
	margin-bottom: 1rem;
	line-height: 1;
	text-align: center;
}

.quiz__modal-close {
	position: absolute;
	top: 0.5rem;
	right: 0.5rem;
	font-size: 1.5rem;
	color: var(--gray);
	cursor: pointer;
}

.quiz__modal-close:hover {
	color: var(--orange);
}

/*Active modal*/
.active-modal {
	opacity: 1;
	visibility: visible;
}

/* кнопки */
.answer__btns {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
}

.answer__btn {
	background: var(--green);
	color: #000;
	font-weight: 600;
	width: 15rem;
	height: 3rem;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 0.3rem;
	cursor: pointer;
	padding: 0.2rem 0.5rem;
	margin: 0.5rem;
}

.yes__btn {
	background-color: var(--green);
	text-align: center;
	text-transform: uppercase;
}

.no__btn {
	background-color: var(--blue);
}
/*================= quiz Modal =================*/

/*================= wiki Modal =================*/
.wiki__modal {
	position: fixed;
	inset: 0;
	background-color: rgba(0, 0, 0, 0.7);
	padding: 2rem 1rem;
	display: grid;
	place-items: center;
	visibility: hidden;
	opacity: 0;
	transition: 0.4s;
	z-index: 9999;
}

.wiki__modal-content {
	position: relative;
	background-color: #fff;
	padding: 1.5rem;
	max-width: 40rem;
	height: 80vh;
	border: 3px solid var(--orange);
	border-radius: 0.5rem;
	overflow: auto;
}

.wiki__modal-title {
	font-size: 1.5rem;
	color: #1a1a1d;
	font-weight: bold;
	margin-bottom: 1rem;
	line-height: 1;
	text-align: center;
}

.wiki__text {
	font-size: 1.2rem;
	font-weight: 500;
}

.wiki__modal-close {
	position: absolute;
	top: 0.5rem;
	right: 0.5rem;
	font-size: 1.5rem;
	color: var(--gray);
	cursor: pointer;
}

.wiki__modal-close:hover {
	color: var(--orange);
}

/*Active modal*/
.active-modal {
	opacity: 1;
	visibility: visible;
}
/*================= wiki Modal =================*/

/*================= price Modal =================*/
.price__modal {
	position: fixed;
	inset: 0;
	background-color: rgba(0, 0, 0, 0.7);
	padding: 2rem 1rem;
	display: grid;
	place-items: center;
	visibility: hidden;
	opacity: 0;
	transition: 0.4s;
	z-index: 9999;
}

.price__modal-content {
	position: relative;
	background-color: #fff;
	padding: 0.5rem;
	max-width: 40rem;
	height: 83vh;
	border: 3px solid var(--orange);
	border-radius: 0.5rem;
	overflow: auto;
}

.price__modal-title {
	font-size: 1.5rem;
	color: #1a1a1d;
	font-weight: bold;
	margin-bottom: 1rem;
	line-height: 1;
	text-align: center;
}

.price__title {
	font-size: 1.6rem;
	font-weight: bold;
	color: #000;
	text-align: left;
}

.price__sub__title {
	font-size: 1.3rem;
	font-weight: bold;
	color: #000;
	text-align: left;
}

.service__name__price {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: nowrap;
	flex-direction: row;
	border-bottom: 1px solid var(--blue);
	margin-bottom: 0.3rem;
}

.service__name {
	width: 80%;
	line-height: 1;
	text-align: left;
}

.service__price {
	width: 20%;
	text-align: right;
	font-weight: bold;
}

.price__modal-close {
	position: absolute;
	top: 0.5rem;
	right: 0.5rem;
	font-size: 1.5rem;
	color: var(--gray);
	cursor: pointer;
}

.price__modal-close:hover {
	color: var(--orange);
}

/*Active modal*/
.active-modal {
	opacity: 1;
	visibility: visible;
}

.white_text {
	color: #fff;
	/* visibility: hidden; */
}

@media screen and (min-width: 1200px) {
	.price__modal-content {
		max-width: 60rem;
	}

	.price__modal-close {
		font-size: 3rem;
	}

	.service__name {
		font-size: 1.4rem;
	}

	.service__price {
		font-size: 1.4rem;
	}
}
/*================= wiki Modal =================*/

.zoon-widget-comments {
	margin-left: 2rem;
	margin-right: 2rem;
}

.carusel__coll {
	background: #25d366;
	padding: 0.5rem;
	z-index: 3;
	border-radius: 0.5rem;
	color: #fff;
	font-weight: bold;
	font-size: 1rem;
	margin-bottom: 0.5rem;
}

.carusel__coll i {
	color: #f63;
}

.carusel__coll:hover {
	text-decoration: underline;
}

/* SLIDER */
#slider {
	margin: 0 auto;
	margin-top: 4rem;
	width: 1000px;
	/* height: 514px; */
	max-width: 100%;
	text-align: center;
	position: relative;
}
#slider input[type='radio'] {
	display: none;
}
#slider label {
	cursor: pointer;
	text-decoration: none;
}
#slides {
	/* padding: 10px; */
	/* border: 3px solid #ccc; */
	background: #fff;
	position: relative;
	z-index: 1;
}
#overflow {
	width: 100%;
	overflow: hidden;
}
#slide11:checked ~ #slides .inner {
	margin-left: 0;
}
#slide22:checked ~ #slides .inner {
	margin-left: -100%;
}
#slide33:checked ~ #slides .inner {
	margin-left: -200%;
}
#slide44:checked ~ #slides .inner {
	margin-left: -300%;
}
#slides .inner {
	transition: margin-left 800ms cubic-bezier(0.77, 0, 0.175, 1);
	width: 400%;
	line-height: 1;
	height: 300px;
}
#slides .slide {
	width: 25%;
	float: left;
	display: flex;
	justify-content: center;
	align-items: flex-start;
	height: 100%;
	color: #fff;
	height: 550px;
}

.slide-content {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: row;
}

.slash {
	color: black;
	/* font-weight: bold; */
	font-size: 5rem;
	margin: 1rem;
	margin-top: 35%;
}

.st {
	/* border: 1px solid black; */
	margin-top: 30%;
}

.slide__titile {
	font-weight: 500;
	font-size: 2.5rem;
	/* margin-top: 30%; */
	/* width: 15rem; */
}

.slide__price {
	font-size: 2.5rem;
	color: #1bc4c0;
	font-weight: 500;
	margin-top: 0.5rem;
}

#slides .slide_1 {
	background: url(images/6.png);
	background-size: cover;
	background-position: 0 100%;
	border-radius: 0.5rem;
}

#slides::before {
	content: '';
	z-index: 1;
	width: 100%;
	height: 100%;
	display: block;
	position: absolute;
	background: linear-gradient(0deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0) 40%);
}

#slides .slide_2 {
	background: url(images/6.png);
	background-size: cover;
	background-position: 0 100%;
	border-radius: 0.5rem;
}
#slides .slide_3 {
	background: url(images/6.png);
	background-size: cover;
	background-position: 0 100%;
	border-radius: 0.5rem;
}
#slides .slide_4 {
	background: url(images/6.png);
	background-size: cover;
	background-position: 0 100%;
	border-radius: 0.5rem;
}
#controls {
	margin: -180px 0 0 0;
	width: 100%;
	height: 50px;
	z-index: 3;
	position: relative;
}
#controls label {
	transition: opacity 0.2s ease-out;
	display: none;
	width: 50px;
	height: 50px;
	opacity: 0.4;
}
#controls label:hover {
	opacity: 1;
}

#slide11:checked ~ #controls label:nth-child(2),
#slide22:checked ~ #controls label:nth-child(3),
#slide33:checked ~ #controls label:nth-child(4),
#slide44:checked ~ #controls label:nth-child(1) {
	float: right;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: -100px -50px 0 0;
}

#slide11:checked ~ #controls label:nth-last-child(1),
#slide22:checked ~ #controls label:nth-last-child(4),
#slide33:checked ~ #controls label:nth-last-child(3),
#slide44:checked ~ #controls label:nth-last-child(2) {
	display: flex;
	align-items: center;
	justify-content: center;
	float: left;
	margin: -100px 0 0 -50px;
	transform: rotate(180deg);
}

#bullets {
	margin: 0 0 0.5rem 0;
	text-align: center;
}

#bullets label {
	display: inline-block;
	width: 10px;
	height: 10px;
	border-radius: 100%;
	background: #d19371;
	margin: 0 3px;
}

#slide11:checked ~ #bullets label:nth-child(1),
#slide22:checked ~ #bullets label:nth-child(2),
#slide33:checked ~ #bullets label:nth-child(3),
#slide44:checked ~ #bullets label:nth-child(4) {
	background: #1bc4c0;
}

@media screen and (max-width: 900px) {
	#slide11:checked ~ #controls label:nth-child(2),
	#slide22:checked ~ #controls label:nth-child(3),
	#slide33:checked ~ #controls label:nth-child(4),
	#slide44:checked ~ #controls label:nth-child(1),
	#slide11:checked ~ #controls label:nth-last-child(2),
	#slide22:checked ~ #controls label:nth-last-child(3),
	#slide33:checked ~ #controls label:nth-last-child(4),
	#slide44:checked ~ #controls label:nth-last-child(1) {
		margin: 0 -0.5rem;
	}

	#slide11:checked ~ #controls label:nth-last-child(1),
	#slide22:checked ~ #controls label:nth-last-child(4),
	#slide33:checked ~ #controls label:nth-last-child(3),
	#slide44:checked ~ #controls label:nth-last-child(2) {
		margin: 0 -0.5rem;
		transform: rotate(180deg);
	}

	#slides {
		/* max-width: calc(100% - 140px); */
		margin: 0 2rem;
	}

	#slides .slide {
		height: 20rem;
	}

	#slides .slide_1 {
		background: url(images/6.png);
		background-size: cover;
		background-position: 50% 100%;
		border-radius: 0.5rem;
	}
	#slides .slide_2 {
		background: url(images/6.png);
		background-size: cover;
		background-position: 50% 100%;
		border-radius: 0.5rem;
	}
	#slides .slide_3 {
		background: url(images/6.png);
		background-size: cover;
		background-position: 50% 100%;
		border-radius: 0.5rem;
	}
	#slides .slide_4 {
		background: url(images/6.png);
		background-size: cover;
		background-position: 50% 100%;
		border-radius: 0.5rem;
	}

	.home__title h2 {
		font-size: 3.6rem;
	}

	.slide__titile {
		font-size: 1.4rem;
		font-weight: 600;
		/* top: -10rem;		 */
	}
}

@media (max-width: 700px) {
	.home__address_time {
		display: none;
	}

	.home__title {
		margin-top: 5.5rem;
	}

	.home__title h2 {
		font-size: 3.6rem;
	}

	.home__title h1 {
		font-size: 0.8rem;
	}

	.slide__titile {
		font-size: 1.4rem;
		font-weight: 600;
		/* margin-top:10%; */
		/* background: rgba(0, 0, 0, 0.05); */
		/* width: 8rem; */
		
	}

	.slide__price {
		font-size: 1.8rem;
		/* background: rgba(0, 0, 0, 0.3); */
		font-weight: bold;
		border-radius: .5rem;
	}

	.slash {
		font-size: 4rem;
		margin: 0.5rem;
		margin-top: 33%;
	}

	.breket{
		/* border: 1px solid  black; */
		/* height: 6rem; */
		/* padding-top: 1.5rem; */
	}

	.home__write {
		width: 8rem;
		height: 2.5rem;
		font-size: 0.9rem;
		margin: 0.5rem;
	}

	.home__phone {
		width: 10rem;
		height: 2.5rem;
		font-size: 0.7rem;
		margin: 0.5rem;
	}

	.home__phone__social .home__phone i {
		font-size: 1.3rem;
	}

	.home__phone__social p {
		font-size: 0.9rem;
	}
}

#close-price {
	color: red;
}
#close-price:hover {
	color: rgb(153, 9, 9);
}
