:root {
    --cv-margin: 20;
}

p.cv_history_delimiter {
    height: 1px;
    background-color: black;
    margin: 10px 0;
}

body {
    background-color: black;
    margin: 15px;
}

.cv_wrapper {
    max-width: 1920px;
    height: fit-content;
    margin: auto;
    font-family: sans-serif;
    display: flex;
    width: 100%;
}


.cv_wrapper a {
    text-decoration: none;
}


.cv_right a {
    text-decoration: none;
    color: #407a98;
    font-weight: 800;
    transition: 200ms;
}


.cv_right a:hover {
    text-decoration: none;
    color: #000000;
}


.cv_profile_img {
    width: fit-content;
    margin: auto;
    max-width: 100%;
    border-radius: 100%;
    box-shadow: 0 0 126px #6e7b82;
    outline: solid 8px #373e41;
    outline-offset: -2px;
}

.cv_left {
    min-width: 250px;
    width: 30%;
    max-width: 450px;
    height: auto;
    background-color: #353b3e;
    padding: var(--cv-margin);
    box-sizing: border-box;
    border-top-left-radius: 12px;
}


.cv_profile_img_div {
    width: 100%;
    box-sizing: border-box;
    margin-bottom: calc(var(--cv-margin) * 0.5px);
    display: flex;
    aspect-ratio: 1 / 1;
    max-height: 390px;
    /* background-color: aquamarine; */
}


.cv_rating_result > span {
    height: 100%;
    flex-basis: 8%;
    position: relative;
    outline-offset: -1px;
    transform: translateY(-100%);
}


.cv_rating_result > div {
    width: 100%;
}


.cv_rating_result > span:not(:last-of-type):after {
    position: absolute;
    display: block;
    content: '';
    width: calc(250% / 9);
    height: 100%;
    left: 100%;
    background-color: #6f6f6f;
}

.cv_rating_result {
    color: #ffffff;
    font-size: 12px;
    margin-bottom: 18px;
    line-height: 1.5rem;
}


.cv_rating_result > div > div {
    width: 100%;
    height: 100%;
    background-color: #fffffb;
}


.cv_contact_link {
    margin-top: calc(var(--cv-margin) * 0.5px);
    width: calc(100% + 40px);
    min-height: 34px;
    display: flex;
    padding: 7px 15px;
    box-sizing: border-box;
    position: relative;
    column-gap: 12px;
    font-size: 12px;
    line-height: 1rem;
    margin: 1px -20px;
    transition: 200ms;
    border-top: 1px solid #d3d9dc;
    color: #d1d6d9 !important;
}

.cv_contact_link:first-of-type {
    margin-top: 20px;
}

.cv_contact_link:last-of-type {
    margin-bottom: 20px;
    border-bottom: 1px solid #d3d9dc;
}

.cv_contact_link:hover {
    color: white;
    background-color: #444c50;
}


.cv_contact_link > span:first-child {
    display: block;
    align-self: center;
    line-height: 1.5rem;
    fill: #ccd3d7;
}


.cv_contact_link > span:first-child > svg {
    width: 24px;
    height: 24px;
}

.cv_contact_link > span:nth-child(2) {
    line-height: 1.5rem;
    color: inherit;
    font-weight: 500;
}

