html,
body {
    height: 100%;
}

body {
    font-family: 'Quicksand', sans-serif;
    font-weight: 500;
    color: black;
    background-color: white;
    padding: 0 25px;
    display: flex;
    flex-direction: column;
    position: relative;
}

h6 {
    font-size: 1.5em;
    text-align: left;
    height: 38px;
    margin-top: 20px;
    margin-bottom: 20px;
}

h6 span {
    white-space: nowrap;
}

.flex-parent {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

.input-flex-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 80vw;
    height: 100px;
    max-width: 1000px;
    position: relative;
    z-index: 0;
}

.input {
    width: 25px;
    height: 25px;
    background-color: #2C3E50;
    position: relative;
    border-radius: 50%;
}

.input:hover {
    cursor: pointer;
}


/*
length of timeline
*/

.input::before,
.input::after {
    content: '';
    display: block;
    position: absolute;
    z-index: -1;
    top: 50%;
    transform: translateY(-50%);
    background-color: #2C3E50;
    width: 20vw;
    height: 5px;
    max-width: 200px;
}

.input::before {
    left: calc(-4vw + 50px);
}

.input::after {
    right: calc(-4vw + 50px);
}

.input.active {
    background-color: #2C3E50;
}

.input.active::before {
    background-color: #2C3E50;
}

.input.active::after {
    background-color: #2C3E50;
}

.input.active span::before,
.input.active span::after {
    font-weight: 1000;
    font-size: 20px;
}

.input.active~.input,
.input.active~.input::before,
.input.active~.input::after {
    background-color: #AEB6BF;
}

.input span {
    width: 1px;
    height: 1px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    visibility: hidden;
}

.input span::before,
.input span::after {
    visibility: visible;
    position: absolute;
    left: 50%;
}

.input span::after {
    content: attr(data-year);
    top: 25px;
    transform: translateX(-50%);
    font-size: 14px;
    font-weight: bolder;
}

.input span::before {
    content: attr(data-info);
    top: -40px;
    width: 80;
    transform: translateX(-50%) rotateZ(-0deg);
    font-size: 14px;
    text-indent: -0px;
    font-weight: bolder;
}

.description-flex-container {
    width: 80vw;
    font-weight: 400;
    font-size: 22px;
    margin-top: 100px;
    max-width: 1000px;
}

.description-flex-container p {
    margin-top: 0;
    display: none;
}

.description-flex-container p.active {
    display: block;
}

@media (min-width: 1250px) {
    .input::before {
        left: -50px;
    }
    .input::after {
        right: -50px;
    }
}

@media (max-width: 850px) {
    .input {
        width: 50px;
        height: 50px;
    }
    .input::before,
    .input::after {
        height: 3px;
    }
    .input::before {
        left: calc(-4vw + 8.5px);
    }
    .input::after {
        right: calc(-4vw + 8.5px);
    }
}

@media (max-width: 600px) {
    .flex-parent {
        justify-content: initial;
    }
    .input-flex-container {
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
        height: auto;
        margin-top: 15vh;
    }
    .input {
        width: 60px;
        height: 60px;
        margin: 0 10px 50px;
        background-color: #AEB6BF;
    }
    .input::before,
    .input::after {
        content: none;
    }
    .input span {
        width: 100%;
        height: 100%;
        display: block;
    }
    .input span::before {
        top: calc(100% + 5px);
        transform: translateX(-50%);
        text-indent: 0;
        text-align: center;
    }
    .input span::after {
        top: 50%;
        transform: translate(-50%, -50%);
        color: #ECF0F1;
    }
    .description-flex-container {
        margin-top: 30px;
        text-align: center;
    }
}

@media (max-width: 400px) {
    body {
        min-height: 950px;
    }
}

a {
    color: #1772d0;
    text-decoration: none;
}

a:focus,
a:hover {
    color: #f09228;
    text-decoration: none;
}

body,
td,
th {
    font-family: 'Titillium Web', Verdana, Helvetica, sans-serif;
    font-size: 16px;
    font-weight: 400
}

heading {
    font-family: 'Titillium Web', Verdana, Helvetica, sans-serif;
    font-size: 19px;
    font-weight: 1000
}

strong {
    font-family: 'Titillium Web', Verdana, Helvetica, sans-serif;
    font-size: 16px;
    font-weight: 800
}

strongred {
    font-family: 'Titillium Web', Verdana, Helvetica, sans-serif;
    color: 'red';
    font-size: 16px
}

sectionheading {
    font-size: 1.5em;
    text-align: left;
    height: 38px;
    margin-top: 80px;
    margin-bottom: 20px;
    font-weight: bolder;
}

pageheading {
    font-family: 'Titillium Web', Verdana, Helvetica, sans-serif;
    font-size: 30px;
    font-weight: 400
}