@import url("../../fonts/fonts.css");

:root {
  font-family: system-ui, Avenir, Helvetica, Arial, sans-serif;
  line-height: 1.5;
  font-weight: 400;

  color-scheme: light dark;
  color: rgba(255, 255, 255, 0.87);
  background-color: #242424;

  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;

  --font-size-xxs: clamp(0.65rem, 0.8vw + 0.3rem, 0.75rem); /* Super Small */
  --font-size-xs: clamp(0.75rem, 1vw + 0.35rem, 0.875rem); /* Smaller Small */
  --font-size-s: clamp(0.85rem, 1.2vw + 0.4rem, 1rem); /* Small */
  --font-size-sm: clamp(0.95rem, 1.4vw + 0.45rem, 1.1rem); /* Small Medium */
  --font-size-m: clamp(1rem, 1.5vw + 0.5rem, 1.25rem); /* Medium */
  --font-size-ml: clamp(1.125rem, 1.7vw + 0.55rem, 1.375rem); /* Medium Large */
  --font-size-l: clamp(1.25rem, 2vw + 0.6rem, 1.5rem); /* Large */
  --font-size-xl: clamp(1.5rem, 2.5vw + 0.7rem, 2rem); /* Extra Large */
  --font-size-xxl: clamp(2rem, 3vw + 0.8rem, 2.5rem); /* Double Extra Large */
}

body {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-width: 320px;
  min-height: 100vh;
}

#root {
  margin: 0;
  text-align: center;
  width: 100%;
}
.page-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: white;
}

.page-transition {
  position: relative;
  width: 100%;
  min-height: 100vh;
  opacity: 1;
  transition: opacity 0.2s ease-in-out;
}

.page-transition > * {
  animation: pageTransitionFadeIn 0.2s ease-in-out;
}

@keyframes pageTransitionFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.horizontal-logo {
  display: flex;
  align-items: center;
}

.horizontal-logo.expand {
  justify-content: space-between;
  width: 100%;
}

.horizontal-logo.tight {
  justify-content: flex-start;
}

.horizontal-logo .logo-image {
  height: auto;
  margin-right: 0.5em;
  filter: brightness(7) saturate(0);
  display: none;
}

.horizontal-logo .logo-text {
  font-size: var(--font-size-m);
  font-weight: 400;
  letter-spacing: 0.02em;
  font-family: "ReneSansCyr", sans-serif;
  display: none;
}
.image-container {
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  position: relative;
}

.image-container .image {
  width: 100%;
  height: auto;
  object-fit: cover;
  transition:
    transform 0.3s ease-in-out,
    opacity 0.3s ease-in-out;
}

.image-container .skeleton {
  position: absolute;
  inset: 0;
  background-color: #e0e0e0; /* Adjust color as needed */
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}
.juicy-header {
  width: 100%;
  height: 40vh;
  background-size: cover;
  background-position: center;
  display: flex;
  justify-content: center;
  align-items: end;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.juicy-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1;
  pointer-events: none;
}

.juicy-header .content {
  color: white;
  z-index: 2;
  display: flex;
  height: 100%;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.juicy-header .community-title {
  font-size: 3.4rem;
  font-weight: 500;
  font-family: "ReneSansCyr", sans-serif;
  z-index: 2;
}

@media (max-width: 768px) {
  .juicy-header .community-title {
    font-size: 2.7rem;
  }
}
.full-screen-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #001748;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 900;
  opacity: 0;
  transform: translateY(-20px); /* Start slightly above */
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
  pointer-events: none; /* Prevent clicks when closed */
}

.full-screen-menu.open {
  opacity: 1;
  transform: translateY(0); /* Move into place */
  pointer-events: auto; /* Allow clicks when open */
}

.full-screen-nav {
  display: flex;
  flex-direction: column;
  margin-top: 10rem;
  gap: 2rem;
  align-items: center;
}

.full-screen-menu .item {
  color: white;
  font-size: var(--font-size-m);
  text-align: center;
  text-decoration: none;
  margin: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "ReneSansCyr", sans-serif;
  font-weight: 600;
  position: relative;
  width: fit-content;
}

.full-screen-menu .item::after {
  content: "";
  position: absolute;
  width: 0;
  height: 1.5px;
  bottom: -0.1em;
  left: 50%;
  background-color: #c9c9c9;
  transition: all 0.3s ease-in-out;
  transform: translateX(-50%);
}

.full-screen-menu .item:hover::after {
  width: 30%;
}

.full-screen-menu .item.active::after {
  width: 100%;
}

.full-screen-menu .join-button {
  border-radius: 8px;
  background-color: #ffffff;
  padding: 0.3rem 2.5rem;
  color: #1d2633;
  font-size: var(--font-size-m);
  text-decoration: none;
  text-align: center;
}

