@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300&display=swap');
:root {
    --main-font-family: 'Lato', sans-serif;
    --main-font-weight : bold;
    --main-font-size : 16px;
    --sc : white;
    --main-width : 1000px;
    --header-height : 88px;
}



/* * {
    animation: test 1s;
}

@keyframes test {

    from {
        transform: scaleX(0);
    }
    to {
        transform: scaleX(1);
    }
    
} */

html, body {
    margin: 0;
    font-size: var(--main-font-size);
    font-family: var(--main-font-family);
    font-weight: var(--main-font-weight);
    color: white;
    background-color: black;
}

[animation] {
    top:0;
    left:0;
    padding: 0;
    transform: none;
    transition: all 1s;
    perspective : 50px;
    transform-style : preserve-3d;
    transform-origin: center;
    
}

.char{
    display:inline-block;
    cursor: default;
}

.em {
    font-weight: bold;
    background-color: white;
    color: black;
}

.quote {
    /* background-color: white; */
    padding:20px 20px;
    box-sizing: border-box;
    font-style: italic;
    /* color: black; */
    font-weight: bold;
    display: none;
}

a {
    color:white;
    text-decoration: none;
    cursor: pointer;
}

ul {
    text-align: left;
}

a:hover {
    /* box-shadow:  */
      /* left "inner border" */
      /* inset 2px 0 0 0 white, */
      /* right "inner border" */
      /* inset -2px 0 0 0 white, */
      /* top "inner border" */
      /* inset 0 2px 0 0 white, */
      /* bottom "inner border" */
      /* inset 0 -2px 0 0 white; */
    color: black;
    background-color: white;
    font-weight: bold;
}

::selection {
    background-color: white;
    color:black
  }
.s,a,h2,
.popup-content {
    border-color: var(--sc);
    /* border-style: solid; */
    /* border-width: 2px 2px 2px 2px; */
    border-bottom-color: transparent;
    padding: 0.2ch 0.6ch 0ch 0.6ch;
    box-sizing: border-box;

    box-shadow:
      /* left "inner border" */
      inset 2px 0 0 0 white,
      /* right "inner border" */
      inset -2px 0 0 0 white,
      /* top "inner border" */
      inset 0 2px 0 0 white;
      /* bottom "inner border" */
      /* inset 0 -2px 0 0 orange; */
      line-height: 1;
}
p {
    text-align: justify;
    line-height: 1.4;
}
p.s {
    padding: 5px 10px 0 10px;
}

h1,h2,h3,h4 {
    font-weight: var(--main-font-weight);
}

section h2 {
    display: inline-block;
    text-align: center;
    border: none;
    text-transform: uppercase;
    box-shadow: none;
    font-size: 50px;
    margin:0;
}

section h2 .s {
    padding: 0;
    padding: 0.2ch 0.2ch 0ch 0.2ch;
    line-height: 1;
}

section {
    min-height: 200px;
    /* perspective : 100px; */
    /* transform-style : preserve-3d; */
    display: flex; 
    flex-direction: column; 
    align-items: center;
}

.fullwidth {
    width: 100%;
    box-sizing: border-box;
}

.mainwidth {
    width: var(--main-width);
    margin: auto;
    box-sizing: border-box;
}

#menu-btn {
    display: none;
    background-color: transparent;
    color: white;
    cursor: pointer;
}
/*
#main-footer {
    width: 100%;
    height: 30vh;
    display: grid;
    justify-content: center;
    align-content: center;
    text-align: center;
    font-size: 50px;
    --c1: rgba(0,0,0,1);
    --c2: rgba(255,255,255,0.3);
    background: linear-gradient(315deg, var(--c2) 1%, var(--c1) 1%, var(--c1) 49%, var(--c2) 49%, var(--c2) 51%, var(--c1) 51%, var(--c1) 99%, var(--c1) 99%);
    background-size: 30px 30px;
    background-position: 10px 10px;
    box-sizing: border-box;
    padding: 20%;
}
*/
#main-footer {
    width: 100%;
    text-align: center;
    margin-top: 30px;
    padding-bottom: 30px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

#main-footer img{
    height: 1em;
}

#main-footer a {
    display: inline-flex;
    width: max-content;
    gap: 5px;
    justify-items: center;
    align-items: center;
}

