@charset "UTF-8";
/**
  Нормализация блочной модели
 */
*,
::before,
::after {
  box-sizing: border-box;
}

/**
  Убираем внутренние отступы слева тегам списков,
  у которых есть атрибут class
 */
:where(ul, ol):where([class]) {
  padding-left: 0;
}

/**
  Убираем внешние отступы body и двум другим тегам,
  у которых есть атрибут class
 */
body,
:where(blockquote, figure, fieldset):where([class]) {
  margin: 0;
}

/**
  Убираем внешние отступы вертикали нужным тегам,
  у которых есть атрибут class
 */
:where(h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
ol,
dl):where([class]) {
  margin-block: 0;
}

:where(dd[class]) {
  margin-left: 0;
}

:where(fieldset[class]) {
  padding: 0;
  border: none;
}

/**
  Убираем стандартный маркер маркированному списку,
  у которого есть атрибут class
 */
:where(ul[class]) {
  list-style: none;
}

:where(address[class]) {
  font-style: normal;
}

/**
  Обнуляем вертикальные внешние отступы параграфа,
  объявляем локальную переменную для внешнего отступа вниз,
  чтобы избежать взаимодействие с более сложным селектором
 */
p {
  --paragraphMarginBottom: 24px;
  margin-block: 0;
}

/**
  Внешний отступ вниз для параграфа без атрибута class,
  который расположен не последним среди своих соседних элементов
 */
p:where(:not([class]):not(:last-child)) {
  margin-bottom: var(--paragraphMarginBottom);
}

/**
  Упрощаем работу с изображениями и видео
 */
img,
video {
  display: block;
  max-width: 100%;
  height: auto;
}

/**
  Наследуем свойства шрифт для полей ввода
 */
input,
textarea,
select,
button {
  font: inherit;
}

html {
  /**
    Пригодится в большинстве ситуаций
    (когда, например, нужно будет "прижать" футер к низу сайта)
   */
  height: 100%;
  /**
    Убираем скачок интерфейса по горизонтали
    при появлении / исчезновении скроллбара
   */
  scrollbar-gutter: stable;
  /**
    Плавный скролл
   */
  scroll-behavior: smooth;
}

body {
  /**
    Пригодится в большинстве ситуаций
    (когда, например, нужно будет "прижать" футер к низу сайта)
   */
  min-height: 100%;
  /**
    Унифицированный интерлиньяж
   */
  line-height: 1.5;
}

/**
  Нормализация высоты элемента ссылки при его инспектировании в DevTools
 */
a:where([class]) {
  display: inline-flex;
}

/**
  Курсор-рука при наведении на элемент
 */
button,
label {
  cursor: pointer;
}

/**
  Убирает серую подсветку при тапе на мобильных устройствах (iOS/Android)
 */
button {
  -webkit-tap-highlight-color: transparent;
}

/**
  Приводим к единому цвету svg-элементы
  (за исключением тех, у которых уже указан
  атрибут fill со значением 'none' или начинается с 'url')
 */
:where([fill]:not([fill=none],
[fill^=url])) {
  fill: currentColor;
}

/**
  Приводим к единому цвету svg-элементы
  (за исключением тех, у которых уже указан
  атрибут stroke со значением 'none')
 */
:where([stroke]:not([stroke=none],
[stroke^=url])) {
  stroke: currentColor;
}

/**
  Чиним баг задержки смены цвета при взаимодействии с svg-элементами
 */
svg * {
  transition-property: fill, stroke;
}

/**
  Приведение рамок таблиц в классический 'collapse' вид
 */
:where(table) {
  border-collapse: collapse;
  border-color: currentColor;
}

/**
  Удаляем все анимации и переходы для людей,
  которые предпочитают их не использовать
 */
