/**
 * Pico's Default Theme
 *
 * Pico's default theme is a bit bare - but that's intentional! The default
 * theme isn't meant for production use, it's actually a template for you to
 * design your own theme around.
 *
 * Pico is a stupidly simple, blazing fast, flat file CMS.
 *
 * @author  Gilbert Pellegrom
 * @author  Daniel Rudolf
 * @link    http://picocms.org
 * @license http://opensource.org/licenses/MIT The MIT License
 * @version 2.1
 */

 :root {
    --bg-color: rgb(220,220,230);

  }

 
 @font-face {
    font-family: "Work";
    src: url("../font/WorkSans-Medium.woff");    
  }


* {
    font-family: work;
    box-sizing: border-box;
    border: 0 none;
    line-height: normal;
    /* color: white; */
    /* margin: 0;
    padding: 0; */
}
/* 
.hidden { display: none !important; } */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0 none;
}

.slide {
    overflow-y: hidden !important;
    -webkit-transition: height .5s ease-in !important;
            transition: height .5s ease-in !important;
}

/*** BASIC LAYOUT ***/

html, body { 
    height: 100%;
   }

body { 
    display: block; 
    flex-direction: column;
    /* overflow: visible; */
    overflow-y: hidden;
    background-color: var(--bg-color);
 }
#main { flex: 1 0 auto; }
#header, #footer { flex: 0 0 auto; }

#main {
    overflow: visible;
    padding: 3em 0 0em;
}

.container {
    /* max-width: 48em; */
    max-width: 100%;
    padding-left: 4rem;
    padding-right: 4rem;
    /* margin: 0 auto; */
}

.container > p {
    hyphens: auto;
    width: 55%;
    text-align: left;
    color: black;
    margin-top: 0;
    margin-bottom: 5px;
    /* column-count: 2; */
    font-size: 24px;
    line-height: normal;
    /* column-gap: 5rem; */
    /* width: 33%; */
}
.container > p > a {
    font-size: 2.0rem;
    line-height: 2.3rem;
}
.widescreen .container { max-width: 72em; }

/* very ugly overflow fix, avoid this whenever possible! */
#main .container { overflow-x: auto; }

/*** BASIC LAYOUT: HEADER ***/

#header { 
    width: 100%; }

#title, #logo {
    float: left;
    padding: 3em 3em 3em 0;
    color: black;
}

#title * { margin: 0; color: black; }

#logo { height: 10.8em; }
#logo * { display: block; height: 100%; }
#logo img { min-width: 4.8em; }

#logo + #title h1 { margin: 0.8rem 0; }
#logo + #title.tagline h1 { margin: 0; }

#nav {
    z-index: 9999;
    position: fixed;
    top: 0;
    left: 4rem;
    padding-top: 10px;
    z-index: 99999;
    /* padding: 3em 0; */
    /* text-align: right; */
  
}

#nav > a {
    background-color: var(--bg-color);
    margin-right: 1em;
}
#nav ul {

    font-size: 14px;
    display: flex;
    flex-direction: row;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 1.5em;
}
#nav ul li {
   
    /* margin-left: 1em; */
    z-index: 999999;
    padding: 0;
    font-weight: bold;
    /* text-transform: uppercase; */
}

#nav a, #nav-toggle { color: black; }
a:hover, #nav .active a, #nav a:hover, #nav-toggle:hover, .active { 
    color: var(--bg-color);
    background-color: black;
    /* mix-blend-mode:screen; */

    /* text-decoration: underline; */
}





#nav-toggle { display: none; }

/* IE8 + IE9 clearfix */
#header > .container:after {
    content: '';
    display: block;
    clear: both;
}


img[draggable="true"] {
  cursor: grab;
}

figure {
    /* height: 5px;
    width: 5px; */
    /* top: 45px; */
    display: block;
    width: 70vw;
    height: 70vh;
    animation: fadeIn .5;

    z-index: -9999; 
    position: absolute;
    /* top: 45px; */
}

figure:hover {
    width: 71vw !important;
    height: 71vh !important; 

}

#splash-screen {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: white;
}

figure > img {
    display: block;
    flex-direction: row;
    width: 100%;
    height: 100%;
    object-fit: contain;
    align-items: center;
    object-position: 0% 0%;
    cursor: grab;

}

.link-wrapper {
    top: 0;
    left: 0;
    width: 35vw;
    hyphens: auto;
    font-size: 1.5rem;
    height: 100vh;
    display: flex;
    flex-direction: column;
    z-index: 9999;
}

.a-highlight {
    width: fit-content;
    isolation: isolate;
    margin-bottom: 10px;
    font-family: work;
    /* border-radius: 10px; */
    mix-blend-mode: luminosity;
    animation: fadeIn 2s;
}