#main-header {
    background-color: rgba(0,0,0,1);
    position: sticky;
    top:0;
    transition: background-color 0.3s;
    z-index: 100;
    padding: 10px 0 0 0;
}

#main-anim {
    position: relative;
    width: 100%;
    height: 80vh;
    display: grid;
    justify-content: center;
    align-content: center;
    text-align: center;
    font-size: 50px;
    --c1: rgba(0,0,0,1);
    --c2: rgba(255,255,255,0.3);
    background: linear-gradient(315deg, var(--c2) 1%, var(--c1) 1%, var(--c1) 49%, var(--c2) 49%, var(--c2) 51%, var(--c1) 51%, var(--c1) 99%, var(--c1) 99%);
    background-size: 30px 30px;
    background-position: 10px 10px;
    box-sizing: border-box;
    padding: 20%;
}

#main-anim-video {
    position: absolute;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    object-fit: cover;

}

#main-nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    align-items: flex-end;
    background-color: black;
}

#main-title {
    flex-grow: 1;
    /* perspective : 100px;
    transform-style : preserve-3d; */
    margin: 0;
    display: flex;
    flex-direction: column;
    font-weight: bold;
    /* transform-origin: center; */
}

#main-title .subtitle {
    text-transform: uppercase;
}

#main-title .subtitle .char{
  font-size: 20px;
  text-transform: uppercase;
  text-align: center;
  margin: 0;
  font-weight: bold;
  
}

#main-title .subtitle .s{
    padding : 2px 3px 0px 3px;
}

/* #main-title .s{
    transform: rotateY(-20deg);
    display: inline-block;
} */



#main-nav {
    display: flex;
    gap:10px;
}
#main-nav-container a {
   font-weight: bold;
}

a.anchor {
    display: block;
    position: relative;
    top: -50px;
    visibility: hidden;
}

.timeline-entry {
    width: 500px;
    display: grid;
    grid-template-columns: 100px 1fr;
    box-sizing: border-box;
    align-items: baseline;
}

.timeline-entry:not(:first-of-type) .timeline-entry-content  {
   padding-top:50px;
}

.timeline-entry-content {
    padding: 10px 10px 0 10px;
    width: 100%;
    border-left: 2px solid white;
    box-sizing: border-box;
}

.timeline-entry p {
    margin-bottom: 0;
    text-align: justify;
    text-align-last: left;
    line-height: 1.6;
}
.timeline-entry p.subtitle {
    margin: 0;
    padding: 0;
    font-style: italic;
}

.timeline-entry h3{
   line-height: 1;
   margin: 0;
   font-size: 40px;
   position: sticky;
   top: var(--header-height);
   background: black;
   z-index: 10;
}


.timeline-entry-date {
    flex-direction: column;
    font-size: 40px;
    line-height: 1;
    position: sticky;
    top: var(--header-height);
    background: black;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    width: max-content;
}


.commingsoon {
    line-height: 1;
    padding: 5px;
    display: flex;
    color: black;
    background-color: white;
    font-weight: bold;
    font-size: 12px;
}


.carousel {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 1fr;
    gap: 10px;
    margin-top: 10px;
}

.carousel.video{
    grid-auto-flow: unset;
    grid-auto-columns: unset;
    grid-template-columns: 1fr 1fr;
}

.carousel img{
    width: 100%;
}

.single-video {
    width:100%;
    padding:10px 10px 0px 10px;
}

.process-intro {
    /* background-color: white;
    color: black; */
    position: relative;
    padding: 20px;
    font-size: 40px;
    font-weight: bold;
    display: flex;
    /* justify-items: center; */
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
    width: var(--main-width);
    margin-bottom: 20px;
    --dsx:10px;
    --dsy:0px;
}

.process-intro p{
    position: relative;
    display: inline-block;
    margin:0;
    width: fit-content;
    background-color: black;
}
.process-intro p:nth-child(1) {
    top:calc(var(--dsy)*0);
    left:calc(var(--dsx)*1);
}
.process-intro p:nth-child(2) {
    top:calc(var(--dsy)*-1);
    left:calc(var(--dsx)*-7);
}
.process-intro p:nth-child(3) {
    top:calc(var(--dsy)*-1.5);
    left:calc(var(--dsx)*-4);
}
.process-intro p:nth-child(4) {
    top:calc(var(--dsy)*-1.5);
    left:calc(var(--dsx)*4);
}

