@font-face {
    font-family: "Outfit";
    src: url("https://mxch.at/src/outfitvar.ttf") format("truetype");
    font-weight: 100 1000;
}


:root{
    --black: #201f1f;
    --white: #f6f8f8;
    --darkgrey: #afb3b2;
    --highlight: #df3652;
    --highlight-offset: #eed4d9;

    scrollbar-gutter: stable;
}

::selection {
    color: var(--white);
    background: var(--highlight);
  }

body{
    font-family: "Outfit";
    font-size: 14px;
    color: var(--black);
    background-color: var(--darkgrey);
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 auto;
}

a:focus-visible{
    outline: 2px solid var(--highlight);
    border-radius: 5px;
    transition: 0.05s;
}

h1{
    font-size: 3rem;
    font-weight: 1000;
    margin: 0;
    width: 100%;
}

h2{
    font-size: 1.5rem;
    margin: 0;
    width: 100%;
}

h3{
    font-size: 1.3rem;
    margin: 15px 0px 5px 0px;
    width: 100%;
}

h4{
    font-size: 1rem;
    margin: 5px 0px 5px 0px;
    width: 100%;
}

h1 a{
    color: inherit;
    text-decoration: inherit;
}

p{
    font-size: 1rem;
}

ul{
    list-style: none;
}

ul li{
    font-size: 1rem;
    padding-left: 1em;
    text-indent: -1em;
}

ul li:before{
    content: "→";
    padding-right: 5px;
    font-family: "verdana";

}

.nav{
    display: flex;
    flex-direction: column;
    align-items: start;
    margin: 50px 0px 0px 0px;
}

.nav a, .nav-mini a, #footer a{
    font-size: 1.5rem;
    margin: 5px 0px 0px 0px;
    color: var(--black);
    text-decoration: none;
    width: fit-content;
    font-weight: 600;
    border-bottom: 2px solid transparent;
    transition: 0.05s;
}

.nav a:hover, .nav-mini a:hover, #footer a:hover{
    border-bottom: 2px solid var(--black);
    transition: 0.05s;
}

#footer p{
    font-size: 0.825rem;
}

#footer a{
    font-size: 0.825rem;
    margin: 5px 0px 0px 0px;
    color: var(--black);
    text-decoration: none;
    width: fit-content;
    font-weight: 600;
}

#footer a:hover{
    border-bottom: 1px solid var(--black);
    transition: 0.05s;
}

.wrapper{
    width: 100%;
    max-width: 1450px;
    background-color: var(--white);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

@media (min-width: 651px) {

    .title-wrapper{
        padding: 75px 50px 0px 50px;
        margin: 0px 0px 75px 0px;
    }

}

.title{
    width: fit-content;
    transition: 0.05s;
}

.title h1:hover{
    cursor: pointer;
    transition: 0.05s;

}

.title h1:hover .title-highlight{
    color: var(--highlight);
    border-top: 10px solid var(--highlight);
    transition: 0.05s;
}

.title-highlight{
    /*color: var(--highlight);*/
    border-top: 10px solid var(--black);
    transition: 0.05s;
}

section{
    width: calc(100% - 100px);
    display: flex;
    flex-direction: column;
    align-items: start;
}

section h2 {
    font-size: 2rem;
    margin: 25px 0px 10px 0px;
}

section .top-h2{
    margin: 0px 0px 10px 0px !important;

}

section .content{
    max-width: 650px;
    display: flex;
    flex-direction: column;
    align-items: start;
}

section .content p{
    text-align: justify;
    text-align-last: left;
    margin: 10px 0px 0px 0px;
    hyphens: auto;
}

.fullwidth{
    width: 100%;
}

#details{
    background-color: var(--white);
    color: var(--black);
    padding: 50px 50px 50px 50px;
}

#footer{
    background-color: var(--white);
    color: var(--black);
    padding: 15px 50px 20px 50px;
}

/*subpage variants*/

