

:root {
    /* Kolor menu, kresek w main, czcionki w main */
    /* --key-color: #772323; */
    --key-color: #a00;

    --content-color: #000;
    
    /* Używane przy .emphasize, tzn. podkreślanie technologii w .main*/
    --secondary-color: #006F83;

    /* Kolor fontu w menu */
    /* --menu-font-color:#b1eaff; */
    /* --menu-font-color: #d7a3a3; */
    --menu-font-color: #EFCCCC;

    --menu-skill-whole-background-color: #a77373;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    min-height: 100%;
}

img {
    max-width: 100%;
}

ul {
    list-style-type: none;
    margin: 0px;
    padding: 0px;
}

a {
    text-decoration: none;
    /* color: #ccc; */
    color:inherit;
}


h2 {
    font-weight: 700;
    font-size: 18px;
    text-transform: uppercase;
}

.center-y {
    display: flex;
    align-items: center;
}

ul.list {
    list-style: square;
    margin-top: 20px;
    margin-left: 20px;
}

ul.list li {
    margin-bottom: 10px;
    padding-left: 5px;
}


body {
    /* background: #000; */
    font-size: 13.5px;
    line-height: 20px;
    font-family: "Arial", "sans-serif";

    color: #fff;
    padding:20px;
    background-color:black;
}

.resume {
    width: 100%;
    /* height: auto; */
    display: flex;
    flex-direction: row;
    margin: 0px;
    background-color:black;
}

.resume .menu {
    background-color: var(--key-color);
    color: var(--menu-font-color);
    font-size: 115%;
    min-width: 260px;
}

.resume .main {
    width:100%;
    background-color: var(--content-color);
    /* padding: 25px; */
    padding: 0px 25px;
}

.resume .menu .menu-content {
    /* padding: 10px 25px; */
    padding: 25px 25px 10px 25px;
}


.resume .menu a,
.resume .menu a:visited {
    color: var(--menu-font-color);
}

.resume .section {
    padding: 15px 0;
    /* border-bottom: 2px solid var(--menu-font-color);     */
    /* border-bottom: 2px solid #fff;     */
}
/*
Trochę w ramach edukacji - border pod sekcją zrobione pseudoklasą ::after. Zaleta: można np. określić szerokość
na x% i wypośrodkować (czego nie da się zrobić z border-bottom....)

.resume .section::after {
    content: "";
    width: 80%;
    height: 2px;
    position:relative;top:20px;
    background-color: #fff;
    display: inherit;
    margin: 0px auto 0px auto;
}

Ale ok, wystarczy tej edukacji, potem trzeba się bawić w ukrywanie gdy @media print. Bo w media print i tak musi być border.
*/


.resume .section:last-child {
    border-bottom: 0px;
}


.resume .menu h2 {
    color: white;
}

.resume .menu .pic img {
    width: 100%;
    /* border-radius: 50%; */
}

/*
Używane w przypadku <i class='icon fab fa-linkedin'></i>
*/
.icon {
    margin-right: 5px;
    width:16px;
    height:16px;
}

.icon-img {
    margin-right: 5px;
    width:15px;
    height:15px;
}

.resume .contact .icon-img {
    opacity:0.7;
}

.resume .contact>ul>li{
    margin-bottom:5px;
}

.resume .menu ul.skills{
    margin-top:20px;
}

.resume .menu .skills li {
    /* display: flex; */
    margin-bottom: 10px;
    /* color: var(--menu-font-color); */
    justify-content: space-between;
    align-items: center;
}

/* Definicja tła levelu */
.resume .skills .skill-level {
    width: 80%;
    /* margin: 0 5px; */
    margin: 5px 0px 0px 15px;
    height: 5px;

    /* Czemu border zamiast background: 
    bo przy drukowaniu pdf z wyłączoną opcja "drukowania backgroundów" no tego nie zobaczymy, a border owszem 
    */
    /* background: var(--menu-skill-whole-background-color); */
    border-bottom:6px solid RGBA(0,0,0,0.3);
    position: relative;
}

/* Definicja kreski symbolizującej poziom */
.resume .skills .skill-level span {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    /* Czemu border zamiast background: 
    bo przy drukowaniu pdf z wyłączoną opcja "drukowania backgroundów" no tego nie zobaczymy, a border owszem 
    */
    /* background: #eee; */
    border-bottom:6px solid #fff;
}


/*-------------------*/

.resume .main-about p {
    margin-top: 10px;
}

.resume .main h2 {
    color: var(--key-color);
}

.resume .main .emphasize{
    color: var(--secondary-color);
    font-weight: bold;
}

.resume .main-experience>ul {
    margin-top: 20px;
    margin-left: 30px;
}

/* Relative, bo zaraz będę po lewej stronie kładł kreskę pionową z kółkami z absolute */
.resume .main-experience>ul>li {
    position: relative;
    padding-left: 20px;
    padding-bottom: 15px;
}

.resume .main-experience ul li:last-child {
    padding-bottom: 0px;
}

/* Kreska po lewej */
.resume .main-experience>ul>li:after {
    content: "";
    position: absolute;
    top: 12px;
    left: -10px;
    width: 2px;
    height: calc(100% - 6px);
    background: var(--key-color)
}

/** Kółka */
.resume .main-experience>ul>li:before {
    content: "";
    /* background-color: white; */
    position: absolute;
    top: 5px;
    left: -14px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    border: 2px solid var(--key-color)
}

@media (max-width: 800px){
    body{
        padding:0px;
    }
    .resume {
        flex-direction: column;
    } 
    /* .resume .menu .menu-content {
        padding: 25px 15px 10px 15px;
    } */
}

@media print {

    .screen-only{
        display:none;
    }

    body {
        background: none;
        color: #000;
    }
    .resume{
        margin:0px;
        height:100%;
        color: #777;
    }
    .resume .section {
        padding: 25px 0;
        /* border-bottom: 2px solid var(--menu-font-color);     */
        border-bottom: 2px solid var(--key-color);    
    }
    .resume .menu{
        height:100vh;
        margin:0px;
    }
    .resume .menu, .resume .menu h2, .resume .menu a, .resume .menu a:visited {
        color: #bbb;
    }
    .resume .menu .section {
        border-bottom: 2px solid var(--key-color);
    }

    .resume .section:last-child {
        border-bottom: 0px;
    }
    
    .resume .skills .skill-level span {
        border-bottom:6px solid var(--key-color);
    }    

    .resume .main{
        margin-top:20px;
        /* color: #000; */
    }

}        