@charset "UTF-8";
* {
  padding: 0;
  margin: 0;
}

h1, h2, h3, p {
  padding: 0;
  margin: 0;
}

ul, ol {
  list-style: none;
}

a {
  text-decoration: none;
  cursor: pointer;
}

button {
  border: none;
  cursor: pointer;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
}

.search-container {
  margin-bottom: 40px;
  margin-top: 30px;
  position: relative;
  z-index: 10;
}

.form-note {
  margin-bottom: 50px;
  padding: 18px 22px;
  max-width: 700px;
  background: rgba(40, 35, 30, 0.9);
  border: 1px solid rgba(139, 69, 19, 0.4);
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  font-family: "Manrope", sans-serif;
  color: rgb(220, 210, 200);
  line-height: 1.6;
  font-size: 18px;
}
.form-note a {
  color: #c48a4a;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.25s ease, text-shadow 0.25s ease;
}
.form-note a:hover {
  color: #e2b16e;
  text-shadow: 0 0 8px rgba(226, 177, 110, 0.4);
}

.search-input {
  width: 100%;
  max-width: 600px;
  padding: 15px 20px;
  font-size: 18px;
  font-family: "Manrope", sans-serif;
  border: 2px solid rgba(139, 69, 19, 0.5);
  border-radius: 30px;
  background: rgba(40, 35, 30, 0.9);
  color: rgb(220, 210, 200);
  outline: none;
  transition: all 0.3s ease;
}
.search-input::-moz-placeholder {
  color: rgba(220, 210, 200, 0.6);
}
.search-input::placeholder {
  color: rgba(220, 210, 200, 0.6);
}
.search-input:focus {
  border-color: #8B4513;
  background: rgba(50, 45, 40, 0.95);
  box-shadow: 0 0 15px rgba(139, 69, 19, 0.3);
}

.search-results-count {
  margin-top: 15px;
  color: rgb(220, 210, 200);
  font-family: "Manrope", sans-serif;
  font-size: 16px;
  font-weight: 400;
}

.person .main {
  transition: opacity 0.3s ease, transform 0.3s ease;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.6s ease-out forwards;
  animation-delay: calc(var(--index, 0) * 0.1s);
}
.person .main.hidden {
  display: none;
}
.person .main.fade-out {
  opacity: 0;
  transform: translateY(-20px);
}
.person .main:hover .img img {
  transform: scale(1.05);
}
.person .main:hover .text h3 {
  color: #A0522D;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.sedsko {
  margin-top: 0;
}

.lapusta {
  padding-bottom: 60px;
}
.lapusta .img .little-img img {
  width: 250px !important;
  height: 350px !important;
}
.lapusta .img .little-img {
  flex-direction: row !important;
}
.lapusta .img .little-img-2 img {
  width: 300px !important;
  height: 400px !important;
}
.lapusta .img .little-img-2 {
  gap: 20px;
  display: flex;
}

.person img {
  border-radius: 10px;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.person img:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}
