body {
    --primary: #27a822;
    --gray: #444444;
}

.cv-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px;
    margin-bottom: 20px;
    border-top: 4px solid;
    border-bottom: 4px solid;
    border-color: var(--primary);
}

.cv-header-info {
    display: flex;
    flex-direction: column;
    align-items: center;
}

@media (min-width: 768px) {
    .cv-header {
        flex-direction: row;
        gap: 50px;
        padding: 10px;
    }

    .cv-header-info {
        align-items: flex-start;
    }
}

.cv-header-name {
    font-weight: bold;
}

.cv-body {
    font-size: 14pt;
    line-height: normal;
}

.cv-body p {
    margin-bottom: 8px;
}

.cv-body h2 {
    font-size: 18pt;
    margin-top: 32px;
}

.cv-body h3 {
    font-size: 18pt;
}

.cv-body h4 {
    font-size: 15pt;
    margin-bottom: 4px;
}

.cv-body .cv-degree {
    margin-bottom: 0;
}

.cv-institution {
    color: var(--gray);
    font-size: 12pt;
}

.cv-position-tags {
    position: relative;
    left: 0.5em;
    font-size: small;
}

.cv-item {
    margin-bottom: 32px;
}

.cv-item-header {
    display: flex;
    flex-direction: column;
    margin-bottom: 4px;
}

.cv-item-description ul {
    margin-bottom: 0;
}

.cv-item-date {
    flex-shrink: 0;
    font-size: 12pt;
    font-style: italic;
}

@media (min-width: 768px) {
    .cv-item-header {
        flex: auto 1;
        flex-direction: row;
        align-items: center;
    }

    .cv-item-date {
        margin-left: auto;
        font-size: 14pt;
        font-style: normal;
    }
}

.cv-read-button {
    background-color: var(--primary);
    color: white !important;
    line-height: initial;
    font-size: 10pt;
    position: relative;
    left: 40px;
    top: 10px;
    font-size: 11pt;
}

.cv-read-button:hover {
    color: var(--gray) !important;
}

.cv-publication {
    font-size: 12pt;
}

.cv-position-technologies {
    display: flex;
    justify-content: end;
    gap: 4px;
    flex-wrap: wrap;
}

.cv-achievements-heading {
    font-weight: bold;
}
