@import url("https://fonts.googleapis.com/css2?family=Arapey:ital@0;1&family=Qwigley&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Source+Sans+3:ital,wght@0,600;0,700;1,400&display=swap");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: "Source Sans 3", sans-serif;
  color: white;
  background-color: #2e364a;
}
.container {
  max-width: 90rem;
  margin: 2rem auto;
  padding: 0px 2rem;
}
.header {
  padding: 2rem;
  margin: 1rem 0px;
  text-align: center;
}
.header > .title {
  margin-bottom: 1rem;
  font-size: 3.5rem;
  font-weight: 700;
}
.tribute {
  display: grid;
  grid-template-columns: 2fr 1fr;
  max-width: 78rem;
  margin: 0px auto;
  background-color: #eeedeb;
  color: black;
  align-items: center;
  padding: 0px 0px 0px 1rem;
}
.tribute blockquote {
  text-align: center;
  font-size: 3rem;
  font-family: "Arapey", serif;
}
.tribute img {
  max-width: 90%;
}
.bio {
  margin: 2rem auto;
  padding: 0px 0.5rem;
  max-width: 40rem;
}
.bio > h2 {
  margin-bottom: 1rem;
  font-size: 2rem;
  line-height: 1.2;
  text-align: center;
  font-weight: 700;
}
.bio > p {
  font-size: 1.5rem;
  line-height: 1.4;
}
.bio > hr {
  margin-top: 2rem;
}
.timeline {
  position: relative;
  max-width: 1200px;
  margin: 100px auto;
}

.timeline__heading {
  margin-top: 1rem;
  font-size: 2rem;
  line-height: 1.2;
  text-align: center;
  font-weight: 700;
}
.timeline__container {
  padding: 10px 50px;
  position: relative;
  width: 50%;
  animation: movebox 1s linear forwards;
  opacity: 0;
}
@keyframes movebox {
  0% {
    opacity: 1;
    transform: translateY(-40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0px);
  }
}

.timeline__container:nth-child(0) {
  animation-delay: 0s;
}
.timeline__container:nth-child(1) {
  animation-delay: 1s;
}
.timeline__container:nth-child(2) {
  animation-delay: 2s;
}
.timeline__container:nth-child(3) {
  animation-delay: 3s;
}
.timeline__container:nth-child(4) {
  animation-delay: 4s;
}
.timeline__container:nth-child(5) {
  animation-delay: 5s;
}
.timeline__container:nth-child(6) {
  animation-delay: 6s;
}

.text__box {
  padding: 20px 30px;
  background-color: #eeedeb;
  color: black;
  position: relative;
  border-radius: 6px;
  font-size: 15px;
}
.left__container {
  left: 0;
}
.right__container {
  left: 50%;
}
.timeline__container img {
  position: absolute;
  width: 40px;
  border-radius: 50%;
  right: -70px;
  top: 32px;
  z-index: 10;
}
.right__container img {
  left: -70px;
}

.timeline::after {
  content: "";
  position: absolute;
  width: 6px;
  height: 100%;
  background: #eeedeb;
  top: 0;
  left: 50%;
  margin-left: -3px;
  z-index: -1;
  animation: moveline 6s linear forwards;
}
@keyframes moveline {
  0% {
    height: 0;
  }
  100% {
    height: 100%;
  }
}
.text__box h2 {
  font-weight: 700;
  margin-bottom: 15px;
}

.left__container__arrow {
  height: 0;
  width: 0;
  position: absolute;
  top: 35px;
  z-index: 1;
  border-top: 15px solid transparent;
  border-bottom: 15px solid transparent;
  border-left: 15px solid #fff;
  right: -15px;
}
.right__container__arrow {
  height: 0;
  width: 0;
  position: absolute;
  top: 35px;
  z-index: 1;
  border-top: 15px solid transparent;
  border-bottom: 15px solid transparent;
  border-right: 15px solid #fff;
  left: -15px;
}

.inner {
  max-width: 1200px;
  margin: auto;
  overflow: hidden;
  padding: 0 20px;
}
.row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.col {
  flex: 33.33%;
  max-width: 33.33%;
  box-sizing: border-box;
  padding: 15px;
}
.quotes {
  background: #eeedeb;
  padding: 30px;
  height:fit-content;
  border-radius: 10px;
  color: #434343;
  text-align: center;
}

.quotes p {
  font-family: "Arapey", serif;
  font-size: 21px;
}
.inner > h2 {
  margin-bottom: 1rem;
  font-size: 2rem;
  line-height: 1.2;
  text-align: center;
}

.wiki__container {
  width: 100%;
  padding-left: 80px;
  padding-right: 25px;
  text-align: center;
  margin-top: 3rem;
  margin-bottom: 3rem;
}
.wiki-link {
  color: #3498db;
  text-decoration: none;
  border-bottom: 1px solid #3498db;
  transition: color 0.3s ease;
}
.wiki-link:hover {
  color: #2980b9;
}

@media screen and (max-width: 600px) {
  body {
    font-size: 14px;
  }

  .container {
    max-width: 100%;
    padding: 0 1rem;
  }

  .header {
    padding: 1rem;
  }

  .tribute {
    grid-template-columns: 1fr;
    max-width: 100%;
    padding: 0 1rem;
  }

  .tribute blockquote {
    font-size: 2rem;
  }

  .bio {
    max-width: 100%;
    padding: 0 0.5rem;
  }

  .timeline {
    margin: 50px auto;
  }

  .timeline::after {
    left: 31px;
  }

  .timeline__container {
    width: 100%;
    padding-left: 80px;
    padding-right: 25px;
  }

  .text__box {
    font-size: 13px;
  }

  .right__container {
    left: 0;
  }

  .left__container img,
  .right__container img {
    left: -70px;
  }

  .left__container__arrow,
  .right__container__arrow {
    border-right: 15px solid #fff;
    border-left: 0;
    left: -15px;
  }

  .inner {
    padding: 0 1rem;
  }

  .row {
    margin: 0 -0.5rem;
  }

  .col {
    padding: 0.5rem;
  }

  .quotes {
    padding: 15px;
    font-size: 16px;
  }
  .quotes p {
    font-size: 18px;
  }

  .inner > h2 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
  }

  .wiki__container {
    padding-left: 1rem;
    padding-right: 1rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
  }
}
