:root{
    /* Farbpalette
    #6AD4DD Middle Blue
    #FFFFFF White
    #5C6867 Granite Gray
    #60FFDA Aquamarine
    #DBD7C5 Timberwolf
    */

    --color_background1: #5C6867; 
    --color_background2: #FFFFFF;
    --color_structure: #A0793D; 
    --color_elements: #6AD4DD; 
    --color_effects: #60FFDA; 
    --color_text_element: aliceblue;
}

/* TO-DO-List 
Ideen:
- CSS librairies anschauen
- mit Flexbox Aufteilung einfacher machen? justify, align, shrink/grow, wrap, flex-basis in %, align-self, flex for in-text elements
- CSS-Grid: Column-gap, grid-column/row für Multiplatz, justify-selff vs. justify-items, grid area name placement, grid-template repeat for repeat, minmax, auto-fill -> Media Queries -> vll mit Auto Spaltenbreite so dass Float Container nebeneinander können auf Bedarf oder display inline-block mit definierter width
- bootstrap like custom container selber bauen, custom grid und grid Elemente, generische Klassen

Optionale Optimierungen:
- Schriftgröße responsive
- overflow scroll
- evtl. Variable für allgemeine Abstände? bzw. Textabstand als margin von article und nicht p....

Dekorationsideen:
- Linear-gradient?
- Javascript Animation: https://code.sololearn.com/WpbnEwHrZ87Y#js
- margin negativ damit größer wird bzw. padding und border addieren zum ausfüllen
- Kachel-transition https://code.sololearn.com/W4WTwK8clVH5/#css 
- Hover-Schieber-Animation: https://code.sololearn.com/Wqq1xwgg4sA6#css 

Balkenbewegung
nav li a::before {
position: absolute;
top: 0px;
z-index: -10;
left: -106%;
transition: left 500ms ease-out;

width: 106%;
height: 100%;
border-top-right-radius: 14px;
border-bottom-right-radius: 14px;

background-color: var(--color_structure);
opacity: 0.8;
}

nav li a:hover::before {
left: -6%;
}
*/

/*---------------------------------------------------------------------- Dokumentstruktur */
html {
    margin-top: 0px;
    padding-top: 0px;
}


body {
    margin: 0px; /* Außenabstände zurücksetzen */
    padding: 0px;
    font-family: Calibri, "Trebuchet MS", sans-serif;
    background-color: var(--color_background1);
}

main, footer {
    padding: 0px;
    margin-left: 0px;
    margin-right: 8px;
    margin-top: 0px;
    display: block;
    clear:both;
}

nav ul{
    margin: 0;
    padding: 0;
    position: fixed;
    width: 50%;  
    height: 90%;
    z-index: 50;
    top: 10%;
}

@media only screen and (min-width: 768px){
    .left{
        width: 50%;
        float: left;
    }

    .right{
        width: 50%;
        float: right;  
    } 
}

section, footer p {
    background-color: var(--color_background2);
    padding: 10px;
    margin-left: 1%;
    margin-bottom: 1%;
    border-radius: 10px;
}

section{
    padding-top: 12%;
}

@media only screen and (min-width: 768px){
    main, footer {
        margin-left: 20%;
        padding-top: 0;
    }

    section{
        padding-top: 10px;
    }

    nav ul{
        width: 20%;  
        height: 100%;
        top: 0;
    }
}

/*---------------------------------------------------------------------- Text-Elemente */
h1 {
    text-align: center;
    font-size: 2em;
    color: var(--color_background2);

    padding: 0.24em;
    border-radius: 10px;
    background-color: var(--color_structure);
    letter-spacing: 0.4em;
}

h2 {
    text-align: center;
    color: var(--color_structure);
    border-bottom: 3px dashed;
    border-top: 3px dashed;
    letter-spacing: 3px;
    font-size: 1.6em;
}

h3 {
    text-align: center;
    margin-top: 20px;
    color: var(--color_structure);
    border-bottom: 2px solid;
    font-size: 1.2em;
}

a{
    text-decoration: none;
    font-style: oblique;
    color: #878e99;
    font-weight: bold;
    -webkit-tap-highlight-color: transparent;
}

section a:hover{
    color: var(--color_elements);
}

p, li{
    line-height: 1.5em;
    text-align: justify;
    padding: 1 em;
    margin: 0px;
}

table{
    table-layout: fixed;
    border-collapse: separate;
    border-spacing: 0.4em;
    empty-cells: hide;
}

th, td{
    text-align: center;
    background-color: var(--color_text_element);
    border-radius: 0.2em;
    height: 2em;
}

