@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css");

body {
  background: white !important;
  height: 100%;
}

h1 {
  margin: 0 !important;
}

.timeline {
  position: relative;
  width: 80%;
  margin: 0 auto;
}

.timeline::before {
  content: "";
  position: absolute;
  width: 4px;
  background-color: #ddd;
  top: 10px;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  width: 45%;
  padding: 10px;
  border-radius: 8px;
  margin: 20px 0;
  display: flex;
  flex-direction: column;
  justify-content: left;
  gap: 15px;
}

.timeline-item-left {
  left: 25px;
  text-align: right;
}

.timeline-item-right {
  left: 50%;
  transform: translateX(5%);
}

.timeline-item img {
  max-width: 70%;
}

#filter-buttons {
  display: flex;
  justify-content: center;
}

.filter-button {
  margin: 5px;
  padding: 10px 15px;
  cursor: pointer;
  color: rgb(128, 122, 122);
  border: none;
  font-weight: 700;
  border-radius: 5px;
  background: rgb(230, 225, 225);
}

.filter-button.active {
  background-color: #ff0a0a !important;
  color: white;
  font-weight: 600;
}

.timeline-item-right::before {
  content: "";
  position: absolute;
  top: 10px;
  left: -43px;
  font-size: 28px;
  font-weight: 600;
  display: flex;
  justify-content: center;
  align-items: center;
  color: rgb(255, 255, 255);
  background-color: red;
  background-repeat: no-repeat;
}

.timeline-item-left::before {
  content: "";

  position: absolute;
  top: 10px;
  right: -45px;
  font-size: 28px;
  font-weight: 600;
  display: flex;
  justify-content: center;
  align-items: center;
  color: rgb(255, 255, 255);
  background-color: rgb(92, 92, 92);
  background-repeat: no-repeat;
}

.logo1925::before {
  background-image: url("../assets/GrothLogo1.jpg");
  width: 40px;
  height: 58px;
  background-size: 100%;
  background-color: black;
}

.logo1975::before {
  background-image: url("../assets/Logo_1975.png");
  width: 40px;
  height: 43px;
  background-size: 100%;
}

.logo1990::before {
  background-image: url("../assets/Logo_1990.png");
  width: 40px;
  height: 58px;
  background-size: 100%;
}

.logo2007::before {
  background-image: url("../assets/Logo.png");
  width: 40px;
  height: 40px;
  background-size: 100%;
}


.timeline-item-left .left-headline {
  display: flex;
  justify-content: space-between;
}

.timeline-item h1 {
  font-size: 1.5rem;
}

.timeline-item-left .left-headline .year-box {
  order: 2;
}

.timeline-item-left .left-headline .subheader {
  order: 1;
  text-align: left;
  margin-top: 40px;
}

.timeline-item-left p {
  text-align: left;
  margin: 0;
}

div.sticky {
  position: sticky;
  top: 0;
  padding: 1.5rem 0.75rem;
  font-size: 20px;
  background: white;
  z-index: 99;
}

.section {
  position: sticky;
  top: 30%;
  width: 300px;
  margin-left: 3.25rem;
}

.section ul {
  list-style: none;
  line-height: 28px;
  padding: 20px;
  background-color: rgb(230, 225, 225);
}

.section ul li {
  padding: 0.25rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.section ul li a {
  text-decoration: none;
  color: black;
  font-weight: 700;
}

.back-btn {
  text-decoration: none;
  font-weight: 600;
  padding: 10px 15px;
  width: 100%;
  background: #ff0a0a;
  color: white !important;
  width: 100%;
  transition: all 0.3s;
  border-radius: 5px;
}

.back-btn:hover {
  color: rgb(235, 234, 234);
  background: rgb(165, 9, 9);
}

.section-active {
  color: black !important;
}

.myImg {
  cursor: pointer;
  transition: 0.3s;
}

.myImg:hover {
  opacity: 0.7;
}

.modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgb(0, 0, 0);
  background-color: rgba(0, 0, 0, 0.9);
}

.modal-content {
  height: 60%;
  width: auto;
  margin-top: 10%;
  border-radius: none !important;
}

#caption {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
  text-align: center;
  color: #ccc;
  /* padding: 10px 0;
  height: 150px; */
}

.modal-content,
#caption {
  -webkit-animation-name: zoom;
  -webkit-animation-duration: 0.6s;
  animation-name: zoom;
  animation-duration: 0.6s;
}

@-webkit-keyframes zoom {
  from {
    -webkit-transform: scale(0);
  }

  to {
    -webkit-transform: scale(1);
  }
}

@keyframes zoom {
  from {
    transform: scale(0);
  }

  to {
    transform: scale(1);
  }
}

.close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
}

.close:hover,
.close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}

.epochenLink {
  color: red;
  text-decoration: none;
  font-weight: 600;
}

.epochenLink:hover {
  color: red;
}