@font-face {
  font-display: swap;
  font-family: 'Play';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/play-v19-latin-regular.woff2') format('woff2'),
    url('../fonts/play-v19-latin-regular.ttf') format('truetype');
}

@font-face {
  font-display: swap;
  font-family: 'Play';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/play-v19-latin-700.woff2') format('woff2'),
    url('../fonts/play-v19-latin-700.ttf') format('truetype');
}

@font-face {
  font-display: swap;
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/roboto-v30-latin-regular.woff2') format('woff2'),
    url('../fonts/roboto-v30-latin-regular.ttf') format('truetype');
}

@font-face {
  font-display: swap;
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 500;
  src: url('../fonts/roboto-v30-latin-500.woff2') format('woff2'),
    url('../fonts/roboto-v30-latin-500.ttf') format('truetype');
}

@font-face {
  font-display: swap;
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/roboto-v30-latin-700.woff2') format('woff2'),
    url('../fonts/roboto-v30-latin-700.ttf') format('truetype');
}

/*variable*/
:root {
  --color-primary-dark: #011c44;
  --color-primary-light: #2b7fff;
  --color-white: #ffffff;
  --color-gray: #4A4A4A;
}

/*Base*/
*,
*::before *::after {
  box-sizing: border-box;
}

/*body*/
body {
  color: var(--color-primary-dark);
  font-family: Roboto, sans-serif;
  font-size: 22px;
  font-weight: 400;
  line-height: 1.7;
  margin: 0;
}

h1,
h2,
h3,
h4,
h5,
p {
  margin-top: 0;
}

.a {
  display: inline-block;
}

address {
  font-style: normal;
}

ul {
  margin: 0;
  padding: 0;
  list-style-type: none;
}

.section {
  padding: 48px 0;
}

.section-reviews {
  padding: 88px 0 48px 0;
}

.logo {
  color: var(--color-primary-light);
  background: var(--color-primary-dark);
  font-weight: bold;
  font-size: 24px;
  font-weight: 700;
  line-height: 0.8;
  padding: 56px 0 40px 0;
}

/*container*/
.container {
  width: 100%;
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 24px;
}

.maps {
  width: 100%;
  max-width: 605px;
  height: 480px;
  border-radius: 32px;
  border: none;
}

/*button*/
.button {
  font-family: Roboto, sans-serif;
  padding: 16px 32px;
  margin-bottom: 14px;
  color: var(--color-white);
  font-size: 18px;
  font-weight: 600;
  background-color: var(--color-primary-light);
  border: 2px solid var(--color-primary-light);
  border-radius: 35px;
  cursor: pointer;
  width: 229px;
  height: 73px;
  line-height: 1.2;
}

.button-maps {
  font-family: Roboto, sans-serif;
  padding: 16px 32px;
  margin-bottom: 8px;
  margin-left: 70px;
  color: var(--color-white);
  font-size: 16px;
  font-weight: 600;
  background-color: var(--color-primary-light);
  border: 2px solid var(--color-primary-light);
  border-radius: 32px;
  cursor: pointer;
  width: 281px;
  height: 53px;
  line-height: 1.16;
}

.coment-button {
  margin: 0 0 0 20px;
  font-size: 12px;
  font-weight: 400;
  color: var(--color-gray);
  line-height: 1.5;
}

.button:hover {
  color: var(--color-brand-dark);
  background-color: transparent;
  border: 4px solid var(--color-primary-light);
}

.button-maps:hover {
  color: var(--color-white);
  background-color: transparent;
  border: 4px solid var(--color-primary-light);
}

.under-the-button {
  color: #747272;
  text-align: center;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.5;
  margin-top: 0;
}

/*link*/
.link-nav-header {
  color: var(--color-primary-dark);
  text-decoration: none;
}

.link-nav-header:hover {
  color: var(--color-primary-light);
  font-weight: 600;
}

.link-nav-footer {
  color: var(--color-white);
  text-decoration: none;
}

.link-nav-footer:hover {
  color: var(--color-primary-light);
  font-weight: 600;
}

.address-link {
  font-size: 16px;
  font-weight: 300;
  color: var(--color-white);
  text-decoration: none;
}

.address-link:hover {
  color: var(--color-primary-light);
}

.address-copyright {
  font-size: 13px;
  font-weight: 400;
  color: #747272;
}

/*title*/
.title {
  line-height: 21.09px;
  padding: 0 0 16px 0;
}

/*Header*/
.header-container {
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 40px;
  background-color: rgba(255, 255, 255, 0.5);
  width: 1260px;
  height: 106px;
}

.header-nav {
  display: flex;
  align-items: center;
  flex-grow: 1;
  gap: 40px;
}

.header-menu {
  display: flex;
  align-items: center;
  gap: 64px;
  flex-grow: 1;
  justify-content: end;
  margin-right: 0;
}

.header-menu-icons {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-grow: 1;
  gap: 35px;
  width: 32px;
  height: 32px;
  margin-left: 240px;
}

/*hero*/
.hero-section {
  padding: 123px 0 0 205px;
  background-image: url('../images/Hero-title.jpg');
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
}

