@font-face {
    font-family: 'Signika Light';
    src: url(./fonts/Signika/static/Signika-Light.ttf);
}
@font-face {
    font-family: 'Signika Medium';
    src: url(./fonts/Signika/static/Signika-Medium.ttf);
}
@font-face {
    font-family: 'Signika Bold';
    src: url(./fonts/Signika/static/Signika-Bold.ttf);
}
@font-face {
    font-family: 'VT323';
    src: url(./fonts/VT323/VT323-Regular.ttf);
}
@font-face {
    font-family: 'IBM Plex Mono';
    src: url(./fonts/IBM_Plex_Mono/IBMPlexMono-Regular.ttf);
}
@font-face {
    font-family: 'Helvetica Light';
    src: url(./fonts/Helvetica/helvetica-25-ultra-light.ttf);
}
@font-face {
    font-family: 'Helvetica Medium';
    src: url(./fonts/Helvetica/helvetica-65-medium.ttf);
}
@font-face {
    font-family: 'Helvetica Bold';
    src: url(./fonts/Helvetica/helvetica-75-bold.ttf);
}
:root {
    font-size: 14px;
    /* O L D
    --main-font-light: 'Helvetica Light', sans-serif;
    --main-font-medium: 'Helvetica Medium', sans-serif;
    --main-font-bold: 'Helvetica Bold', sans-serif;
    --cool-font: 'VT323', monospace;
    --ibm-font: 'IBM Plex Mono', monospace;
     */    
    --main-font-light: 'Signika Light', sans-serif;
    --main-font-medium: 'Signika Medium', sans-serif;
    --main-font-bold: 'Signika Bold', sans-serif;
    /* O L D
    --h1: 3rem;
    --h2: 2rem;
    */
    --h1: 2rem;
    --h2: 1.6rem;
    --lauftext: 1.3rem;
    --subtext: 1rem;
    --general-padding: 10px;
    --general-margin: 20px;
    --yellow: hsla(59, 92%, 50%, 0.983);
    --purple: #50f;
    --white: #fff;
    --black: #000;
    --link-blue: #0000EE;
    --chrome-blue: #0075FF;
    --dark-blue: #2B356C;
    --general-text-shadow: 0px 0px 2px var(--black);
    --general-box-shadow: 0px 0px 1px var(--black);
}

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

/*
    easy Disable Double-Tap Zoom on Mobile Browser 
    @ https://www.reddit.com/r/incremental_games/comments/1b3n60d/easy_disable_doubletap_zoom_on_mobile_browser/
*/
* { touch-action: manipulation; }

html, body {
    height: 100%;
    background-color: var(--white);
    color: var(--black);
    font-family: var(--main-font-light);
    /* text-shadow: var(--general-text-shadow); */
    /******** make text non-selectable ************/
    -webkit-user-select: none; /* Safari */
    -ms-user-select: none; /* IE 10 and IE 11 */
    user-select: none; /* Standard syntax */
}

a {
    /* color: var(--dark-blue);*/
    color: var(--black);
}
a:hover {
    color: var(--chrome-blue);
}

.white {color: var(--white);}
.bgcolor {color: var(--dark-blue);}
.invisible {visibility: hidden;}
.visible {visibility: visible;}
.capitals {text-transform: uppercase ;}
.nicely-underlined {
    display:inline-block;
    /* O L D
    border-bottom: 2px dashed var(--black);
    */
    border-bottom: 1px solid var(--black);
    padding-bottom: 1px;
    margin-bottom: 3px;
}

/**************************** MAIN ****************************/

#main-wrap{
    display:block;
    width:100vw;
    height:100vh;
}

#head-wrap{
    padding-left: var(--general-padding);
    display:block;
    /* MENU neben NAME
        display: flex;
    */
}