.full-screen-menu .login-button {
  color: white;
  font-size: var(--font-size-m);
  text-decoration: none;
  text-align: center;
  font-family: "ReneSansCyr", sans-serif;
  font-weight: 600;
  padding: 0.3rem 2.5rem;
  position: relative;
}

.join-button-container {
  margin-top: 10em;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 4rem;
  width: 100%;
  max-width: 400px;
  font-family: "ReneSansCyr", sans-serif;
  font-weight: 600;
}
.menu-toggle-button {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 3em;
  height: 1.75em;
  background-color: transparent;
  border: none;
  cursor: pointer;
  position: fixed;
  top: calc((5vh - 1.75em) / 2);
  right: 1vw;
  z-index: 1003;
}

.line {
  width: 100%;
  height: 1.5px;
  background-color: white;
  transition:
    transform 0.9s ease,
    opacity 0.6s ease;
}

.line.top {
  transform-origin: center;
}

.line.middle {
  opacity: 1;
}

.line.bottom {
  transform-origin: center;
}

.menu-toggle-button .line.open.top {
  transform: translate(0px, calc((1.75em - 6px) / 2)) rotate(855deg);
}

.menu-toggle-button .line.open.middle {
  opacity: 0;
}

.menu-toggle-button .line.open.bottom {
  transform: translate(0px, calc((1.75em) / -2)) rotate(-135deg);
}
.thin-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  top: 0;
  width: 100%;
  transition: all 0.3s ease-in-out;
  z-index: 1000;
  padding: 0 1rem;
  box-sizing: border-box;
}

.thin-menu-header.scrolled {
  background-color: #001748;
  height: 5vh;
}

.thin-menu-header:not(.scrolled) {
  background-color: transparent;
  height: 6vh;
}

.thin-menu-header .center {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
}

.thin-menu-header .left,
.thin-menu-header .right {
  display: flex;
  flex: 0 0 auto;
  padding: 0 0;
}

.thin-menu-header .logo-image {
  width: auto;
  height: 4.5vh;
  margin-top: 0.2vh;
  filter: brightness(7) saturate(0);
  z-index: 1001;
}

.thin-menu-header .logo-text {
  font-size: var(--font-size-xl);
  font-weight: 400;
  letter-spacing: 0.02em;
  font-family: "ReneSansCyr", sans-serif;
  z-index: 1001;
}

.thin-menu-header:not(.scrolled) .logo-image,
.thin-menu-header:not(.scrolled) .logo-text {
  display: none;
}

.thin-menu-header.scrolled .logo-image,
.thin-menu-header.scrolled .logo-text {
  display: block;
}
.wide-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  top: 0;
  width: 100%;
  transition: all 0.3s ease;
  z-index: 1000;
  padding: 0 1rem;
  box-sizing: border-box;
}

.wide-menu-header.scrolled {
  background-color: #001748;
  height: 6vh;
}

.wide-menu-header:not(.scrolled) {
  background-color: #001748;
  height: 6vh;
}

.wide-menu-header .center {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 20px;
  font-size: 25px;
}

.wide-menu-header .left,
.wide-menu-header .right {
  display: flex;
  gap: 20px;
  flex: 0 0 auto;
  padding: 0 2rem;
}

.wide-menu-header .item {
  text-decoration: none;
  margin: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "ReneSansCyr", sans-serif;
  font-weight: 600;
  position: relative;
}

.wide-menu-header .item::after {
  content: "";
  position: absolute;
  width: 0;
  height: 1.5px;
  bottom: -0.1em;
  left: 50%;
  background-color: #c9c9c9;
  transition: all 0.3s ease-in-out;
  transform: translateX(-50%);
}

.wide-menu-header .item:hover::after {
  width: 30%;
}

.wide-menu-header .item.active::after {
  width: 100%;
}

.wide-menu-header .join-button {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "ReneSansCyr", sans-serif;
  font-weight: 600;
  border-radius: 10px;
  background-color: #408ade;
  padding: 0.3rem 2.5rem;
  color: #ffffff;
}

.wide-menu-header:not(.scrolled) .center .item,
.wide-menu-header:not(.scrolled) .right .item {
  color: #c9c9c9;
}

.wide-menu-header.scrolled .center .item,
.wide-menu-header.scrolled .right .item {
  color: #c9c9c9;
}

.wide-menu-header .item.active {
  color: #ffffff;
}
.about-us {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 69rem;
  padding-top: 4rem;
  padding-left: 1rem;
  padding-right: 1rem;
  color: #1d2633;
}

.about-us-content {
  flex: 1;
  padding-right: 1em;
  text-align: left;
}

