@import "https://fonts.googleapis.com/css2?family=Montserrat:wght@100..900&display=swap";

* {
  border: 0;
  margin: 0;
  padding: 0
}

*,
:before,
:after {
  box-sizing: border-box
}

:focus,
:active,
a:focus,
a:active {
  outline: none
}

nav,
footer,
header,
aside {
  display: block
}

html,
body {
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  flex-direction: column;
  width: 100%;
  height: 100%;
  font-family: Montserrat, sans-serif;
  font-size: 1rem;
  line-height: 1;
  display: flex
}

input,
button,
textarea {
  font-family: inherit
}

input::-ms-clear {
  display: none
}

button {
  cursor: pointer
}

button::-moz-focus-inner {
  border: 0;
  padding: 0
}

a {
  color: inherit
}

a,
a:visited,
a:hover {
  text-decoration: none
}

ul li {
  list-style: none
}

img {
  vertical-align: top
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: 400
}

:root {
  --primary-color: #0057b7;
  --primary-color-hover: #0967cb;
  --secondary-color: #fd0;
  --secondary-color-hover: #fce02d;
  --background: #fff;
  --background-secondary: #f6f9ff;
  --text: #363636;
  --background-secondary-transparent: rgba(239, 242, 249, .847)
}

::-webkit-scrollbar {
  width: .375rem;
  height: .25rem
}

::-webkit-scrollbar-track {
  background: var(--background-light)
}

::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: .3125rem
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-color-hover)
}

body {
  background: var(--background);
  font-family: Montserrat, sans-serif
}

.container {
  max-width: 90rem;
  margin: 0 auto;
  padding: 0 1rem
}

main {
  color: var(--text);
  flex: 1
}

.title {
  text-transform: uppercase;
  color: var(--primary-color);
  border-left: .25rem solid var(--secondary-color);
  padding-left: .5rem;
  font-size: 2rem;
  font-weight: 700;
  line-height: 120%
}

.description {
  flex-direction: column;
  gap: .75rem;
  display: flex
}

.description p {
  font-size: 1.125rem;
  line-height: 140%
}

.btn {
  background: var(--primary-color);
  color: #fff;
  text-transform: uppercase;
  border-radius: .5rem;
  width: -moz-fit-content;
  width: fit-content;
  padding: 1rem;
  font-weight: 600;
  transition: background-color .3s;
  position: relative;
  overflow: hidden
}

@media (hover:hover) {
  .btn:hover {
    background: var(--primary-color-hover)
  }
}

.social {
  background-color: var(--primary-color);
  border-radius: 100%;
  justify-content: center;
  align-items: center;
  padding: .625rem;
  transition: background-color .3s;
  display: flex
}

.social svg {
  fill: #fff;
  width: 1.25rem;
  height: 1.25rem
}

.social svg path {
  fill: #fff;
  transition: fill .3s
}

@media (hover:hover) {
  .social:hover {
    background: var(--primary-color-hover)
  }

  .social:hover svg,
  .social:hover svg path {
    fill: var(--secondary-color)
  }
}

.image--horizontal {
  aspect-ratio: 16/10
}

.image--vertical {
  aspect-ratio: 10/16
}

.image--square {
  aspect-ratio: 1
}

.news-image--horizontal {
  aspect-ratio: 4/3
}

.news-image--vertical {
  aspect-ratio: 4/5
}

.news-image--square {
  aspect-ratio: 1
}

.header {
  background: var(--background);
  z-index: 500;
  width: 100%;
  padding: 1rem 0;
  transition: all .3s;
  position: fixed
}

.header.hidden {
  transform: translateY(-105%)
}

.header:after {
  content: "";
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  width: 100%;
  height: .1875rem;
  display: block;
  position: absolute;
  bottom: 0;
  left: 0
}

.header__container {
  color: var(--text);
  align-items: center;
  gap: 4rem;
  font-weight: 500;
  display: flex
}

@media (max-width:47.9988em) {
  .header__container {
    justify-content: space-between;
    gap: 1rem
  }
}

.header__logo {
  min-width: 12rem;
  max-width: 15rem
}

