/* === Body Styles Normalisierung === */
body { /* body style index */
    margin: 0px !important;
}

/* nora's farben!!! */
:root { 
    --noramaroon: #90394d;
    --noraorange: #ff8b00;
    --noragreen: #386910;
    --noradarkblue: #210b60;
    --norateal: #3c6363;
    --noraaqua: #71c7c8;
    --norapurple: #6f0e79;
    --norared: #fa423b;
    --noradarkred: #ad1d1a;
    --norabrown: #7d6139;
    --noralime: #78c012;
    --norayellow: #fccb65;
    --norarobinsegg: #586dad;
    --noratan: hsl(41, 68%, 37%);
    --noramediumblue: #4c647e;
    --noradeeppink: #b82379;
    --noraswampgreen: #6b8d35;
    --noralightblue: #608ca8;
    --noralightpurple: #c7a1ff;
    --noralightyellow: #97a109;
    --norablack: #000000;
}

/* === Font Styles === */
/* basic font style */ 
html {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    text-align:left;
    color: black;
}

@font-face {
    font-family: noraDisplay;
    src: url(fonts/display.otf);
  }

b {
    font-weight: 600;    
}

p {
    hyphens: auto;
}

/* === INDEX PAGE / HOME PAGE === */
/* === Layout für Index === */
/* index */
body.index {
    width: 100vw;
    overflow-x: hidden;
}
@media (min-width: 640px) {
    body.index {
        width: auto;
    }
}

body.index{
    background-image: url(background_images/portrait/1.jpg);
    background-position: center center; 
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
}
@media (min-width: 640px) {
    body.index {
        background-image: url(background_images/landscape/1.jpg);
    }
}

#hiddenimgloader {
    display: none;
}

main.index {
    margin-top: 2rem;
    margin-left: 2rem;
    margin-right: 2rem;
}
@media (min-width: 640px) {
    main.index {
        margin-top: 2rem;
        margin-left: 3.5rem;
        margin-right: 2rem;
    }
}
/*nur zur sicherheit, bisschen hacky, 
aber damit text niemals irgendwie unsichtbar ist,
auch wenn die website total zerhackt angezeigt wird...*/
@media (max-width: 300px) {
    main.index {
        overflow-wrap: break-word;
        overflow-x: scroll;
    }
}

header {
    margin-bottom: 1rem;
}
@media (min-width: 640px) {
    header {
        margin-bottom: 2.2rem;
    }
}

/* index page font styles */
.pagetitle {
    font-size: 2rem;
    font-family: 'noraDisplay';
    position: relative;
    cursor: default;
}
.pagetitle:hover {
    color: white;
}
@media (min-width: 640px) {
    .pagetitle {
        font-size: 3rem;
        left: -0.1rem;
    }
}

#indexbody.dark .pagetitle {
    color: white
}
#indexbody.dark .pagetitle:hover {
    color: yellow
}
#indexbody.dark .selbstbezeichnung a {
    color: white
}
#indexbody.dark .selbstbezeichnung a:hover {
    color: yellow
}

@media (max-width: 639px) {
    #indexbody.darkforsomecases .pagetitle {
        color: white
    }
    #indexbody.darkforsomecases .pagetitle:hover {
        color: yellow
    }
    #indexbody.darkforsomecases .selbstbezeichnung a {
        color: white
    }
    #indexbody.darkforsomecases .selbstbezeichnung a:hover {
        color: yellow
}
}

.selbstbezeichnung {
    margin-top: 0rem;
    position: relative;
    top: -0.6rem;
    /* left: +0.2rem; */

    font-weight: 600;
    font-size: 1rem;
    display: inline-block !important;
    cursor: pointer;
}

.selbstbezeichnung a {
    color: black;
    text-decoration: none;
}
.selbstbezeichnung:hover a{
    color: white;
    text-decoration: underline;
    text-underline-offset: 0.2em;
}
.aboutme {
    display: none;
}
.selbstbezeichnung:hover a > .aboutme {
    display: inline-block;
    text-decoration: underline;
    text-underline-offset: 0.2em;
}