@media (prefers-reduced-motion: reduce) {
  *,
  ::before,
  ::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
@font-face {
  font-family: "OpenSans-Regular";
  src: url("../fonts/OpenSans-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: normal;
}
@font-face {
  font-family: "OpenSans-Bold";
  src: url("../fonts/OpenSans-Bold.ttf") format("truetype");
  font-style: normal;
  font-weight: normal;
}
@font-face {
  font-family: "OpenSans-Bolditalic";
  src: url("../fonts/OpenSans-BoldItalic.ttf") format("truetype");
  font-style: normal;
  font-weight: normal;
}
/* Page */
.grid-container {
  display: grid;
  grid-template-columns: 1fr minmax(auto, 1320px) 1fr;
  grid-template-rows: minmax(126px, auto) 1fr 509px;
  grid-template-areas: "header header header" ". main ." "footer footer footer";
}

/* Header */
header {
  grid-area: header;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 5%;
  background-color: rgb(58, 149, 209);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

nav {
  display: flex;
  width: 1320px;
  align-items: center;
  justify-content: space-between;
}

/* Main */
main {
  grid-area: main;
}

/* Footer */
footer {
  color: #fff;
  background-color: rgb(153, 153, 255);
  font-family: OpenSans-Regular, sans-serif;
  font-weight: normal;
  font-size: 14pt;
  box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
  grid-area: footer;
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer-container {
  display: flex;
  flex-direction: column;
  width: 1320px;
  align-items: center;
  justify-content: space-around;
}

/** Adaptivity **/
@media (max-width: 1320px) {
  .grid-container {
    gap: 0 20px;
  }
}
.about {
  display: flex;
  padding: 10px;
  gap: 10px;
  align-items: center;
  background-color: #f5f5dc;
  border-radius: 8px;
}
.about .circle-avatar {
  width: 150px;
  height: 150px;
  border: 5px solid #BCB4D5;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}
.about .circle-avatar img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  display: block;
}
.about .card .main-text {
  padding: 20px 40px;
  text-align: justify;
  font-size: 14pt;
  font-style: italic;
}
.about .card .exp-text {
  color: #ff6819;
  text-align: left;
  font-size: 14pt;
  font-weight: bold;
}

/** Adaptivity **/
@media (max-width: 992px) {
  .about {
    display: flex;
    flex-direction: column;
    padding: 10px;
    gap: 10px;
    align-items: center;
  }
  .about .circle-avatar {
    width: 100px;
    height: 100px;
    border: 3px solid #BCB4D5;
  }
  .about .card .main-text {
    padding: 5px 10px;
    font-size: 12pt;
    text-align: center;
  }
  .about .card .exp-text {
    color: #ff6819;
    text-align: left;
    font-size: 12pt;
    text-align: center;
  }
}
.services-section {
  font-weight: normal;
  font-size: 12pt;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.service-card {
  text-align: center;
}

.service-card h5 {
  color: #FF6819;
  font-size: 16pt;
  font-weight: bold;
  padding-top: 10px;
}

.service-info-btn {
  border: none;
  background: transparent;
  cursor: help;
  outline: none;
  color: #95C25D;
  font-weight: bold;
  font-size: 14pt;
}
.service-info-btn:hover {
  color: #FF6819;
}

.service-close-btn {
  position: absolute;
  top: 5px;
  right: 5px;
  background: transparent;
  border: none;
  width: 36px;
  height: 36px;
  cursor: pointer;
  outline: none;
}

.service-close-btn svg {
  color: #e74c3c;
  width: 20px;
  height: 20px;
}

.service-close-btn:hover svg {
  color: #ff6b5a;
}

.service-card.flip-card {
  position: relative;
  width: 100%;
  height: 350px;
  perspective: 1000px;
}

.card-face {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  overflow: hidden;
}

.card-front {
  background-color: #f5f5dc;
  border-radius: 8px;
}

.card-back {
  background: #f5f5dc;
  transform: rotateY(180deg);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.service-card.flipped .card-back {
  transform: rotateY(0deg);
}

.card-face {
  transition: transform 0.6s ease;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 200px);
  gap: 10px;
  justify-content: center;
}

.gallery-grid a {
  display: flex;
  max-width: 200px;
  max-height: 200px;
  overflow: hidden;
  border-radius: 8px;
  background-color: #f0f0f0;
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.faq-section {
  font-weight: normal;
  font-size: 14pt;
}

.faq-list {
  display: grid;
  gap: 25px;
}

.faq-item {
  background-color: beige;
  padding: 20px;
  border-radius: 8px;
  border-left: 4px solid #95C25D;
}

.faq-item h3 {
  color: #ff6819;
  font-size: 16pt;
  font-weight: bold;
  margin-bottom: 10px;
}

.faq-item p {
  margin-bottom: unset;
}

.reviews {
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
}
.reviews img {
  width: 75%;
  height: 75%;
}

.review {
  flex-basis: 200px;
  border-radius: 8px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.review img:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

/** Main styles **/
* {
  margin: 0;
  padding: 0;
}

body {
  margin: 0;
  height: 100%;
  font-family: OpenSans-Regular, sans-serif;
  font-weight: normal;
  font-size: 12pt;
  line-height: 1.5;
}

a {
  text-decoration: none;
}

h3 {
  color: #FF6819;
}

/** Sections **/
.section-header {
  padding-top: 50px;
  padding-bottom: 10px;
  text-align: center;
  color: #3A95D1;
  font-family: OpenSans-BoldItalic, sans-serif;
  font-weight: normal;
}

.section-no-data {
  color: #ff6819;
  font-size: 16pt;
  font-weight: bold;
}

/** Header content **/
.logo {
  display: flex;
  align-items: center;
  justify-content: center;
}
.logo img {
  height: 100px;
  width: auto;
}

.text-logo {
  max-width: 470px;
  color: #fff;
  font-family: OpenSans-Bolditalic, sans-serif;
  font-weight: normal;
  font-size: 28px;
  margin-left: 10px;
}

.contact {
  display: flex;
  align-items: center;
  gap: 2rem;
  color: #fff;
  font-family: OpenSans-Regular, sans-serif;
  font-weight: normal;
}
.contact a {
  color: #fff;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: color 0.3s;
}
.contact a:hover {
  color: #F5C032;
}
.contact .icon {
  fill: #FF6819;
  width: 48px;
  height: 48px;
}

/** Footer content **/
address {
  margin-bottom: 1rem;
}

#address {
  display: flex;
  align-items: start;
  justify-content: space-between;
}
#address .card {
  padding: 20px 20px 20px 0;
}
#address .card-title {
  font-size: 16pt;
  font-weight: bold;
}
#address .card-body {
  color: #fff;
  background-color: rgb(153, 153, 255);
}

.directions {
  color: #fff;
  background-color: rgb(153, 153, 255);
}
.directions p {
  display: flex;
  align-items: center;
}

.location {
  padding: 20px 0;
  min-width: 864px;
}

.copyright {
  width: 100%;
  grid-area: copyright;
  text-align: left;
}
.copyright .line {
  margin: 1rem 0;
  border: 1px solid #fff;
  opacity: 0.5;
}

/** Up button **/
#btn-up {
  display: none;
  position: fixed;
  color: #fff;
  opacity: 0.4;
  background-color: #F5C032;
  bottom: 100px;
  border-radius: 50%;
  right: 100px;
  width: 50px;
  height: 50px;
  z-index: 100;
  outline: 0 !important;
}
#btn-up:hover {
  cursor: pointer;
  opacity: 1;
}
#btn-up:after {
  content: "";
  width: 10px;
  height: 10px;
  border-top: 2px solid #fff;
  border-left: 2px solid #fff;
  transform: rotate(45deg);
  position: absolute;
  top: 4px;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
}

