html {
  scroll-behavior: smooth;
}

body {
  font-family: "Open Sans", sans-serif;
  line-height: 1.6;
  font-size: 1rem;
  margin: 0;
  background-color: #f6f6f6;
  color: #333333;
  overflow-x: hidden;
}

section {
  max-width: 1200px;
  margin: 0 auto;
  border-radius: 40px;
  margin-top: 10rem;
}

section p {
  padding-right: 1em;
  text-align: left;
}

section p.center {
  text-align: center;
}

section table {
  width: 100%;
  font-size: 1.2rem;
}

header {
  background-color: #ffa726;
  padding: 1em;
  text-align: center;
}

.press p {
  text-align: left;
}

.press-date {
  color: rgb(109, 109, 109);
  font-style: italic;
  margin-bottom: .2rem;
}

.press {
  margin-bottom: 2em;
}

.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: rgba(0,
      0,
      0,
      0.493);
  padding: 10px 0px;
  z-index: 10;
}

.nav-left {
  display: flex;
  align-items: center;
}

.nav-logo {
  height: 60px;
  margin-right: 30px;
  transition: transform 0.4s ease;
}

.nav-logo:hover {
  transform: scale(1.1);
}

.nav-menu {
  margin-top: 0em;
  margin-bottom: 0;
  list-style: none;
  display: flex;
  gap: 20px;
}

.nav-menu li a {
  color: white;
  text-decoration: none;
  font-size: 13pt;
  padding: 5px 8px;
  transition: background 0.3s;
}

.nav-menu li a:hover {
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 4px;
}

.nav-menu-mobile {
  list-style: none;
  display: flex;
  gap: 20px;
}

.nav-menu-mobile li {
  padding: .2em 0;
}

.nav-menu-mobile li a {
  color: white;
  text-decoration: none;
  font-size: 16px;
  padding: 5px 8px;
  transition: background 0.3s;
}

.nav-menu-mobile li a:hover {
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 4px;
}

