/* =====================================
   ЛОГОТИП
===================================== */

.logo-link {

    color: var(--text-color);
    display: flex;
    align-items: center;
    text-decoration: none;

}

.logo {

    width: 28px;
    height: 28px;

    display: block;

    transition: transform .25s ease;

}

.logo-link:hover .logo {

    transform: translateY(-2px) scale(1.05);

}

.profile-photo {
    position: relative;
}

.linkedin-badge {
    position: absolute;
    bottom: 10px;
    right: 10px;
    z-index: 2;
}

.linkedin-badge img {
    width: 16px;
    height: 16px;
    display: block;
}

/* =====================================
   РЕЗЮМЕ
===================================== */

.card {
    max-width: 960px;

    margin: 40px auto;
    padding: 20px;

    background-color: white;
    
    text-align: center;
}

.resume-content {
    padding: 20px;
}

/* =====================================
   СЕКЦИЯ РЕЗЮМЕ
===================================== */

.main-section-title {
    margin-bottom: 16px;

    font-size: 22px;
    font-weight: 700;

    color: #0aa879;
}

.resume-section {
    margin-top: 25px;
    text-align: left;
}

.resume-section .main-section-title {
    margin-bottom: 12px;
}

.resume-description {
    max-width: 650px;
    margin-bottom: 0;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
}

/* =====================================
   ДЕКОРАТИВНИЙ КВАДРАТ ПЕРЕД ГОЛОВНИМ ЗАГОЛОВКОМ
===================================== */

.main-section-title::before {
    content: "";

    display: inline-block;

    width: 15px;
    height: 15px;

    margin-right: 10px;

    background: #0aa879;

    box-sizing: border-box;
}

.experience-title::before {
    content: "";

    display: inline-block;

    width: 15px;
    height: 15px;

    margin-right: 10px;

    background: #0aa879;

    box-sizing: border-box;
}

/* =====================================
   ГЛАВНЫЙ ЗАГОЛОВОК ОПЫТА
===================================== */

.experience-title {
    font-size: 21px;
    font-weight: 700;

    color: #0aa879;
}

/* =====================================
   SKILL BAR
===================================== */

.skill-bar {
    position: relative;
    display: inline-block;
    vertical-align: middle;
    margin-left: 8px;
}

.skill-bar__track-wrap {
    display: flex;
    width: 35px;
    height: 6px;
    border-radius: 3px;
    overflow: hidden;
}

.skill-bar__fill {
    background-color: #368e2b; /* резервний колір, якщо клас рівня не проставлено */
}

.skill-bar__fill--level-1 { background-color: #1B4615; }
.skill-bar__fill--level-2 { background-color: #286A20; }
.skill-bar__fill--level-3 { background-color: #368e2b; }
.skill-bar__fill--level-4 { background-color: #43B035; }
.skill-bar__fill--level-5 { background-color: #59C84B; }

.skill-bar__track {
    background-color: #d9d9d9;
}

.dark-theme .skill-bar__track {
    background-color: #555555;
}

.skill-bar::after {
    content: attr(data-tooltip-ua);

    position: absolute;
    left: 50%;
    bottom: 100%;
    transform: translateX(-50%);
    margin-bottom: 6px;

    padding: 3px 8px;
    border-radius: 4px;
    background-color: #59d874;
    color: #ffffff;
    font-size: 11px;
    white-space: nowrap;

    opacity: 0;
    pointer-events: none;
    transition: opacity .15s ease;
    z-index: 10;
}

html[lang="en"] .skill-bar::after {
    content: attr(data-tooltip-en);
}

.skill-bar:hover::after {
    opacity: 1;
}

/* =====================================
   EXPERIENCE BAR
===================================== */

.experience-bar {
    display: flex;
    height: 8px;
    border-radius: 4px;
    overflow: hidden;
    margin: 10px 0 4px;
}

.experience-bar__offline {
    background-color: #046cc8;
}

.experience-bar__digital {
    background-color: #0096b7;
}

.dark-theme .experience-bar__offline {
    background-color: #046cc8;
}

/* =====================================
   EXPERIENCE ARROW
===================================== */

.top-work-branch-arrow {
    color: #046cc8 !important;
    font-size: 20px;
    margin: 2px 0 2px 6px;
}

.bottom-work-branch-arrow {
    color: #0096b7 !important;
    font-size: 20px;
    margin: 2px 0 2px 6px;
}

/* =====================================
   МОБИЛЬНАЯ ВЕРСИЯ
===================================== */

@media (max-width: 600px) {

    .resume-header .profile-info .profile-summary p {
        font-size: 12px;
        line-height: 1.35;
    }

    .resume-header .profile-info .education {
        font-size: 12px;
        line-height: 1.35;
    }

}