.about-us-content h2 {
  font-size: var(--font-size-xl);
  margin-bottom: 0.5em;
  font-weight: 600;
  font-family: "ReneSansCyr", sans-serif;
}

.about-us-content p {
  font-size: var(--font-size-m);
  line-height: 1.5;
  font-weight: 400;
  font-family: "ReneSansCyr", sans-serif;
}

.about-us-content p strong {
  font-weight: 500;
}

.about-us-photo {
  flex: 1;
  display: flex;
  height: 90%;
  justify-content: end;
  align-items: center;
  opacity: 0.95;
}

.about-us-photo-mobile {
  display: none;
}

.about-us-photo img {
  width: 96%;
  /* aspect-ratio: 1 / 1; */
  object-fit: cover;
  border-radius: 6px;
}

.about-us-photo-mobile img {
  width: 100%;
  height: auto;
}

@media (max-width: 768px) {
  .about-us {
    padding-top: 2rem;
    flex-direction: column;
  }

  .about-us-photo {
    display: none;
  }

  .about-us-photo-mobile {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    order: -1;
    opacity: 0.95;
  }
}
.about-us-cards {
  display: flex;
  justify-content: space-between;
  padding-top: 2rem;
  max-width: 70rem;
  background-color: white;
}

.about-us-card {
  flex: 1;
  background-color: #f0f0f0;
  margin: 0 0.5em;
  padding: 1.5em;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  border-radius: 6px;
  color: #1d2633;
}

.about-us-card h3 {
  font-size: var(--font-size-m);
  margin-bottom: 0.5em;
  font-weight: 600;
  font-family: "ReneSansCyr", sans-serif;
  text-align: left;
}

.about-us-card img {
  width: 100%;
  aspect-ratio: 8 / 5;
  object-fit: cover;
  margin-bottom: 0.5em;
  border-radius: 6px;
  opacity: 0.9;
}

.about-us-card p {
  font-size: var(--font-size-m);
  line-height: 1.3;
  font-weight: 400;
  font-family: "ReneSansCyr", sans-serif;
  text-align: left;
}

@media (max-width: 768px) {
  .about-us-cards {
    flex-direction: column;
  }

  .about-us-card img {
    max-height: 10em;
  }

  .about-us-card {
    margin-bottom: 1em;
  }
}
.application-section {
  padding-top: 5rem;
  padding: 0 5vw;
  max-width: 70rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.application-section .application-title {
  font-size: var(--font-size-xxl);
  margin-bottom: 0.5em;
  font-family: "ReneSansCyr", sans-serif;
  color: #333;
  text-align: left;
}

.application-section .application-content {
  display: flex;
  justify-content: space-between;
  width: 100%;
  gap: 4em;
  font-family: "ReneSansCyr", sans-serif;
}

.application-section .application-paragraph {
  flex: 1;
  text-align: left;
}

.application-section .application-paragraph p {
  font-size: var(--font-size-sm);
  line-height: 1.5;
  color: #333;
}

.application-section .application-paragraph p strong {
  font-weight: 500;
}

.application-section .application-details {
  width: 100%;
  text-align: left;
}

.application-section .application-details h2 {
  font-size: var(--font-size-l);
  margin-top: 1em;
  font-weight: 600;
  font-family: "ReneSansCyr", sans-serif;
  color: #333;
  text-align: left;
  position: relative;
}

.application-section .application-details h2::after {
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  background-color: #ccc;
  position: absolute;
  left: 0;
  bottom: -0.25em;
}

.application-section .application-details ol,
.application-section .application-details ul {
  margin: 0 0;
  padding-left: 1.5em;
  font-weight: 400;
  font-family: "ReneSans", sans-serif;
}

.application-section .application-details li {
  font-size: var(--font-size-sm);
  line-height: 1.5;
  color: #333;
}

/* Media query for mobile devices */
@media (max-width: 768px) {
  .application-section {
    padding: 2rem 5vw;
  }

  .application-section .application-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }

  .application-section .application-paragraph {
    width: 100%;
    margin-bottom: 1em;
  }
}
.big-footer-section {
  margin-top: 5rem;
  width: 100%;
  height: 95vh;
  background-image: url("../../images/finalwithlogo.png");
  background-size: cover;
  background-position: center 75%;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.big-footer-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 1;
  pointer-events: none;
}

.big-footer-section .big-footer-content {
  color: white;
  z-index: 2;
  padding: 0 1em;
  width: 100%;
  position: relative;
}

.big-footer-section .big-footer-content p {
  color: #bbb;
  font-size: var(--font-size-xs);
  font-family: "ReneSans", sans-serif;
}

.big-footer-section .enroll-section {
  display: flex;
  flex-direction: column;
  position: absolute;
  width: 25%;
  min-width: 40rem;
  text-align: left;
  top: 7vh;
  left: 7vw;
}