.cv_rating_headline {
    box-sizing: border-box;
    width: calc(100% + var(--cv-margin) * 2px);
    margin-left: calc(var(--cv-margin) * -1px);
    color: white;
    padding: 20px 16px;
    font-weight: 600;
    display: flex;
    font-size: 16px;
    margin-bottom: 22px;
    background: linear-gradient(354deg, #000000, #1c1e1f);
}

.cv_rating_headline > span:first-child {
    align-self: center;
}

.cv_rating_headline > span:last-child {
    margin-left: calc(var(--cv-margin) * 0.5px);
    align-self: center;
    transform: translateY(1px);
}


.cv_rating_title {
    font-size: 16px;
    font-variant-caps: all-petite-caps;
    color: #83878a;
    margin-bottom: 6px;
    font-weight: bold;
    letter-spacing: 1px;
}


.cv_right {
    color: #0d0e0e;
    background-color: #ecf7ff;
    height: auto;
    flex: 1;
    padding: 0 var(--cv-margin) var(--cv-margin) var(--cv-margin);
    background: linear-gradient(90deg, #d3e2ed, #e5edf2);
    border-top-right-radius: 20px;
    font-size: 13px;
}

.cv_right h2 {
    font-size: 19px;
    margin: 20px 0;
}

.cv_right h3 {
    font-size: 12px;
    margin: 4px 0 4px 0;
    line-height: 1.2rem;
}

.cv_right ul {
    padding-left: 0;
    display: flex;
    flex-direction: column;
    column-gap: 50px;
    margin: 0;
}

.cv_right {
    line-height: 1.4rem;
}


.cv_history_headline {
    display: block;
    position: relative;
    width: 100%;
    height: 52px;
    margin-bottom: 15px;
}


.cv_history_headline img {
    height: 40px;
    margin-right: var(--cv-margin); /* border: 2px solid #ffffff; */
    box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}


.cv_history_headline span {
    font-size: 19px;
    font-weight: 600;
    position: absolute;
    top: 50%;
    transform: translateY(calc(-50% + 1px));
}

.cv_history_headline span:last-child {
    left: 145px
}


.cv_pdf > a {
    display: block;
    background-color: #586167;
    text-align: center;
    padding: 10px 15px;
    position: fixed;
    right: 30px;
    top: 30px;
    color: #ffffff;
    border-radius: 19px;
    font-weight: 700;
    font-size: 15px;
    font-style: normal;
    box-shadow: 2px 2px 3px rgba(0, 0, 0, 0.2);
    transition: 200ms;
}


.cv_pdf > a:hover {
    color: white;
    background-color: #353b3e;
}


li {
    display: block;
    padding: 6px 0;
}

.print-include {
    display: none;
}

/* Define print-specific styles */
@media print {
    html {
        zoom: 0.85;
    }

    .cv_left,
    .cv_right {
        -webkit-box-decoration-break: clone;
        box-decoration-break: clone;
        padding-top: 18px !important;
        padding-bottom: 18px !important;
    }

    .cv_right > h2:first-child {
        margin-top: 0;
    }

    .print-include {
        display: block !important;
    }

    .print-exclude {
        display: none !important;
    }

    .cv_right h3 {
        font-size: 12px;
        margin: 4px 0 4px 0;
    }

    .cv_right p {
        font-size: 12px;
        line-height: 1.2rem !important;
    }

    .cv_right ul {
        font-size: 12px;
    }

    .cv_right li {
        font-size: 12px;
        line-height: 1.2rem !important;
    }

    body {
        background-color: white !important;
    }

    .cv_right h2 {
        margin: 14px 0;
    }

    .cv_block_head,
    .cv_right h2,
    .cv_rating_headline,
    .cv_rating_title {
        break-inside: avoid;
        break-after: avoid;
    }

    p.cv_history_delimiter {
        break-before: avoid;
    }

    .cv_right p,
    .cv_right li,
    .cv_rating_result {
        break-inside: avoid;
    }
}

@media only screen and (min-width: 769px) {
    .cv_profile_img {
        object-fit: unset;
    }
}

@media only screen and (min-width: 993px) {
    .cv_right {
        font-size: 16px;
        line-height: 1.6rem;
    }

    .cv_right h3 {
        font-size: 15px;
        line-height: 1.3rem;
    }

    .cv_rating_title {
        font-size: 22px;
    }

    .cv_rating_result {
        font-size: 15px;
        margin-bottom: 20px;
    }

    .cv_left {
        min-width: 340px;
    }

    .cv_contact_link {
        font-size: 15px;
        line-height: 1.2rem;
    }
}

@media only screen and (min-width: 1201px) {

    .cv_contact_link:last-of-type {
        margin-bottom: 30px;
    }


    p.cv_history_delimiter {
        margin: 17px 0;
    }
}

@media only screen and (min-width: 1401px) {
    .cv_profile_img {
        object-fit: none;
    }
}