@media (max-width:29.9988em) {
  .header__logo {
    min-width: 8rem
  }
}

.header__logo img {
  cursor: pointer;
  width: 100%;
  height: 100%;
  transition: all .3s
}

@media (hover:hover) {
  .header__logo img:hover {
    transform: scale(1.03)
  }
}

.header__menu {
  flex: 1;
  padding: .5rem 0;
  font-size: 1.125rem
}

.header__menu ul {
  flex-wrap: wrap;
  gap: 1rem 2rem;
  display: flex
}

.header__menu ul li {
  line-height: 130%;
  position: relative
}

@media (min-width:47.9988em) {
  .header__menu ul li {
    transition: all .3s
  }

  .header__menu ul li:after {
    content: "";
    background: var(--primary-color);
    width: 0%;
    height: .125rem;
    transition: all .3s;
    display: block;
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translate(-50%)
  }
}

@media (min-width:47.9988em) and (hover:hover) {
  .header__menu ul li:hover {
    color: var(--primary-color)
  }

  .header__menu ul li:hover:after {
    width: 100%
  }
}

@media (min-width:47.9988em) {
  .header__menu ul li.active {
    color: var(--primary-color)
  }

  .header__menu ul li a {
    padding: .625rem 0
  }
}

@media (max-width:47.9988em) {
  .header__menu {
    opacity: 0;
    visibility: hidden;
    color: #fff;
    transition: all .3s;
    position: absolute;
    top: 10rem;
    right: -1rem
  }

  .header__menu.active {
    opacity: 1;
    visibility: visible;
    right: 0
  }

  .header__menu ul {
    text-transform: uppercase;
    flex-direction: column;
    gap: 1.5rem
  }

  .header__menu ul li {
    background: var(--primary-color);
    border-radius: .5rem 0 0 .5rem;
    display: flex
  }

  .header__menu ul li a {
    width: 100%;
    padding: .5rem
  }
}

.header__actions {
  align-items: center;
  gap: 1rem;
  display: flex
}

.header__language {
  min-width: 4.375rem;
  font-size: .875rem;
  position: relative
}

.header__language-selected {
  cursor: pointer;
  text-transform: uppercase;
  background: var(--primary-color);
  color: #fff;
  border: 1px solid var(--primary-color);
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  border-radius: .5rem;
  justify-content: space-between;
  align-items: center;
  gap: .625rem;
  padding: .75rem .5rem;
  transition: all .3s .2s;
  display: flex;
  box-shadow: 0 0 5px rgba(0, 0, 0, .3)
}

@media (hover:hover) {
  .header__language-selected:hover {
    background: var(--primary-color-hover)
  }
}

.header__language-selected.active {
  border-radius: .5rem .5rem 0 0;
  transition: all
}

.header__language-selected svg {
  fill: #fff;
  width: .75rem;
  height: 100%;
  transition: all .3s
}

.header__language-list {
  z-index: 501;
  width: 100%;
  max-height: 0;
  transition: all .3s;
  position: absolute;
  overflow: hidden
}

.header__language-list ul {
  text-transform: uppercase;
  background: var(--primary-color);
  border-radius: 0 0 .5rem .5rem;
  flex-direction: column;
  display: flex;
  overflow: hidden
}

.header__language-list ul li {
  border-top: 1px solid var(--secondary-color);
  color: #fff;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  padding: .5rem;
  transition: all .3s
}

@media (hover:hover) {
  .header__language-list ul li:hover {
    background: var(--primary-color-hover)
  }
}

.header__language-list ul li:last-child {
  padding: .5rem .5rem .75rem
}

.header__language-list.active {
  max-height: 18.75rem
}

.header__burger-wrapper {
  display: none
}

@media (max-width:47.9988em) {
  .header__burger-wrapper {
    background: var(--primary-color);
    border: 1px solid var(--primary-color);
    border-radius: .5rem;
    justify-content: center;
    align-self: stretch;
    align-items: center;
    padding: 0 .5rem;
    transition: all .3s;
    display: flex
  }
}

@media (max-width:47.9988em) and (hover:hover) {
  .header__burger-wrapper:hover {
    background: var(--primary-color-hover)
  }
}