.container {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.highlight {
  color: #f7a400;
  font-size: 2.5rem;
  margin-bottom: 0.2rem;
}

h2 {
  color: #555;
  font-weight: 400;
  margin-bottom: 5rem;
  margin-left: .5em;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.item {
  text-align: center;
}

.item h3 {
  color: #f7a400;
  margin-bottom: 0.3rem;
}

.icon {
  width: 40px;
  margin-bottom: 0.5rem;
}

.impressum-wrapper {
  max-width: 700px;
  margin: 1.5rem auto;
  padding: 2rem;
  text-align: center;
  font-family: "Segoe UI", Roboto, Helvetica, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #fbfbfb;
  border-radius: 20px;
}

.impressum-wrapper h1 {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
}

.impressum-wrapper p {
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

.impressum-wrapper a {
  color: #0066cc;
  text-decoration: none;
}

.impressum-wrapper a:hover {
  text-decoration: underline;
}

.datenschutz-wrapper {
  text-align: center;
  margin-top: 4rem;
  padding: 2rem;
  background-color: #fbfbfb;
  border-radius: 20px;
  margin-bottom: 10%;
}

.datenschutz-wrapper p {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  color: #444;
}

.download-button {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: #f8b133;
  color: #fff;
  font-weight: 600;
  font-size: 13pt;
  text-decoration: none;
  border-radius: 24px;
  transition: background-color 0.3s ease;
  width: 30%;
}

.download-button:hover {
  background-color: #fb8c00;
}

.anmeldung {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  margin: 1rem auto;
  background-color: #9f9b9820;
  padding: 1rem;
  border-radius: 90px;
  width: 50%;
  margin-top: 10%;
  margin-bottom: 3%;
}

.anmeldung h3 {
  color: #f7a400;
  margin-bottom: 0.3rem;
  text-align: left;
}

.anmeldung .icon {
  width: 80px;
  padding-right: 20px;
  padding-top: 10px;
}

.anmeldung p {
  text-align: left;
}

.anmeldung a {
  color: #f0a029;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.anmeldung a:hover {
  color: #fb8c00;
  text-decoration: underline;
}

.bee {
  margin-top: 2rem;
  max-width: 800px;
  margin-bottom: 100px;
}

.bee2 img {
  display: block;
  margin: 0 auto;
  max-width: 800px;
}


.hero {
  background-image: url("https://bienen-neustadt.de/wordpress/wp-content/uploads/2026/01/MG_6682-scaled.jpg");
  background-size: cover;
  background-position: center;
  height: 100vh;
  position: relative;
  color: white;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 0;
}

.hero-overlay {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-logo {
  height: 300px;
  width: auto;
  transition: transform 0.4s ease;
  z-index: 1;
}

.hero-umrandung-logo {
  position: absolute;
  height: 550px;
  width: auto;
  transition: all 0.4s ease;
}

.hero-overlay:hover .hero-logo {
  transform: scale(1.1);
}

.hero-overlay:hover .hero-umrandung-logo {
  transform: scale(1.05);
  rotate: 30deg;
  transition: all 0.4s ease;
}

.hero-content {
  position: absolute;
  top: 50%;
  left: 20%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8em;
}

.hero-content h1 {
  text-align: center;
  line-height: 1.4;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.9);
  font-weight: 400;
  transition: transform 0.3s ease;
  margin-left: 50px;
}

.hero-content h1:hover {
  transform: scale(1.05);
}

.hero-content h1 .thin {
  font-weight: 350;
  text-transform: uppercase;
  font-size: 41px;
}

.hero-content h1 .bold {
  font-weight: 700;
  font-size: 55px;
}


main {
  padding: 0;
}

.carousel-container {
  position: relative;
  width: 1000px;
  height: 400px;
  perspective: 1200px;
  overflow: visible;
}

.carousel-slide {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 400px;
  height: 280px;
  transform-style: preserve-3d;
  transition: transform 0.6s ease, opacity 0.6s ease;
  border-radius: 12px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.6);
  background: #000;
}

.carousel-slide img {
  width: 150%;
  height: 150%;
  object-fit: cover;
  border-radius: 12px;
  pointer-events: none;
  user-select: none;
}


.carousel-slide.active {
  transform: translate(-50%, -50%) translateZ(0) rotateY(0deg) scale(1);
  display: block;
  opacity: 1;
  z-index: 5;
}


.carousel-slide.left {
  transform: translate(calc(-50% - 280px), -50%) translateZ(-150px) rotateY(45deg) scale(0.7);
  display: block;
  opacity: 0.6;
  z-index: 3;
  filter: brightness(0.8);
}


.carousel-slide.right {
  transform: translate(calc(-50% + 280px), -50%) translateZ(-150px) rotateY(-45deg) scale(0.7);
  display: block;
  opacity: 0.6;
  z-index: 3;
  filter: brightness(0.8);
}


.carousel-slide.outside-left {
  transform: translate(calc(-50% - 500px), -50%) translateZ(-300px) rotateY(60deg) scale(0.5);
  display: none;
  opacity: 0;
  pointer-events: none;
}

.carousel-slide.outside-right {
  transform: translate(calc(-50% + 500px), -50%) translateZ(-300px) rotateY(-60deg) scale(0.5);
  display: none;
  opacity: 0;
  pointer-events: none;
}

.carousel-slide.hidden {
  opacity: 0;
  display: none;
  pointer-events: none;
}

.nav-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: white;
  color: #f7a400;
  border: none;
  width: 50px;
  height: 50px;
  font-size: 1.5rem;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, background-color 0.3s ease;
  z-index: 5;
}

.nav-button:hover {
  background-color: #eee;
  transform: translateY(-50%) scale(1.1);
}

.nav-links {
  left: 225px;
  padding-left: 10px;
}

.nav-right {
  right: 28px;
}

form {
  display: flex;
  flex-direction: column;
  gap: 0.5em;
  max-width: 500px;
  padding: 20px;
  margin: auto;
}

#aktuelles,
#funktionaere,
#kontakt,
#termine,
#impressionen,
#impressum,
#datenschutz {
  margin-top: 4em;
}


.funktionaere-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  margin-top: 2rem;
}

.mitglied {
  text-align: center;
  max-width: 180px;
  flex: 1 1 160px;
}

.mitglied img {
  width: 100%;
  max-width: 150px;
  border-radius: 50%;
  border: 3px solid #f8b133;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  margin-bottom: 0.5rem;
}

.mitglied p {
  font-weight: 600;
  color: #444;
  font-size: 1rem;
}

.mitglied span {
  font-weight: normal;
  color: #777;
}

input,
select,
textarea,
button {
  padding: 0.5em;
  font-size: 1em;
  border-radius: 4px;
  border: 1px solid #ccc;
}

button {
  background-color: #f8b133;
  color: white;
  border: none;
  cursor: pointer;
}

.termine {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 1000px;
  padding: 0 20px;
  font-family: "Arial", sans-serif;
  color: #8b8b8b;
}