.hero-title {
  margin-bottom: 0;
  color: var(--color-primary-light);
  text-align: left;
  font-size: 140px;
  font-weight: 700;
  line-height: 0.8;
  padding: 0 0 40px 0;
}

.hero-title .accent {
  color: var(--color-primary-light);
  font-family: Play, sans-serif;
  font-size: 140px;
  font-weight: 700;
}

.section-title {
  font-size: 64px;
  font-weight: 700;
  line-height: 1.15;
  color: var(--color-primary-dark);
}

.section-title .accent {
  color: var(--color-primary-light);
  font-weight: 700;
}

.accent-brend {
  font-family: Play, sans-serif;
  font-weight: bold;
}

/*about-clinic*/
.section-about-clinic {
  padding: 166px;
}

.about-clinic-container {
  display: flex;
  align-items: flex-start;
  height: 695px;
}

.about-clinic-content {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  flex-grow: 1;
  flex: auto;
  gap: 20px;
  max-width: 709px;
  padding: 28px;
}

.about-clinic-image {
  display: flex;
  align-content: space-around;
  gap: 32px;
  height: 325px;
  width: 328px;
}

.img-clinic {
  display: flex;
  flex-direction: column;
  width: 500px;
  justify-content: space-between;
}

.img-clinic1 {
  border-radius: 50% 50%;
}

.img-clinic2 {
  margin-left: 173px;
  border-radius: 50% 50%;
}

.about-clinic-title {
  margin-bottom: 40px;
  font-family: Play, sans-serif;
  font-weight: 700;
}

.about-clinic-text:last-child {
  max-width: 570px;
}

/*section-reviews*/
.section-reviews {
  padding-top: 0;

}

.reviews-container {
  display: flex;
  align-items: center;
  flex-grow: 1;
  gap: 40px;
}

.reviews-services-our-specialists-title {
  margin-bottom: 48px;
  text-align: center;
}

.reviews-container-icons {
  display: flex;
  align-items: center;
  gap: 56px;
  flex-grow: 1;
  justify-content: center;
}

.reviews-text {
  font-size: 18px;
  line-height: 1.3;
  font-weight: 400;
  text-align: center;
  margin: 0;
}

.reviews-container-menu {
  background-color: var(--color-white);
  border: 1px;
  border-radius: 32px;
  width: 316px;
  height: 181px;
}

.reviews-container-menu .icons {
  display: block;
  margin-left: auto;
  margin-right: auto;
  padding-top: 26px;
  padding-bottom: 8px;
}

/*section-services*/
.section-services {
  padding-top: 96px;
  margin-top: 0;
}

.services-container {
  display: flex;
  align-items: center;
  gap: 32px;
}

.services-container-image {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

.formats-item {
  flex-basis: calc((100%-16px)/3);
}

.services-image {
  border-radius: 120px 4px 120px 4px;
}

/*section-button*/
.carousel-butto {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  padding: 0;
  fill: var(--color-gray);
  background-color: transparent;
  border-radius: 50%;
  border: 1px solid var(--color-gray);
  cursor: pointer;
}

.carousel-butto:hover {
  background-color: var(--color-primary-light);
  fill: var(--color-white);
}


/*our-specialists*/
.section-specialists {
  background: var(--color-primary-dark);
  border: 1px solid #2b7fff;
  border-radius: 32px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  width: 423px;
  height: 481px;
  background-image: url('../images/background-figura.png');
  margin: 0;
}

.entry-specialists {
  display: flex;
  flex-direction: column;
  font-size: 13px;
  text-align: left;
  width: 244px;
  color: var(--color-white);
  line-height: 1.15;
  gap: 18px;
}

.border-entry {
  border: 2px solid var(--color-gray);
  border-radius: 32px;
  width: 313px;
  margin-bottom: 18px;
  margin-left: 20px;
  height: 52px;
  padding: 3px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;

}

.our-specialists {
  color: var(--color-white);
  text-align: center;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.2;
}

.our-specialists .accent {
  color: var(--color-primary-light);
}

.our-specialists-maps-forms {
  display: flex;
  justify-content: center;
  gap: 32px;
}

/*bottom-nav*/
.bottom-nav {
  background-color: var(--color-primary-dark);
  background-image: url(../images/pexels-photo.png), url(../images/background-figura.png);
  background-repeat: no-repeat;
  background-position: bottom right;

}

/*footer*/
.footer-nav-and-adress {
  display: flex;
  flex-direction: column;
}

.nav-and-adress {
  display: flex;
  gap: 186px;
}

.nav-logo-and-link {
  display: flex;
  gap: 186px;
}

.nav-link {
  margin-top: 56px;
}

.address-links-and-icons {
  display: flex;
  flex-direction: column;
  margin-top: 56px;
}

.adress-social {
  fill: var(--color-white);
}

.adress-social:hover {
  fill: var(--color-primary-light);
}

.address-icon {
  display: flex;
  flex-direction: row;
  margin-top: 16px;
}

.address-and-copyright {
  display: flex;
  flex-direction: column;
  margin-top: 56px;
  width: 205px;
  padding-top: 16px;
}

/*fon*/
.fon-clinic-and-reviews {
  background-image: url(' ../images/fon2.png');
  background-repeat: no-repeat;
  background-position: center 220px;
  background-size: 100% auto;
}