.header__overlay {
  display: none;
  position: fixed
}

@media (max-width:62em) {
  .header__overlay {
    opacity: 0;
    visibility: hidden;
    z-index: 499;
    background-color: rgba(0, 0, 0, .792);
    width: 100%;
    height: 100vh;
    transition: all .3s;
    display: block
  }

  .header__overlay_active {
    opacity: 1;
    visibility: visible
  }
}

.burger {
  display: none
}

@media (max-width:47.9988em) {
  .burger {
    z-index: 5;
    background-color: transparent;
    width: 1.875rem;
    height: 1rem;
    display: block;
    position: relative
  }
}

@media (max-width:47.9988em) and (any-hover:none) {
  .burger {
    cursor: default
  }
}

@media (max-width:47.9988em) {

  .burger span,
  .burger:before,
  .burger:after {
    content: "";
    background-color: #fff;
    width: 100%;
    height: 2px;
    transition: all .3s;
    position: absolute;
    right: 0
  }

  .burger:before {
    top: 0
  }

  .burger:after {
    bottom: 0
  }

  .burger span {
    top: calc(50% - .0625rem)
  }

  .burger_open span {
    width: 0
  }

  .burger_open:before {
    top: calc(50% - .0625rem);
    transform: rotate(-45deg)
  }

  .burger_open:after {
    bottom: calc(50% - .0625rem);
    transform: rotate(45deg)
  }
}

.footer {
  background: var(--background-secondary);
  padding: 3rem 0 0;
  position: relative
}

.footer:before {
  content: "";
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  width: 100%;
  height: .1875rem;
  display: block;
  position: absolute;
  top: 0;
  left: 0
}

.footer__container {
  color: var(--text)
}

.footer__container svg {
  fill: #fff;
  width: 1.25rem;
  height: 1.25rem
}

.footer__container svg path {
  fill: #fff
}

.footer__container {
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 3rem;
  display: flex
}

.footer__container h4 {
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  font-weight: 600
}

.footer__container {
  margin-bottom: 2rem !important
}

@media (max-width:61.9988em) {
  .footer__container {
    justify-content: flex-start
  }
}

.footer__logo {
  flex-direction: column;
  gap: 1rem;
  max-width: 20rem;
  display: flex
}

.footer__logo img {
  width: 100%;
  height: 100%;
  transition: all .3s
}

@media (hover:hover) {
  .footer__logo img:hover {
    transform: scale(1.03)
  }
}

.footer__logo h3 {
  line-height: 140%
}

.footer__logo ul {
  justify-content: flex-start;
  align-items: center;
  gap: 1rem;
  width: 100%;
  display: flex
}

.footer__logo ul li {
  color: #fff
}

.footer__logo ul li a {
  border-radius: .5rem;
  align-items: center;
  gap: .5rem;
  display: flex
}

.footer__links ul {
  flex-direction: column;
  gap: 1rem;
  display: flex
}

.footer__links ul a {
  color: inherit;
  transition: all .3s;
  position: relative
}

.footer__links ul a:after {
  content: "";
  background: var(--primary-color);
  width: 0%;
  height: .125rem;
  transition: all .3s;
  display: block;
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translate(-50%)
}

@media (hover:hover) {
  .footer__links ul a:hover {
    color: var(--primary-color-hover)
  }

  .footer__links ul a:hover:after {
    width: 100%
  }
}

.footer__contacts ul {
  flex-direction: column;
  gap: 1rem;
  display: flex
}

.footer__contacts ul li {
  align-items: center;
  gap: 1rem;
  width: -moz-fit-content;
  width: fit-content;
  line-height: 140%;
  display: flex;
  position: relative
}

.footer__contacts ul li figure {
  background-color: var(--primary-color-hover);
  border-radius: 100%;
  justify-content: center;
  align-items: center;
  width: -moz-fit-content;
  width: fit-content;
  padding: .625rem;
  display: flex
}

.footer__contact {
  cursor: pointer;
  transition: all .3s
}

@media (hover:hover) {
  .footer__contact:hover {
    color: var(--primary-color-hover)
  }
}