.bio-group {
    box-sizing: border-box;
    padding: 0px 40px 0px 0px;
    /* align-self: flex-start; */
    width: 100%;
}

.bio-group li {
    /* list-style-type: square; */
}


.bio-group h3 {
    text-align: center;
   
}



/* Aimation Photo Flash */
[animation="photo-flash"] {
    transition: all 0.5s;
    filter: grayscale(0%) brightness(100%) blur(0px) invert(0%);
}

[animation="photo-flash"]:hover {
    /* filter: grayscale(0%); */
    animation: flash 0.5s forwards;
}

@keyframes flash {
    0% {
        filter: grayscale(100%) brightness(100%) blur(0px) invert(0%);
    }

    10% {
        filter: grayscale(100%) brightness(2000%) blur(10px) invert(0%);
    }

    40% {
        filter: grayscale(0%) brightness(100%) blur(0px) invert(100%);
    }

    100% {
        filter: grayscale(0%) brightness(100%) blur(0px) invert(0%);
    }
}

/* Aimation Reveal */
.galerie{
    display: grid;
    grid-template-columns: repeat(5,1fr);
}
.galerie .item {
    position: relative;
    flex-grow: 1;
    display: inline-grid;
    grid-template-columns: 1fr;
    cursor: pointer;
    overflow: hidden;
    
}

.galerie .item *{
    pointer-events: none;
    
}
/*
.galerie .item .buy {
    display: none;
    position:absolute !important;
    bottom: 0px;
    right: 0px;
    z-index: 10;
    font-size: 15px;
    opacity: 1;
    padding:0;
    margin:0;
}
.galerie .item .buy .char {
    padding: 0;
    padding:0;
    margin:0;
}
.galerie .item:not([soldout]) .buy {
    display: block;
    
}
*/

/* .galerie .item:not([soldout]):before {
    content : 'buy';
    position: absolute;
    right: 10px;
    background-color: black;
    padding: 1px 3px;
    border: 2px white solid;
    border-bottom-color: transparent;
    z-index: 5;
    transform:skewY(-10deg);
    transition: all 0.3s;
    font-size: 20px;
    opacity: 1;
    bottom: -15px;
    padding-bottom: 18px;
    font-weight: bold;
} */

.galerie .item:hover:not([soldout]):before {
    opacity: 1;
    /* transform:skewY(0deg); */
    bottom: -10px;
} 

.galerie .item > img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    grid-column: 1;
    grid-row: 1;
    transition: all 0.5s;
}

.popup {
    position: fixed;
    inset: 0;
    background-color: rgba(0,0,0,0.9);
    z-index: 100;
    display: none;
    justify-items: center;
    align-items: center;
}

.popup[open]{
    display: grid;
}

.popup-content {
    background-color: black;
}

.popup-content p:first-of-type {
    margin-top: 0;
}

.popup-content-buy-item {
    display: flex;
    flex-direction: column;
    max-width: 100vh;
    box-sizing: border-box;
    gap:10px;
    padding:10px 10px 0px 10px;
}

.popup-content-buy-item[onlyphoto] .surlignage {
    display: none;
}

.popup-content-buy-item[portrait] .images {
    height: 70vh;
}

.popup-content-buy-item[portrait] .images .image {
    height: 70vh;
}

.popup-content-buy-item p {
    margin: 0;
}

.popup-content-buy-item h2 {
    border: none;
    box-shadow: none;
    padding: 0;
    margin: 0;
    text-transform: uppercase;
}

.popup-content-buy-item .details {
    display: flex;
    flex-direction: column;
    grid-area : i;
}


.popup-content-buy-item[soldout] .buy,
.popup-content-buy-item[soldout] .size {
    display: none;
}

.popup-content-buy-item .details .buy {
    align-self: flex-end;
    margin-top: 10px;
    padding: 6px 10px 0px 10px;
}

.popup-content-buy-item .details .desc {
    /* font-style: italic; */
}

.popup-content-buy-item .details .size {
    font-size: 0.9em;
}

.popup-content-buy-item .images {
    /* display: grid; */
    position: relative;
}

.popup-content-buy-item .image {
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    padding: 0;
}



