@font-face {
    font-family: Raleway;
    src: url(fonts/Raleway.ttf);
}

#main-container h1:first-child {
    margin-top: 20px !important;
}

.included-info-mb {
    padding: 1rem 0;
    margin-bottom: 1rem;
}

.custom-list li {
    margin-bottom: 11px !important;
    padding-left: 1rem;
}

.custom-list li::marker {
    content: "✔";
    color: var(--color-five);
}

.bullet-list li {
    margin-bottom: 0.4rem;
}

.custom-list-2 {
    margin-bottom: 2rem;
}

#img-relation-worms {
    max-width: 100%;
}

/* Title styling */
h1, h2, h3 {
    position: relative;
    font-family: "Raleway", sans-serif;
    font-weight: 350;
    color: #080808;
    -webkit-transition: all 0.4s ease 0s;
    -o-transition: all 0.4s ease 0s;
    transition: all 0.4s ease 0s;
    margin-bottom: 2rem;
    border-bottom: 1px solid lightgrey;
    padding-bottom: 4px;
    width: fit-content;
    min-width: 200px;
    margin-top: 30px;
}

h3 {
    font-weight: 400 !important;
    min-width: 150px !important;
    padding-bottom: 5px !important;
}

h1:before, h2:before, h3:before {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 55px;
    z-index: 1;
}

h1:before {
    border-bottom: 5px solid var(--color-one);
}
h2:before {
    border-bottom: 5px solid var(--color-four);
    width: 45px;
}
h3:before {
    border-bottom: 4px solid orangered;
    bottom: -2px;
    width: 35px;
}

hr {
    border-color: lightgrey !important;
}


/* Time line styling */
#db-history-listing {
    position: relative;
}

.timeline:before {
    top: 20px;
    bottom: 15px;
    position: absolute;
    content: "";
    width: 3px;
    background-color: #eeeeee;
    left: 4%;
}

.timeline {
    list-style: none;
    padding: 20px 0 20px;
    position: relative;
}

.timeline > li {
    padding-left: 8%;
    margin-bottom: 30px;
    position: relative;
}

.timeline li:last-child {
    margin-bottom: 0 !important;
}


.timeline > li:before{
    position: absolute;
    top: 60%;
    left: calc(3.95% - 4px);
    content: "";
    display: block;
    width: 12px;
    height: 12px;
    margin-top: -10px;
    background: #fff;
    border-radius: 10px;
    border: 4px solid var(--color-one);
    z-index: 10;
}

.timeline > li:first-child::before {
    top: 10px !important;
    content: "";
}

.arrowhead {
    position: absolute;
    bottom: 1px;
    left: calc(4% - 13px);
    border-top: 15px solid #eee;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
}

.image-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
}
.image-row .custom-list {
    max-width: 65%;
}