.footer__contact-copy {
  background-color: var(--primary-color);
  color: #fff;
  opacity: 0;
  visibility: hidden;
  border-radius: .5rem;
  padding: .5rem;
  position: absolute;
  right: 0
}

.footer__contact-copy_active {
  animation: 1s ease-in-out copy
}

@media (max-width:29.9988em) {
  .footer__contact-copy {
    right: 30%
  }
}

.footer__bottom {
  color: rgba(255, 255, 255, .267);
  background-color: #191919;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  font-size: .75rem;
  display: flex
}

.footer__bottom a {
  color: var(--primary-color);
  transition: all .3s;
  position: relative
}

.footer__bottom a:after {
  content: "";
  background: var(--primary-color);
  width: 0%;
  height: .0625rem;
  transition: all .3s;
  display: block;
  position: absolute;
  bottom: -.125rem;
  left: 50%;
  transform: translate(-50%)
}

@media (hover:hover) {
  .footer__bottom a:hover:after {
    width: 100%
  }
}

.footer__bottom a:visited {
  color: var(--primary-color)
}

@keyframes copy {
  0% {
    opacity: 0;
    visibility: hidden;
    transform: translate(110%, 15px)
  }

  50% {
    opacity: 1;
    visibility: visible;
    pointer-events: none;
    transform: translate(110%)
  }

  to {
    opacity: 0;
    visibility: hidden;
    transform: translate(110%, -15px)
  }
}

.main-news {
  padding: 3rem 0
}

@media (max-width:47.9988em) {
  .main-news {
    padding: 2rem 0
  }
}

.main-news__container {
  flex-direction: column;
  gap: 2rem;
  display: flex
}

.main-news__container a {
  align-self: center
}

.main-gallery {
  background: var(--background-secondary);
  padding: 3rem 0
}

@media (max-width:47.9988em) {
  .main-gallery {
    padding: 2rem 0
  }
}

.main-gallery__container {
  flex-direction: column;
  gap: 1rem;
  display: flex
}

.main-gallery__container a {
  align-self: center
}

.main-gallery__list {
  column-count: 3;
  column-gap: 1rem;
  margin-top: 1rem
}

@media (max-width:47.9988em) {
  .main-gallery__list {
    column-count: 2
  }
}

@media (max-width:29.9988em) {
  .main-gallery__list {
    column-count: 1
  }
}

.main-gallery__image {
  break-inside: avoid;
  cursor: pointer;
  border-radius: .5rem;
  margin-bottom: 1rem;
  overflow: hidden
}

.main-gallery__image img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  transition: all .3s
}

@media (hover:hover) {
  .main-gallery__image img:hover {
    transform: scale(1.03)
  }
}

.main-partners {
  padding: 3rem 0
}

@media (max-width:47.9988em) {
  .main-partners {
    padding: 2rem 0
  }
}

.main-partners__container {
  flex-direction: column;
  gap: 2rem;
  display: flex
}

.photo {
  padding: 3rem 0
}

@media (max-width:47.9988em) {
  .photo {
    padding: 2rem 0
  }
}

.photo__container {
  flex-direction: column;
  gap: 2rem;
  display: flex
}

.photo__list {
  column-count: 4;
  column-gap: 1rem
}

@media (max-width:61.9988em) {
  .photo__list {
    column-count: 3
  }
}

@media (max-width:47.9988em) {
  .photo__list {
    column-count: 2
  }
}

@media (max-width:29.9988em) {
  .photo__list {
    column-count: 1
  }
}

.photo__item {
  border-radius: .5rem;
  margin-bottom: 1rem;
  overflow: hidden
}

.photo__item img {
  object-fit: cover;
  cursor: pointer;
  width: 100%;
  height: 100%;
  transition: transform .3s
}

@media (hover:hover) {
  .photo__item img:hover {
    transform: scale(1.03)
  }
}

.video {
  background: var(--background-secondary);
  padding: 3rem 0
}

@media (max-width:47.9988em) {
  .video {
    padding: 2rem 0
  }
}

.video__container {
  flex-direction: column;
  gap: 2rem;
  display: flex
}

