:root {
    --color-main-text: #555252;
    --color-header-text: #fff;
    --color-main-bg: #fff;
}

.page__home {
    --color-bg: #087DB9;
    --color-nav-bg: #00517A;
}

.page__skills {
    --color-bg: #1F1E1E;
    --color-nav-bg: #383838;
    --color-main-bg: #383838;
    --color-main-text: White;
    --color-icon: White;
}

.page__education {
    --color-bg: #004A8F;
    --color-nav-bg: #1a315c;
}

.page__experience {
    --color-bg: #03715A;
    --color-nav-bg: #014F3E;
}

/* default styling */
* {
    padding: 0;
    margin: 0;
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
}

body {
    background-color: var(--color-bg);
}

a {
    text-decoration: none;
    color: inherit;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--color-main-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--color-nav-bg);
    border: 3px solid transparent;
    border-radius: 4px;
    background-clip: padding-box;
}

    ::-webkit-scrollbar-thumb:hover {
        background: var(--color-nav-bg);
    }

i.mdi {
    font-size: 40px;
    display: inline-block;
    color: var(--color-icon, var(--color-bg));
    vertical-align: bottom;
}

    i.mdi.mdi-grey {
        color: #8A8A8A;
    }

    i.mdi.mdi-small {
        font-size: 36px;
    }

.indent {
    margin-left: 50px;
}

.double-indent {
    margin-left: 108px;
}

.sub-info {
    margin-top: 4px;
    font-size: 20px;
}

div.column {
    box-sizing: border-box;
    display: inline-block;
    width: calc(50% - 40px);
    vertical-align: top;
}

    div.column.column-50 {
        width: calc(50% - 3px);
        height: 100%;
        margin-left: 0 !important;
    }

    div.column:not(:first-of-type) {
        margin-left: 24px;
    }

.no-pad {
    padding: 0 !important;
}

.no-margin {
    margin: 0 !important;
}

.content-pad {
    padding: 30px 4px 0 12px;
}

nav {
    position: fixed;
    background-color: var(--color-nav-bg);
    border: 0 0 16px 16px;
    height: 100px;
    width: 80%;
    top: 0;
    left: 10%;
    box-shadow: 6px 6px 16px #00000061;
    border-radius: 0px 0px 14px 14px;
    font-size: 22px;
    color: var(--color-header-text);
}

    nav > div {
        display: inline-block;
        height: 100px;
        line-height: 100px;
    }

    nav > .nav-left {
    }

    nav > .nav-main {
        vertical-align: central;
    }

    nav > .nav-right {
        float: right;
    }

    nav a {
        cursor: pointer;
        padding: 0 6px 6px 6px;
        margin: 0 20px;
    }

        nav a:not(.no-hover):hover,
        nav a.active {
            border-bottom: 2px solid var(--color-header-text);
        }

main {
    background-color: var(--color-main-bg);
    color: var(--color-main-text);
    position: fixed;
    box-shadow: 6px 6px 16px #00000061;
    border-radius: 14px;
    width: 80%;
    height: calc(100% - 310px);
    top: 200px;
    left: 10%;
    padding: 30px 4px 0 40px;
    box-sizing: border-box;
    font-size: 24px;
}

    main h1 {
        font-size: 70px;
        margin-bottom: 22px;
    }

    main h2 {
        box-sizing: border-box;
        font-size: 32px;
        display: inline-block;
        margin-left: 20px;
        padding: 0 8px 4px 8px;
        border-bottom: 2px solid var(--color-bg);
        width: calc(100% - 70px);
    }

        main h2:not(:first-of-type) {
            margin-top: 48px;
        }

    main h3 {
        box-sizing: border-box;
        font-size: 24px;
        display: inline-block;
        margin-left: 10px;
        padding: 0 8px 4px 8px;
        border-bottom: 1px solid var(--color-bg);
        width: calc(100% - 100px);
        margin-top: 28px;
    }

    main > .content {
        overflow-y: auto;
        height: calc(100% - 140px);
        padding-right: 24px;
    }

        main > .content.no-pad {
            height: 100%;
        }

        main > .content > ul {
            margin-left: 96px;
            margin-top: 16px;
        }

            main > .content > ul.indent {
                margin-left: 136px;
                font-size: 20px;
            }

    main .profile-image {
        object-fit: cover;
        width: 100%;
        height: 100%;
        border-radius: 14px;
    }


.pill-wrapper {
    margin-left: 62px;
}

.pill {
    display: inline-block;
    padding: 0 16px;
    height: 36px;
    line-height: 36px;
    margin-top: 12px;
    margin-right: 8px;
    border-radius: 18px;
    background-color: #A5A5A5;
}

    .pill.pill-blue {
        background-color: #5079c1;
        color: white;
    }

    .pill.pill-blue-python {
        background-color: #4f72a0;
        color: white;
    }

    .pill.pill-orange-2 {
        background-color: #d45d3c;
        color: #fff;
    }

    .pill.pill-purple {
        background-color: #5c2976;
        color: white;
    }

    .pill.pill-purple-php {
        background-color: #7b7db0;
        color: white;
    }

    .pill.pill-red {
        background-color: #c3002f;
        color: white;
    }

    .pill.pill-red-2 {
        background-color: #c94432;
        color: white;
    }

    .pill.pill-green {
        background-color: #7fa956;
        color: white;
    }

    .pill.pill-green-nginx {
        background-color: #4e9246;
        color: white;
    }

    .pill.pill-green-2 {
        background-color: #7eb0a7;
        color: white;
    }

.overview-detail-wrapper {
    margin-top: 24px;
    padding-left: 16px;
}

    .overview-detail-wrapper > * {
        vertical-align: top !important;
    }

    .overview-detail-wrapper .overview-detail {
        width: calc(100% - 58px);
        display: inline-block;
        box-sizing: border-box;
        margin-left: 8px;
        line-height: 40px;
    }

.overview-footer {
    position: absolute;
    bottom: 20px;
    width: calc(50% - 18px);
    text-align: center;
}

    .overview-footer > a {
        margin: 0 16px;
    }

.pill.expandable {
    cursor: pointer;
}

.pill .rating {
    display: inline-block;
    margin-left: 8px;
}

    .pill .rating .mdi {
        font-size: 24px;
    }

.imprint {
    position: absolute;
    bottom: 40px;
    right: 10%;
    color: var(--color-header-text);
    background-color: var(--color-nav-bg);
    font-size: 14px;
    padding: 0 14px;
    height: 26px;
    line-height: 26px;
    border-radius: 13px;
}

@media screen and (max-width: 1365px) {
    nav {
        width: 90%;
        left: 5%;
        font-size: 20px;
    }

        nav a {
            padding: 0 6px 6px 6px;
            margin: 0 20px;
        }

    i.mdi {
        font-size: 36px;
    }

    main {
        height: calc(100% - 220px);
        top: 150px;
        width: 90%;
        left: 5%;
        padding: 20px 4px 0 30px;
        font-size: 22px;
    }

        main h1 {
            font-size: 68px;
        }

        main h2 {
            font-size: 28px;
        }

        main > .content {
            overflow-y: auto;
            height: calc(100% - 130px);
            padding-right: 24px;
        }

            main > .content.no-pad {
                height: 100%;
            }

            main > .content > ul {
                margin-left: 96px;
                margin-top: 16px;
            }

                main > .content > ul.indent {
                    font-size: 18px;
                }

    .imprint {
        bottom: 20px;
        right: 5%;
    }
}

@media screen and (max-width: 1140px) {
    nav,
    main {
        width: 100%;
        left: 0;
    }

    .imprint {
        bottom: 20px;
        right: 0;
    }
}