@media (max-width: 640px) {
    .aboutme {
        display: block;
        text-decoration: underline;
        text-underline-offset: 0.2em;
    }
}
@media (max-width: 640px) {
    .selbstbezeichnung:hover a > .aboutme {
        display: block;
    }
}

/* links projekt-seiten */
.homepage_link { 
    font-weight: bold;
    margin-bottom: 2rem;
}

.homepage_link a {
    font-size: 1rem;
    font-weight: 700;
    color: rgb(0,162,255);
    text-decoration: none;
    /* letter-spacing: 0.02rem; */
    text-decoration: underline;
    text-underline-offset: 0.2em;
    text-shadow: 
        0 0 11px #fff,
        0 0 11px #fff,
        0 0 11px #fff,
        0 0 11px #fff,
        0 0 12px #fff,
        0 0 12px #fff,
        0 0 12px #fff,
        0 0 12px #fff,
        0 0 12px #fff
        /*0 0 10px #fff,*/
        /*0 0 21px #fff*/
}

/* === Links Farben Index === */
.homepage_link a.holdme {
color: #c7a1ff;
color: var(--noralightpurple);
}

.homepage_link a.vierzimmer {
color: #97a109;
color: var(--noralightyellow);
}

.homepage_link a.wine {
color: #fa423b;
color: var(--norared);
}

.homepage_link a.zeche {
color: #ff8b00;
color: var(--noraorange);
}

.homepage_link a.koetterdings {
color: #608ca8;
color: var(--noralightblue);
}

.homepage_link a.possessed {
color:#586dad;
color: var(--norarobinsegg);
}

.homepage_link a.nightmare {
color:#6b8d35;
color: var(--noraswampgreen);
}

.homepage_link a.imagine {
color:#90394d;
color: var(--noramaroon);
}

.homepage_link a.quack {
color:#b82379;
color: var(--noradeeppink);
}

.homepage_link a.acting1 {
color:#210b60;
color: var(--noradarkblue);
}

.homepage_link a.acting2 {
color:hsl(41, 68%, 37%);
color: var(--noratan);
}

.homepage_link a.acting3 {
color:#6f0e79;
color: var(--norapurple);
}

.homepage_link a.acting4 {
color:#71c7c8;
color: var(--noraaqua);
}

.homepage_link a.dog {
color:#386910;
color: var(--noragreen);
}

.homepage_link a.friedhof {
color:#ad1d1a;
color: var(--noradarkred);
}

.homepage_link a.design {
color:#78c012;
color: var(--noralime);
}

.homepage_link a.imprint {
color: #000000;
--norablack: #000000;
}

/* === PROJECT AND CONTENT PAGE === */
/* === Layout === */
/* wird gebraucht für positionierung imgs, etc mit dem fancy rand */ 
/* gemeinsame einstellungen! */
body.content {
    width: 100vw;
    overflow-x: hidden;
}
@media (min-width: 640px) {
    body.content {
        width: auto;
    }
}
/*nur zur sicherheit, bisschen hacky, 
aber damit text niemals irgendwie unsichtbar ist,
auch wenn die website total zerhackt angezeigt wird...*/
@media (max-width: 300px) {
    body.content .content_container {
        overflow-wrap: break-word;
        overflow-x: scroll;
    }
}
/* styles für content_container */
/* positionierung in der mitte der seite, abstände bei mobile view */
section.content_container {
    padding: 0 2rem 2rem;
}

@media (min-width: 640px) {
    section.content_container {
        width: 640px;
        margin: 0 auto;
        margin-top: 20vh;
        padding: 0;
    }
}


/* === PROJECT PAGE === */
/* styles für header */
header.homelink {
    margin: 0 auto 2.2rem;
    width: 300px;
    margin-top: 1rem;
    font-size: 0.8rem;
}

@media (min-width: 640px) {
        header.homelink {
        font-size: 1rem;
        margin-top: 1.4rem;
        }
    }