.video__list {
  grid-template-columns: repeat(auto-fit, minmax(min(25rem, 100%), 1fr));
  gap: 1rem;
  display: grid
}

.video__item {
  aspect-ratio: 16/9
}

.video__item iframe {
  border-radius: .5rem;
  width: 100%;
  height: 100%
}

.media {
  margin-top: 5rem
}

.news {
  margin-top: 5rem;
  padding: 3rem 0
}

@media (max-width:47.9988em) {
  .news {
    padding: 2rem 0
  }
}

.news__container {
  flex-direction: column;
  gap: 2rem;
  display: flex
}

.pagination {
  align-self: center;
  gap: .75rem;
  display: flex
}

.pagination li {
  aspect-ratio: 1;
  background: var(--primary-color);
  color: #fff;
  cursor: pointer;
  border-radius: .5rem;
  justify-content: center;
  align-items: center;
  width: 2.5rem;
  transition: background-color .3s, color .3s;
  display: flex
}

@media (hover:hover) {
  .pagination li:hover {
    background: var(--primary-color-hover);
    color: var(--secondary-color-hover)
  }
}

.documents {
  background: var(--background-secondary);
  padding: 3rem 0
}

@media (max-width:47.9988em) {
  .documents {
    padding: 2rem 0
  }
}

.documents__container {
  flex-direction: column;
  gap: 2rem;
  display: flex
}

.documents__list {
  grid-template-rows: 24rem;
  grid-template-columns: repeat(auto-fill, minmax(min(21.875rem, 100%), 1fr));
  grid-auto-rows: 24rem;
  gap: 2rem 1rem;
  display: grid
}

.documents__item {
  flex-direction: column;
  gap: 1rem;
  display: flex
}

.documents__item h3 {
  color: var(--primary-color);
  font-weight: 700
}

.documents__image {
  border-radius: .5rem;
  width: 100%;
  height: 100%;
  overflow: hidden;
  box-shadow: 0 0 5px rgba(0, 0, 0, .3)
}

.documents__image img {
  object-fit: cover;
  object-position: top;
  cursor: pointer;
  width: 100%;
  height: 100%;
  transition: transform .3s
}

@media (hover:hover) {
  .documents__image img:hover {
    transform: scale(1.03)
  }
}

.about {
  margin-top: 5rem
}

.contacts-info {
  flex-direction: column;
  gap: 1rem;
  display: flex
}

.contacts-info__list {
  grid-template-columns: repeat(auto-fit, minmax(min(18.75rem, 100%), 1fr));
  gap: 1rem;
  display: grid
}

.contacts-info__item {
  background: var(--primary-color);
  cursor: pointer;
  border-radius: .5rem;
  flex: 1 0 auto;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  transition: all .3s;
  display: flex;
  position: relative;
  box-shadow: 0 0 5px rgba(0, 0, 0, .3)
}

.contacts-info__item:after {
  content: "";
  background: var(--secondary-color);
  z-index: -1;
  border-radius: .5rem;
  width: 100%;
  height: 100%;
  position: absolute;
  top: .25rem;
  left: .25rem;
  box-shadow: 0 0 5px rgba(0, 0, 0, .3)
}

@media (hover:hover) {
  .contacts-info__item:hover {
    background: var(--primary-color-hover)
  }
}

.contacts-info__item svg {
  width: 2rem;
  height: 2rem;
  fill: var(--secondary-color);
  flex-shrink: 0
}

.contacts-info__item svg path {
  fill: var(--secondary-color)
}

.contacts-info__item div {
  color: #fff;
  position: relative
}

.contacts-info__item p {
  color: #fff
}

@media (max-width:22.5rem) {
  .contacts-info__item p {
    font-size: .8125rem
  }
}

.contacts-info__item span {
  opacity: 0;
  visibility: hidden;
  position: absolute;
  top: 50%;
  transform: translateY(-50%)
}

.contacts-info__item.active p {
  opacity: 0;
  visibility: hidden
}

.contacts-info__item.active span {
  opacity: 1;
  visibility: visible
}

