﻿:root {
    --primary-color: #0077B6;
    --secondary-color: #03045E;
    --highlight-color: aliceblue;
    --primary-font-color: #212529;
    --secondary-font-color: #6c757d;
    --background-color: #fff;
}

body.dark-mode {
    --primary-color: #0077B6;
    --secondary-color: #03045E;
    --highlight-color: aliceblue;
    --primary-font-color: #FFF;
    --secondary-font-color: #d7d7d7;
    --background-color: #2e2e2e;
}

body {
    font-family: 'SDF';
    color: var(--primary-font-color);
    background-color: #f8f8f8;
    padding: 0;
    margin: 0;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0px 1px 6px -4px #a3a0a0;
    padding: 0.5rem;
    margin-bottom: 1rem;
}

    header select.form-select {
        border: 0 !important;
        font-size: 0.85rem !IMPORTANT;
        margin-left: auto;
        color: var(--primary-font-color) !important;
        box-shadow: none !important;
        background-color: var(--background-color);
        width: 100px;
    }

label#mode-toggler {
    padding: .375rem .75rem .375rem .375rem;
    display: flex;
    align-items: center;
    font-size: 1.25rem;
}

.frame {
    border-radius: 10px;
    margin: 0.5rem auto;
    max-width: 576px;
    border: 1px solid #eee;
    min-height: 100vh;
    background-color: var(--background-color);
}

@media (max-width: 600px) {
    .frame {
        border-radius: 0;
        margin: 0;
        border: 0;
        background-color: var(--background-color);
    }
}

ul#bottomTab {
    justify-content: space-around;
    bottom: 10px;
    width: 100%;
    left: 0;
    border: 0;
    padding: 0.5rem 1rem;
    background: var(--background-color);
    right: 0;
    margin: auto;
    max-width: 574px;
    z-index: 9;
    position: fixed;
}



    ul#bottomTab.nav-tabs .nav-link.active {
        background: var(--primary-color);
        border-color: transparent;
        color: white;
    }

    ul#bottomTab li.nav-item {
        width: 32%;
    }



    ul#bottomTab.nav-tabs .nav-link {
        width: 100%;
        color: var(--primary-font-color);
        border-radius: 3rem;
        font-size: 0.9rem;
    }

div#links ul li {
    margin-bottom: 0.5rem;
    border-radius: 0.5rem;
    display: flex;
    background: var(--highlight-color);
    border: 1px solid var(--highlight-color);
}

    div#links ul li a {
        text-decoration: none;
        padding: 1rem;
        display: flex;
        align-items: center;
        width: 100%;
        color: var(--primary-color);
        direction: ltr;
    }

        div#links ul li a i {
            font-size: 2rem;
            margin: 0 0.5rem;
        }

#profile .check {
    position: absolute;
    bottom: 5px;
    right: 5px;
}

    #profile .check i {
        color: #fff;
        width: 20px;
        height: 20px;
        font-size: 12px;
        line-height: 20px;
        text-align: center;
        border-radius: 100%;
        background: var(--primary-color);
    }

div#profile-pic {
    position: relative;
    width: 124px;
    margin: 2rem auto 0;
}

#profile .thumbnail {
    width: 124px;
    height: 124px;
    display: flex;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1.5em;
    border-radius: 100%;
    box-shadow: 0 13px 26px rgba(0, 0, 0, 0.2), 0 3px 6px rgba(0, 0, 0, 0.2);
}

#profile .name {
    color: var(--primary-font-color);
    font-size: 24px;
    font-weight: 600;
    text-align: center;
}

#profile .title {
    color: var(--secondary-font-color);
    font-size: 0.85em;
    font-weight: 300;
    text-align: center;
    padding-top: 0.5em;
    padding-bottom: 0.7em;
    text-transform: uppercase;
}

#profile .description {
    color: var(--primary-font-color);
    font-weight: 300;
    text-align: center;
    margin-bottom: 1.3rem;
}

#profile .btn {
    color: #f0f8ff;
    height: 42px;
    outline: none;
    border: none;
    cursor: pointer;
    margin-left: auto;
    margin-right: auto;
    border-radius: 70px;
    box-shadow: 0 13px 26px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.16);
    background: var(--primary-color);
    margin-top: 2rem;
}

    #profile .btn.btn-primary {
        background: var(--primary-color);
    }

    #profile .btn.btn-secondary {
        background: var(--secondary-color);
    }

.accordion-button::after {
    width: 1rem;
    background-size: 1rem;
    height: 1rem;
}

.accordion-button:not(.collapsed) {
    background-color: var(--background-color);
    color: var(--primary-font-color);
}

.accordion-item {
    border-color: var(--highlight-color);
    background-color: transparent;
}

.accordion-button:not(.collapsed)::after {
    filter: contrast(0.5);
}

.accordion-button::after {
    margin-right: auto;
    margin-left: 0;
}

h2.subtitle {
    font-size: 1.1rem;
    font-weight: bold;
    color: var(--primary-color);
}

h3.subtitle {
    font-size: 0.9rem;
}


ul.history > li {
    margin-bottom: 2rem;
    font-size: 0.9rem;
}

ul.exp-desc li {
    list-style-type: circle;
    list-style-position: inside;
    padding-right: 0.25rem;
}

ul.exp-desc {
    margin-top: 0.5rem;
}

.property-item.language__list li > span {
    display: flex;
    justify-content: space-between;
}

    .property-item.language__list li > span .grade {
        color: var(--primary-color);
    }

ul.history > li p {
    text-align: justify;
    margin-bottom: 0;
}

.progress {
    direction: ltr;
}

.progress-bar {
    background-color: var(--primary-color);
}

.accordion-button:focus {
    border-color: var(--primary-color);
    box-shadow: none;
}

.accordion-button {
    background-color: var(--background-color);
    color: var(--primary-font-color);
}

.dark-mode .accordion-button::after {
    filter: invert(1);
}

.dark-mode div#links ul li {
    background: var(--background-color);
}

    .dark-mode div#links ul li a {
        color: var(--primary-font-color);
    }

div#links ul li a img {
    filter: invert(28%) sepia(51%) saturate(935%) hue-rotate(160deg);
    height: 40px;
    width: 40px;
    margin: 0 0.5rem;
}

.accordion-button svg {
    height: 24px;
    width: 24px;
    filter: invert(75%) sepia(120%) saturate(3000%) hue-rotate(175deg);
    margin-left: 0.5rem;
}