.person .main {
  gap: 60px;
  display: flex;
  justify-content: space-between;
  margin-bottom: 80px;
  position: relative;
}
.person .main .img {
  display: flex;
  gap: 30px;
}
.person .main .img .little-img {
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.person .main .text h3 {
  color: white;
  font-family: "Manrope", sans-serif;
  font-size: 40px;
  line-height: 1.5;
  font-weight: 900;
  transition: color 0.3s ease, transform 0.3s ease;
}
.person .main .text p {
  margin-top: 40px;
  padding: 10px;
  color: white;
  font-family: "Manrope", sans-serif;
  font-size: 20px;
  line-height: 1.5;
  font-weight: 700;
  background: rgba(40, 35, 30, 0.85);
  border-radius: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.person .main .text p:hover {
  transform: translateX(3px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}
.person .main::after {
  position: absolute;
  content: "";
  width: 135%;
  height: 2px;
  background: #ffffff;
  left: -25%;
  bottom: -40px;
}

.mironihin .img img {
  width: 200px;
  height: 290px;
}

.bratkovskij .img img {
  width: 200px;
  height: 290px;
}
.bratkovskij .text .brat {
  margin-top: 10px;
  padding: 10px;
  color: white;
  font-family: "Manrope", sans-serif;
  font-size: 20px;
  line-height: 1.5;
  font-weight: 700;
  background: rgba(40, 35, 30, 0.85);
  border-radius: 10px;
}
.bratkovskij .text h4 {
  color: #A0522D;
  font-family: "Manrope", sans-serif;
  font-size: 20px;
  font-weight: 900;
  margin-top: 15px;
}
.bratkovskij .text p {
  padding: 0 !important;
  margin: 0 !important;
  background: none !important;
}

.dikunimg {
  width: 300px;
}

.dikun .img .little-img img {
  width: 200px;
}

.zajats .img img {
  width: 350px;
  height: 450px;
}
.zajats .img .little-img img {
  width: 300px;
  height: 200px;
}
.zajats .img .little-img img:last-child {
  width: 240px;
}

.stolyarovi h3 {
  width: 800px;
}

.voronov .img img {
  width: 250px;
  height: 400px;
}

.Germanchuk .img .imgimg {
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.Germanchuk .img img {
  width: 290px;
  height: 250px;
}

.first .img img {
  width: 350px;
  height: 500px;
}

.kozlovskij .img img {
  width: 290px;
  height: 400px;
}

.kramnikov .img img {
  width: 240px;
  height: 340px;
}
.kramnikov .img .imgimg {
  display: flex;
  width: 500px;
  flex-wrap: wrap;
  gap: 20px;
}

.mihayuk .img img {
  width: 300px;
  height: 450px;
}

.sheleg .img img {
  width: 300px;
  height: 450px;
}

.bogdan .img img {
  width: 350px;
  height: 250px;
}
.bogdan .img {
  display: flex;
  flex-direction: column;
}

.burak .img img {
  width: 400px;
  height: 550px;
}

.glushets .img img {
  width: 350px;
  height: 500px;
}
.glushets .img .little-img img {
  width: 400px;
  height: 235px;
}

.kot .img {
  display: flex;
  flex-direction: column;
}
.kot .img .imgimg {
  display: flex;
  gap: 20px;
}
.kot .img .imgimg img {
  width: 350px;
  height: 500px;
}
.kot .img .little-img img {
  width: 600px;
  height: 200px;
}

.nedogorenko .img {
  display: flex;
  flex-direction: column;
}
.nedogorenko .img .imgimg {
  display: flex;
  gap: 20px;
}
.nedogorenko .img .imgimg img {
  width: 350px;
  height: 500px;
}
.nedogorenko .img .little-img img {
  width: 720px;
  height: 270px;
}

.ustimenko .img img {
  width: 350px;
  height: 500px;
}
.ustimenko .img .little-img img {
  width: 360px;
  height: 235px;
}

.fedorenko .img {
  display: flex;
  flex-direction: column;
}
.fedorenko .img img {
  width: 400px;
  height: 550px;
}
.fedorenko .little-img {
  margin-top: 30px;
}
.fedorenko .little-img img {
  width: 450px;
  height: 250px;
}

body {
  background: #0a0a08;
  overflow-x: hidden;
}

body.is-menu-open .theme-toggle-button,
body.is-menu-open .burger-open-button {
  opacity: 0 !important;
  pointer-events: none !important;
}

.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.scale-in {
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}
.scale-in.visible {
  opacity: 1;
  transform: scale(1);
}

.slide-fade-in {
  animation: slideFadeIn 0.5s ease-in-out;
}

.slide-fade-out {
  animation: slideFadeOut 0.5s ease-in-out;
}

@keyframes slideFadeIn {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes slideFadeOut {
  from {
    opacity: 1;
    transform: translateX(0);
  }
  to {
    opacity: 0;
    transform: translateX(-30px);
  }
}
.fade-in {
  animation: fadeInTab 0.3s ease;
}

.fade-out {
  animation: fadeOutTab 0.3s ease;
}

@keyframes fadeInTab {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes fadeOutTab {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}
header {
  padding: 0 0 40px;
  background: url("../img/fon.gif");
  background-repeat: no-repeat;
  background-size: cover;
}
header .header-top {
  margin-bottom: 100px;
  padding: 10px 20px;
  display: flex;
  background: rgba(40, 35, 30, 0.85);
  justify-content: end;
  align-items: center;
  text-align: end;
}
header .header-top .burger-open-button {
  font-family: "Manrope", sans-serif;
  font-size: 20px;
  font-weight: 700;
  border-radius: 30px;
}
header .header-top img {
  width: 60px;
}
header .header-top nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: right;
}
header .header-top nav .p {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  gap: 20px;
}
header .header-top nav .p a {
  cursor: pointer;
  font-weight: 400;
  font-size: 21px;
  max-width: 600px;
  font-family: "Manrope", sans-serif;
  font-size: 20px;
  font-weight: 700;
  transition: 0.3s;
}
header .header-top nav .p a:hover {
  scale: 1.1;
  font-weight: 900;
}
header .header-top nav .p .active {
  font-weight: 700;
  position: relative;
}
header .header-top nav .p .active::after {
  position: absolute;
  content: "";
  width: 100%;
  height: 2px;
  background: #8B4513;
  bottom: 0;
  left: 0;
  border-radius: 5px;
}
header .header-top nav a {
  font-family: "Manrope", sans-serif;
  font-size: 20px;
  line-height: 1.5;
  font-weight: 900;
  max-width: 200px;
  text-align: center;
  color: #e0d8d0;
}
header .header-top button {
  padding: 20px 30px;
  border-radius: 20px;
  background: #8B4513;
  color: white;
  font-family: "Manrope", sans-serif;
  font-weight: 800;
  font-size: 27px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
header .header-top button::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}
header .header-top button:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(139, 69, 19, 0.4);
}
header .header-top button:hover::before {
  width: 300px;
  height: 300px;
}
header .header-top button:active {
  transform: translateY(0);
}
header .header-mid {
  border-radius: 60px;
  padding: 130px 0;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
}
header .header-mid h1 {
  display: flex;
  flex-direction: column;
  font-family: "Manrope", sans-serif;
  font-size: 53px;
  color: white;
  line-height: 110%;
  font-weight: 900;
  max-width: 800px;
  margin-bottom: 40px;
}
header .header-mid p {
  font-family: "Cormorant", serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  color: #ffffff;
  font-size: 29px;
  max-width: 760px;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
header .header-mid a {
  padding: 10px 20px;
  border-radius: 20px;
  background: #8B4513;
  color: white;
  font-family: "Manrope", sans-serif;
  font-weight: 800;
  font-size: 27px;
  width: 120px;
  margin-top: 20px;
  transition: all 0.3s ease;
  display: flex;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
header .header-mid a::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}
header .header-mid a:hover {
  transform: scale(1.05) translateY(-2px);
  background: #6B2C1A;
  box-shadow: 0 5px 15px rgba(139, 69, 19, 0.4);
}
header .header-mid a:hover::before {
  left: 100%;
}
header .header-mid a:active {
  transform: scale(1.02) translateY(0);
}

.history {
  background: linear-gradient(to top, #0a0a08, #1a1815);
  padding-bottom: 60px;
  padding-top: 60px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.history.section-visible {
  opacity: 1;
  transform: translateY(0);
}
.history .header-bottom h2 {
  transition: transform 0.3s ease, opacity 0.6s ease;
}
.history .header-bottom p {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.history .header-bottom p:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.header-bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
.header-bottom h2 {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Manrope", sans-serif;
  font-size: 53px;
  color: white;
  font-weight: 900;
  transition: transform 0.3s ease, opacity 0.6s ease;
}
.header-bottom h2:hover {
  transform: scale(1.02);
}
.header-bottom p {
  margin-top: 30px;
  padding: 35px;
  background: rgba(128, 128, 128, 0.54);
  border-radius: 25px;
  color: rgb(235, 228, 228);
  font-family: "Manrope", sans-serif;
  font-size: 18px;
}

.m-history {
  background: linear-gradient(to bottom, #1a1815, #0a0a08);
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.m-history.section-visible {
  opacity: 1;
  transform: translateY(0);
}
.m-history h2 {
  font-family: "Manrope", sans-serif;
  font-size: 35px;
  line-height: 1.5;
  color: white;
  padding-top: 20px;
  transition: transform 0.3s ease;
}
.m-history h2:hover {
  transform: translateX(5px);
}
.m-history .video {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-top: 30px;
}
.m-history .video .video-item {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.m-history .video .video-item iframe {
  border-radius: 20px;
  width: 620px;
  height: 340px;
  margin-bottom: 10px;
  transition: transform 0.3s ease;
}
.m-history .video .video-item .video-caption {
  font-family: "Manrope", sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #cccccc;
  text-align: center;
  margin-bottom: 25px;
  margin-top: 5px;
  line-height: 1.4;
  opacity: 0.9;
  transition: opacity 0.3s ease;
}
.m-history .video .video-item .video-caption:hover {
  opacity: 1;
}
.m-history .video .video-item:hover {
  transform: translateY(-5px);
}
.m-history .video .video-item:hover iframe {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.ww2 {
  padding-bottom: 20px;
  background: linear-gradient(to bottom, #0a0a08, #1a1815);
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.ww2.section-visible {
  opacity: 1;
  transform: translateY(0);
}
.ww2 .tabb {
  padding: 30px;
  border-radius: 20px;
  background: rgba(40, 35, 30, 0.75);
  color: #ffffff;
  font-family: "Manrope", sans-serif;
  font-size: 20px;
  line-height: 1.5;
  font-weight: 400;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.ww2 .tabb:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}
.ww2 .tabb h3 {
  margin-top: 20px;
  color: #A0522D;
  font-family: "Manrope", sans-serif;
  font-size: 30px;
  line-height: 1.5;
  font-weight: 900;
  margin-bottom: 10px;
}
.ww2 .tabb ul {
  list-style: circle;
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 25px;
}
.ww2 .tabb ul li {
  font-family: "Manrope", sans-serif;
  font-size: 20px;
  line-height: 1.5;
  font-weight: 400;
}

.tab-parent {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
  background: #5a4a3a;
  border-radius: 20px;
}
.tab-parent .tabContent {
  color: white;
  cursor: pointer;
  padding: 30px;
  border-radius: 20px;
  font-family: "Manrope", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  transform: translateY(0);
}
.tab-parent .tabContent:hover {
  transform: translateY(-3px);
}
.tab-parent .tabContent::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}
.tab-parent .tabContent:hover::before {
  left: 100%;
}
.tab-parent .active {
  background: #8B4513;
  transform: scale(1.05) translateY(-3px);
  box-shadow: 0 6px 20px rgba(139, 69, 19, 0.4);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% {
    box-shadow: 0 6px 20px rgba(139, 69, 19, 0.4);
  }
  50% {
    box-shadow: 0 8px 25px rgba(139, 69, 19, 0.5);
  }
}

.header {
  background: none;
  padding: 0;
}

.burger-nav {
  overflow-y: auto;
  padding-bottom: 60px;
}

footer {
  padding: 20px 0;
}
footer .footer {
  display: flex;
  justify-content: space-between;
}
footer .footer .foot-title {
  color: white;
  font-family: "Manrope", sans-serif;
  font-size: 20px;
  line-height: 1.5;
  font-weight: 900;
}
footer .footer .school-museum p {
  margin-top: 7px;
  color: white;
  font-family: "Manrope", sans-serif;
  font-size: 15px;
  line-height: 1.5;
  font-weight: 400;
  max-width: 300px;
}
footer .footer .contact ul li {
  margin-top: 7px;
  color: white;
  font-family: "Manrope", sans-serif;
  font-size: 15px;
  line-height: 1.5;
  font-weight: 400;
  max-width: 300px;
  display: flex;
}
footer .footer .contact ul li img {
  margin-top: 4px;
  width: 15px;
  fill: #ffffff;
  margin-right: 5px;
}
footer .footer .contact ul li a {
  margin-top: 7px;
  color: white;
  font-family: "Manrope", sans-serif;
  font-size: 15px;
  line-height: 1.5;
  font-weight: 400;
  max-width: 300px;
  display: flex;
  align-items: start;
}
footer .footer .social {
  display: flex;
  flex-direction: column;
  align-items: center;
}
footer .footer .social ul {
  display: flex;
  gap: 15px;
  margin-top: 5px;
}

.foot-page-two {
  margin-top: -50px;
}

.sedsko p {
  max-width: 400px;
}

.slide-sec {
  padding-bottom: 50px;
  background: linear-gradient(to bottom, #0a0a08, #1a1815);
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.slide-sec.section-visible {
  opacity: 1;
  transform: translateY(0);
}
.slide-sec .info {
  font-family: "Manrope", sans-serif;
  font-size: 35px;
  line-height: 1.5;
  color: white;
  padding-top: 20px;
}

.revi {
  padding-top: 30px;
}
.revi .name .name-img {
  display: flex;
  justify-content: space-between;
}
.revi .name .name-img img {
  width: 400px;
  height: 270px;
  border-radius: 5px;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.revi .name .name-img img:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}
.revi .name p {
  margin-top: 15px;
  padding-bottom: 15px;
  color: white;
  font-family: "Manrope", sans-serif;
  font-size: 22px;
  line-height: 1.5;
  font-weight: 400;
}

.arrows {
  display: flex;
  justify-content: end;
  gap: 10px;
}
.arrows svg {
  cursor: pointer;
  transition: all 0.3s ease;
}
.arrows svg:hover {
  transform: scale(1.15) translateY(-2px);
  filter: drop-shadow(0 4px 8px rgba(139, 69, 19, 0.3));
}
.arrows svg:active {
  transform: scale(1.1);
}

.slide2 img {
  height: 240px;
}

.info-p {
  color: white;
  font-family: "Manrope", sans-serif;
  font-size: 22px;
  line-height: 1.5;
  max-width: 500px;
}
.info-p a {
  color: #A0522D;
}

.social ul li a img {
  cursor: pointer;
  transition: 0.2s;
}
.social ul li a img:hover {
  scale: 1.1;
}

.svt-p-4 {
  margin-top: 10px;
}
.svt-p-4 a {
  color: #da5a20;
}

.about-us h1 {
  color: white;
  font-family: "Manrope", sans-serif;
  font-size: 42px;
  line-height: 1.5;
  font-weight: 900;
  margin-bottom: 30px;
  transition: transform 0.3s ease;
}
.about-us h1:hover {
  transform: translateX(5px);
}
.about-us .about {
  display: flex;
  justify-content: space-between;
}
.about-us .about p {
  color: rgb(220, 210, 200);
  font-family: "Manrope", sans-serif;
  font-size: 22px;
  line-height: 1.5;
  max-width: 500px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.about-us .about p:hover {
  transform: translateX(3px);
}
.about-us .about img {
  position: relative;
  width: 600px;
  height: 400px;
  border-radius: 10px;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.about-us .about img:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.aboutt-us {
  position: relative;
  background: linear-gradient(to bottom, #0a0a08, #1a1815);
  padding-top: 60px;
  padding-bottom: 60px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.aboutt-us.section-visible {
  opacity: 1;
  transform: translateY(0);
}
.aboutt-us .ell {
  position: absolute;
  right: 0;
  top: -100px;
  opacity: 0.3;
}

.locate {
  padding-bottom: 40px;
  background: linear-gradient(to bottom, #1a1815, #0a0a08);
  padding-top: 60px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
  position: relative;
  margin-top: 0;
}
.locate.section-visible {
  opacity: 1;
  transform: translateY(0);
}
.locate h2 {
  color: white;
  font-family: "Manrope", sans-serif;
  font-size: 42px;
  line-height: 1.5;
  font-weight: 900;
  margin-bottom: 30px;
  transition: transform 0.3s ease;
}
.locate h2:hover {
  transform: translateX(5px);
}
.locate__info {
  display: flex;
  justify-content: space-between;
}
.locate__info iframe {
  border-radius: 10px;
  width: 500px;
  height: 300px;
  display: block !important;
}
.locate__info .p-info {
  display: flex;
  flex-direction: column;
}
.locate__info .p-info p:first-child {
  margin-bottom: 10px;
}

.symbol {
  position: relative;
  padding-top: 110px;
  background: linear-gradient(to bottom, #0a0a08, #1a1815);
  padding-bottom: 60px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.symbol.section-visible {
  opacity: 1;
  transform: translateY(0);
}
.symbol h2 {
  color: white;
  font-family: "Manrope", sans-serif;
  font-size: 42px;
  line-height: 1.5;
  font-weight: 900;
  margin-bottom: 30px;
  transition: transform 0.3s ease;
}
.symbol h2:hover {
  transform: translateX(5px);
}
.symbol__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.symbol__top img {
  width: 400px;
  height: 260px;
  border-radius: 20px;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.symbol__top img:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}
.symbol__top p {
  font-size: 31px;
  color: rgb(220, 210, 200);
}
.symbol__top p span {
  color: #A0522D;
}
.symbol__bottom {
  margin-top: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.symbol__bottom img {
  width: 600px;
  border-radius: 20px;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.symbol__bottom img:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}
.symbol__bottom p {
  font-size: 29px;
  color: rgb(220, 210, 200);
}

.coop {
  position: relative;
  padding-top: 110px;
  background: linear-gradient(to top, #0a0a08, #1a1815);
  padding-bottom: 60px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.coop.section-visible {
  opacity: 1;
  transform: translateY(0);
}
.coop__top p {
  font-size: 19px;
}
.coop__top img {
  height: 300px;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  border-radius: 10px;
}
.coop__top img:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}
.coop__bottom {
  margin-top: 50px;
}
.coop__bottom img {
  height: 390px;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  border-radius: 10px;
}
.coop__bottom img:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}
.coop__bottom ul {
  list-style: circle;
}
.coop__bottom ul .coop-title {
  font-weight: 900;
  list-style: none;
  font-size: 26px;
}
.coop__bottom ul li {
  font-size: 18px;
}

.peace {
  position: relative;
  background: linear-gradient(to bottom, #0a0a08, #1a1815);
  padding-top: 110px;
  padding-bottom: 40px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.peace.section-visible {
  opacity: 1;
  transform: translateY(0);
}
.peace h2 {
  color: white;
  font-family: "Manrope", sans-serif;
  font-size: 42px;
  line-height: 1.5;
  font-weight: 900;
  margin-bottom: 30px;
  transition: transform 0.3s ease;
}
.peace h2:hover {
  transform: translateX(5px);
}
.peace .peace-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.peace .peace-content img {
  width: 500px;
  border-radius: 20px;
  position: relative;
  z-index: 999;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.peace .peace-content img:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.ell2 {
  position: absolute;
  bottom: -50%;
  left: -20%;
  z-index: -999;
}

.ell3 {
  position: absolute;
  right: -20%;
  bottom: -50%;
  z-index: -999;
}

.ell4 {
  position: absolute;
  top: 0;
  right: -16%;
}

.svt-p {
  background: rgba(30, 25, 20, 0.75);
  padding: 12px;
  border-radius: 30px;
  color: rgb(220, 210, 200);
  font-family: "Manrope", sans-serif;
  font-size: 20px;
  line-height: 1.5;
  font-weight: 400;
  max-width: 600px;
}
.svt-p span {
  font-weight: 900;
  margin-right: 40px;
}

.svt-title {
  color: rgb(0, 0, 0);
  font-family: "Manrope", sans-serif;
  font-size: 62px;
  line-height: 1.5;
  font-weight: 900;
  margin-bottom: 15px;
}

.svt-1 {
  padding: 30px 0;
  background-image: url("../img/svt-pomnit/22.06.1941.jpg") !important;
  background-size: cover;
  background-repeat: no-repeat;
}
.svt-1 .svt-rl {
  display: flex;
  justify-content: space-between;
}
.svt-1 h2 {
  color: rgb(0, 0, 0);
  font-family: "Manrope", sans-serif;
  font-size: 62px;
  line-height: 1.5;
  font-weight: 900;
  margin-bottom: 15px;
}
.svt-1__l p {
  background: rgba(30, 25, 20, 0.75);
  padding: 12px;
  border-radius: 30px;
  color: rgb(220, 210, 200);
  font-family: "Manrope", sans-serif;
  font-size: 20px;
  line-height: 1.5;
  font-weight: 400;
  max-width: 600px;
}
.svt-1__r {
  padding-top: 43px;
}
.svt-1__r img {
  width: 600px;
  border: 3px solid black;
  border-radius: 20px;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}
.svt-1__r p {
  margin-top: -5px;
  background: rgba(30, 25, 20, 0.75);
  padding: 12px 0 12px 12px;
  border-radius: 30px;
  color: rgb(220, 210, 200);
  font-family: "Manrope", sans-serif;
  font-size: 18px;
  line-height: 1.5;
  font-weight: 400;
  max-width: 600px;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  width: 592.5px;
}

.s-border {
  padding: 30px 0;
  position: relative;
}

.s-border::after {
  position: absolute;
  content: "";
  width: 100%;
  height: 10px;
  background: #000000;
  bottom: 0px;
}

.galary {
  margin-top: 60px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
}

.photo-g {
  width: 600px;
  border-radius: 20px;
  border: 2px solid black;
}

.photo {
  padding-bottom: 20px;
  background: linear-gradient(to bottom, #0a0a08, #1a1815);
}
.photo h2 {
  font-family: "Manrope", sans-serif;
  font-size: 35px;
  line-height: 1.5;
  color: white;
  padding-top: 20px;
}

.header3 .header-top {
  margin-bottom: 0;
}

.svt-2 {
  background-image: url("../img/svt-pomnit/1945-1.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position-y: -100px;
}
.svt-2 .svt-2-inf {
  display: flex;
  justify-content: space-between;
}
.svt-2 .svt-2-inf img {
  width: 600px;
  height: 450px;
  border: 3px solid black;
  border-radius: 20px;
}

.svt-3 {
  background-image: url("../img/svt-pomnit/bagration-1.jpg");
  background-repeat: no-repeat;
  background-size: cover;
}
.svt-3 ul {
  width: 400px;
  background: rgba(30, 25, 20, 0.75);
  border-radius: 20px;
}
.svt-3 ul .main-bg-li {
  font-size: 27px;
  font-weight: 900;
}
.svt-3 ul li {
  padding: 12px;
  border-radius: 30px;
  color: rgb(220, 210, 200);
  font-family: "Manrope", sans-serif;
  font-weight: 700;
  font-size: 20px;
}
.svt-3 .bagration-inf img {
  height: 200px;
  margin-top: 10px;
  border: 3px solid black;
  border-radius: 20px;
}
.svt-3 .bagration-inf .svt-p {
  max-width: 900px;
  font-size: 18px;
  margin-bottom: 10px;
}
.svt-3 .bagration-inf p:last-child {
  margin-top: 10px;
  height: 160px !important;
}
.svt-3 .bg-img {
  display: flex;
  gap: 10px;
}

.bg-info {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}
.bg-info .bg-img {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}
.bg-info .bg-img .video-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.bg-info .bg-img iframe {
  width: 300px;
  height: 200px;
  border-radius: 20px;
}
.bg-info .bg-img .video-caption {
  font-family: "Manrope", sans-serif;
  font-size: 12px;
  font-weight: 400;
  color: #000000;
  text-align: center;
  margin-top: 8px;
  margin-bottom: 15px;
  line-height: 1.4;
  opacity: 0.9;
  transition: opacity 0.3s ease;
}
.bg-info .bg-img .video-caption:hover {
  opacity: 1;
}

.svt-4 {
  background-image: url("../img/svt-pomnit/lg1.jpg");
  background-repeat: no-repeat;
  background-size: cover;
}

.sv4 {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.sv4 .video-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.sv4 .video-container iframe {
  border-radius: 20px;
  width: 600px;
  height: 380px;
}
.sv4 .video-container .video-caption {
  font-family: "Manrope", sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #000000;
  text-align: center;
  margin-top: 10px;
  margin-bottom: 15px;
  line-height: 1.4;
  opacity: 0.9;
  transition: opacity 0.3s ease;
}
.sv4 .video-container .video-caption:hover {
  opacity: 1;
}

.bg-content p {
  font-size: 16px;
  margin-top: 15px;
}

.footer3 {
  padding-top: 70px;
}

.bg-content {
  flex-wrap: wrap;
}

.bg-img {
  flex-wrap: wrap;
}

.name-img {
  flex-wrap: wrap;
}

.svt-5 {
  background-image: url("../img/svt-pomnit/bagration-1.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.calendar-section .calendar-intro {
  max-width: 100%;
  margin-bottom: 40px;
  text-align: center;
}

.calendar-filter {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 40px;
}
.calendar-filter .filter-btn {
  background: rgba(30, 25, 20, 0.85);
  color: rgb(220, 210, 200);
  border: 2px solid rgba(220, 210, 200, 0.3);
  padding: 12px 24px;
  border-radius: 25px;
  font-family: "Manrope", sans-serif;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}
.calendar-filter .filter-btn:hover {
  background: rgba(30, 25, 20, 0.95);
  border-color: rgba(220, 210, 200, 0.6);
  transform: translateY(-2px);
}
.calendar-filter .filter-btn.active {
  background: rgba(218, 90, 32, 0.9);
  border-color: rgb(218, 90, 32);
  color: #ffffff;
  font-weight: 700;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

.calendar-card {
  background: rgba(30, 25, 20, 0.85);
  border-radius: 20px;
  padding: 20px;
  display: flex;
  gap: 20px;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  opacity: 1;
}
.calendar-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  border-color: rgba(218, 90, 32, 0.5);
}
.calendar-card.hidden {
  display: none;
  opacity: 0;
}

.calendar-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 80px;
  padding: 15px;
  background: rgba(218, 90, 32, 0.2);
  border-radius: 15px;
  border: 2px solid rgba(218, 90, 32, 0.4);
}
.calendar-date .date-day {
  font-family: "Manrope", sans-serif;
  font-size: 32px;
  font-weight: 900;
  color: rgb(220, 210, 200);
  line-height: 1;
}
.calendar-date .date-month {
  font-family: "Manrope", sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: rgb(220, 210, 200);
  text-transform: lowercase;
  margin-top: 5px;
  text-align: center;
}

.calendar-content {
  flex: 1;
}
.calendar-content .calendar-title {
  font-family: "Manrope", sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: rgb(220, 210, 200);
  margin-bottom: 12px;
  line-height: 1.3;
}
.calendar-content .calendar-description {
  font-family: "Manrope", sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: rgb(200, 190, 180);
  line-height: 1.5;
}

.tab-parent {
  flex-wrap: wrap;
}

.menu-content {
  display: flex;
  flex-direction: column;
}

.burger-menu {
  display: flex;
}
.burger-menu a {
  font-family: "Manrope", sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: white;
  transition: 0.3s;
}
.burger-menu a:hover {
  color: #F88F14;
}
.burger-menu p {
  color: #da5a20;
}

.buger-open-button {
  display: none !important;
  cursor: pointer;
}

.burger-open-button {
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: radial-gradient(110% 110% at 30% 20%, #c06a2a 0%, #8B4513 45%, #5a2c12 100%);
  color: transparent;
  font-family: "Manrope", sans-serif;
  font-size: 22px;
  font-weight: 800;
  border: 1px solid rgba(248, 143, 20, 0.35);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.06) inset, 0 0 18px rgba(248, 143, 20, 0.18);
  position: fixed;
  top: 18px;
  right: 20px;
  z-index: 1100;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, opacity 0.2s ease;
  opacity: 0;
  pointer-events: none;
  background-image: linear-gradient(#f6efe8, #f6efe8), linear-gradient(#f6efe8, #f6efe8), linear-gradient(#f6efe8, #f6efe8), radial-gradient(110% 110% at 30% 20%, #c06a2a 0%, #8B4513 45%, #5a2c12 100%);
  background-repeat: no-repeat;
  background-size: 22px 2px, 22px 2px, 22px 2px, 100% 100%;
  background-position: center 17px, center 25px, center 33px, center center;
}

.burger-open-button--visible {
  display: flex;
  opacity: 1;
  pointer-events: auto;
}

.burger-open-button:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.5);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.08) inset, 0 0 22px rgba(248, 143, 20, 0.25);
  filter: saturate(1.05);
}

.burger-open-button:active {
  transform: translateY(0) scale(0.97);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}

.burger-menu {
  position: fixed;
  top: 0;
  left: -250px;
  width: 250px;
  height: 100%;
  background: #333;
  transition: left 0.3s;
  z-index: 1000;
}

.burger-menu.active {
  left: 0;
}

.menu-content {
  padding: 20px;
  color: white;
}

.burger-close-button {
  cursor: pointer;
  padding: 10px;
  background: #2a2520;
  color: white;
  margin: 5px 0;
  border-radius: 4px;
}

.map {
  background: linear-gradient(to top, #0a0a08, #1a1815);
  padding-top: 10px;
  padding-bottom: 60px;
}
.map .map-content {
  display: flex;
  flex-direction: column;
}
.map h2 {
  font-family: "Manrope", sans-serif;
  font-size: 35px;
  line-height: 1.5;
  color: white;
  padding-top: 20px;
}
.map p {
  font-size: 18px;
  margin-bottom: 20px;
  color: white;
  font-family: "Manrope", sans-serif;
  font-weight: 400;
  max-width: 600px;
}
.map iframe {
  border-radius: 20px;
  width: 100%;
  height: 600px;
}

#backToTop {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background-color: #1a1815;
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
  z-index: 1000;
}

#backToTop.show {
  opacity: 1;
  visibility: visible;
}

#backToTop:hover {
  background-color: #555;
}

.image-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
}
.image-modal .modal-overlay {
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.image-modal .modal-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.image-modal .modal-image {
  max-width: 100%;
  max-height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
  transition: transform 0.3s ease;
  cursor: grab;
}
.image-modal .modal-image:active {
  cursor: grabbing;
}
.image-modal .modal-close {
  position: fixed;
  top: 20px;
  right: 30px;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  font-size: 30px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
  z-index: 10001;
}
.image-modal .modal-close:hover {
  background: rgba(255, 255, 255, 0.3);
}
.image-modal .modal-controls {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10001;
}
.image-modal .modal-controls button {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  font-size: 18px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}
.image-modal .modal-controls button:hover {
  background: rgba(255, 255, 255, 0.3);
}

.burger-btn {
  position: fixed;
  top: 10px;
  left: 20px;
  width: 30px;
  height: 30px;
  background: #333;
  border: none;
  cursor: pointer;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  padding: 5px;
}

.burger-btn span {
  display: block;
  height: 3px;
  width: 100%;
  background: white;
  transition: 0.3s;
}

.burger-nav {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0px;
  left: -550px;
  width: 250px;
  height: 100vh;
  background: #333;
  padding: 60px 20px 20px;
  transition: 0.3s;
  z-index: 999;
}
.burger-nav span {
  height: 70px;
  padding-top: 80px;
}
.burger-nav a {
  color: white;
  font-family: "Manrope", sans-serif;
  font-size: 20px;
  line-height: 1.2;
  font-weight: 700;
  margin-top: 15px;
  transition: 0.2s;
}
.burger-nav a:hover {
  scale: 1.1;
  color: #8B4513;
}

.burger-nav.active {
  left: 0;
}

@media (max-width: 960px) {
  .map iframe {
    height: 400px;
    width: 100%;
  }
  .map h2 {
    font-size: 25px;
  }
  .map p {
    font-size: 15px;
  }
  .map-content {
    flex-wrap: wrap;
  }
  .person .main .text p {
    max-width: 400px;
  }
  .peace .peace-content {
    flex-wrap: wrap;
  }
  .peace .peace-content img {
    width: 270px;
    margin-top: 20px;
  }
  .symbol__top {
    flex-wrap: wrap;
  }
  .symbol__bottom {
    flex-wrap: wrap;
  }
  .ell2, .ell3, .ell4 {
    display: none !important;
  }
  .tab-parent {
    flex-wrap: nowrap;
  }
  body {
    overflow-x: hidden;
  }
  .container {
    padding: 0 20px;
  }
  .video-item iframe {
    width: 450px !important;
  }
  .video-item .video-caption {
    font-size: 13px;
    margin-bottom: 20px;
  }
  .revi .name .name-img img {
    width: 300px;
    height: 200px;
  }
  .revi .name p {
    font-size: 15px;
  }
  .sedsko-img {
    width: 300px;
    height: 500px;
  }
  .stolyarovi p, h3 {
    max-width: 300px;
  }
  .drozdov .img {
    flex-wrap: wrap;
  }
  .kozlovskij .img {
    flex-wrap: wrap;
  }
  .first .img {
    flex-wrap: wrap;
  }
  .kot, .nedogorenko, .ustimenko {
    flex-wrap: wrap;
  }
  .person .main::after {
    width: 127.2%;
  }
  .svt-rl, .svt-2-inf, .bg-info {
    flex-wrap: wrap;
  }
  .svt-2-inf {
    gap: 20px;
  }
  .bg-content {
    display: flex;
    gap: 15px;
    align-items: start;
  }
  .sv4 {
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
  }
  .sv4 .video-container .video-caption {
    font-size: 13px;
    margin-bottom: 10px;
  }
  .bg-content .svt-p {
    font-size: 30px;
  }
  .s-border::after {
    width: 100%;
  }
  .about-us .about img {
    width: 350px;
    height: 250px;
  }
  .locate__info {
    gap: 20px;
  }
  .ell3 {
    display: none;
  }
  .kot .img .little-img img {
    width: 200px !important;
  }
}
@media (max-width: 959px) {
  .nedogorenko .img .little-img img {
    width: 200px !important;
  }
  .lapusta {
    padding-bottom: 60px;
  }
  .lapusta .img .little-img img {
    width: 300px !important;
  }
  .lapusta .img .little-img {
    flex-direction: column !important;
  }
  .lapusta .img .little-img-2 {
    flex-direction: column !important;
  }
  .locate__info {
    flex-wrap: wrap;
  }
  .tab-parent {
    flex-wrap: wrap;
  }
  .main {
    flex-wrap: wrap;
  }
  .main .img {
    flex-wrap: wrap;
  }
  .main .imgimg {
    flex-wrap: wrap;
  }
  .main .footer {
    flex-wrap: wrap;
  }
  .main .ell2, .main .ell3, .main .ell4 {
    display: none !important;
  }
}
@media (max-width: 540px) {
  .map iframe {
    height: 450px;
  }
  .map h2 {
    font-size: 30px;
    line-height: 1.2;
    margin-bottom: 10px;
  }
  .map p {
    font-size: 13px;
  }
  .header-top {
    width: 90% !important;
  }
  .svt-3 ul {
    width: 100%;
  }
  .photo h2 {
    padding-top: 0;
    font-size: 25px;
  }
  .photo-g {
    width: 280px;
  }
  .burger-open-button {
    position: static;
    display: flex;
    width: auto;
    height: auto;
    padding: 10px 20px;
    border-radius: 24px;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    margin-left: 10px;
    font-size: 18px;
    color: #ffffff;
    background-image: none;
    background: #8B4513;
    border: 1px solid rgba(248, 143, 20, 0.25);
  }
  .burger-open-button::after {
    content: "Экспозиции";
  }
  .peace {
    padding-top: 0;
  }
  .ell2, .ell3, .ell4 {
    display: none !important;
  }
  .symbol__top {
    flex-wrap: wrap;
  }
  .symbol__top img {
    width: 280px;
    height: 200px;
    margin-top: 15px;
  }
  .symbol__bottom {
    flex-wrap: wrap;
  }
  .symbol__bottom img {
    width: 280px;
    height: 200px;
    margin-bottom: 25px;
  }
  .ell {
    top: 0 !important;
    z-index: -999;
  }
  .symbol {
    padding-top: 0;
  }
  .symbol h2 {
    font-size: 30px;
  }
  .locate h2 {
    font-size: 30px;
  }
  .locate__info iframe {
    width: 280px;
    height: 200px;
  }
  .person .img {
    display: flex;
    flex-wrap: wrap;
  }
  .person .img img {
    width: 170px;
    height: 230px;
  }
  .sedsko {
    padding-top: 80px;
  }
  .main {
    display: flex;
    flex-wrap: wrap;
  }
  .imgimg {
    width: 300px !important;
    display: flex;
    flex-wrap: wrap;
  }
  .glushets .img .little-img img {
    width: 280px;
    height: 200px;
  }
  .container {
    padding: 20px;
  }
  .kot .img .imgimg img {
    width: 200px;
    height: 300px;
  }
  .kot .img .little-img img {
    width: 270px;
    height: 170px;
  }
  .imgimg img {
    width: 260px !important;
    height: 340px !important;
  }
  .nedogorenko .img .little-img img {
    width: 270px;
    height: 190px;
  }
  .ustimenko .img .little-img img {
    width: 270px;
    height: 180px;
  }
  .fedorenko .little-img img {
    width: 280px;
    height: 200px;
  }
  .header-nav {
    display: none !important;
  }
  header .header-mid h1 {
    font-size: 23px;
  }
  header {
    padding: 0 !important;
  }
  .header-top {
    margin-bottom: 0 !important;
  }
  header .header-mid p {
    font-size: 20px;
  }
  .header-bottom h2 {
    font-size: 31px;
  }
  .header-bottom p {
    padding: 15px;
    font-size: 17px;
  }
  .m-history .video .video-item iframe {
    width: 100% !important;
    height: 300px !important;
  }
  .m-history .video .video-item .video-caption {
    font-size: 12px;
    margin-bottom: 15px;
  }
  .tab-parent {
    flex-wrap: wrap;
  }
  .tab-parent .tabContent {
    padding: 10px;
  }
  .ww2 .tabb {
    font-size: 17px;
    padding: 10px;
  }
  .ww2 .tabb ul {
    list-style: none;
  }
  .ww2 .tabb ul li {
    font-size: 15px;
  }
  .revi .name .name-img img {
    display: none;
  }
  .revi .name .name-img img:first-child {
    display: block;
    width: 100%;
    height: 300px;
  }
  .svt-3 .bagration-inf img {
    width: 100% !important;
    height: 70% !important;
  }
  .revi .name p {
    font-size: 13px;
  }
  .footer {
    flex-wrap: wrap;
    gap: 19px;
  }
  footer .footer .school-museum p {
    margin-top: 3px;
  }
  .person .main .text h3 {
    font-size: 33px;
  }
  .person .main .text p {
    font-size: 18px;
    padding: 6px;
  }
  .bogdan .img {
    flex-direction: row;
  }
  .bogdan .img img {
    width: 280px;
  }
  .svt-1__l p {
    font-size: 13px;
  }
  .svt-1__r img {
    width: 100%;
  }
  .svt-1__r p {
    width: 98.5%;
  }
  .svt-1 h2 {
    font-size: 42px;
  }
  .svt-title {
    font-size: 42px;
  }
  .svt-p {
    font-size: 13px !important;
  }
  .svt-2 .svt-2-inf img {
    width: 100%;
    height: 70%;
    border: 3px solid black;
    border-radius: 20px;
  }
  .svt-2 {
    background-position-y: 0;
  }
  .bg-content .svt-p {
    font: 13px !important;
  }
  .bg-content {
    display: flex;
    flex-wrap: wrap;
  }
  .bg-content ul li {
    font-size: 13px;
  }
  .svt-3 ul .main-bg-li {
    font-size: 19px;
  }
  .bg-img {
    display: flex;
    flex-wrap: wrap;
  }
  .bg-img iframe {
    width: 100% !important;
    height: 300px !important;
  }
  .bg-img img {
    width: 270px !important;
    height: 200px !important;
  }
  .bg-img .video-caption {
    font-size: 11px;
    margin-bottom: 10px;
    color: #000000;
  }
  .sv4 .video-container iframe {
    width: 100%;
    height: 300px;
  }
  .sv4 .video-container .video-caption {
    font-size: 12px;
    margin-bottom: 10px;
  }
  .svt-p span {
    margin-right: 79px;
  }
  .about {
    flex-wrap: wrap !important;
  }
  .about img {
    width: 280px !important;
    height: 200px !important;
    margin-top: 15px;
  }
  .info-p {
    font-size: 13px !important;
  }
  .header-top p {
    display: block !important;
  }
  .search-container {
    width: 70%;
  }
}
.theme-toggle-button {
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  width: 45px;
  height: 45px;
  font-size: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  z-index: 1001;
}
.theme-toggle-button:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
}
.theme-toggle-button:active {
  transform: scale(0.95);
}

html.light-theme body {
  background: #f5f5f5;
}
html.light-theme .header-top {
  background: rgba(255, 255, 255, 0.95);
}
html.light-theme .header-top nav .p a {
  color: #2a2520;
}
html.light-theme .header-top .theme-toggle-button {
  background: rgba(42, 37, 32, 0.1);
  border-color: rgba(42, 37, 32, 0.2);
}
html.light-theme .header-top .theme-toggle-button:hover {
  background: rgba(42, 37, 32, 0.2);
  box-shadow: 0 4px 12px rgba(42, 37, 32, 0.15);
}
html.light-theme .history {
  background: linear-gradient(to top, #f5f5f5, #e8e8e8);
}
html.light-theme .history .header-bottom h2 {
  color: #2a2520;
}
html.light-theme .history .header-bottom p {
  background: rgba(255, 255, 255, 0.9);
  color: #2a2520;
}
html.light-theme .m-history {
  background: linear-gradient(to bottom, #e8e8e8, #f5f5f5);
}
html.light-theme .m-history h2 {
  color: #2a2520;
}
html.light-theme .m-history .video-item .video-caption {
  color: #555555;
}
html.light-theme .ww2 {
  background: linear-gradient(to bottom, #f5f5f5, #e8e8e8);
}
html.light-theme .ww2 .tabb {
  background: rgba(255, 255, 255, 0.9);
  color: #2a2520;
}
html.light-theme .ww2 .tabb h3 {
  color: #8B4513;
}
html.light-theme .ww2 .tab-parent {
  background: #d4d4d4;
}
html.light-theme .ww2 .tab-parent .tabContent {
  color: #2a2520;
}
html.light-theme .slide-sec {
  background: linear-gradient(to bottom, #f5f5f5, #e8e8e8);
}
html.light-theme .slide-sec .info {
  color: #2a2520;
}
html.light-theme .slide-sec .revi .name p {
  color: #2a2520;
}
html.light-theme .map {
  background: linear-gradient(to top, #f5f5f5, #e8e8e8);
}
html.light-theme .map h2 {
  color: #2a2520;
}
html.light-theme .map p {
  color: #2a2520;
}
html.light-theme footer {
  background: rgba(255, 255, 255, 0.92);
  border-top: 1px solid rgba(42, 37, 32, 0.12);
}
html.light-theme footer .footer .foot-title {
  color: #2a2520;
}
html.light-theme footer .footer .school-museum p {
  color: #2a2520;
}
html.light-theme footer .footer .contact ul li {
  color: #2a2520;
}
html.light-theme footer .footer .contact ul li a {
  color: #2a2520;
}
html.light-theme .about-us h1 {
  color: #2a2520;
}
html.light-theme .about-us .about p {
  color: #2a2520;
}
html.light-theme .aboutt-us {
  background: linear-gradient(to bottom, #f5f5f5, #e8e8e8);
}
html.light-theme .locate {
  background: linear-gradient(to bottom, #e8e8e8, #f5f5f5);
}
html.light-theme .locate h2 {
  color: #2a2520;
}
html.light-theme .symbol {
  background: linear-gradient(to bottom, #f5f5f5, #e8e8e8);
}
html.light-theme .symbol h2 {
  color: #2a2520;
}
html.light-theme .symbol__top p, html.light-theme .symbol__bottom p {
  color: #2a2520;
}
html.light-theme .coop {
  background: linear-gradient(to top, #f5f5f5, #e8e8e8);
}
html.light-theme .peace {
  background: linear-gradient(to bottom, #f5f5f5, #e8e8e8);
}
html.light-theme .peace h2 {
  color: #2a2520;
}
html.light-theme .photo {
  background: linear-gradient(to bottom, #f5f5f5, #e8e8e8);
}
html.light-theme .photo h2 {
  color: #2a2520;
}
html.light-theme .info-p {
  color: #2a2520;
}
html.light-theme .calendar-section .calendar-intro {
  background: rgba(255, 255, 255, 0.95);
  color: #2a2520;
}
html.light-theme .calendar-section .calendar-filter .filter-btn {
  background: rgba(255, 255, 255, 0.9);
  color: #2a2520;
  border-color: rgba(42, 37, 32, 0.3);
}
html.light-theme .calendar-section .calendar-filter .filter-btn:hover {
  background: rgb(255, 255, 255);
  border-color: rgba(42, 37, 32, 0.6);
}
html.light-theme .calendar-section .calendar-filter .filter-btn.active {
  background: rgba(218, 90, 32, 0.9);
  border-color: rgb(218, 90, 32);
  color: #ffffff;
}
html.light-theme .calendar-section .calendar-card {
  background: rgba(255, 255, 255, 0.95);
}
html.light-theme .calendar-section .calendar-card .calendar-date {
  background: rgba(218, 90, 32, 0.12);
  border-color: rgba(218, 90, 32, 0.4);
}
html.light-theme .calendar-section .calendar-card .calendar-date .date-day,
html.light-theme .calendar-section .calendar-card .calendar-date .date-month {
  color: #2a2520;
}
html.light-theme .calendar-section .calendar-card .calendar-content .calendar-title {
  color: #2a2520;
}
html.light-theme .calendar-section .calendar-card .calendar-content .calendar-description {
  color: #4a4a4a;
}
html.light-theme .burger-menu {
  background: #ffffff;
}
html.light-theme .burger-menu a {
  color: #2a2520;
}
html.light-theme .burger-menu a:hover {
  color: #8B4513;
}
html.light-theme .burger-menu .burger-close-button {
  background: #f0f0f0;
  color: #2a2520;
}
html.light-theme .burger-nav {
  background: #ffffff;
}
html.light-theme .burger-nav a {
  color: #2a2520;
}
html.light-theme .burger-nav a:hover {
  color: #8B4513;
}
html.light-theme #backToTop {
  background-color: #2a2520;
  color: white;
}
html.light-theme #backToTop:hover {
  background-color: #3a3520;
}
html.light-theme .image-modal .modal-overlay {
  background: rgba(0, 0, 0, 0.9);
}
html.light-theme .person .main .text h3 {
  color: #2a2520;
}
html.light-theme .person .main .text p {
  color: #2a2520;
  background: rgba(255, 255, 255, 0.9);
}
html.light-theme .person .main::after {
  background: #2a2520;
}
html.light-theme .form-note {
  background: rgba(255, 255, 255, 0.9);
  color: #2a2520;
  border-color: rgba(139, 69, 19, 0.3);
}
html.light-theme .search-input {
  background: rgba(255, 255, 255, 0.9);
  color: #2a2520;
  border-color: rgba(139, 69, 19, 0.3);
}
html.light-theme .search-input::-moz-placeholder {
  color: rgba(42, 37, 32, 0.6);
}
html.light-theme .search-input::placeholder {
  color: rgba(42, 37, 32, 0.6);
}
html.light-theme .search-input:focus {
  background: rgba(255, 255, 255, 0.95);
  border-color: #8B4513;
}
html.light-theme .search-results-count {
  color: #2a2520;
}
html.light-theme .bratkovskij .text .brat {
  background: rgba(255, 255, 255, 0.9);
  color: #2a2520;
}
html.light-theme .svt-3 ul {
  background: rgba(255, 255, 255, 0.9);
}
html.light-theme .svt-3 ul li {
  color: #2a2520;
}
html.light-theme .svt-p,
html.light-theme .svt-1__l p,
html.light-theme .svt-1__r p,
html.light-theme .svt-3 ul,
html.light-theme .calendar-section .calendar-intro,
html.light-theme .calendar-section .calendar-card {
  background: rgba(255, 255, 255, 0.85);
  color: #2a2520;
  border: 1px solid rgba(42, 37, 32, 0.14);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.14);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
html.light-theme .calendar-section .calendar-card .calendar-content .calendar-title {
  color: #2a2520;
}
html.light-theme .calendar-section .calendar-card .calendar-content .calendar-description {
  color: #4a4a4a;
}/*# sourceMappingURL=style.css.map */