.contacts-form {
  background: var(--primary-color);
  color: #fff;
  border-radius: .5rem;
  flex-direction: column;
  gap: 1rem;
  padding: 2rem;
  display: flex;
  position: relative
}

.contacts-form:after {
  content: "";
  background: var(--secondary-color);
  z-index: -1;
  border-radius: .5rem;
  width: 100%;
  height: 100%;
  position: absolute;
  top: .375rem;
  left: .375rem;
  box-shadow: 0 0 5px rgba(0, 0, 0, .3)
}

@media (max-width:29.9988em) {
  .contacts-form {
    padding: 2rem 1rem
  }
}

.contacts-form h2 {
  text-transform: uppercase;
  border-left: .25rem solid var(--secondary-color);
  padding-left: .5rem;
  font-size: 1.5rem;
  font-weight: 700
}

.contacts-form p {
  line-height: 140%
}

.contacts-form form {
  flex-direction: column;
  gap: 1rem;
  margin-top: 1rem;
  display: flex
}

.contacts-form form input,
.contacts-form form textarea {
  border-radius: .5rem;
  padding: 1rem
}

.contacts-form form input:focus-visible {
  outline: 2px solid var(--secondary-color)
}

.contacts-form form textarea:focus-visible {
  outline: 2px solid var(--secondary-color)
}

.contacts-form form textarea {
  resize: none;
  height: 8lh
}

.contacts-form form button {
  background: var(--secondary-color);
  color: var(--primary-color);
  font-weight: 700
}

@media (hover:hover) {
  .contacts-form form button:hover {
    background: var(--secondary-color-hover)
  }
}

.contacts-form form button:focus-visible {
  transition: all .3s
}

.contacts-form__two {
  flex-wrap: wrap;
  gap: 1rem;
  display: flex
}

.contacts-form__two input {
  flex: 1
}

.contacts {
  margin-top: 8rem;
  margin-bottom: 2rem
}

.contacts__container {
  flex-direction: column;
  gap: 2rem;
  display: flex
}

.contacts__row {
  grid-template-columns: repeat(auto-fit, minmax(min(400px, 100%), 1fr));
  gap: 4rem;
  display: grid
}

@media (max-width:61.9988em) {
  .contacts__row {
    gap: 2rem
  }
}

.hero {
  -webkit-backdrop-filter: brightness(10%);
  backdrop-filter: brightness(10%);
  height: 100vh
}

@media (max-width:61.9988em) {
  .hero {
    height: 31.25rem;
    padding-top: 2rem
  }
}

@media (max-width:47.9988em) {
  .hero {
    height: 25rem
  }
}

.hero:after {
  content: "";
  z-index: -1;
  background-color: rgba(0, 0, 0, .4);
  width: 100%;
  height: 100%;
  display: block;
  position: absolute;
  top: 0
}

.hero__container {
  color: #fff;
  flex-direction: column;
  justify-content: center;
  gap: 4rem;
  height: 100%;
  display: flex
}

.hero__container h1 {
  text-transform: uppercase;
  max-width: 90%;
  font-size: calc(3vw + 4.4px);
  font-weight: 700;
  line-height: 120%
}

@media (max-width:29.9988em) {
  .hero__container h1 {
    line-height: 140%
  }
}

.main-about {
  padding: 3rem 0
}

@media (max-width:47.9988em) {
  .main-about {
    padding: 2rem 0
  }
}

.main-about__container {
  grid-template-columns: repeat(auto-fit, minmax(min(400px, 100%), 1fr));
  align-items: center;
  gap: 4rem;
  display: grid
}

@media (max-width:47.9988em) {
  .main-about__container {
    gap: 2rem
  }
}

.main-about__info {
  flex-direction: column;
  gap: 1rem;
  display: flex
}

.main-about__list {
  grid-template-columns: repeat(auto-fit, minmax(min(12.5rem, 100%), 1fr));
  gap: 1rem;
  display: grid
}

.main-about__item {
  background: var(--primary-color);
  color: #fff;
  border-radius: .5rem;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: .5rem;
  padding: 3rem 1rem;
  display: flex;
  position: relative;
  box-shadow: 0 0 5px rgba(0, 0, 0, .5)
}

