section {
  padding: 100px 0;
}

html {
  overflow-x: hidden;
}

body {
  overflow-x: hidden;
  font-family: "Roboto";
  font-size: 17px;
  font-weight: 400;
  background-color: #ffffff;
}

h1 {
  font-size: 200%;
  text-transform: lowercase;
  color: green;
  letter-spacing: 3px;
  font-weight: 400;
}

header {
  background: #c5cae9;
  color: #ffffff;
}

.header-img {
  height: 170px;
  width: 170px;
}

footer {
  left: 0;
  bottom: 0;
  width: 100%;
  background: #c5cae9;
  color: #000000;
  padding: 50px 0;
  text-align: center;
}
footer p {
  margin-top: 20px;
}

.section-yellow {
  background: #fbf5d5;
  padding: 1rem 0;
  color: black;
}

.section-yellow img {
  border: 1px solid #f5f5f5;
}

.section-grey {
  background: #fbfafa;
  padding: 1rem 0;
  color: black;
}

.header-logos img,
.funding-logos img {
  min-width: 3rem;
  height: 3rem; */
  /* Top, right, bottom, left padding */
  /* padding: 7px 1px 7px 1px; */
}
.header-logos img:hover,
.funding-logos img:hover {
  border: 1px solid #3f51b5;
  box-sizing: border-box;
  border-radius: 4px;
}

.funding-logos img {
  min-width: 5rem;
  height: 5rem;
}

.timeline {
  position: relative;
}
.timeline::before {
  content: "";
  background: #c5cae9;
  width: 5px;
  /* Adjust the length of the vertical timeline line by setting the following */
  height: 99%;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.timeline-item {
  max-width: 100%;
  margin-bottom: 70px;
}
.timeline-item:nth-child(even) .timeline-content {
  float: right;
  padding: 40px 30px 10px 30px;
}
.timeline-item:nth-child(even) .timeline-content .date {
  right: auto;
  left: 0;
}
.timeline-item:nth-child(even) .timeline-content::after {
  content: "";
  position: absolute;
  border-style: solid;
  width: 0;
  height: 0;
  top: 30px;
  left: -15px;
  border-width: 10px 15px 10px 0;
  border-color: transparent #f5f5f5 transparent transparent;
}
.timeline-item::after {
  content: "";
  display: block;
  clear: both;
}
.timeline-item:nth-child(2) .timeline-img-header {
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.4)),
    url("https://hd.unsplash.com/photo-1458530970867-aaa3700e966d") center
      center no-repeat;
  background-size: cover;
}
.timeline-item:nth-child(5) .timeline-img-header {
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.4)),
    url("https://hd.unsplash.com/photo-1444093826349-9ce8c622f4f3") center
      center no-repeat;
  background-size: cover;
}
.timeline-item:nth-child(6) .timeline-img-header {
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.4)),
    url("https://hd.unsplash.com/photo-1471479917193-f00955256257") center
      center no-repeat;
  background-size: cover;
}
.timeline-item:nth-child(8) .timeline-img-header {
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.4)),
    url("https://hd.unsplash.com/photo-1466840787022-48e0ec048c8a") center
      center no-repeat;
  background-size: cover;
}
.timeline-item:nth-child(10) .timeline-img-header {
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.4)),
    url("https://hd.unsplash.com/photo-1447639703758-f525f36456bf") center
      center no-repeat;
  background-size: cover;
}
.timeline-item:nth-child(11) .timeline-img-header {
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.4)),
    url("https://hd.unsplash.com/photo-1469429978400-082eec725ad5") center
      center no-repeat;
  background-size: cover;
}

.timeline-content {
  position: relative;
  width: 45%;
  padding: 10px 30px;
  border-radius: 4px;
  background: #f5f5f5;
  box-shadow: 0 20px 25px -15px rgba(0, 0, 0, 0.3);
}
.timeline-content::after {
  content: "";
  position: absolute;
  border-style: solid;
  width: 0;
  height: 0;
  top: 30px;
  right: -15px;
  border-width: 10px 0 10px 15px;
  border-color: transparent transparent transparent #f5f5f5;
}

.timeline-img {
  width: 30px;
  height: 30px;
  background: #3f51b5;
  border-radius: 50%;
  position: absolute;
  left: 50%;
  margin-top: 25px;
  margin-left: -15px;
}

.timeline-card {
  display: flex;
  flex-direction: column;
  padding: 0 !important;
}
.timeline-card p {
  padding: 0 2px;
}
.timeline-card a {
  margin-left: 2px;
}

.timeline-img-header {
  height: 200px;
  position: relative;
  margin-bottom: 20px;
}
.timeline-img-header h2 {
  color: #ffffff;
  position: absolute;
  bottom: 5px;
  left: 20px;
}

blockquote {
  margin-top: 30px;
  color: #757575;
  border-left-color: #3f51b5;
  padding: 0 20px;
}

.date {
  background: #ff4081;
  display: inline-block;
  color: #ffffff;
  padding: 10px;
  position: absolute;
  top: 0;
  right: 0;
}

@media screen and (max-width: 768px) {
  .timeline::before {
    left: 50px;
  }
  .timeline .timeline-img {
    left: 50px;
  }
  .timeline .timeline-content {
    max-width: 100%;
    width: auto;
    margin-left: 70px;
  }
  .timeline .timeline-item:nth-child(even) .timeline-content {
    float: none;
  }
  .timeline .timeline-item:nth-child(odd) .timeline-content::after {
    content: "";
    position: absolute;
    border-style: solid;
    width: 0;
    height: 0;
    top: 30px;
    left: -15px;
    border-width: 10px 15px 10px 0;
    border-color: transparent #f5f5f5 transparent transparent;
  }
}
