html {
    font-size: 14px;
}
body {
    background: #f6f9fc;
    font-family: "Open Sans", sans-serif;
    color: #525f7f;
}
a {
    text-decoration: none;
    font-size: 20px;
    font-weight: bold;
    color: #000f9f !important;
}
a:hover {
    color: #ffd600 !important;
}
p {
    font-size: 16px;
    line-height: 20px;
}
h2 {
    margin: 5%;
    text-align: center;
    font-size: 2rem;
    font-weight: 100;
}
.timeline {
    display: flex;
    flex-direction: column;
    width: 50vw;
    margin: 5% auto;
}
.timeline__event {
    background: #fff;
    margin-bottom: 20px;
    position: relative;
    display: flex;
    margin: 20px 0;
    border-radius: 8px;
    box-shadow: 0 30px 60px -12px rgba(50, 50, 93, 0.25), 0 18px 36px -18px rgba(0, 0, 0, 0.3), 0 -12px 36px -8px rgba(0, 0, 0, 0.025);
}
.timeline__event__title {
    font-size: 1.2rem;
    line-height: 1.4;
    text-transform: uppercase;
    font-weight: 600;
    color: #510c76;
    letter-spacing: 1.5px;
}
.timeline__event__content {
    padding: 20px;
}
.timeline__event__date {
    color: #510c76;
    font-size: 16px;
    font-weight: 600;
    white-space: nowrap;
}
.timeline__event__icon {
    border-radius: 8px 0 0 8px;
    background: #00b2e3;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #00b2e3;
    padding: 20px;
}
.timeline__event__icon i {
    position: absolute;
    top: 50%;
    left: -65px;
    font-size: 2.5rem;
    transform: translateY(-50%);
}
.timeline__event__description {
    flex-basis: 60%;
}
.timeline__event:after {
    content: "";
    width: 2px;
    height: 100%;
    background: #001f60;
    position: absolute;
    top: 52%;
    left: -3.5rem;
    z-index: -1;
}
.timeline__event:before {
    content: "";
    width: 5rem;
    height: 5rem;
    position: absolute;
    background: #510c76;
    border-radius: 100%;
    left: -6rem;
    top: 50%;
    transform: translateY(-50%);
    border: 2px solid #510c76;
}


.timeline__event:last-child:after {
    content: none;
}
@media (max-width: 786px) {
    .timeline__event {
        flex-direction: column;
   }
    .timeline__event__icon {
        border-radius: 4px 4px 0 0;
   }
}
@media only screen and (max-width: 768px) {
    .timeline__event__date {
        font-size: 11px;
    }
  }
@media only screen and (min-width:641px) {
    .timeline__event__icon {
        min-width: 250px;
    }
  }
