
p{
    margin-top: 1rem;
    color: var(--gray);
}

.name{
  color: var(--gray-hover);
  font-weight: 700;
}

.timeline {
  position: relative;
  margin: 0 auto;
}

.timeline::after {
  content: '';
  position: absolute;
  width: 6px;
  background-color: #20349f;
  top: 0;
  bottom: 0;
  left: 20%;
  margin-left: -3px;
}

.arrow{
    position: relative;
}

.arrow::after{
    content: " ";
    position: absolute;
    top: 22px;
    left: calc(20% - 10px);
    z-index: 1;
    border: medium solid #20349f;
    rotate: 180deg;
    border-width: 10px 10px 0 10px;
    border-color: #20349f transparent transparent transparent;
}

.publication-container {
  margin-top: 2rem;
  padding: 10px 40px;
  position: relative;
  width: 60%;
}

.publication-container::after {
  content: '';
  position: absolute;
  width: 25px;
  height: 25px;
  right: -17px;
  background-color: white;
  border: 4px solid #20349f;
  top: 15px;
  border-radius: 50%;
  z-index: 1;
}

.right {
  left: 20%;
}

.right::before {
  content: " ";
  position: absolute;
  top: 22px;
  left: 30px;
  z-index: 1;
  border: medium solid white;
  border-width: 10px 10px 10px 0;
  border-color: transparent white transparent transparent;
}

.right::after {
  left: -16px;
}

.publication-content {
  padding: 20px 30px;
  background-color: white;
  position: relative;
  border-radius: 6px;
  -webkit-box-shadow: 0px 0px 24px -7px rgba(66, 68, 90, 1);
  -moz-box-shadow: 0px 0px 24px -7px rgba(66, 68, 90, 1);
  box-shadow: 0px 0px 24px -7px rgba(66, 68, 90, 1);
}

@media screen and (max-width:1050px) {
  .timeline::after {
    left: 31px;
  }

  .arrow::after{
    left: 21px;
  }

  .publication-container {
    width: 100%;
    padding-left: 70px;
    padding-right: 25px;
  }

  .publication-container::before {
    left: 60px;
    border: medium solid white;
    border-width: 10px 10px 10px 0;
    border-color: transparent white transparent transparent;
  }

  .left::after, .right::after {
    left: 15px;
  }

  .right {
    left: 0%;
  }
}