.big-footer-section .join-button {
  background-color: #ffffff;
  color: #1d2633;
  padding: 0.4em 0;
  width: 100%;
  max-width: 20em;
  border-radius: 6px;
  text-decoration: none;
  text-align: center;
  font-size: var(--font-size-l);
  font-family: "ReneSansCyr", sans-serif;
  font-weight: 600;
  z-index: 3;
}

.big-footer-section .contact-details {
  font-size: var(--font-size-m);
  font-family: "ReneSansCyr", sans-serif;
}

.big-footer-section .big-footer-header {
  color: white;
  font-size: var(--font-size-xl);
  font-family: "ReneSansCyr", sans-serif;
  margin-bottom: 0;
  font-weight: 500;
  z-index: 2;
}

.big-footer-section .big-footer-paragraph {
  color: white;
  font-size: var(--font-size-m);
  font-family: "ReneSansCyr", sans-serif;
  margin-bottom: 1em;
  z-index: 2;
}

@media (max-width: 768px) {
  .big-footer-section .enroll-section {
    top: 3vh;
    left: 1rem;
    width: 90vw;
    min-width: 0px;
  }
}

.big-footer-logo {
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
  z-index: 2;
}

.small-footer-img {
  width: 3rem;
  filter: brightness(0) invert(1);
  height: auto;
}
.timeline-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.timeline-title {
  text-align: center;
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 60px;
  color: #2c3e50;
}

.timeline-wrapper {
  position: relative;
  padding: 0 20px;
}

.timeline-line {
  position: absolute;
  top: 45px;
  left: 0;
  right: 0;
  height: 2px;
  background: #000;
  z-index: 1;
}

.timeline-items {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  position: relative;
  z-index: 2;
}

.timeline-item {
  flex: 1;
  max-width: 200px;
  text-align: center;
  position: relative;
}

