:root {
  --main-color: #f4edea;
  --dark-text: #08273c;
  --light-blue: #00bfc3;
  --price-bgc: #bfd9d2;
}
.wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  overflow: hidden;
  min-height: 100%;
}
.container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 24px;
}
*,
*::after,
*::before {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
body {
  font-family: "Roboto Flex", sans-serif;
  line-height: 1.3;
  background-color: var(--main-color);
  margin: 0;
}
ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  vertical-align: top;
}
h1,
h2,
h3,
h4,
h5,
h6,
p {
  margin-top: 0;
}
a {
  display: inline-block;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
  -o-object-fit: cover;
  object-fit: cover;
}
.header {
  z-index: 100;
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
}
.header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #08273c;
  z-index: 2;
}
.header__logo {
  -webkit-box-flex: 0;
  -ms-flex: 0 0 150px;
  flex: 0 0 150px;
  position: relative;
  z-index: 3;
}
.header__logo img {
  display: block;
  max-width: 100%;
}
.header__inner {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  position: relative;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  height: 80px;
}
.menu__list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 22px;
  position: relative;
  z-index: 2;
}
.menu__list-link {
  color: #fff;
  font-size: clamp(14px, 1.8vw, 50px);
  font-weight: 500;
  -webkit-transition: color 0.5s;
  transition: color 0.5s;
}
.menu__list-link:hover {
  color: var(--light-blue);
}
.header__btn {
  position: relative;
  width: 30px;
  height: 20px;
  display: none;
}
.header__btn.active::before {
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
  top: 9px;
}
.header__btn.active::after {
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
  bottom: 9px;
}
.header__btn.active span {
  -webkit-transform: scale(0);
  transform: scale(0);
}
.header__btn span {
  position: absolute;
  background-color: #fff;
  width: 100%;
  height: 2px;
  left: 0;
  top: 9px;
  -webkit-transition: 0.5s;
  transition: 0.5s;
}
.header__btn::before,
.header__btn::after {
  content: "";
  background-color: #fff;
  position: absolute;
  width: 100%;
  height: 2px;
  left: 0;
  -webkit-transition: 0.5s;
  transition: 0.5s;
}
.header__btn::before {
  top: 0;
}
.header__btn::after {
  bottom: 0;
}

.visible {
  background-color: #fff;
}
.hero-section {
  color: #fff;
  opacity: 0.7;
  text-align: center;
  padding-top: 170px;
  padding-bottom: 50px;
  line-height: 0.5;
  position: absolute;
  z-index: 5;
  left: 0;
  right: 0;
}



.title {
  font-size: clamp(25px, 4.5vw, 80px);
  font-weight: 700;
  word-spacing: 25px;
}
.hero__subtitle {
  color: var(--light-blue);
  font-size: clamp(15px, 3vw, 60px);
  font-weight: 700;
  padding-bottom: 500px;
  word-spacing: 20px;
}
.menu__btn {
  display: none;
}

.about__content {
  position: relative;
  height: 100vh;
}
.about__img {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  -o-object-fit: cover;
  object-fit: cover;
}



.about__text {
  display: inline-block;
  position: absolute;
  text-align: center;
  font-size: 18px;
  font-weight: 700;
  color: var(--main-color);
  line-height: 1.2;
  top: 50px;
  left: 52px;
  right: 53px;
}

.about__text span {
  color: #06bcc1;
}

.about__text p {
  margin: 0; /* Видаляє зовнішні відступи */
  padding-top: 8px; /* Видаляє внутрішні відступи */
}


.direction-title {
  text-align: center;
  font-size: 40px;
  font-weight: 700;
  padding-top: 100px;
}
.directions-list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -ms-flex-pack: distribute;
  justify-content: space-around;
  list-style: none;
  padding: 0;
}