.popup-content-buy-item .image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.popup-content-buy-item .image.surlignage img,
.popup-content-buy-item .image.photo img{
    object-fit: contain;
}

.popup-content-buy-item .surlignage {
    filter: brightness(2);
    z-index: 1;
    animation: pulse 3s infinite;
    position: absolute;
    top:-1px;
}

.video-container {
    overflow: hidden;
    position: relative;
    width:100%;
    margin-top: 10px;
}

.video-container::after {
    padding-top: 56.25%;
    display: block;
    content: '';
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

@keyframes pulse {
    0% {
        opacity: 0;
    }

    4% {
        opacity: 0.5;
    }

    6% {
        opacity: 0.25;
    }

    13% {
        opacity: 1;
    }

    20% {
        opacity: 1;
    }


    100% {
        opacity: 0;
    }
}

.popup-content-buy-item .photo {
    

}


[animation="reveal"] > .photo,
[animation="reveal"] > .on {
    /* filter: brightness(100%) blur(0px) invert(0%); */
    filter: brightness(100%) blur(0px) invert(0%);
    opacity: 1;
}

[animation="reveal"] > .surlignage,
[animation="reveal"] > .off
{
    opacity:0;
}

[animation="reveal"]:hover > .photo, 
[animation="reveal"]:hover > .on {
    /* filter: grayscale(0%); */
    animation: reveal 0.5s forwards;
    opacity: 0;
}

[animation="reveal"]:hover > .surlignage,
[animation="reveal"]:hover > .off {
    /* filter: grayscale(0%); */
    opacity: 1;
}




@keyframes reveal {
    0% {
        filter: brightness(100%) blur(0px) invert(0%);
    }

    10% {
        filter: brightness(2000%) blur(20px) invert(0%);
    }

    40% {
        filter: brightness(100%) blur(0px) invert(100%);
    }

    100% {
        filter: brightness(100%) blur(0px) invert(0%);
    }
}





/*DESKTOP*/
@media screen and (min-width: 1000px) {
    [animation="photo-flash"] {
        filter: grayscale(0%) brightness(100%) blur(0px) invert(0%);
    }
}

/*#region Tablet */
@media screen and (min-width: 720px) and (max-width: 999px) {
    :root {
        --main-width : 700px;
    }
    a.anchor {
        top: -90px;
    }
}

/*#region Mobile */
@media screen and (max-width: 719px) {
    :root {
        --main-width : min(100%, 400px);
        --header-height : 78px;
    }

    .mainwidth {
        padding-left:20px;
        padding-right:20px;
    }

    #main-header {
        padding:0px 0;
    }

    #main-nav {
        position: fixed;
        transition: all 0.2s;
        background-color: black;
        width: 100vw;
        left: 0;
        gap: 20px;
        flex-direction: column;
        align-items: flex-end;
        padding: 20px 20px 0px 20px;
        box-sizing: border-box;
        z-index: -1;
        isolation: isolate;
    }

    #main-nav:not([open]) {
        /* opacity: 0; */
        top:-400px;
    }
    
    #main-nav[open] {
        /* opacity: 1; */
        top:var(--header-height);
        pointer-events: all;
    }

    #menu-btn {
        display: block;
        cursor: pointer;
    }

    a.anchor {
        top: -100px;
    }

    .galerie{
        display: grid;
        grid-template-columns: repeat(3,1fr);
    }

    .popup-content-buy-item {
        width: 90%;
        height: auto;
        overflow: hidden;
    }

    .galerie .item:not([soldout]):before {
        font-size: 13px;
        bottom: -5px;
        padding-bottom: 8px;
    }

    .timeline-entry {
        display: flex;
        flex-direction: column;
        width: 100%;
        border-left: 2px solid white;
        padding-top: 30px;
    }

    .timeline-entry h3{
        position: relative;
        top: initial;
     }
     .timeline-entry .timeline-entry-content {
         padding-top: 10px !important;
         border-left: none;
     }
     .timeline-entry-date {
        position: relative;
        top: initial;
        left:initial;
        font-size: 18px;
        background-color: white;
        color: black;
        font-weight: bold;
        width: min-content;
        align-items: center;
     }

     .commingsoon {
        display: block;
    }

    .process-intro {
        --ds:5px;
        font-size: 30px;
    }

 
}