.timeline-year {
  font-size: 18px;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 12px;
  text-align: center;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.timeline-dot {
  width: 16px;
  height: 16px;
  background: #34495e;
  border-radius: 50%;
  margin: 0 auto 20px;
  position: relative;
  z-index: 3;
  border: 3px solid #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.timeline-content {
  background: transparent;
  padding: 20px 15px;
  transition: transform 0.3s ease;
  position: relative;
  z-index: 3;
}

.timeline-content:hover {
  transform: none;
}

.timeline-item-title {
  font-size: 16px;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 10px;
  line-height: 1.3;
}

.timeline-item-description {
  font-size: 14px;
  color: #7f8c8d;
  line-height: 1.4;
}

/* Mobile Styles */
@media (max-width: 768px) {
  .timeline-container {
    padding: 20px 0;
    width: 100%;
    max-width: 100%;
  }

  .timeline-title {
    font-size: 24px;
    margin-bottom: 40px;
    padding: 0 15px;
  }

  .timeline-wrapper {
    padding: 0;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    width: 100%;
  }

  .timeline-wrapper::-webkit-scrollbar {
    display: none;
  }

  .timeline-line {
    position: absolute;
    top: 45px;
    left: 15px;
    width: calc(
      250px * 5 + 20px * 4
    ); /* 5 items * 250px width + 4 gaps * 20px */
    height: 2px;
    background: #000;
    z-index: 1;
  }

  .timeline-items {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    position: relative;
    z-index: 2;
    min-width: fit-content;
    padding: 0 15px;
    gap: 20px;
    width: max-content;
  }

  .timeline-item {
    flex: 0 0 250px;
    max-width: 250px;
    min-width: 250px;
    text-align: center;
    position: relative;
  }

  .timeline-item:first-child {
    margin-left: 0;
  }

  .timeline-item:last-child {
    margin-right: 15px;
  }

  .timeline-dot {
    margin-bottom: 15px;
  }

  .timeline-content {
    padding: 20px 15px;
    height: auto;
    min-height: 140px;
    width: 100%;
    box-sizing: border-box;
    background: transparent;
  }

  .timeline-item-title {
    font-size: 16px;
    margin-bottom: 10px;
    line-height: 1.3;
  }

  .timeline-item-description {
    font-size: 13px;
    line-height: 1.4;
  }

  /* Add scroll indicator */
  .timeline-wrapper::after {
    content: "";
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 4px;
    background: rgba(52, 152, 219, 0.3);
    border-radius: 2px;
  }
}

/* Tablet Styles */
@media (min-width: 769px) and (max-width: 1024px) {
  .timeline-container {
    padding: 30px 20px;
  }

  .timeline-title {
    font-size: 26px;
    margin-bottom: 50px;
  }

  .timeline-item {
    max-width: 180px;
  }

  .timeline-content {
    padding: 18px 12px;
    background: transparent;
  }

  .timeline-item-title {
    font-size: 15px;
  }

  .timeline-item-description {
    font-size: 13px;
  }
}

/* Large Desktop Styles */
@media (min-width: 1200px) {
  .timeline-container {
    padding: 50px 20px;
  }

  .timeline-title {
    font-size: 32px;
    margin-bottom: 80px;
  }

  .timeline-item {
    max-width: 220px;
  }

  .timeline-content {
    padding: 25px 18px;
    background: transparent;
  }

  .timeline-item-title {
    font-size: 18px;
    margin-bottom: 12px;
  }

  .timeline-item-description {
    font-size: 15px;
  }
}
.event-item .status-planned,
.event-item .status-active,
.event-item .status-recruiting {
  background-color: #f7f7f7;
  width: 8em;
  margin-top: -1em;
  margin-bottom: 0.5em;
  padding-top: 0.3em;
  height: 2em;
  border-radius: 10%;
  font-weight: 600;
  font-size: var(--font-size-xs);
  font-family: "ReneSansCyr", sans-serif;
}

.event-item .status-planned {
  color: #ff8474;
}

.event-item .status-active {
  color: #19a700;
}

.event-item .status-recruiting {
  color: #029ff6;
}

.event-item .title {
  font-weight: bold;
  font-size: var(--font-size-m);
  text-align: left;
}

.event-item .description {
  font-size: var(--font-size-sm);
  max-width: 80%;
  word-wrap: break-word;
  font-weight: 300;
  text-align: left;
  white-space: normal;
}

.event-item .regularity {
  font-size: var(--font-size-sm);
  max-width: 80%;
  word-wrap: break-word;
  font-weight: 500;
  text-align: left;
  white-space: normal;
}
.events-container {
  display: flex;
  color: #1d2633;
  padding-right: 5rem;
  padding-left: 5rem;
  padding-top: 5rem;
}

.events-container .sidebar {
  width: 30%;
  font-size: var(--font-size-l);
  font-weight: bold;
  padding: 1rem 0;
  display: flex;
  align-items: start;
  flex-direction: column;
}

.sidebar .description {
  font-size: var(--font-size-sm);
  max-width: 80%;
  word-wrap: break-word;
  margin-top: -1rem;
  font-weight: 300;
  text-align: left;
  white-space: normal;
}

.events-container .events {
  width: 70%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.events-container .box {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  width: 100%;
  gap: 2em;
  position: relative;
  max-width: 100rem;
  margin: 0 auto;
}

/* Делаем блоки более гибкими */
.events-container .box > div {
  flex: 1 1 calc(45% - 10px); /* Убираем жесткие ограничения, делаем гибкими */
  padding: 1rem;
  text-align: center;
  height: auto; /* Позволяем блокам адаптироваться по высоте */
  position: relative;
}

/* Линия под блоками */
.events-container .box > div::after {
  content: "";
  position: absolute;
  bottom: -0.5rem;
  left: 2%;
  width: 95%;
  height: 1px;
  background-color: rgba(66, 61, 61, 0.259);
}

/* Убираем линию у последнего блока */
.events-container .box > div:nth-last-child(-n + 2)::after {
  content: none;
}

/* Вертикальная линия слева */
.events-container .box::before {
  content: "";
  position: absolute;
  left: 0%;
  top: 0%; /* Линия начинает от верхней части блока */
  height: 100%; /* Линия будет растягиваться на 100% высоты родительского блока */
  width: 1px;
  background-color: rgba(66, 61, 61, 0.259);
}

/* Медиазапросы для адаптации */
@media (max-width: 768px) {
  .events-container .box > div:nth-last-child(2)::after {
    content: "";
  }

  .events-container {
    flex-direction: column;
    padding: 1rem;
  }

  .events-container .sidebar {
    width: 100%;
    text-align: center;
    margin-bottom: 1rem;
  }

  .events-container .events {
    width: 100%;
  }

  .events-container .box > div {
    flex: 1 1 100%; /* Каждый блок будет занимать всю ширину */
  }

  .events-container .box {
    flex-direction: column; /* Блоки будут располагаться вертикально */
  }
}

@media (min-width: 1340px) {
  .events-container .box::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 0%; /* Линия начинает от верхней части блока */
    height: 100%; /* Линия будет растягиваться на 100% высоты родительского блока */
    width: 1px;
    background-color: rgba(66, 61, 61, 0.259);
  }
}
/* FakeContent.css */
.fake-content {
  width: 100%;
  margin: 0;
  /* padding: 20px; */
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  background-color: #5e5e5e;
  border-radius: 8px;
  color: #333; /* Set text color to dark gray */
}

.section {
  height: 800px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: #747474;
  border-bottom: 1px solid #ccc;
}

.section:nth-child(even) {
  background-color: #bda3a3;
}

.section h1 {
  margin: 0;
  font-size: 2rem;
}

.section p {
  font-size: 1.2rem;
  text-align: center;
  max-width: 1200px;
}
.footer-section {
  margin-top: 5rem;
  width: 100%;
  height: 15rem;
  background-image: url("../../images/hiking.webp");
  background-size: cover;
  background-position: center 85%;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.footer-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 1;
  pointer-events: none;
}

.footer-section .footer-content {
  color: white;
  z-index: 2;
  padding: 0 1em;
  width: 100%;
  position: relative;
}

.footer-section .footer-content p {
  color: #bbb;
  font-size: var(--font-size-xs);
  font-family: "ReneSans", sans-serif;
}

.footer-section .enroll-section {
  display: flex;
  flex-direction: column;
  position: absolute;
  width: 25%;
  min-width: 40rem;
  text-align: left;
  top: 7vh;
  left: 7vw;
}

.footer-section .join-button {
  background-color: #ffffff;
  color: #1d2633;
  padding: 0.4em 0;
  width: 100%;
  max-width: 20em;
  border-radius: 6px;
  text-decoration: none;
  text-align: center;
  font-size: var(--font-size-l);
  font-family: "ReneSansCyr", sans-serif;
  font-weight: 600;
  z-index: 3;
}

.footer-section .contact-details {
  font-size: var(--font-size-m);
  font-family: "ReneSansCyr", sans-serif;
}

.footer-section .footer-header {
  color: white;
  font-size: var(--font-size-xl);
  font-family: "ReneSansCyr", sans-serif;
  margin-bottom: 0;
  font-weight: 500;
  z-index: 2;
}

.footer-section .footer-paragraph {
  color: white;
  font-size: var(--font-size-m);
  font-family: "ReneSansCyr", sans-serif;
  margin-bottom: 1em;
  z-index: 2;
}

@media (max-width: 768px) {
  .footer-section .enroll-section {
    top: 3vh;
    left: 1rem;
    width: 90vw;
    min-width: 0px;
  }
}
.front-section {
  width: 100%;
  height: 100vh;
  background-image: url("../../images/main.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  justify-content: center;
  align-items: end;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.front-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0);
  z-index: 1;
  pointer-events: none;
}

.front-section .content {
  color: white;
  z-index: 2;
}

.front-section .logo-image {
  width: 20rem;
  height: auto;
  padding-top: 14em;
  margin-bottom: 5em;
  filter: brightness(20) saturate(0);
  z-index: 2;
  display: none;
}

.front-section .community-title {
  font-size: 3.4rem;
  font-weight: 400;
  letter-spacing: 0.1rem;
  margin-top: -1.8em;
  font-family: "ReneSansCyr", sans-serif;
  z-index: 2;
  display: none;
}

.front-section .description {
  font-size: var(--font-size-xl);
  margin-top: 0;
  margin-bottom: 5vh;
  font-weight: 400;
  font-family: "ReneSansCyr", sans-serif;
  z-index: 2;
  display: none;
}

.front-section .main-points {
  font-size: var(--font-size-ml);
  margin-top: 5vh;
  margin-bottom: 10vh;
  font-weight: 400;
  font-family: "ReneSansCyr", sans-serif;
  z-index: 2;
  display: none;
}

.front-section .join-button {
  visibility: hidden;

  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-m);
  font-family: "ReneSansCyr", sans-serif;
  font-weight: 600;
  border-radius: 6px;
  background-color: #ffffff;
  padding: 0.5rem 2.5rem;
  margin: 0.5em 0;
  color: #1d2633;
  z-index: 2;
}