.column-text{
    width: 100%;
}

.column-text a, .body-text a, .text-highlight{
    text-decoration: none;
    font-weight: 700;
    color: var(--black);
    border-radius: 3px;
    transition: 0.05s;
}

.column-text a{
    padding: 0px 4px;
}

.body-text a {
    padding: 4px 4px;
}

.column-text a:before, .body-text a:before{
    content: "→";
    font-family: "verdana", sans-serif;
    margin-right: 3px;
}

.column-text a:hover, .body-text a:hover{
    text-decoration: none;
    background-color: var(--black);
    color: var(--white);
    transition: 0.05s;

}

@media (min-width: 699px) {

    .nav-mini{
        display: flex;
        flex-direction: row;
        align-items: start;
        width: fit-content;
    }

}

.nav-mini a{
    margin: 0px 15px 0px 0px;
}

@media (min-width: 1201px) {

    .title-wrapper-mini{
        padding: 25px 50px 0px 50px;
        margin: 0px 0px 25px 0px;
        display: flex;
        flex-direction: row;
        gap: 15px;
        align-items: center;
        justify-content: space-between;
    
    }

}

.subheading{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 5px;
}

.used-skills{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 10px;
}

.used-skills > div{
    padding: 5px;
    background-color: var(--highlight);
    color: var(--white);
    border-radius: 3px;
    font-weight: 700;
}

.referenz{
    margin: 10px 0px;
    max-width: 550px;
    padding: 20px;
    border-left: 7px solid var(--black);
    border-right: 1px solid var(--black);
    border-top: 1px solid var(--black);
    border-bottom: 1px solid var(--black);
    border-radius: 5px;
    transition: 0.05s;
}

.referenz:hover{
    border-left: 15px solid var(--highlight);
    border-right: 1px solid var(--highlight);
    border-top: 1px solid var(--highlight);
    border-bottom: 1px solid var(--highlight);
    transition: 0.05s;
}

.kontakt-table{
    width: 100%;
}

.kontakt-table td{
    font-size: 1rem;
}

.left-col{
    width: 100px;
}

.opacity05{
    opacity: 0.5;
}

.datapair{
    margin-top: 15px;
}

.datapair p{
    margin-top: 0 !important;
}

@media (max-width: 1200px) {
    .title-wrapper-mini{
        padding: 25px 50px 0px 50px;
        margin: 0px 0px 25px 0px;
        display: flex;
        flex-direction: column;
        gap: 15px;
        align-items: left;
        justify-content: space-between;
    
    }
}

@media (max-width: 650px) {
    .title-wrapper{
        padding: 50px 25px 0px 25px;
    }

    .title-wrapper-mini{
        padding: 50px 25px 0px 25px;
    }

    .nav-mini{
        display: flex;
        flex-direction: column;
        align-items: start;
        width: fit-content;
    }

    section{
        width: auto;
        display: flex;
        flex-direction: column;
        align-items: start;
    }

    .title-hide{
        display: none;
    }

    #details{
        background-color: var(--white);
        color: var(--black);
        padding: 50px 25px 50px 25px;
    }

    #footer{
        background-color: var(--white);
        color: var(--black);
        padding: 15px 25px 20px 25px;
    }

}

.top-options{
    height: 35px;
    margin-bottom: 5px;
    display: flex;
    flex-direction: row;
    justify-content: end;
    padding-right: 25px;
    font-size: 14pt;
}

.lang-active{
    opacity: 1 !important;
    filter: saturate(100%) !important;

}

.langs{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: end;
    gap: 10px;
}

.langs > div{
    opacity: 0.5;
    filter: saturate(0%);
    transition: 0.1s;
}

.langs > div:hover{
    cursor: pointer;
    filter: saturate(100%);
    opacity: 0.7;
    transition: 0.1s;
}

.langs a{
    text-decoration: none;
    color: inherit;
}

.text-lang:hover{
    cursor: help;
}