/*pt-root-ui*/
@font-face {
  font-family: "PTRootUI";
  src: local("PTRootUI-Regular"),
    url("../fonts/pt-root-ui_regular.woff2") format("woff2"),
    url("../fonts/pt-root-ui_regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "PTRootUI";
  src: local("PTRootUI-Medium"),
    url("../fonts/pt-root-ui_medium.woff2") format("woff2"),
    url("../fonts/pt-root-ui_medium.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "PTRootUI";
  src: local("PTRootUI-Bold"),
    url("../fonts/pt-root-ui_bold.woff2") format("woff2"),
    url("../fonts/pt-root-ui_bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

	@font-face{
		font-family: 'Rubic';
		src: url(../fonts/Rubic/Rubik-VariableFont_wght.ttf);
	}

/*pt-root-ui*/

html {
  box-sizing: border-box;
}

*,
*::before,
*::after {
  box-sizing: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
}

body {
  min-width: 320px;
  font: 400 14px/100% 'Rubic', arial, sans-serif;
  color: #231f20;
}

*:focus-visible {
  outline: 0;
}

@font-face {
  font-family: "ALSDelsa";
  src: local("ALSDelsa-Regular"),
    url("../fonts/ALSDelsa-Regular.woff2") format("woff2"),
    url("../fonts/ALSDelsa-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "ALSDelsa";
  src: local("ALSDelsa-Medium"),
    url("../fonts/ALSDelsa-Medium.woff2") format("woff2"),
    url("../fonts/ALSDelsa-Medium.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "ALSDelsa";
  src: local("ALSDelsa-Bold"),
    url("../fonts/ALSDelsa-Bold.woff2") format("woff2"),
    url("../fonts/ALSDelsa-Bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "CanelaDeck";
  src: local("CanelaDeck-Medium"),
    url("../fonts/CanelaDeck-Medium.woff2") format("woff2"),
    url("../fonts/CanelaDeck-Medium.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Noah";
  src: local("Noah-Bold"), url("../fonts/Noah-Bold.woff2") format("woff2"),
    url("../fonts/Noah-Bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}




:root {
  --gap: 8px;
  --border-radius-2: 2px;
  --color-main-back: #f6f6f6;
  --color-violet-back: #440d83;
}

/* GLOBALS */
.flex {
  display: flex;
}

.container {
  max-width: 1340px;
  margin: 0 auto;
  padding: 0 10px;
}

.ttl {
  margin: 0;
  line-height: 100%;
  font-weight: normal;
}

.title-2 {
  font-family: "PTRootUI";
  font-size: 36px;
  font-weight: 500;
  line-height: 45px;
}

.title-3 {
  font-family: "PTRootUI";
  font-size: 24px;
  font-weight: 700;
  line-height: 32px;
}

.link {
  padding: 5px 0;
  border-bottom: 1px solid #ffffff;
}

.link span {
  margin-right: 6px;
}

.blue-link {
  color: #27a4e3;
  border-color: #27a4e3;
}

.btn-reset {
  border: none;
  outline: none;
  padding: 0;
  color: inherit;
  background-color: transparent;
  cursor: pointer;
}

.view-all {
  display: none;
}

.lst-reset {
  margin: 0;
  padding: 0;
  list-style: none;
}

.txt {
  margin: 0;
}

.dark-txt {
  color: #231f20;
}

/* .visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  border: 0;
  padding: 0;
  clip: rect(0, 0, 0, 0);
  overflow: hidden;
} */

/* SECTION TOP */
.section__top {
  margin-bottom: 28px;
  justify-content: space-between;
  align-items: center;
}

.section__ttl {
  margin-right: 10px;
}

.section__top-link {
  padding-bottom: 0;
  font-size: 17px;
  line-height: 30px;
}

.section__top-link span {
  margin-right: 3px;
}

/* WRAPPER */
.wrapper {
  flex-wrap: wrap;
}

.aside-main__wrap {
  flex-grow: 1;
}

/* SIDEBAR */
.sidebar {
  flex-basis: 5.57%;
  justify-content: center;

  background-color: #0f2233;
}

.sticky {
  position: fixed;
}

.stop {
  position: relative;
  align-self: flex-end;
}

.sidebar__menu,
.sidebar__link {
  flex-direction: column;

}

.sidebar__menu {
  padding: 24px 0 36px;
  min-width: 70px;
}

.sidebar__link {
  align-items: center;
  line-height: 110%;
  color: #ffffff;
}

.sidebar__item:not(:last-child) {
  margin-bottom: 36px;
}

.sidebar__item:first-child svg {
  margin-bottom: 9px;
}

.sidebar__link svg {
  margin-bottom: 5px;
}

/* MAIN */
.main {
  flex-basis: 94%;
  flex-grow: 1;
  background-color: var(--color-main-back);
}

/* NAV */
.nav {
  min-height: 640px;
  color: #ffffff;
  background-image: url(../img/nav-sirius.jpg);
  background-size: cover;
  background-repeat: no-repeat;
}

.nav__wrapper {
  padding: 16px 32px;
}

.nav__list {
  margin-bottom: 15px;
  padding: 2px 0 15px;
  max-width: 41.6%;
  justify-content: space-between;
}

.nav__item:not(:last-child) {
  margin-right: 10px;
}

.nav__link {
  font-size: 18px;
display:flex;
aligh-items:center;
}

.nav__mid {
  padding: 31px 0 15px;
  min-height: 454px;
  flex-direction: column;
}

.nav__mid-link {
  margin-bottom: 7px;
  font-size: 16px;
}

.nav__mid-link svg {
  margin-right: 5px;
  vertical-align: bottom;
}

.nav__mid-link span {
  padding-bottom: 3px;
  border-bottom: 1px solid #ffffff;
}

.nav__ttl {
  padding: 30px 0;
  margin-bottom: 7px;
  font-family: "PTRootUI";
  font-size: 120px;
  font-weight: 500;
}

.nav__txt {
  margin-bottom: auto;
  font-size: 26px;
}

.nav__txt-1 {
  margin-right: 9px;
}

.nav__hlt {
  padding: 0 14px 6px 15px;
  background-color: var(--color-violet-back);
  line-height: 100%;
  border-radius: 32px;
}

.nav__bottom {
  padding: 40px 0;
}

.nav__bottom-link {
  width: 316px;
  display: flex;
  justify-content: space-between;
  padding: 25px 31px;
  font-size: 18px;
  background-color: #ffffff;
  border-radius: 33px;
}

.nav__bottom-link span {
  margin-right: 10px;
}

/* LYCEUM */
.lyceum {
  padding: 57px 0;
}

.lyceum__container {
  background-color: #ffffff;
}

.lyceum__wrapper {
  padding: 39px 6px 39px 10px;
}

.lyceum__content {
  margin-bottom: var(--gap);
}

.lyceum__ttl {
  margin-bottom: 26px;
}

.lyceum__left,
.lyceum__video {
  flex-basis: 49.9%;
  border-radius: var(--border-radius-2);
}

.lyceum__left {
  margin-right: var(--gap);
  padding: 32px;
  border: 1px solid #8697c1;
}

.lyceum__left-ttl {
  margin-bottom: 14px;
}

.lyceum__txt {
  font-size: 17px;
  line-height: 24px;
}

.lyceum__txt:first-of-type {
  margin-bottom: 24px;
}

.lyceum__video {
  background-image: url(../img/lyceum-video.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

.lyceum__bottom {
  min-height: 372px;
}

.lyceum__card {
  border-radius: var(--border-radius-2);
}

.lyceum__card svg {
  margin-bottom: auto;
}

#card-1 {
  margin-right: var(--gap);
  flex-basis: 24.3%;
  background-image: url(../img/lyceum-1.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

#card-2 {
  margin-right: var(--gap);
  flex-basis: 50.2%;
  background-image: url(../img/lyceum-2.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

.lyceum__card--g {
  display: flex;
  padding: 34px 30px;
  flex-basis: 24.2%;
  flex-direction: column;
  align-items: flex-start;
  color: #ffffff;
  background-color: #8697c1;
  order: 2;
}

.lyceum__bottom-txt {
  margin-bottom: 14px;
  font-family: "PTRootUI";
  font-size: 24px;
  font-weight: 700;
  line-height: 30px;
}

.lyceum__link {
  font-size: 16px;
  line-height: 24px;
}

/* ACTIVITIES */
.activities {
  padding: 33px 17px 42px 20px;
  background-color: #ffffff;
}

.activities__ttl {
  margin-bottom: 22px;
  line-height: 57px;
}

.activities__wrapper {
  display: flex;
  margin-bottom: -8px;
  flex-wrap: wrap;
  color: #ffffff;
}

.activities__left,
.activities__right {
  flex-wrap: wrap;
  flex-basis: 647px;
  justify-content: space-between;
}

.activities__left {
  margin-right: var(--gap);
}

.activities__card {
  display: flex;
  margin-bottom: var(--gap);
  padding: 33px 28px;
  flex-basis: 49.3%;
  min-height: 224px;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  border-radius: var(--border-radius-2);
}

.activities__card-big {
  padding: 28px 13px 18px 28px;
  flex-basis: 100%;
  justify-content: space-between;
}

.activities__card--t {
  margin-bottom: var(--gap);
  background: #47beaa;
}

.activities__card--beige,
.activities__card--dance,
.activities__card--presch,
.activities__card--sport {
  margin-right: var(--gap);
}

.activities__card--beige {
  background: #d4ae9e;
}

.activities__card--grey {
  background-color: #8697c1;
}

.activities__card--border {
  border: 1px solid #8697c1;
}

.activities__card--music,
.activities__card--dance {
  background-size: cover;
  background-repeat: no-repeat;
}

.activities__card--music {
  background-image: linear-gradient(
      0deg,
      rgba(0, 0, 0, 0.5) 0%,
      rgba(0, 0, 0, 0) 100%
    ),
    url(../img/activities-1.jpg);
  background-position: 50% 60%;
}

.activities__card--dance {
  background: linear-gradient(
      0deg,
      rgba(0, 0, 0, 0.5) 0%,
      rgba(0, 0, 0, 0) 100%
    ),
    url(../img/activities-2.jpg);
  background-position: center;
  background-size: cover;
}

.activities__card--presch {
  background: linear-gradient(
      0deg,
      rgba(0, 0, 0, 0.5) 0%,
      rgba(0, 0, 0, 0) 100%
    ),
    url(../img/activities-3.jpg);
  background-position: center;
  background-size: cover;
}

.activities__card--b {
  background-color: #52B6E9;
}

.activities__card-top {
  display: flex;
  margin-bottom: 10px;
  align-items: center;
}

.activities__top-ttl {
  font-family: "PTRootUI";
  font-size: 24px;
  font-weight: 700;
  line-height: 32px;
}

.activities__card-wrap {
  flex-wrap: wrap;
}

.activities__link-b {
  position: relative;
  margin-bottom: 15px;
  flex-basis: 49%;
}

.activities__card-btn {
  margin-right: 8px;
  padding: 4px 0;
  font-size: 15px;
  line-height: 18px;
  border-bottom: 1px solid #ffffff;
}

.activities__card-svg {
  position: absolute;
  bottom: 4px;
}

.activities__link {
  padding-top: 10px;
  padding-bottom: 3px;
  font-size: 15px;
  line-height: 24px;
}

.activities__link--dark {
  border-color: #231f20;
}

/* NEWS */
.news {
  padding: 55px 0;
}

.news__wrapper {
  padding: 38px 0;
  background-color: #ffffff;
}

.news__container {
  padding: 0 8px;
}

.news__feed {
  flex-wrap: wrap;
}

.news__card {
  display: flex;
  margin-bottom: var(--gap);
}

.news__card:nth-child(odd) {
  margin-right: var(--gap);
}

.news__card-l {
  display: flex;
  margin-right: var(--gap);
  padding: 29px;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 343px;
  min-height: 360px;
  font-size: 17px;
  line-height: 24px;
  color: #ffffff;
  background-image: linear-gradient(
      0deg,
      rgba(0, 0, 0, 0.32) 0%,
      rgba(0, 0, 0, 0.32) 100%
    ),
    url(../img/news-5.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  border-radius: var(--border-radius-2);
}

.post-2 {
  background-image: url(../img/news-6.jpg);
}

.post-3 {
  background-image: url(../img/news-7.jpg);
}

.post-4 {
  background-image: url(../img/news-8.jpg);
}

.news__txt-l {
  max-width: 90%;
  font-size: 18px;
  font-weight: 500;
}

.news__link-l {
  padding: 0;
  padding-bottom: 3px;
}

.news__card-post {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
  max-width: 297px;
  min-height: 176px;
  background-color: #ededed;
  border-radius: var(--border-radius-2);
}

.news__card-post:first-child {
  margin-bottom: var(--gap);
}

.news__txt-r {
  font-size: 16px;
  font-weight: 500;
  line-height: 23px;
}

.news__link-r {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 15px;
  line-height: 22px;
}

.news__link-r::after {
  position: absolute;
  content: '';
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.post--turq,
.post--blue {
  color: #ffffff;
}

.post--turq {
  background-color: #47beaa;
}

.post--blue {
  background-color: #27a4e3;
}

/* FAQ */
.faq {
  padding-bottom: 53px;
}

.faq__wrapper {
  background-color: #ffffff;
}

.faq__container {
  padding: 38px 7px 45px 10px;
}

.faq__top {
  margin-bottom: 35px;
}

.faq__tabs {
  flex-direction: column;
}

.faq__tabs-content {
  display: none;
}

.faq__tabs-content--a {
  display: flex;
}

.faq__accordion-lst,
.faq__img {
  flex-basis: 49.69%;
  border-radius: var(--border-radius-2);
}

.faq__accordion-lst {
  margin-right: 8px;
  padding: 14px 42px;
  border: 1px solid #8697c1;
}

.faq__accordion-itm {
  margin-bottom: -1px;
  padding: 28px 0;
}

.faq__accordion-itm:not(:last-child) {
  border-bottom: 1px solid #8697c1;
}
.faq__accordion-control.btn-reset:hover{
  color: #27A4E3;
}
.faq__accordion-control.btn-reset svg path {
  transition: stroke 300ms;
}
.faq__accordion-control.btn-reset:hover svg path{
  stroke: #27A4E3;
}
.faq__accordion-control.btn-reset:active svg path{
  stroke: #2290C7;
}
.faq__accordion-control.btn-reset:active{
  color: #2290C7;
}
.faq__accordion-control {
  display: flex;
  width: 100%;
  justify-content: space-between;
  align-items: first baseline;
  text-align: left;
  font-size: 20px;
  font-weight: 500;
  line-height: 28px;
}

.faq__accordion-control svg {
  flex-shrink: 0;
}

.open .faq__accordion-control {
  color: #27a4e3;
}

.open .faq__accordion-control path:first-child {
  stroke: transparent;
}

.open .faq__accordion-control path:last-child {
  stroke: #27a4e3;
}

.faq__question {
  margin-right: 20px;
  transition: color 300ms;
}

.faq__answer {
  padding-right: 20px;
}

.faq__accordion-content {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  will-change: max-height;
  box-sizing: content-box;
  font-size: 17px;
  font-weight: 400;
  line-height: 24px;
  transition: all 0.4s ease-in-out;
}

.open .faq__accordion-content {
  padding-top: 16px;
  opacity: 1;
}

.faq__img {
  background-image: url(../img/faq-2.jpg);
  background-size: cover;
  background-position: 50% 50%;
  background-repeat: no-repeat;
}

/* ADDRESS */
.address {
  padding-bottom: 120px;
}

.address__container {
  padding: 42px 0;
  background-color: #ffffff;
}

.address__content {
  padding: 0 10px;
}

.address__wrapper {
  font-style: normal;
}

.address__card {
  padding: 28px;
  padding-bottom: 32px;
  border: 1px solid #8697C1;
  border-radius: var(--border-radius-2);
  transition: border 300ms;
}
.address__card:hover{
  border: 1px solid #B6C1DA;
}
.address__card:active{
  border: 1px solid #B6C1DA;
}

.address__card:not(:last-child) {
  margin-right: var(--gap);
}

.address__card--t,
.address__card--g {
  color: #ffffff;
}

.address__card--t {
  flex-basis: 49.6%;
  background-color: #47beaa;
  border-color: transparent;
}

.address__card--border,
.address__card--g {
  flex-basis: 24.5%;
}

.address__card--g {
  background-color: #8697C1;
}

.address__ttl {
  margin-bottom: 32px;
}

.address__card-ttl {
  margin-bottom: 6px;
}

.address__txt,
.address__link {
  font-size: 17px;
  line-height: 24px;
}

.address__txt--m {
  margin-bottom: 16px;
}

.address__ttl--pt {
  padding-top: 18px;
}

.address__link--bb {
  border-bottom: 1px solid #231f20;
}

.address__link--bw {
  border-bottom: 1px solid #ffffff;
}

.address__ttl--mb {
  margin-bottom: 18px;
}

.social {
  margin-bottom: 18px;
}

.social:not(:last-child) svg {
  margin-right: 17px;
}

/* FOOTER */
.footer {
  position: sticky;
  padding: 48px 0;
  width: 100%;
  color: #ffffff;
  background: #2a2740;
}

.footer__wrapper {
  padding: 0 5px;
}

.footer__top {
  padding-bottom: 20px;
  align-items: center;
}

.footer__catalogue {
  padding-top: 18px;
  padding-bottom: 43px;
  border-bottom: 1px solid #ffffff;
}

.footer__top svg {
  margin-right: 17px;
}

.footer__ttl {
  font-size: 34px;
}

.footer__lst-wrap,
.wrap-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer__lst-wrap:not(:last-child) {
  margin-right: 20px;
}

.footer__lst-wrap:first-child {
  flex-basis: 37.5%;
}

.footer__lst-wrap:nth-child(2) {
  flex-basis: 31%;
}

.footer__lst--31 {
  margin-bottom: 31px;
}

.footer__item:not(:last-child) {
  margin-bottom: 15px;
}

.footer__ttl-link {
  margin-bottom: 20px;
}

.footer__lst-ttl {
  font-family: "PTRootUI";
  align-self: start;
  font-size: 18px;
  font-weight: 500;
}

.footer__bottom {
  padding-top: 42px;
}

.footer__left,
.footer__right {
  min-height: 209px;
}

.footer__left {
  display: flex;
  flex-direction: column;
  flex-basis: 33%;
  font-size: 13px;
  line-height: 18px;
  justify-content: end;
  padding-bottom: 3.3%;
}

.footer__left-top {
  margin-bottom: auto;
  max-width: 85%;
}

.footer__txt.footer__txt:nth-child(-n + 2) {
  margin-bottom: var(--gap);
}

.footer__txt--l {
  border-bottom: 1px solid #ffffff;
}

.footer__txt--s {
  max-width: 50%;
}

.footer__right {
  flex-basis: 38.2%;
  justify-content: space-between;
  align-items: center;
}

.footer__contacts {
  display: flex;
  flex-direction: column;
}

.footer__contacts:first-child {
  margin-right: 20px;
}

.footer__contacts-wrap {
  margin-bottom: auto;
}

.footer__contacts-ttl {
  font-family: "PTRootUI";
  font-size: 18px;
  font-weight: 500;
}

.footer__links-wrap {
  padding: 24px 0 20px;
  display: flex;
  flex-direction: column;
}

.footer__contacts-link--l {
  display: flex;
  width: 190px;
  justify-content: space-between;
  align-items: center;
}

.footer__contacts-link--m {
  margin-bottom: 14px;
}

.footer__social {
  max-width: 71%;
  justify-content: space-between;
}

.footer__social svg {
  flex-shrink: 0;
}