.directions-item {
  width: 300px;
  margin-bottom: 80px;
  padding: 0 10px;
}
.directions-card {
  border: 3px solid var(--light-blue);
  border-radius: 8px;
  overflow: hidden;
  text-align: center;
  background-color: var(--light-blue);

  cursor: pointer;
}
.directions-img {
  width: 100%;
  height: 35vh;
  -o-object-fit: cover;
  object-fit: cover;
  border-bottom: 1px solid var(--light-blue);
  -webkit-filter: brightness(90%);
  filter: brightness(90%);
}
.directions-title {
  margin: 15px 0;
  font-size: 1.2em;
  color: var(--dark-text);
}
.teachers-title {
  text-align: center;
  font-size: 40px;
  font-weight: 700;
  padding-top: 100px;
}
.teachers-list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -ms-flex-pack: distribute;
  justify-content: space-around;
  list-style: none;
  padding: 0;
  gap: 40px 40px;
}



.list-item {
  width: 350px;
  margin-bottom: 20px;
  padding: 0 10px;
}
.teachers-card {
  border-radius: 8px;
  overflow: hidden;
  text-align: center;
  background-color: var(--dark-text);

}
.teachers-img {
  width: 100%;
  height: 45vh;

  border-radius: 4px 4px 4px 200px;

}
.text-item {
  height: 150px;
  padding: 0 5px;
}
.name {
  font-size: 18px;
  font-weight: 700;
  color: var(--main-color);
  margin-top: 10px;
  margin-bottom: 0;
}
.instrument {
  font-style: italic;
  font-size: 12px;
  font-weight: 600;
  color: var(--main-color);
  padding: 0;
}
.slogan {
  font-size: 12px;
  font-weight: 600;
  color: var(--light-blue);
  margin-top: 30px;
}

.big {
  margin-top: -5px;
}
.prices__title {
  text-align: center;
  font-size: 40px;
  font-weight: 700;
  padding-top: 100px;
}

.trial__lesson {
  text-align: center;
  font-size: 60px;
  font-weight: 700;
  padding-top: 100px;
}
.prices__list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: distribute;
  justify-content: space-around;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  padding-top: 30px;
}
.prices__item {
  position: relative;
  width: 330px;
  margin-bottom: 80px;
  padding: 0 10px;
  text-align: center;
  overflow: hidden;
  border-radius: 20px;
}
.prices__item::after {
  content: "";
  position: absolute;
  z-index: -5;
  inset: 5px;
  background: #103751;
  border-radius: 20px;
}
.prices__item-title {
  margin-top: 20px;
  font-size: 2em;
  color: var(--main-color);
}
.prices__item-text {
  margin: 30px 0;
  color: var(--main-color);
  line-height: 2.5;
  font-size: 2em;
}

.swiper::after {
  content: "";
  background: rgba(21, 21, 21, 0.3);
  position: absolute;
  z-index: 5;
  left: 0;
  right: 0;
  bottom: 0;
  top: 0;
}
 .for .swiper-slide {
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  height: 100vh;
}



.swiper-pagination-bullet {
  width: 120px;
  height: 3px;
  background-color: #151515;
  border-radius: 0;
  opacity: 1;
}
.swiper-pagination-horizontal.swiper-pagination-bullets
  .swiper-pagination-bullet {
  margin: 0 15px;
}
.swiper-pagination-bullets,
.swiper-pagination-bullets.swiper-pagination-horizontal {
  bottom: 50px;
}
.swiper-pagination-bullet-active {
  height: 6px;
  background-color: #fff;
}
.forms-title {
  text-align: center;
  font-size: 40px;
  font-weight: 700;
  padding-top: 100px;
}
.forms__container {
  margin: 0 auto;
  margin-bottom: 150px;
  position: relative;
  max-width: 540px;
  height: 540px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}
.forms__form {
  position: absolute;
  width: 340px;
  height: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  gap: 27px;
}
.forms__form-input input {
  background: rgba(0, 0, 0, 0);
  width: 100%;
  padding: 15px 20px;
  border: 2px solid #fff;
  border-radius: 40px;
  font-size: 18px;
  color: #08273c;
  outline: none;
  transition: border-color 0.3s ease; 
}

