@font-face {
  font-family: 'Neue Plak';
  src: url('./assets/fonts/NeuePlak-ExtendedSemiBold.woff2') format('woff2'),
    url('./assets/fonts/NeuePlak-ExtendedSemiBold.woff') format('woff');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Neue Plak';
  src: url('./assets/fonts/NeuePlak-ExtendedBold.woff2') format('woff2'),
    url('./assets/fonts/NeuePlak-ExtendedBold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Neue Plak';
  src: url('./assets/fonts/NeuePlak-ExtendedRegular.woff2') format('woff2'),
    url('./assets/fonts/NeuePlak-ExtendedRegular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Neue Plak Text';
  src: url('./assets/fonts/NeuePlakText-Bold.woff2') format('woff2'),
    url('./assets/fonts/NeuePlakText-Bold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Neue Plak Text';
  src: url('./assets/fonts/NeuePlakText-SemiBold.woff2') format('woff2'),
    url('./assets/NeuePlakText-SemiBold.woff') format('woff');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Neue Plak Text';
  src: url('./assets/NeuePlakText-Regular.woff2') format('woff2'),
    url('./assets/NeuePlakText-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Neue Plak Text';
  src: url('./assets/fonts/NeuePlakText-Light.woff2') format('woff2'),
    url('./assets/fonts/NeuePlakText-Light.woff') format('woff');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

body {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  font-family: 'Neue Plak';
  display: flex;
  flex-direction: column;
  background: #f0ece6;
  color: #333333;
  height: 100vh;
}

.container {
  width: 90%;
  flex: 1;
  margin: 0 auto;
}

header {
  text-align: center;
  margin-bottom: 2%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

header h1 {
  font-size: 34.6px;
  letter-spacing: 2.5px;
  color: #60967E;
  font-weight: bold;
}

header img {
  max-width: 50px;
  height: auto;
  cursor: pointer;
}

.container-timeline {
  display: flex;
  flex-direction: column;
}

@media (max-width: 890px) {
  .container-timeline {
    overflow-x: scroll;
  }
}

.timeline {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.horizontal-timeline {
  width: 100%;
  padding: 20px 0;
  box-sizing: border-box;
  z-index: -1;
}

.timeline-line {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  position: relative;
  margin: 0 auto;
  padding: 0 25px;
}

.timeline-line::before {
  content: "";
  position: absolute;
  top: 40px;
  left: 0;
  right: 0;
  height: 8px;
  background: #D2C7BA;
  z-index: 1;
}

.timeline-step {
  position: relative;
  text-align: center;
  flex: 1;
  max-width: 200px;
  margin-top: 20px;
}

.timeline-step:not(:last-child) {
  margin-right: 20px;
}

.circle {
  width: 30px;
  height: 30px;
  background: #60967E;
  border-radius: 50%;
  border: 5px solid #fff;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  margin-bottom: 20px;
}

@media (max-width: 1700px) {
  .timeline img {
    width: 207px;
    height: 300px;
  }

  .timeline-line {
    padding: 0;
  }
}

@media (max-width: 1368px) {
  .timeline img {
    width: 190px;
    height: 280px;
  }
}

.content {
  font-size: 0.9em;
  color: #333333;
  line-height: 1.4em;
}

@media (max-width: 1229px) {
  .timeline-line {
    display: inline-flex;
    overflow-x: auto;
    padding-bottom: 20px;
  }

  .timeline-step {
    flex: 0 0 auto;
    margin-right: 40px;
    min-width: 200px;
  }

  .timeline img {
    width: 207px;
    height: 300px;
    padding: 0 5px;
  }

  .container-timeline {
    overflow-x: scroll;
  }

  .timeline-line::before {
    width: calc(100% + 40px);
  }
}

@media (max-width: 600px) {
  .content {
    font-size: 0.8em;
  }

  .circle {
    width: 16px;
    height: 16px;
  }

  .timeline-step {
    min-width: 180px;
  }
}

.icon-block {
  margin-bottom: 10px;
}

.icon {
  max-width: 50px;
  height: auto;
}

.divider-container {
  display: flex;
  align-items: center;
  font-size: 20px;
  justify-content: center;
  color: #B1A894;
  margin: 20px 0;
}

.divider-container label {
  border: 2px solid #B1A894;
}

.divider-container span {
  font-size: 14px;
}

.divider-container::before,
.divider-container::after {
  content: "";
  flex: 1;
  border-bottom: 4px solid #a39d92;
  opacity: 0.2;
}

.links-uteis h2 {
  font-size: 1.4em;
  margin-bottom: 20px;
  color: #60967E;
  font-weight: bold;
  text-align: left;
}

.links-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.link-box {
  flex: 1 1 calc(20% - 20px);
  min-width: 120px;
  background: #F1EBE3;
  border: 1px solid #B1A894;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  border-radius: 5px;
  padding: 20px;
  text-align: center;
  font-size: 0.9em;
  color: #333333;
}

.link-box span {
  display: block;
  font-size: 0.8em;
  color: #666;
  margin-top: 5px;
}

footer {
  text-align: center;
  font-weight: bold;
  font-size: 1.2em;
  background-color: #dbd4cc;
  margin-top: auto;
}

@media (max-width: 768px) {

  .timeline .item,
  .links-grid .link-box {
    flex: 1 1 100%;
  }
}

::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.accordion-container {
  position: relative;
  margin-top: 10px;
}

.accordion-toggle {
  display: none;
}

.divider-container {
  display: flex;
  align-items: center;
  justify-content: center;
}

.accordion-label {
  cursor: pointer;
  text-transform: uppercase;
  font-size: 1em;
  color: #B1A894;
  position: relative;
  display: inline-flex;
  align-items: center;
  background: #F9F7F2;
  border: 1px solid #B1A894;
  border-radius: 4px;
  padding: 10px 20px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.accordion-label:hover {
  background-color: #eae7df;
  color: #6C6C6C;
}

.accordion-label .arrow {
  margin-left: 10px;
  display: inline-block;
  transform: translateY(1px);
  transition: transform 0.3s ease;
}

.accordion-content {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.6s ease, opacity 0.6s ease, padding 0.6s ease;
  margin-top: 20px;
}

.accordion-toggle:checked~.accordion-content {
  max-height: 1000px;
  opacity: 1;
  padding: 20px 0;
}

.accordion-toggle:checked~.divider-container .accordion-label .arrow {
  transform: rotate(180deg) translateY(-1px);
}

.links-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  align-items: center;
  gap: 45px;
  justify-items: center;
}

.links-grid img {
  max-width: 85%;
  height: auto;
  object-fit: contain;
}

.orion {
  font-size: 44px;
  color: #c0b19e;
}

.orion span {
  font-weight: 600;
}

.popup-container {
  position: relative;
  display: inline-block;
}

#openPopup {
  max-width: 50px;
  height: auto;
  cursor: pointer;
}

.my-popup {
  position: absolute;
  top: 0;
  left: 65px;
  width: 500px;
  padding: 10px;
  box-sizing: border-box;
  background-color: #60967E;
  border-radius: 4px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  z-index: 999;
  font-size: 12px;
  visibility: hidden;
  pointer-events: none;
  opacity: 0;
  transform: translateX(-30px);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.my-popup.active {
  visibility: visible;
  pointer-events: auto;
  opacity: 1;
  transform: translateX(0);
}

.my-popup::before {
  content: "";
  position: absolute;
  bottom: 10px;
  right: 10px;
  width: 100%;
  height: 100%;
  background-color: #fff;
  border-radius: 4px;
  z-index: -1;
}

.my-popup p {
  text-transform: uppercase;
  margin: 0 0 10px;
  line-height: 1.4;
  text-align: left;
}

.popup-icon {
  position: absolute;
  top: 15px;
  left: -60px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  box-shadow: 0 0 0 6px #60967E;
}

.popup-icon img {
  width: 60%;
  height: auto;
}

.popup-content {
  margin-left: 20px;
}

@media (max-width: 1494px) {
  .my-popup {
    width: 384px;
    font-size: 11px;
  }
}

.schedule {
  background-color: #F9F7F2;
  display: flex;
  text-align: center;
  border: 2px solid #B1A894;
  color: #B1A894;
  gap: 8px;
  padding: 0 3px 0.25em;
  font-size: 13px;
  margin-top: 5px;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  text-transform: uppercase;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}

.schedule:hover {
  background-color: #eae7df;
  color: #6C6C6C;
}

.popup-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.popup-content-schedule {
  background: white;
  position: relative;
  padding: 20px;
  max-width: 760px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 18px;
  cursor: pointer;
}

.popup-title {
  font-size: 16px;
  font-weight: bold;
  color: #333;
  margin: 30px 0;
}

.popup-section {
  display: flex;
  justify-content: center;
  gap: 15px;
  font-size: 14px;
  margin: 25px 0;
}

.popup-highlight {
  color: #2B8E62;
  font-weight: bold;
  margin-right: 5px;
}

.popup-description {
  font-size: 16px;
  color: #444;
  margin: 25px 0;
  line-height: 1.4;
}

.popup-group {
  font-style: italic;
  font-weight: bold;
}

.popup-leaders {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  margin: 0 5px;
}

.leader {
  text-align: left;
}

.leader-title {
  font-weight: bold;
  display: block;
}