/*farben für header homelink!*/
header.homelink a {
    width: 300px;
    text-align: center;
    display: inline-block;
    text-decoration: none;
    color: black;
}
header.homelink a:visited {
    color: black;
}
header.homelink a:hover {
    color: black;
    text-decoration: underline;
    text-underline-offset: 0.2em;;
}
header.homelink a:active {
    color: black;
}

/* === Layout für Inhalte der Project Page === */
/* styles für BILDER im content_container */
.content_container img.projectimage {
    width: 100vw;
    transform: translateX(-2rem);
}

@media (min-width: 640px) {
    .content_container img.projectimage {
        width: 100%;
        transform: translateX(0px);
    }
}

.content_container img.portrait_small {
    height: 360px;
    width: auto;
    margin: 0 auto 1rem;
    transform: translateX(0px);
}

/* styles für ÜBERSCHRIFTEN im content_container */
/* diese sind für die überschriften! da gibts verschiedene möglichkeiten! */
.middle_aligned {
    text-align: center;
}

.underlined {
    text-decoration: underline;
    text-underline-offset: 0.2em;
}

/* wenn überschriften LINKS sind, verändern sie nicht die FARBE*/
.headline_linked a {
    color: black;
}
.headline_linked a:visited {
    color: black;
}
.headline_linked a:hover {
    color: blue;
}
.headline_linked a:active {
    color: blue;
}

/*wtf machen wir mit den links?!*/
.content_container p a {
    color: black;
}
.content_container p a:visited {
    color: black;
}
.content_container p a:hover {
    color: blue;
}
.content_container p a:active {
    color: blue;
}

/*normalisierung der größen der überschriften, nicht so wichtig...*/
.content_container h1 {
    font-size: 1rem;
    font-weight: 700;
}
.content_container h2 {
    font-size: 1rem;
    font-weight: 700;
}
.content_container h3 {
    font-size: 1rem;
    font-weight: 700;
}
.content_container h4 {
    font-size: 1rem;
    font-weight: 700;
}
.content_container h5 {
    font-size: 1rem;
    font-weight: 700;
}
.content_container h6 {
    font-size: 1rem;
    font-weight: 700;
}

/* styles für den INFO CONTAINER im content_container */
.extra_info_container {
    display: flex;
    margin-bottom: 1rem;
    gap: 0.5rem;
}

.left_aligned {
    flex-grow: 1;
    flex-basis: 50%;
}
.right_aligned {
    flex-grow: 1;
    flex-basis: 50%;
    text-align: right;
}

/* === Layout für die Abstände auf der Project Page (im Content_Container) === */
.content_container .extra_margin { /*wenn extra abstand gewünscht ist! */
    margin: 0 0 2rem !important;
}

.content_container img {
    margin: 0 0 1rem;
    display: block;
}
.iFrameContainer {
    margin: 0 0 2rem;
}
.content_container h1 {
    margin: 0 0 1rem;
}
.content_container h2 {
    margin: 0 0 1rem;
}
.content_container h3 {
    margin: 0 0 1rem;
}
.content_container h4 {
    margin: 0 0 1rem;
}
.content_container h5 {
    margin: 0 0 1rem;
}
.content_container h6 {
    margin: 0 0 1rem;
}
.content_container p {
    margin: 0 0 2rem; 
}

/* === Video Player und IFRAME CONTAINER=== */
/*basics*/
.iFrameContainer {
    transform: translateX(-2rem);
}
iframe {
    display: block;
    width: 100vw;
    height: calc(100vw*0.56)
}
@media (min-width: 640px) {
    .iFrameContainer {
        transform: translateX(0px);
    }
}
@media (min-width: 640px) {
    iframe {
        width: 640px;
        /* height: calc(640px*0.56); */ /* mhhh, hier bin ich mir nicht sicher... */ 
        max-height: 360px;
        display: block;
    }
}

/* styles für soundcloud iframe! */
.iFrameContainer_soundcloud iframe {
    height: 166px;
    max-height: 166px;
    margin: 0 5px;
    width: calc(100vw - 10px)
}
.iFrameContainer_soundcloud {
    margin: 0 0 2rem;
}
@media (min-width: 640px) {
    .iFrameContainer_soundcloud iframe {
        transform: translateX(0px);
        width: 640px;
        margin: 0;
    }
}