@media (max-width: 1000px) {
  .front-section {
    height: auto;
    min-height: 0;
    aspect-ratio: 1783 / 1003;
    background-size: contain;
    background-position: center top;
    background-repeat: no-repeat;
  }

  .front-section .logo-image {
    width: 15rem;
  }

  .front-section .community-title {
    font-size: 2.7rem;
  }

  .front-section .join-button {
    visibility: visible;
  }
}
/* Main Container */
.our-goals-container {
  max-width: 2000px;
  margin: 20 auto;
  padding: 60px 20px;
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: #ffffff;
  min-height: 50vh;
  box-sizing: border-box;
}

/* Header Section */
.our-goals-header {
  text-align: center;
  margin-bottom: 60px;
  padding: 0 20px;
}

.our-goals-header h1 {
  font-size: 2.8rem;
  font-weight: 600;
  color: #36454f;
  margin-bottom: 30px;
  line-height: 1.2;
  letter-spacing: -0.5px;
}

/* Goals List */
.our-goals-list {
  list-style: none;
  padding: 0;
  text-align: left;
  max-width: 700px;
  margin: 0 auto;
  counter-reset: goal-counter;
}

.our-goals-list li {
  position: relative;
  padding: 20px 0 15px 40px;
  margin-bottom: 12px;
  color: #36454f;
  font-size: 1.2rem;
  line-height: 1.6;
  counter-increment: goal-counter;
  border-bottom: 1px solid #e2e8f0;
}

