body {
  font-family: "Montserrat", sans-serif;
  color: #333;
}

header {
  display: flex;
  align-items: center;
  margin-top: 20px;
}

header h1 {
  margin: 0;
  font-size: 2.5em;
  color: #333;
}

header img {
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 0;
  width: 200px;
  height: 200px;
  max-height: 200px;
  max-width: 200px;
}

em {
  color: #000;
}

h1,
h2,
h3,
h4 {
  font-family: "Montserrat", sans-serif !important;
}

.uk-nav {
  margin-top: 12px;
  font-size: 1.1em;
}

.uk-nav-default > li > a {
  color: #555;
  transition: color 0.2s ease-in-out;
}

.uk-nav-default > li > a:hover {
  color: #00a0b0;
  transition: color 0.2s ease-in-out;
}

.uk-nav-default > li.uk-active > a {
  color: #0077c2;
  cursor: default;
}

.menu-containter {
  padding: 20px;
}

.uk-nav > li > a {
  margin-left: 12px;
  margin-bottom: 12px;
}

footer {
  font-size: 0.9em;
  border-top: 5px solid #ddd;
  background: linear-gradient(#f0f0f0, #fff);
  border-radius: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 50px;
}

.footer-logo {
  position: relative;
  height: 32px;
}

.footer-section {
  margin: 30px 40px;
}

.footer-right {
  text-align: right;
  font-size: 0.8em;
  max-width: 350px;
}

@media (max-width: 640px) {
  header {
    text-align: center;
    flex-direction: column;
  }

  header img {
    margin-bottom: 20px;
  }

  header div {
    text-align: center;
  }

  header p {
    display: none;
  }

  .menu-containter {
    background: none;
  }

  .uk-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .uk-nav > li > a {
    margin-left: 0;
    margin-bottom: 12px;
  }

  footer {
    display: block;
  }

  .footer-right {
    max-width: none;
    text-align: left;
    border-top: 1px solid #ddd;
    padding-top: 20px;
  }
}

/* Index */
.main_photo {
  display: flex;
  /* justify-content: center; */
  align-items: center;
  margin-bottom: 50px;
}

.main_photo img {
  width: auto;
  height: 500px;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 20px;
  box-shadow: 0px 5px 5px rgba(0, 0, 0, 0.2);
}

@media (max-width: 767px) {
  .main_photo img {
    height: auto;
    width: 100%;
  }
}

.information {
  font-size: 16px;
  line-height: 1.5;
}

.title {
  color: #555;
  font-weight: 600;
}

/* Card */

.video {
  margin-bottom: 30px;
}

.video-frame {
  width: 100%;
  height: 0;
  padding-bottom: 56.25%;
  /* В соотношении 16:9 высота равна 56.25% (9 / 16 * 100) */
  position: relative;
}

.video-frame iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.text img {
  border-radius: 20px;
  box-shadow: 0px 5px 5px rgba(0, 0, 0, 0.2);
}

/* Folder */
.folder .uk-card {
  border-radius: 5px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.folder .uk-card-media-top img {
  width: 100%;
}

.slideshow {
  background-color: #f7f7f7;
  padding: 20px 10px;
  border-radius: 10px;
}

.uk-slideshow-items li img {
  object-fit: contain;
  object-position: center;
  height: 100%;
  width: 100%;
}