.form-container {
  max-width: 600px;
  margin: auto;
  background: white;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

h1 {
  margin-top: 0;
  font-size: 1.8rem;
  color: #ffffff;
  margin-bottom: 2rem;
}

h1.highlight {
  text-align: center;
  padding-bottom: 1rem;
  margin-top: 2rem;
}


.highlight {
  position: relative;
  margin-bottom: 1rem;
}

.highlight::after {
  content: "";
  display: block;
  width: 200px;
  height: 2px;
  background-color: #7070701d;
  margin: 8px auto 0;
}

h2.highlight {
  text-align: center;
  padding-bottom: 2rem;
  margin-top: 13rem;
  font-weight: 700;
}

h4.highlight {
  text-align: center;
  padding-bottom: 1rem;
  margin-top: 1rem;
  font-size: 1.5rem;
}

h3.highlight {
  text-align: center;
  margin-top: 5rem;
  font-weight: 700;
}


p.formular {
  margin-top: 5%;
  text-align: center;
  padding-bottom: 40px;
  color: #676767;
}

.kontaktformular {
  display: flex;
  justify-content: center;
  max-width: 600px;
  margin: auto;
  background: white;
  padding: 2rem;
  border-radius: 12px;
  margin-bottom: 10%;
}

p {
  margin-bottom: 1rem;
  color: #333;
  font-size: 14pt;
}

.label-block {
  display: block;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.radio-group {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.radio-group label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.form-row {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

input,
select,
textarea {
  flex: 1;
  padding: 0.8rem;
  border: none;
  border-radius: 12px;
  background: #f1f1f1;
  font-size: 1rem;
  color: #333;
}

select {
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg fill='gray' height='18' viewBox='0 0 24 24' width='18' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 12px;
}

textarea {
  min-height: 100px;
  margin-bottom: 1rem;
}

.pflichtfeld {
  font-size: 0.8rem;
  color: #666;
  margin-bottom: 1rem;
}

button {
  width: 100%;
  padding: 0.9rem;
  background-color: #ffb321;
  border: none;
  color: white;
  font-weight: bold;
  border-radius: 20px;
  cursor: pointer;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
  transition: background 0.3s ease;
}

button:hover {
  background-color: #ffa600;
}

.accordion-toggle {
  background-color: #f8b133;
  color: white;
  border: none;
  padding: 12px 20px;
  border-radius: 20px;
  font-size: 1.2em;
  cursor: pointer;
  width: 80%;
  text-align: center;
}

.accordion-toggle:hover {
  background-color: #81817f;
}

.termin {
  display: grid;
  grid-template-columns: 140px 1fr 120px;
  gap: 20px;
  padding: 20px 0;
  border-top: 1px solid #ddd;
}

.termin:last-child {
  border-bottom: 1px solid #ddd;
}

.datum {
  font-weight: bold;
  font-size: 1.1em;
  color: #222;
}

.inhalt .titel {
  font-weight: bold;
  color: #3d3d3d;
  margin-bottom: 5px;
  margin-left: 120px;
}

.inhalt .beschreibung {
  font-size: 0.95em;
  color: #444;
  margin-left: 120px;
}

.uhrzeit {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  font-size: 0.95em;
  color: #222;
}

.uhr-icon {
  width: 16px;
  height: 16px;
  display: inline-block;
  margin-right: 6px;
}



/* Responsive Layout */
@media (max-width: 768px) {
  .termin {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .uhrzeit {
    justify-content: flex-start;
    margin-top: 10px;
  }
}

button:hover {
  background-color: #fb8c00;
}

.site-footer {
  background-color: #222;
  color: #fff;
  font-family: "Inter", sans-serif;
  padding: 20px 40px;
  text-align: center;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.footer-left,
.footer-center,
.footer-right {
  flex: 1;
  text-align: center;
}

.footer-center a {
  color: #ccc;
  text-decoration: none;
  margin: 0 5px;
}

.footer-center a:hover {
  text-decoration: underline;
}

.footer-right a {
  color: #ccc;
  font-size: 1.5rem;
  margin: 0 8px;
  transition: color 0.3s ease;
  text-decoration: none;
}

.footer-right a:hover {
  color: #fff;
}

.footer-left p {
  color: #ccc;
  font-size: 12pt;
  padding-top: 20px;
}


@media (max-width: 600px) {
  .footer-container {
    flex-direction: column;
  }
}

h3 {
  font-size: 1.3rem;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  color: #f8b133;
}

article p,
article li {
  margin-bottom: 0.75rem;
}

.accordion-toggle:hover {
  background-color: #fb8c00;
}

.accordion-content {
  overflow: hidden;
  border-radius: 6px;
  padding: 2rem 1rem;
  margin-top: 1rem;
}

.accordion-content ul {
  list-style-type: none;
  padding: 1rem 0;
  margin: 0;
}

.accordion-content li {
  padding: 0.5rem 0;
  border-bottom: 1px dashed #ffffff;
}

.accordion-content li:last-child {
  border-bottom: none;
}

.drop_container {
  display: none;
  animation: animateFromBottom 0.6s;
}

.drop_container.show {
  display: block;
}

.drop_container.show.animate-out {
  animation: animateToBottom 0.6s;
}

.drop_container>.item {
  display: flex;
  flex-direction: column;
  margin-left: 10px;
  padding: 10px 0px 0px 0px;
}

#mobile-menu {
  display: none;
}

@keyframes animateFromBottom {
  from {
    transform: translate3d(0, 100px, 0);
    opacity: 0;
  }

  to {
    transform: translate3d(0, 0, 0);
    opacity: 1;
  }
}

@keyframes animateToBottom {
  from {
    transform: translate3d(0, 0, 0);
    opacity: 1;
  }

  to {
    transform: translate3d(0, 100px, 0);
    opacity: 0;
  }
}

.nav-container {
  position: relative;
  display: flex;
  align-items: center;
  padding: 0 30px;
}

.responsiveTable {
  width: 100%;
  border-collapse: collapse
}

.responsiveTable td,
.responsiveTable th {
  padding: 12px 15px;
  border: 1px solid #ddd;
  text-align: center;
  font-size: 16px
}

.responsiveTable th {
  background-color: #ebca70;
  color: #ffffff
}

.responsiveTable tbody tr:nth-child(even) {
  background-color: #f5f1d1
}

@media (max-width:1000px) {
  .responsiveTable thead {
    display: none
  }

  .responsiveTable,
  .responsiveTable tbody,
  .responsiveTable tr,
  .responsiveTable td {
    display: block;
    width: 100%
  }

  .responsiveTable tr {
    margin-bottom: 15px
  }

  .responsiveTable td {
    padding-left: 50%;
    text-align: left;
    position: relative
  }

  .responsiveTable td::before {
    content: attr(data-label);
    position: absolute;
    left: 0;
    width: 50%;
    padding-left: 15px;
    font-size: 15px;
    font-weight: bold;
    text-align: left
  }
}



@media (max-width: 600px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .footer-left,
  .footer-center,
  .footer-right {
    text-align: center;
  }

  .footer-right a {
    font-size: 1.3rem;
  }
}


@media (min-width: 200px) and (max-width: 1200px) {

  section {
    padding-left: 1em;
    padding-right: 1em;
  }

  .nav-menu-mobile {
    flex-direction: column;
    gap: 10px;
    background-color: rgba(0,
        0,
        0,
        0.493);
    position: absolute;
    top: 67px;
    left: 0;
    right: 0;
    padding: 1rem;
    margin: 0;
    display: block;
  }

  .nav-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;

  }

  .navbar {
    flex-direction: column;
    align-items: flex-start;
  }

  #menu {
    display: none;
  }

  .hero-logo {
    height: 140px;
  }

  .hero-text {
    width: 100vw;
    padding: 2em 0em;
  }

  .hero-umrandung-logo {
    height: 300px;
  }

  .hero-overlay {
    height: auto;
  }

  .hero-content {
    flex-direction: column;
    left: 50%;
    transform: translate(-50%, -50%);
    gap: 30px;
    text-align: center;
  }

  .hero-content h1 {

    margin-top: 40px;
    margin-right: 60px;
  }

  .hero-content h1 .thin {
    font-size: 24px;
  }

  .hero-content h1 .bold {
    font-size: 30px;
  }

  .highlight {
    font-size: 1.5rem;
  }

  h2 {
    font-size: 1.3rem;
    margin-bottom: 2rem;
  }

  .grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .anmeldung {
    flex-direction: column;
    text-align: center;
    padding: 0.6rem 2rem;
    border-radius: 20px;
  }

  .anmeldung h3 {
    color: #f7a400;
    margin-bottom: 0.3rem;
    text-align: left;
  }

  .anmeldung .icon {
    width: 50px;
    padding-right: 20px;
    padding-top: 10px;
  }

  .anmeldung p {
    text-align: left;
    font-size: 14pt;
  }

  .anmeldung a {
    color: #f0a029;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
  }

  .bee {
    max-width: 300px;
  }


  .bee2 img {
    max-width: 300px;
  }

  .radio-group {
    flex-direction: column;
  }

  .radio-group label {
    display: block;
  }

  .inhalt .titel {
    margin-left: 0;

  }

  .inhalt .beschreibung {
    margin-left: 0;

  }

  .datenschutz-wrapper {
    margin-top: 0;
    padding: 1rem;
  }

  .download-button {
    padding: 0.8rem 3rem;
    font-size: 0.8rem;
  }

  .impressum-wrapper {
    padding: 0rem;
    font-size: 0.9rem;
  }

  h2.highlight {
    margin-top: 0rem;
  }

  h3.highlight {
    padding-bottom: 0rem;
  }


  .nav-logo {
    height: 40px;
  }

  .footer-left p {
    font-size: 1em;
  }

  .kontaktformular {
    padding: 1rem;
  }

  form input,
  form select,
  form textarea,
  form button {
    font-size: 1rem;
  }

  .form-row {
    flex-direction: column;
  }

  .mitglied img {
    max-width: 100px;
  }

  .mitglied p {
    font-size: 0.9rem;
  }

  .accordion-toggle {
    font-size: 1rem;
    padding: 10px;
    width: 300px;
  }

  .termin {
    padding: 15px 0;
  }

  .uhr-icon {
    width: 14px;
    height: 14px;
  }

  .carousel-container {
    width: 100%;
    max-width: 100%;
    padding: 0 10px;
    perspective: 800px;
    overflow: visible;
  }

  .carousel-slide {
    width: 240px;
    height: 160px;
    transform-style: preserve-3d;
    margin: 0 auto;
  }

  .carousel-slide img {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    object-fit: cover;
  }

  .nav-button {
    width: 32px;
    height: 32px;
    font-size: 0.9rem;
    top: 90%;
    border-radius: 100px;
  }

  .nav-button {
    width: 32px;
    height: 32px;
    font-size: 0.9rem;
  }

  .hamburger-icon-container {
    height: 1.7em;
    width: 1.7em;
    position: relative;
    cursor: pointer;
    border-radius: 3px;
  }

  .hamburger-icon,
  .hamburger-icon:before,
  .hamburger-icon:after {
    content: '';
    position: absolute;
    height: 3px;
    width: 1.7em;
    background: white;
    transition: all .2s ease;
  }

  .hamburger-icon {
    top: 0.75em
  }

  .hamburger-icon:before {
    top: -0.55em
  }

  .hamburger-icon:after {
    top: 0.55em
  }



  .hamburger-active .hamburger-icon {
    background: transparent;
    transform: rotate(-135deg)
  }

  .hamburger-active .hamburger-icon:before,
  .hamburger-active .hamburger-icon:after {
    top: 0
  }

  .hamburger-active .hamburger-icon:before {
    transform: rotate(90deg)
  }

}

@media (max-width: 750px) {
  .carousel-slide.left {
    transform: translate(calc(-50% - 280px), -50%) translateZ(-150px) rotateY(45deg) scale(0.7);
    display: none;
    opacity: 0.6;
    z-index: 3;
    filter: brightness(0.8);
  }


  .carousel-slide.right {
    transform: translate(calc(-50% + 280px), -50%) translateZ(-150px) rotateY(-45deg) scale(0.7);
    display: none;
    opacity: 0.6;
    z-index: 3;
    filter: brightness(0.8);
  }
}



@media (max-width: 1200px) {
  .carousel-container {
    width: 90%;
    max-width: 800px;
    margin: 0 auto;
  }

  .carousel-slide {
    width: 360px;
    height: 250px;
  }

  .carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .nav-button {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }

  .nav-links {
    left: 10px;
  }

  .nav-right {
    right: 10px;
  }
}

/* The actual timeline (the vertical ruler) */
.event-timeline {
  position: relative;
  margin: 0 auto;
}

/* The actual timeline (the vertical ruler) */
.event-timeline::after {
  content: '';
  position: absolute;
  width: 4px;
  background-color: rgb(175, 103, 35);
  top: 0;
  bottom: 0;
  left: 1em;
  margin-left: -3px;
}

/* Container around content */
.event-container {
  padding: 1em 3em;
  position: relative;
  background-color: #ffffff;
  width: 90%;
  text-align: left;
  margin-left: 0;
  margin-right: 0;
  margin-bottom: 1em;
  left: 5%;
  border-radius: 0.5em;
}

/* The circles on the timeline */
.event-container::after {
  content: '';
  position: absolute;
  width: 25px;
  height: 25px;
  left: -3.59em;
  background-color: rgb(255, 255, 255);
  border: 4px solid #f1a821;
  top: 15px;
  border-radius: 50%;
  z-index: 1;
}

.event-title {
  font-weight: bold;
}

@media (max-width: 1200px) {
  .event-container {
    width: 100%;
    left: 0;
  }

  .event-container::after {
    left: 0.19em;
  }

  .event-timeline::after {
    left: 1em;
  }
}