.our-goals-list li:before {
  content: counter(goal-counter);
  position: absolute;
  left: 0;
  top: 21px;
  width: 28px;
  height: 28px;
  background-color: #36454f;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: bold;
}

/* Diagram Container */
.our-goals-diagram {
  position: relative;
  margin-top: 3em;
  margin-bottom: -2em;
  padding: 20px 0;
}

/* Footer Section */
.our-goals-footer {
  text-align: justify;
  max-width: 700px;
  padding: 0 20px;
}

.our-goals-footer p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #4a5568;
  margin-bottom: 25px;
}

/* Decorative Elements */
.our-goals-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, #cbd5e0, transparent);
  margin: 50px 0;
  border: none;
}

/* Responsive Design */
@media (max-width: 768px) {
  .our-goals-container {
    padding: 40px 15px;
  }

  .our-goals-header h1 {
    font-size: 2.2rem;
    margin-bottom: 25px;
  }

  .our-goals-list li {
    font-size: 1.1rem;
    padding-left: 35px;
  }

  .our-goals-list li:before {
    width: 24px;
    height: 24px;
    font-size: 0.8rem;
  }

  .our-goals-footer p {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .our-goals-header h1 {
    font-size: 1.8rem;
  }

  .our-goals-list li {
    font-size: 1rem;
    padding-left: 30px;
  }

  .our-goals-footer p {
    font-size: 0.95rem;
    line-height: 1.7;
  }
}
/* Container Styles */
.venn-diagram-wrapper {
  position: relative;
  width: 500px;
  height: 500px;
  margin: 0 auto;
  padding: 5 5px;
}

/* Circle Styles */
.venn-circle {
  position: absolute;
  width: 224px;
  height: 224px;
  border-radius: 50%;
  border: 2px solid #d1d5db;
  background-color: rgba(255, 255, 255, 0);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.venn-circle:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.venn-circle--top {
  top: 64px;
  right: 27%;
}

.venn-circle--bottom-left {
  bottom: 64px;
  left: 32px;
}

.venn-circle--bottom-right {
  bottom: 64px;
  right: 32px;
}

/* Icon Styles */
.venn-icon-wrapper {
  padding: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.venn-icon-image {
  width: 70px;
  height: 120px;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

/* Text Label Styles */
.venn-text-label {
  position: absolute;
  text-align: center;
  max-width: 180px;
}

.venn-text-label--top {
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}

.venn-text-label--bottom-left {
  bottom: 50%;
  left: -20%;
}

.venn-text-label--bottom-right {
  bottom: 50%;
  right: -20%;
}

.venn-main-text {
  font-size: 16px;
  font-weight: 600;
  color: #374151;
  margin-bottom: 6px;
}

.venn-sub-text {
  font-size: 13px;
  color: #6b7280;
  line-height: 1.4;
}

/* Dot Indicator Styles */
.venn-black-dot {
  width: 8px;
  height: 8px;
  background-color: #000;
  border-radius: 50%;
  position: absolute;
}

.venn-black-dot--top {
  top: 61px;
  left: 50%;
  transform: translateX(-50%);
}

.venn-black-dot--bottom-left {
  bottom: 240px;
  left: 50px;
}

.venn-black-dot--bottom-right {
  bottom: 240px;
  right: 50px;
}

/* Connection Lines (if needed) */
.venn-connection-line {
  position: absolute;
  background-color: #ddd;
  height: 2px;
  z-index: -1;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .venn-diagram-wrapper {
    width: 100%;
    height: 400px;
  }

  .venn-circle {
    width: 180px;
    height: 180px;
  }

  .venn-circle--bottom-left {
    left: 20px;
  }

  .venn-circle--bottom-right {
    right: 20px;
  }

  .venn-icon-wrapper {
    padding: 12px;
  }

  .venn-icon-image {
    width: 28px;
    height: 28px;
  }

  .venn-main-text {
    font-size: 14px;
  }

  .venn-sub-text {
    font-size: 12px;
  }

  .venn-black-dot--bottom-left {
    bottom: 140px;
    left: 110px;
  }

  .venn-black-dot--bottom-right {
    bottom: 140px;
    right: 110px;
  }
}

@media (max-width: 480px) {
  .venn-diagram-wrapper {
    height: 350px;
  }

  .venn-circle {
    width: 150px;
    height: 150px;
  }

  .venn-icon-wrapper {
    padding: 10px;
  }

  .venn-icon-image {
    width: 50px;
    height: 100px;
  }

  .venn-circle--top {
    top: 35px;
    right: 27%;
  }

  .venn-circle--bottom-left {
    bottom: 64px;
    left: 32px;
  }

  .venn-circle--bottom-right {
    bottom: 64px;
    right: 32px;
  }

  .venn-black-dot--top {
    top: 35px;
    left: 50%;
    transform: translateX(-50%);
  }

  .venn-black-dot--bottom-left {
    bottom: 140px;
    left: 28px;
  }

  .venn-black-dot--bottom-right {
    bottom: 140px;
    right: 28px;
  }

  .venn-text-label--top {
    top: -5%;
    left: 50%;
    transform: translateX(-50%);
  }

  .venn-text-label--bottom-left {
    bottom: 50%;
    left: -4%;
  }

  .venn-text-label--bottom-right {
    bottom: 50%;
    right: -4%;
  }

  .venn-main-text {
    font-size: 13px;
  }

  .venn-sub-text {
    font-size: 11px;
  }
}
.principle-item h3 {
  font-size: var(--font-size-m);
  font-family: "ReneSansCyr", sans-serif;
  color: #1d2633;
  font-weight: 600;
  margin-bottom: -1rem;
  width: fit-content;
}

.principle-item p {
  color: #4b5563;
}
.principles-section {
  padding-top: 3rem;
  padding-left: 1rem;
  padding-right: 1rem;
  max-width: 60rem;
  text-align: left;
}

.principles-section p {
  font-family: "ReneSansCyr", sans-serif;
  color: #1d2633;
  font-size: var(--font-size-m);
  font-weight: 400;
  margin-bottom: 0rem;
}

.principles-section h2 {
  font-family: "ReneSansCyr", sans-serif;
  color: #1d2633;
  font-size: var(--font-size-xxl);
  font-weight: 600;
  margin-bottom: 0rem;
}

.principles-grid {
  display: flex;
  width: 100%;
  align-items: start;
  flex-direction: column;
  gap: 0rem;
}
@import url("https://fonts.googleapis.com/css2?family=Istok+Web:ital,wght@0,400;0,700;1,400;1,700&display=swap");

.question-container {
  max-width: 1024px;
  margin: 0 auto;
  padding: 1.5rem;
  font-family: "Istok Web", sans-serif;
  color: #333333;
  font-weight: 700;
}

.question-title {
  font-size: 1.875rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 2rem;
  color: #000000;
}

.question-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.question-item {
  background-color: #ffffff;
  overflow: hidden;
  transition: background-color 0.3s ease;
}

.question-item-hover {
  background-color: #f8f8f8;
}

.question-button {
  width: 100%;
  padding: 1.5rem;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: transparent;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s ease;
  outline: none;
  font-family: "Istok Web", sans-serif;
  font-weight: 700;
}

.question-button-hover {
  background-color: #f0f0f0;
}

.question-button-focus {
  outline: 2px solid #000000;
  outline-offset: -2px;
}

.question-text {
  font-size: 1.125rem;
  font-weight: 700;
  color: #000000;
  padding-right: 1rem;
  font-family: "Istok Web", sans-serif;
}

.toggle-icon {
  font-size: 1.5rem;
  color: #000000;
  transform: rotate(0deg);
  transition: transform 0.3s ease;
  font-weight: 700;
}

.toggle-icon-active {
  transform: rotate(45deg);
}

.answer-container {
  overflow: hidden;
  transition:
    max-height 0.3s ease-in-out,
    opacity 0.3s ease-in-out;
  max-height: 0px;
  opacity: 0;
}

.answer-container-active {
  max-height: 400px;
  opacity: 1;
}

.answer-content {
  padding: 0 1.5rem 1.5rem 1.5rem;
  font-family: "Istok Web", sans-serif;
  font-weight: 700;
}

.answer-divider {
  border-top: 1px solid #e0e0e0;
  padding-top: 1rem;
}

.answer-text {
  color: #333333;
  line-height: 1.625;
  font-family: "Istok Web", sans-serif;
  font-weight: 700;
}

/* Static multi-page overrides */
@media (min-width: 821px) {
  .wide-menu-header {
    display: flex;
  }
  .thin-menu-header,
  .menu-toggle-button {
    display: none;
  }
}
@media (max-width: 1200px) {
  .wide-menu-header {
    display: none;
  }
  .thin-menu-header,
  .menu-toggle-button {
    display: flex;
  }
}
body.menu-open {
  overflow: hidden;
}