.forms__form-input input:focus {
  border-color: #00bfc3; 
}
.forms__form-submit button {
  background: linear-gradient(30deg, #08273c, #00bfc3);
  width: 100%;
  padding: 15px 20px;
  border: none;
  border-radius: 40px;
  font-size: 18px;
  color: #fff;
  cursor: pointer;
}
.forms__container i {
  position: absolute;
  inset: 0;
  border: 2px solid #08273c;
  -webkit-transition: 0.5s;
  transition: 0.5s;
}
.forms__container i:nth-child(1) {
  border-radius: 38% 62% 63% 32%/41% 44% 56% 59%;
  -webkit-animation: anime_1 6s linear infinite;
  animation: anime_1 6s linear infinite;
}
.forms__container i:nth-child(2) {
  border-radius: 41% 44% 56% 59%/38% 62% 63% 37%;
  -webkit-animation: anime_1 4s linear infinite;
  animation: anime_1 4s linear infinite;
}
.forms__container i:nth-child(3) {
  border-radius: 41% 44% 56% 59%/38% 62% 63% 37%;
  -webkit-animation: anime_2 10s linear infinite;
  animation: anime_2 10s linear infinite;
}
.forms__container:hover i {
  border: 6px solid var(--color);
  -webkit-filter: drop-shadow(0 0 20px var(--color));
  filter: drop-shadow(0 0 20px var(--color));
}
@-webkit-keyframes anime_1 {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@keyframes anime_1 {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@-webkit-keyframes anime_2 {
  0% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
  100% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
}
@keyframes anime_2 {
  0% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
  100% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
}

.gallery {
  padding-top: 130px;
}
.gallery__title {
  text-align: center;
  font-size: 40px;
  font-weight: 700;
  padding-top: 50px;
}

.lightgallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 3px;
  padding: 0 50px 50px 50px;
}
.lightgallery img {
  -o-object-fit: cover;
  object-fit: cover;
  aspect-ratio: 1/1;
}

.contacts {
  background-color: var(--dark-text);
  margin-top: 50px;
}
.contacts-title {
  text-align: center;
  font-size: 40px;
  font-weight: 700;
  padding-top: 10px;
  color: var(--main-color);
}
.footer {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  padding: 0 5px;
  padding-bottom: 32px;
}

.footer__menu {
  color: var(--main-color);
}
.footer__address-list {
  color: var(--main-color);
  padding: 10px 0;
}
.footer__address-link {
  padding: 7px 0;
  font-size: clamp(1rem, 0.757rem + 0.81vw, 1.375rem);
  -webkit-transition: color 1s;
  transition: color 1s;
}
.footer__address-link:hover {
  color: var(--light-blue);
}
.footer__address-icon {
  fill: var(--main-color);
  -webkit-transition: fill 1s;
  transition: fill 1s;
  margin: 0 10px;
}
.footer__address-icon:hover {
  fill: var(--light-blue);
}
.link {
  font-size: clamp(1rem, 0.757rem + 0.81vw, 1.375rem);
  -webkit-transition: color 1s;
  transition: color 1s;
}
.link:hover {
  color: var(--light-blue);
}
.contacts__map {
  -ms-flex-negative: 0;
  flex-shrink: 0;
  height: 176px;
}

.directions-pagination {
  margin-top: 10px;
  width: auto; /* Автоматична ширина для відповідності кількості слайдів */
  height: 8px; /* Висота bullets */
  bottom: 20px; /* Відступ від нижнього краю слайдера */
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px; /* Відстань між bullets */
}

.directions-pagination .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background-color: #971010; /* Сірий колір для неактивних bullets */
  border-radius: 50%; /* Круглі bullets */
  opacity: 1;
  transition: background-color 0.3s;
}

.directions-pagination .swiper-pagination-bullet-active {
  background-color: #151515; /* Основний колір для активного bullets */
  transform: scale(1.2); /* Збільшення активного bullets */
}


/* @media */

@media screen and (max-width: 1023px) {
  .lightgallery {
    grid-template-columns: repeat(auto-fit, minmax(95px, 1fr));
  }
}
@media (max-width: 500px) {
  .about__img {
    width: 100%;
    height: 120%;
  }

  .direction-title {
    padding-top: 200px;
  }
}

@media (max-width: 345px) {
  .about__img {
    width: 100%;
    height: 120%;
  }
}



@media screen and (max-width: 385px) {
  .lightgallery {
    grid-template-columns: repeat(auto-fit, minmax(55px, 1fr));
  }
}

@media screen and (max-width: 767px) {

  body.lock {
    overflow: hidden;
  }
  .header__inner {
    height: 50px;
  }
  .header__btn {
    display: block;
    z-index: 3;
  }
  .menu {
    position: fixed;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: #00bfc3;
    padding: 80px 10px 20px 20px;
    opacity: 0.9;
    -webkit-transition: 0.5s;
    transition: 0.5s;
  }
  .menu.active {
    top: 0;
  }
  .menu__list {
    display: block;
  }
  .menu__list-link {
    margin: 0px 0px 20px 0px;
  }
  .menu__list-link:hover {
    color: var(--dark-text);
  }

  .lightgallery {
    grid-template-columns: repeat(auto-fit, minmax(75px, 1fr));
  }

  .link {
    display: none;
  }

  .forms__container {
    max-width: 340px;
  }

  .title {
    word-spacing: 15px;
  }
  .hero__subtitle {
    word-spacing: 5px;
  }
} /*# sourceMappingURL=main.min.css.map */

@media screen and (max-width: 600px) {
  .footer {
    flex-direction: column;
    align-items: center;
    padding: 10px 0;
    padding-bottom: 0;
  }

  .about__text {
    font-size: 15px;
  }
}
.break-text {
  white-space: nowrap; /* Забезпечує, що текст не переноситься по рядках */
}

@media (max-width: 451px) {

  .trial__lesson .break-text {
    display: block; /* Примусово переносить текст на новий рядок на екранах менше 451px */
  }
}

@media (max-width: 400px) {

  .title {
    font-size: 10px;
  }

  .hero__subtitle {
    word-spacing: 20px;
  }
}

@media (max-width: 350px) {

  .about__text {
    font-size: 13px;
  }
}

@media (max-width: 1250px) {
  .for .swiper-slide {
    height: 90vh;
  }

  .trial__lesson {
    font-size: 40px;
  }
}

@media (max-width: 1050px) {
  .for .swiper-slide {
    height: 70vh;
  }

  .hero-section {
    padding-top: 110px;
  }
  
  .title {
    font-size: 30px;
  }
}

@media (max-width: 840px) {
  .for .swiper-slide {
    height: 55vh;
  }
}

@media (max-width: 700px) {
  .for .swiper-slide {
    height: 40vh;
  }

  .swiper-pagination-bullet {
display: none;
  }

  .hero-section {
    padding-top: 100px;
  }

  .title {
    font-size: 25px;
  }
}

@media (max-width: 787px) {
  .teachers-list {
    display: none;
  }

  .teachers-swiper {
    margin-bottom: -100px;
  }
}

@media (min-width: 787px) {
  .teachers-swiper {
    display: none;
  }
}



@media (max-width: 649px) {
  .directions-list {
    display: none;
  }
  .pag {
    display: flex;
    justify-content: center;
    margin-top: -40px;
  }
  .pagin{
    display: flex;
    justify-content: center;
    margin-top: 10px;
    margin-bottom: 30px;
  }
}

@media (max-width: 1600px) {

}

@media (min-width: 649px) {
  .directions-swiper {
    display: none;
  }
  .pag {
    display: none;
  }

  .pagin{
    display: none;
  }
}



@media (max-width: 720px) {
  .about__text {
    top: 10px;
    line-height: 1.1;
  }

  .about__text p {
    padding-top: 8px;
      }
}