/** Login page **/
.login-container {
  grid-column-start: 2;
  justify-items: center;
  align-content: center;
  margin-top: 3rem;
}

.login-card {
  border: 0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175);
}
.login-card .card-header {
  color: #fff;
  background-color: #3A95D1;
  text-align: center;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}
.login-card .card-body {
  padding: 24px;
}
.login-card .card-body form {
  display: flex;
  max-width: 400px;
  flex-direction: column;
  gap: 10px;
}
.login-card .card-body form input {
  padding: 0.375rem 0.75rem;
}
.login-card .login-btn-container {
  display: grid;
  font-weight: bold;
}
.login-card .login-btn {
  border: none;
  padding: 10px;
  margin-top: 10px;
  border-radius: 8px;
  background-color: #9999ff;
  color: #fff;
}
.login-card .login-btn:hover {
  background-color: #95C25D;
}

/** Adaptivity **/
@media (max-width: 992px) {
  header {
    flex-wrap: wrap;
    justify-content: center;
    padding: 10px;
  }
  .nav {
    flex-direction: column;
  }
  .logo img {
    width: 75px;
    height: 75px;
  }
  .text-logo {
    font-size: 18px;
    text-align: center;
  }
  .about {
    display: flex;
    flex-direction: column;
    padding: 10px;
    gap: 10px;
    align-items: center;
  }
  .about .circle-avatar {
    width: 100px;
    height: 100px;
    border: 3px solid #BCB4D5;
  }
  .about .card .main-text {
    padding: 5px 10px;
    font-size: 12pt;
    text-align: center;
  }
  .about .card .exp-text {
    color: #ff6819;
    text-align: left;
    font-size: 12pt;
    text-align: center;
  }
  .contact {
    gap: 1rem;
  }
  .contact span {
    display: none;
  }
  .contact .icon {
    width: 32px;
    height: 32px;
  }
  .contact a {
    justify-content: center;
  }
  .socials img {
    width: auto;
    height: 50%;
  }
  footer {
    height: fit-content;
    padding: 20px;
  }
  #address {
    flex-direction: column;
    justify-items: center;
  }
  #address .card {
    padding: 10px;
  }
  .location {
    min-width: 100%;
    align-self: center;
  }
  .copyright {
    text-align: center;
  }
  #logopedCarousel .carousel-item {
    max-height: 205px;
  }
  #btn-up {
    display: none !important;
  }
}
@media (max-width: 1200px) {
  footer {
    height: fit-content;
  }
  #address {
    flex-direction: column;
    justify-items: center;
  }
  #address .card {
    padding: 20px;
  }
}
@media (min-width: 1200px) {
  h1 {
    font-size: 2.5rem;
  }
}/*# sourceMappingURL=main.min.css.map */