body {
    height: -webkit-fill-available;
    overflow: hidden;
}

.main {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    overflow: scroll;
}

#timeline {
    min-height: 100px;
    display: flex;
    flex-direction: row;
    overflow-x: scroll;
    display: none;
}

.timeline-line {
    height: 4px;
    background-color: #9e9e9e;
    margin: auto;
    margin-top: 20px;
    display: block;
    position: relative;
    min-width: 110px;
    transition: ease background-color 300ms;
}

.timeline-line:hover {
    background-color: #08c;
}

.timeline-line:first-child {
    margin-left: 100px;
}

.timeline-line::after {
    content: '';
    position: absolute;
    left: -10px;
    top: -10px;
    height: 16px;
    width: 16px;
    border-radius: 14px;
    border: solid 4px white;
    background-color: #08c;
    box-shadow: 0 0 5px 5px #0001;
}

.timeline-description {
    position: absolute;
    text-align: center;
    box-shadow: 0 0 13px -3px #0000002b;
    padding: 10px;
    border-radius: 6px;
    background-color: #fff;
    transform: translate(-50%, 20px);
    cursor: pointer;
}

.timeline-description>h1,
.timeline-description>h2 {
    margin: 0;
    font-size: 10px;
    font-weight: 500;
}

.timeline-description>h1 {
    font-size: 12px;
    font-weight: 600;
}

.timeline-description>h2 {
    font-size: 10px;
    font-weight: 500;
}

#display {
    display: flex;
    flex-direction: column;
    justify-content: start;
    overflow: scroll;
    max-width: 100%;
    flex-grow: 1;
}

.vocation-display {
    background-color: #fff;
    padding: 20px;
    width: 400px;
    min-width: 60%;
    max-width: -webkit-fill-available;
    margin: 15px auto;
    border-radius: 8px;
    box-shadow: 0 0 13px -3px #0000002b;
}

.vocation-display header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.vocation-display header>div {
    margin: auto 0;
}

.vocation-display img {
    height: 50px;
    max-width: 130px;
    border-radius: 3px;
    object-fit: contain;
    /* object-position: top; */
    margin: 10px;
}

.vocation-display h1,
.vocation-display h2 {
    margin: 5px;
}

.vocation-display h1 {
    font-size: 18px;
    font-weight: 600;
}

.vocation-display h2 {
    font-weight: 500;
    font-size: 14px;
}

.vocation-display>div {
    margin-top: 30px;
}

.vocation-display>div a {
    color: #000;
    text-decoration: none;
}

.vocation-display>div {
    font-size: 12px;
}

.vocation-display>div>ul{
    padding-left: 20px;
}

.vocation-display>div>ul>li {
    margin: 10px 0;
}

@media screen and (max-width: 500px) {

    #header{
        padding-bottom: 10px;
    }

    .main {
        margin: unset;
        width: -webkit-fill-available !important;
        padding-top: 0 !important;
        max-width: unset;
        background-color: rgb(143, 143, 143);
    }

    .vocation-display:first-child{
        margin-top: 0;
    }

    .vocation-display:last-child{
        margin-bottom: 0;
    }

    .vocation-display{
        border-radius: 0;
        box-shadow: 0 0 35px -12px #000000e3;
        margin: 10px auto;
    }

    .vocation-display header {
        flex-direction: column-reverse;
    }

    .vocation-display img {
        margin: 20px auto;
    }

    .vocation-display h1,
    .vocation-display h2 {
        text-align: center;
    }

}