/* === Layout für Inhalte der About Page === */
/* flexbox layout für die about page */
.artist_bio_container {
    display: flex;
    margin-bottom: 1rem;
    gap: 0px;
    flex-direction: column;
}
@media (min-width: 640px) {
    .artist_bio_container {
        flex-direction: row;
        gap: 30px;
    }
}

.left_collumn {
    flex-grow: 1;
    flex-basis: 50%;
}
.right_collumn {
    flex-grow: 1;
    flex-basis: 50%;

}

.artist_bio_container img {
    width: 100vw;
    transform: translateX(-2rem);
    height: auto;
    margin-right: auto;
    margin-left: auto;
}
@media (min-width: 640px) {
    .artist_bio_container img {
        max-width: 100%;
    }
}

.artist_bio_container p {
    margin: 0 0 1rem;
}

/* artist bio links container */
.artist_bio_links {
    display: flex;
    flex-direction: row;
}
.artist_bio_links a {
    margin-right: 1rem;
    margin-bottom: 0.5rem;
}
@media (min-width: 640px) {
    .artist_bio_links {
        flex-direction: column;
    }
}

/* links farben */
.artist_bio_links a {
    color: black;
    font-weight: 600;   
}
.artist_bio_links a:visited {
    color: black;
}
.artist_bio_links a:hover {
    color: blue;
}
.artist_bio_links a:active {
    color: blue;
}

/* layout für die slideshow */
/* adaptiert von: https://medium.com/illumination/how-to-build-a-slideshow-using-html-css-and-javascript-977ecbdbf48c 

https://web.archive.org/web/20240819165936/https://medium.com/illumination/how-to-build-a-slideshow-using-html-css-and-javascript-977ecbdbf48c*/

/* https://codepen.io/AndresUris/pen/rGXpvE */

/* positioning in layout */
.slideshow-container div.slide {
    width: 100vw;
    transform: translateX(-2rem);
}

@media (min-width: 640px) {
    .slideshow-container div.slide {
        width: 100%;
        transform: translateX(0px);
    }
}

.slideshow-container div.slide img {
    width: 100%;
}

/* style für fixed-height slideshow _ _ _ für 16/9 : 0.56 */
.slideshow-container.fixed-height div.slide {
    width: 100vw;
    height: calc(100vw*0.56)
}

@media (min-width: 640px) {
    .slideshow-container.fixed-height div.slide {
        max-height: 360px;
        max-width: calc(100vw/0.56);
    }
}

.slideshow-container.fixed-height div.slide img {
    width: 100vw;
    height: calc(100vw*0.56);
    object-fit: cover;
}

@media (min-width: 640px) {
    .slideshow-container.fixed-height div.slide img {
        max-height: 360px;
        max-width: 640px;
    }
}

/* style für portrait slideshow _ _ _ für 16/9 1.78, für 4/3 1.34*/
.slideshow-container.slideshow-portrait div.slide {
    width: 100vw;
    height: calc(100vw*1.34)
}

.slideshow-container.slideshow-portrait div.slide img {
    width: 100vw;
    height: calc(100vw*1.34);
    object-fit: cover;
}

@media (min-width: 640px) {
    .slideshow-container.slideshow-portrait div.slide {
        height: calc(640px*1.34);
        width: 100%;
    }
}

@media (min-width: 640px) {
    .slideshow-container.slideshow-portrait div.slide img {
        max-height: calc(640px*1.34);
        width: 100%;
    }
}

/* slideshow syles */

.slideshow-container {
    position: relative;
    height: auto;
    margin-bottom: 1rem;
}

.slide {
  display: none;
  flex: 1;
}

.slide:first-child {
  display: block;
}

.prev, .next {
    display: blocK;
}


.prev, .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: auto;
  padding: 16px;
  color: white;
  font-weight: bold;
  font-size: 24px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  cursor: pointer;
}

.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

@media (max-width: 640px) {
    .prev {
        left: -25px;
    }
}
@media (max-width: 640px) {
    .next {
        right: -25px;
    }
}