.a-highlight:hover {
    opacity: 1;
}

a:hover .a-highlight {
    opacity: 0; /* Adjust this value as needed */
}

#collage-container {
    z-index: -9999;
    position: absolute;
    top: 0;
    left: 40vw;
    width: 60vw;
    height: 110vh;
    overflow: hidden;
}

.collage-image {
    max-width: 50%;
    max-height: 50%;
}


.long-desc {
    display: none;
    width: 66%;
    font-size: 24px;
    /* line-height: 1.6; */
    text-align: left;
    padding-right: 50px;
    hyphens: auto;
    animation: fadeIn 2s;
    /* padding-left: 4rem; */
}

.about-container, .imprint-container {
        hyphens: auto;
    width: 55%;
    text-align: left;
    color: black;
    top: 0;
    margin-top: 0;
    padding-top: 0;
    margin-bottom: 5px;
    /* column-count: 2; */
    font-size: 24px;
    line-height: normal;
    column-gap: 5rem;
    /* width: 33%; */
}

.about-me, .imprint-text {
    hyphens: auto;
    padding: 0;
    margin: 0;
    margin-bottom: 1rem;
    text-align: left;
    display: none;
    animation: fadeIn 2s;  
}

.imprint-text {
    margin: 0;
}


@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}


/*** BASIC LAYOUT: FOOTER ***/

#footer {
    z-index: 9999;
    width: 100%;
    max-width: 100vw;
    /* mix-blend-mode:difference; */
    /* background-color: white; */
    /* font-size: 17px; */
    position: fixed;
    bottom: 0;
    left: 0;
    padding-left: 4rem;
    padding-top: 10px;
    padding-bottom: 10px;

    /* text-transform: uppercase; */
    /* background: #707070; */
}


#footer p {
    margin: 0;

}

#footer a {
    margin-right: 1em;
}


#footer .social {
    float: right;
    padding: 1.5em 0 1.5em 1em;
    font-size: 2rem;
}



/*** BASIC LAYOUT: EXTRA SMALL DEVICES ***/

@media (max-width: 767px) {
    #main { padding: 2em 0 1em; }
    /* #main { padding: 2em 0 1em; }

    #title, #logo { padding: 2em 1.5em 2em 0; }
    #logo { height: 8.8em; }

    #nav {
        /* clear: both;
        padding: 0; */
    /* } */
    /* #nav ul {
        padding-bottom: 1em; */
   
    /* #nav ul li {
        display: block;
        margin-left: 0;
        text-align: center;
    } */
    /* #nav ul li a {
        display: block;
        padding: 0.5em 0;
    } */

    /* .js #nav-toggle {
        display: block;
        float: right;
        width: 2em;
        margin: 0.6667em 0;
        font-size: 1.5rem;
        line-height: 2em;
        text-align: center;
        cursor: pointer;
    }
    .js #nav-toggle > * { vertical-align: middle;  }

    #footer p { padding: 1em 0; }
    #footer .social { padding: 0.5em 0 0.5em 1em; } */
}

/*** TYPOGRAPHY ***/

html { font-size: 16px; }

body {
    /* font-family: 'Droid Sans', 'Helvetica', 'Arial', sans-serif; */
    font-size: 1rem;
    line-height: 1.6;
    font-variant-ligatures: common-ligatures;
    text-rendering: optimizeLegibility;
    font-kerning: normal;
    color: #444;

    margin: 0;

}