#body-wrap{

}
#work-wrap{

}
#about-wrap{
    padding-left: var(--general-padding);
    padding-right: var(--general-padding);
    margin-bottom: var(--general-margin);
    font-size: var(--lauftext);
}
#contact-wrap{
    padding-left: var(--general-padding);
    padding-right: var(--general-padding);
    margin-bottom: var(--general-margin);
    font-size: var(--lauftext);
}
#ref-lists{
    display: grid;
    grid-template-columns: auto auto auto;
}
#ref-lists span{
    margin-top: 20px;
}
/**************************** MAIN HEAD TITLE MENU ****************************/

#head-title{
    font-size: var(--h2);
    white-space: nowrap;
    font-weight: bold;
    display: inline-block;
    /* border: 1px solid rgb(60, 255, 0); */
}

#head-menu{
    font-size: var(--h2);
    white-space: nowrap;
    /* font-size: var(--lauftext); */
    /* margin-bottom: var(--general-margin); */
    /* margin-left: var(--general-margin); */
    /* border: 1px solid red; */
    /* display: inline; */
    margin-bottom: 20px;

}

#head-menu ul {
    list-style: none;
}
#head-menu li {
    display: inline;
    padding-right: var(--general-padding);
}

#head-menu input {
    /* O L D
    width: 20px;
    height: 20px;
    */
    width: 16px;
    height: 16px;
    box-shadow: var(--general-box-shadow);
}

/**************************** PROJECT TYPO ****************************/

.overlay-title{
    padding: var(--general-padding) var(--general-padding) 0 var(--general-padding);
    /* padding: 0; */
    font-size: var(--h2);
    font-weight: 800;
    /*  
    overflow: hidden;
    white-space: nowrap; 
    color: var(--yellow);
    */
    display: inline-block;
    z-index: 10;
}
.sub-text{
    font-size: var(--subtext);
}

.overlay-content{
    padding-left: var(--general-padding);
    padding-right: var(--general-padding);
    font-size: var(--lauftext);
    color: var(--white);
    text-shadow: var(--general-text-shadow);
    display: inline-block;
    position: absolute;
    top: calc(var(--h2) + ( var(--general-padding) * 3));
    left: 1px;
    z-index: 10;
}
.below-content{
    /* display: none; */
    padding: 5px var(--general-padding) var(--general-padding) var(--general-padding);
    /* padding: 0; */
    line-height: 1.2rem;
}

/**************************** CAROUSEL ****************************/

#image-carousel-wrap{
    position: relative;
    background-color: var(--white);
    margin-bottom: var(--general-margin);
    /* box-shadow: var(--general-box-shadow); */
}

.main-carousel{
    /* height: 35vh;
    min-height: 200px;*/
    height: 258px; 
    width: 100vw;
    overflow: hidden;
}

.carousel-cell{
    /* height: 35vh;
    min-height: 200px; */
    height: 258px;
    overflow: hidden;
    display: flex;
    align-items: self-start;
    justify-content: left;
    position: relative;
    margin-left: 2px;
}
.carousel-cell img {
    max-width: 90vw;
    object-fit: cover;
    min-height: 100%;
    height: 100%;
    /* border: 5px solid black; */
}
.carousel-cell iframe { 
    width: 460px;
    max-width: 90vw;
    /* object-fit: cover; */
    max-height: 100%;
    min-height: 258px;
    /* height: 35vh; */
    height: 100%;
    /* border: 5px solid black; */
}

.grippy{
    background-color: rgba(200, 200, 200, 0.0);
    width:100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 15;
}

/**************************** FLICKITY PPH MOD ****************************/

.flickity-prev-next-button{
    height: 100% !important;
    width: 50px !important;
    z-index: 20;
    border-radius: 0 !important;
    background-color: transparent !important;
}
.flickity-prev-next-button.previous {
    left: 0px !important;
}
.flickity-prev-next-button.next {
    right: 0px !important;
}
.flickity-button-icon {
    fill: var(--white) !important;
    filter: drop-shadow(0px 0px 2px rgb(0 0 0 / 0.4));
    /* visibility: hidden; */
}