.main-about__item:after {
  content: "";
  background: var(--secondary-color);
  z-index: -1;
  border-radius: .5rem;
  width: 100%;
  height: 100%;
  position: absolute;
  top: .375rem;
  left: .375rem;
  box-shadow: 0 0 5px rgba(0, 0, 0, .3)
}

.main-about__item h3 {
  font-size: 2.25rem;
  font-weight: 700
}

.main-about__item p {
  text-align: center;
  font-size: 1.125rem;
  line-height: 130%
}

.main-directions {
  background: var(--background-secondary);
  padding: 3rem 0
}

@media (max-width:47.9988em) {
  .main-directions {
    padding: 2rem 0
  }
}

.main-directions__container {
  flex-direction: column;
  gap: 2rem;
  display: flex
}

.main-directions__list {
  grid-template-columns: repeat(auto-fit, minmax(min(18.75rem, 100%), 1fr));
  gap: 3rem;
  display: grid
}

@media (max-width:47.9988em) {
  .main-directions__list {
    gap: 2rem
  }
}

.main-directions__item {
  flex-direction: column;
  gap: 1rem;
  display: flex
}

.main-directions__image {
  border-right: .5rem solid var(--primary-color);
  border-bottom: .5rem solid var(--secondary-color);
  border-radius: 1rem;
  box-shadow: 0 0 5px rgba(0, 0, 0, .3)
}

.main-directions__image img {
  object-fit: cover;
  border-radius: .5rem;
  width: 100%;
  height: 100%
}

.main-directions__text {
  flex-direction: column;
  gap: 1rem;
  height: 100%;
  display: flex
}

.main-directions__text h3 {
  text-transform: uppercase;
  color: var(--primary-color);
  font-size: 1.125rem;
  font-weight: 600
}

.main-directions__text div {
  line-height: 140%
}

.history {
  padding: 3rem 0
}

@media (max-width:47.9988em) {
  .history {
    padding: 2rem 0
  }
}

.history__body {
  grid-template-columns: repeat(auto-fit, minmax(min(28.125rem, 100%), 1fr));
  align-items: start;
  gap: 2rem;
  display: grid
}

.history__text {
  flex-direction: column;
  gap: 1rem;
  display: flex
}

.history__image {
  border-right: .5rem solid var(--primary-color);
  border-bottom: .5rem solid var(--secondary-color);
  border-radius: 1rem;
  box-shadow: 0 0 5px rgba(0, 0, 0, .3)
}

.history__image img {
  object-fit: cover;
  border-radius: .5rem;
  width: 100%;
  height: 100%
}

.mission {
  background: var(--background-secondary);
  padding: 3rem 0
}

@media (max-width:47.9988em) {
  .mission {
    padding: 2rem 0
  }
}

.mission__container {
  flex-direction: column;
  gap: 2rem;
  display: flex
}

.team {
  padding: 3rem 0
}

@media (max-width:47.9988em) {
  .team {
    padding: 2rem 0
  }
}

.team__container {
  flex-direction: column;
  gap: 3rem;
  display: flex
}

.team__list {
  grid-template-columns: repeat(auto-fit, minmax(min(14.375rem, 100%), 1fr));
  gap: 2rem;
  display: grid
}

.team__item {
  text-align: center;
  flex-direction: column;
  align-items: center;
  display: flex
}

.team__item h3 {
  text-transform: uppercase;
  color: var(--primary-color);
  margin-top: 1rem;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 140%
}

.team__item p {
  font-weight: 500;
  line-height: 140%
}

.team__image {
  width: 12rem;
  height: 12rem
}

.team__image img {
  object-position: top;
  object-fit: cover;
  border-left: .1875rem solid var(--secondary-color);
  border-top: .1875rem solid var(--secondary-color);
  border-right: .1875rem solid var(--primary-color);
  border-bottom: .1875rem solid var(--primary-color);
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  border-radius: 100%;
  width: 100%;
  height: 100%;
  box-shadow: 0 0 5px rgba(0, 0, 0, .3)
}

.team__socials {
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-top: .5rem;
  display: flex
}

.team__socials a svg {
  width: 1rem;
  height: 1rem
}