p, td, th, li, dd {
    text-align: justify;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

p, table, .table-responsive, ol, ul, dl, dd, pre, blockquote, fieldset {
    margin-bottom: 1em;
}

strong {
    font-family: happy-times;
}

a {
    text-decoration: none;
    color: black;
    /* -webkit-transition: color .2s ease-in;
            transition: color .2s ease-in; */
}



h1, h2, h3, h4, h5, h6 {
    margin-bottom: 0.6em;
    font-weight: bold;
    color: #333;
}
h1 { font-size: 2rem; }
h2 { font-size: 1.7rem; }
h3 { font-size: 1.4rem; }
h4 { font-size: 1.1rem; }
h5 { font-size: 1rem; }

img { 
    max-width: 100vw; 
    max-height: 100vh;
    object-fit: cover;
}

hr {
    mix-blend-mode: darken;
    /* border: 1px solid black; */
    background: black;
    margin: 0;
}

abbr { text-decoration: underline dotted; }

/*** UTILITIES ***/

.align-left { text-align: left; }
.align-center { text-align: center; }
.align-right { text-align: right; }
.align-justify { text-align: justify; }

.image { display: block; margin: 0 auto; }
.image.xsmall { width: 20%; }
.image.small { width: 40%; }
.image.large { width: 60%; }
.image.xlarge { width: 80%; }
.image.float-left { float: left; margin: 1em 2em 1em 0; }
.image.float-right { float: right; margin: 1em 0 1em 2em; }
.image img { display: block; width: 100%; }

@media (max-width: 767px) {
    .image.xsmall { width: 60%; }
    .image.small { width: 80%; }
    .image.large, .image.xlarge { width: 100%; }
    .image.float-left, .image.float-right { float: none; margin: 0 auto; }
}


/*** LISTS ***/

ol, ul {
    list-style-position: outside;
    padding-left: 1.5em;
}
ol { padding-left: 2.5em; }
li { padding-left: 0.5em;
padding-top: 5px;
padding-bottom: 5px; }

li > a:hover {
    color: white;
    background-color: black;
    mix-blend-mode: difference;
    /* background-color: #2EAE9B; */
}

li > a:hover 

dt { font-weight: bold; }
dd { margin-left: 2em; }

/*** CODE ***/

code {
    margin: 0 0.1em;
    padding: 0.1em 0.2em;
    border: 1px solid #ccc;
    border-radius: 0.3em;
    background: #f5f5f5;
    font-family: 'Droid Sans Mono', 'Courier New', 'Courier', monospace;
    font-size: 0.85rem;
    line-height: 1.9824;
}

pre {
    padding: 0 1em;
    border: 1px solid #ccc;
    border-radius: 0.3em;
    background: #f5f5f5;
}
pre code {
    display: block;
    margin: 0;
    padding: 1.1111em 0;
    border: 0 none;
    background: transparent;
    overflow-x: auto;
    line-height: 1.4;
}

/*** BLOCKQUOTE ***/

blockquote {
    font-style: italic;
    margin-left: 1em;
    padding-left: 1em;
    border-left: 0.5em solid #f5f5f5;
}

/*** FORMS ***/

label, fieldset legend { font-weight: bold; }

input:not([type="checkbox"]):not([type="radio"]), button, select, textarea, fieldset, fieldset legend {
    border: 1px solid #ccc;
    border-radius: 0.3em;
    background: #fff;
    -webkit-transition: none .2s ease-in;
            transition: none .2s ease-in;
    -webkit-transition-property: border-color, background, box-shadow;
            transition-property: border-color, background, box-shadow;
}

input:not([type="checkbox"]):not([type="radio"]), button, select, textarea {
    padding: 0.5em 1em;
    outline: 0 none;
    font-size: 1rem;
}
input:focus:not([type="checkbox"]):not([type="radio"]), button:focus, select:focus, textarea:focus {
    border-color: #2EAE9B;
    box-shadow: 0 0 8px #2EAE9B;
}
input[type="button"]:focus, input[type="submit"]:focus, input[type="reset"]:focus, button:focus,
input[type="button"]:hover, input[type="submit"]:hover, input[type="reset"]:hover, button:hover {
    background: #f5f5f5;
    cursor: pointer;
}

textarea, select[multiple] {
    vertical-align: bottom;
    overflow: auto;
}

fieldset {
    padding: 1em;
    background: #f5f5f5;
}
fieldset legend { padding: 0 0.5em; }

fieldset label, fieldset input, fieldset button,
fieldset select, fieldset textarea {
    margin: 0.2em 0.5em;
}
fieldset label:first-child, fieldset input:first-child, fieldset button:first-child,
fieldset select:first-child, fieldset textarea:first-child {
    margin-left: 0;
}
fieldset label:last-child, fieldset input:last-child, fieldset button:last-child,
fieldset select:last-child, fieldset textarea:last-child {
    margin-right: 0;
}

/* Firefox input size fix */
input::-moz-focus-inner, button::-moz-focus-inner {
    border: 0;
    padding: 0;
}


/* spinner */


#loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000; /* or any color/image you prefer */
    opacity: .8;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}
/* Spinner styles */
.spinner {
    border: 8px solid rgb(0, 0, 0, 0);
    width: 72px;
    height: 72px;
    border-radius: 50%;
    border-left-color: rgb(220,220,230);
    animation: spin 1s linear infinite;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}



/* mobil  */

@media (max-width: 767px) and (orientation: portrait) {

   #nav {
    left: 1rem;
   }

   .link-wrapper {
    top: 0;
    left: 0;
    width: 95%;
    hyphens: auto;
}


.about-container {
    width: 100%;
        font-size: 18px;
    overflow: scroll;

}





   #footer {
       left: 1rem;
       padding-left: 0;
   }

   .container {
       padding-left: 1rem;
       padding-right: 1rem;
       width: auto;
       padding-bottom: 3rem;
       /* gap: 1rem; */
   }

   .container > p {
       width: 100%;
   }

   .long-desc {
       width: 100%;
       padding: 0;
       /* padding-left: 1rem; */
   }
  }