table{
    width: 100%;
}

.section_img{
    float: right;
    max-width: 40%;
    height: auto;
    border-radius: 10px;
    margin-top: 8px;
    margin-right: 0.4em;
    margin-left: 0.6em;
}

.space_img_right {
    padding-right: 46%;
}

.non{
    display: none;
}

img{
    border-radius: 4%;
}

blockquote footer{
    text-align: right;
}

.img_center{
    display: block;
    margin: auto;
    width: 80%;
}

/*---------------------------------------------------------------------- Sektionsspezifisch*/
/*--------------------------------------------------- Navigation --*/
nav li {
    list-style-type: none;
    text-align: center;
    height: 19.5%;
    margin-top: 0.5%;
    margin-bottom: 0.5%;
}

nav li a {
    display:block;
    height: 100%;
    width: 100%;
    background-color: var(--color_background2);

    padding-top: 0.8em;
    padding-left: 6%;
    border: 1px solid var(--color_structure);
    border-top-right-radius: 14px;
    border-bottom-right-radius: 14px;

    position: relative;
    left: -6%;
    transition: left 500ms ease-out;
    z-index: 0;

    text-decoration: none;
    font-weight: bold;
    font-size: 4vw;
    white-space: pre-line;
    color: var(--color_structure);
}

nav li a:hover {
    left: 0%;
    background: linear-gradient(45deg,var(--color_structure),var(--color_background2));
}


#page_nav_items{
    display: none;
}

#page_nav_items:target{
    display: block;
}

.toggle{
    position: fixed;
    z-index: 100;
    display: block;
    height: 10%;
    width: 100%;
    background-color: var(--color_background2);
    border-radius: 8px;
}

.toggle a{
    display: inline-block;
    width: 8%;
    padding-left: 4%;
    padding-top: 4%;
}

.toggle_icon{
    color: var(--color_structure);
    font-size: 5vh;  
}

a.head {
    width: 60%;
    border-radius: 10px;
    padding-top: 0%;
    margin-left: 4%;

    color: var(--color_background2);
    background-color: var(--color_structure);

    text-align: center;
    letter-spacing: 0.1em;
    font-size: 5vh;
}

.backSVG{
    background-repeat: no-repeat;
    background-position: center;
    background-size: 26% 40%;
}

.book{
    background-image: url(../svg/books-stack-of-three.svg);
}
.handshake{
    background-image: url(../svg/hand-shake.svg);
}
.card{
    background-image: url(../svg/card.svg);
}
.briefcase{
    background-image: url(../svg/briefcase.svg);
}
.edit{
    background-image: url(../svg/edit.svg);
}

@media only screen and (min-width: 768px){
    #page_nav_items{
        display: block;
    }

    nav li a {
        font-size: 2vw !important;
    }

    .toggle{
        display: none;
    }
}

/*--------------------------------------------------- Socialbook --*/
.img_socialbook{
    width: 90%;
    padding: 4%;
    border-radius: 10%;  
}

/*--------------------------------------------------- About Me --*/
#about-me {
    position: relative;
    z-index: 0;
}

.intro {
    font-size: 0.84em;
    /*padding-left: 10em;*/
    font-style: italic;
}

#about-me::before{
    content: "";
    background: url(pictures/about-me/turkey.jpg) no-repeat center;
    opacity: 0.2;

    position: absolute;
    z-index: -10;
    top: 0px;
    left: 0px;

    margin: auto;
    height: 100%;
    width: 100%;
    /*background-size: cover;*/
    border-radius: inherit;
    background-position: top;
}

progress {
    background-color: var(--color_elements);
}

.img-circle {
    border-radius: 50%;
    max-width: 24%;
    float:left;
    margin: 0.4em;
}

figure{
    width: 40%;
    margin-left: 5%;
    margin-right: 5%;
    float: left;
}

.img_skill{
    width: 100%;
}

figcaption{
    text-align: center;
}

/*--------------------------------------------------- Kontakt --*/
label{
    font-style: italic;
    display: block;
}

input, textarea, button {
    width: 86%;
    display: block;
    border-radius: 4px;
    margin: auto;
}

textarea{
    height: 10em;
}

.submit {
    background-color: var(--color_elements);
    padding: 12px 45px;
    border-radius: 5px;
    cursor: pointer;
    border: none;
    outline: none;
    font-weight: bold;
}

/*--------------------------------------------------- Footer --*/
.copyright {
    font-size: 0.6rem;
    margin-left: 0.5%;
    color: grey; 
} 