
html {
    display: block;

}





* {
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
    color: gray;
    font-size: 14px;
}
body {
    margin: 0;
    height: 100vh;
    overflow: hidden;
    background-color: black;
}

a {
    text-decoration: none;
    color: black;
}

video::-webkit-media-controls, video::-moz-media-controls, video::-o-media-controls, video::-ms-media-controls {   display: none !important; }

#pwInput {
  width: 50%;
  background: rgb(80, 80, 80);
  color: #ffffff;
  border: none;
  padding: .5rem .75rem;
  border-radius: 4px;
}
#pwInput::placeholder {
  color: #ffffff85;
  opacity: 1;     
    border-radius: 0px;
      /* Firefox fix */
}

.psst {
  font-family: "EB Garamond", serif;
  font-style: italic;
  font-size: 1.3rem;
    color: rgb(80, 80, 80);
}

/* button reset – no default styling */


#loginForm button {
  cursor: pointer;
  border: 1px solid gray;
  background-color: gray;
  color: #ffffff85;
  padding: .44rem 1rem;
  margin-left: .5rem;
  /* feel free to add your own colours / borders here */
}

#quick-Overview{
     cursor: pointer;
  background: linear-gradient(45deg, #ffffff, #c1c1c1, #787979, #2e2e2e);
  background-size: 400% 400%;
  animation: gradientShift 10s ease infinite;
}

@keyframes gradientShift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

#loginForm button:hover {         /* strips every browser default */
  cursor: pointer;
  border: 1px rgb(104, 104, 104);
  padding: .5rem 1rem;
  margin-left: .5rem;

  /* feel free to add your own colours / borders here */
}

#loader{
  position:fixed;
  inset:0;                     
  display:flex;
  align-items:center;
  justify-content:center;
  flex-direction:column;
  z-index:9998;
  transition:opacity .4s ease;
  background-color: #F0F0F0;
}

#loader.fade-out{opacity:0;}   

.spinner{
  width:48px;
  height:48px;
  border:5px solid #d0d0d0;
  border-top-color:#000000;
  border-radius:50%;
  animation:spin 1s linear infinite;
}
@keyframes spin{to{transform:rotate(360deg);}}

#loader p{margin-top:1rem;font-family:system-ui;color:#555;}

#buffer {
    height: 50vh;
}

.landscape {
    display: none;

    width: 100vw;
    height: 100vh;

    font-size: 10vw;
    color: white;
    word-break: break-all;
}



header {

    display: flex;
    justify-content: space-between;
    width: 100vw;
    position: absolute;
    z-index: 9999;
    padding: 5px;
    border-bottom-left-radius: 30px;
    /* border-bottom-right-radius: 30px; */
    background-color: white;
    border-bottom: 1px solid #DADCE0;
    border-left: 1px solid #DADCE0;
    border-right: 1px solid #DADCE0;

}

/* .heading {
    font-size: 20px;
} */

.indentation {
    padding-left: 30px;
    /* text-indent: 30px; */
}

.experience {
    display: flex;
    flex-flow: row wrap;
    box-shadow: 5px 3px 5px 1px #ffffff;
    
    z-index: 200

    /* width: fit-content; */
}

.qualifications {
    display: flex;
    flex-flow: column;
}

.singQ {
    padding-right: 1vw;
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
}
.col-one {

    width: 30%;
    display: flex;
    flex-flow: column wrap;
}

.col-two {

    width: 65%;
    display: flex;
    flex-flow: column nowrap;
}

.col-two p{
    margin-left: 0;
}

.descriptive-img {
    padding: 20px 0;
    max-width: 950%;
}


button {

    margin: 3px 2px 3px 1px ;
    padding: 10px;
    background-color: white;
    border: 1px solid #DADCE0;
    border-radius: 50px;
    transition: 0.3s ease;
}

button:hover {
    cursor:auto;
    background-color: gray;
    color: white;
    transition: 0.3s ease;

}

button.hover {
    cursor:auto;
    background-color: #000000;
    color: white;
    /* -webkit-box-shadow: inset 1px 1px 7px 5px #10ADFF;  */
/* box-shadow: inset 1px 1px 1px 1px #3f4142; */
    /* border-color: rgb(0, 179, 255); */
    transition: 0.3s ease;


}

button.active {
    
    background-color: gray;
    color: white;
}

.expButton {
    width: fit-content;
    border-radius: 0%;
    margin: 3px 3px 3px 3px ;
    /* margin-right: 10px;
    
    padding: 0px;
    border-radius: 0; */
    cursor: auto;
    text-align: left;
    transition: 0.1s ease;
}

.list {
    padding-left: 1vw;
}
.expButton:hover {
    /* padding-left: 2px;  */
    color: white;
    background-color: rgb(0, 0, 0);
    cursor: pointer;
    /* text-decoration: underline; */
    /* font-weight: 550; */
}

.rounded {

    background-size: 100%;
    border: 2px solid #DADCE0;
    margin: 0 50px 0 0;
    border-radius: 30px;
    background-color: #F1F3F4;
    padding: 9px;
    width: 50vw;

}

::-webkit-scrollbar{
    width: 5px;
    height: 17px;
    }
    ::-webkit-scrollbar-thumb{
    background: white;
    border: 0.4px solid #DADCE0;
    border-radius: 15px;
    }
    ::-webkit-scrollbar-thumb:hover{
    background: #B3AFB3;
    }
    ::-webkit-scrollbar-track{
    background: black;
    border-radius: 30px;
    box-shadow: inset -10px -10px 0px -30px #F0F0F0;
    }




.menu::-webkit-scrollbar{
    display: none;

}

p {
    margin: 7px;
}

/* img {
    padding: 20px 0 0 0;
} */

hr {

    border: 0.1px solid #DADCE0;
    width: 90%;
}
header img {
    padding: 0;
    width: 700px;
}


.main-wrap {
    display: flex;
}

/* .buttonContainer {
  /* width: 100vw; */
  /* height: 100vh; */
  /* position: absolute;
  z-index: 9999999;
  display: flex; */
  /* flex-flow: column; */
/* } */ 

#storiesToggle{
  align-self: center;
     width: 65%;
     display: flex;
     justify-content: space-around;
     position:absolute;
     top: 1.5vh; 
     z-index:9999;    
     display: flex;

}

.toggle-btn.active {

      background-color: rgba(255, 255, 255, 0);

}


.toggle-btn.active span{

    color: rgba(255, 255, 255, 0.656);
    /* box-shadow: 5px 5px 20px 1px #39393958; */
    transition: all .3s ease;
    text-shadow:
    -1px -1px 0 #00000012,
     0   -1px 0 #00000012,
     1px -1px 0 #00000012,
     1px  0   0 #00000012,
     1px  1px 0 #00000012,
     0    1px 0 #00000012,
    -1px  1px 0 #00000012,
    -1px  0   0 #00000012;

   border: none;
   font-size: xx-large;        /* slightly bigger */
   font-weight: 800;
}

.toggle-btn span {
      font-size:x-large;
      color: rgba(255, 255, 255, 0.456);
    text-shadow:
    -1px -1px 0 #00000012,
     0   -1px 0 #00000012,
     1px -1px 0 #00000012,
     1px  0   0 #00000012,
     1px  1px 0 #00000012,
     0    1px 0 #00000012,
    -1px  1px 0 #00000012,
    -1px  0   0 #00000012;

}

.toggle-btn {
  /* width: 30%; */
    transition: all .3s ease;

    /* above everything */
    /* box-shadow: 5px 5px 20px 1px #39393958; */
    background-color: rgba(255, 255, 255, 0);
    text-shadow: 1px 1px 10px #5151515b;
    border: none;
    
}

.toggle-btn:hover {
  background-color: rgba(255, 255, 255, 0);
  text-shadow: 1px 1px 10px #5151515b;
  border: none;
}


    #storiesToggle{
        display: none;
    }


#infoToggle {
    position:fixed; 
    bottom:1rem;             /* distance from bottom */
    right:1rem;              /* distance from right */
    z-index:9999;            /* above everything */
    padding:.65rem 0.75rem;
    visibility: hidden;
}

.iconBtn{
  display:inline-flex;        /* icon above text */
  flex-direction:column;
  align-items:center;
  /* gap:.25rem; */
  /* padding:0.1rem; */
  font-weight: 600;
  letter-spacing: -0,9cap;
  font-size:14px;
  cursor:pointer;
  border:1px solid #ccc;
  background:#ffffff00;
  border-radius:26px;
  box-shadow: 5px 5px 20px 1px #39393958;
  text-shadow: 1px 1px 10px #5151515b;

}
.icon{
        /* size of SVG */
  height:70px;
  fill:#707070;
  opacity: 0.7;
}
.iconBtn .icon.hide{
  display:none;        /* hidden by default */
}
.iconBtn.hidden{
  
    background-color: rgba(128, 128, 128, 0.802);
}
.iconBtn.hidden .icon.hide{
  display:block;
}

.txt {
    color: rgba(255, 255, 255, 0.685);
    line-height: 0,001cap;
}

.hidden {
    visibility: hidden;
}

.experience {
    position: relative;
}

#close{
    position: absolute;
    top: 0;
    right: 1vh;
    padding: 8px 12px;
    border-radius: 50%;
    background-color: rgb(0, 0, 0);
    color: white;
    
}

#close:hover{
    background-color: gray;
    transition: all 0,3s;
}

.menu{
  
    background-color: white;
    display: flex;
    flex-flow:column nowrap;
    /* justify-content: space-between; */
    height: 100vh;
    overflow-y: scroll;
    overflow-x: hidden;
    padding: 60px 0px 0px 10px;
    width: 27%;
}


#veil {
    /* background-color: rgba(23, 23, 23, 0.6); */
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
    /* position: absolute; */
    width: 100%;
    border-radius: 4px;
    /* height: 03%; */
}



.projectDescriptions {
    /* padding-top: 0,9vh; */
    position: relative;
    transition:opacity .3s ease, visibility .3s ease;
    overflow-y: scroll;
    overflow-x: hidden;
}

.description{
    /* position: relative; */
    display: flex;
    flex-flow: column;
    justify-content: space-between;
    /* overflow: scroll; */
  /* opacity:0; */
  /* display: none; */
  height: 0;
  /* visibility:hidden; */
  transition: opacity 1s ease;
  display: none;
}

.description p {
    margin-left: 0;
}

.description.on{
  opacity:1;
  height: 100%;
  display: block;
  transition:opacity .1s ease, visibility .1s ease;

  /* visibility:visible; */
}

.cv{
    display: flex;
    flex-flow: column nowrap;
    justify-content: space-between;
    height: 100vh;
    overflow-x: scroll;
    overflow-x: hidden;
    padding: 43px 10px 0px 10px ;
    width: 20%;
    border-right: 0.5px solid lightgray;
    background-color: white;
}

/* .cv::-webkit-scrollbar {
    display: none;
} */


cv ::-webkit-scrollbar{
    width: 5px;
    height: 17px;
    }
    ::-webkit-scrollbar-thumb{
    background: white;
    /* border: 0.4px solid #DADCE0; */
    border-radius: 15px;
    }
    ::-webkit-scrollbar-thumb:hover{
    background: #B3AFB3;
    }
    ::-webkit-scrollbar-track{
    background: #DADCE0;
    border-radius: 30px;
    box-shadow: inset -10px -10px 0px -30px #F0F0F0;
    }


.portait {
 
    width: 100%;
    border-radius:10px;
    padding:10px;
    transition: 0.2s ease;

    /* overflow: hidden;
    /* background-color:red; */
}

.portait img {
    transition: 0.2s ease;
}


.two-col {
    height: fit-content;
}

/* .buttons {
    width: 70%;
}

.experience {
    width: 30%;
    border-right: 1px solid gray;
}  */

/* .buttons {
    display: flex;
    flex-flow: column nowrap;
} */

.info {
    width: 90%;
    background-color: white;
    border-radius: 30px;
    border: 0.1px solid #DADCE0;
    padding: 10px;
}

.chart {

    max-width: 100%;

    filter: grayscale(100%);
}


.scrolls {
    height: 100vh;
    width: 2%;
    background-color: white;
    padding: 55px 5px 10px 5px;
    border-left: 0.5px solid lightgray;
    border-right: 0.5px solid lightgray;


}

.animation {

    animation: blinker 5s linear infinite;
    animation-iteration-count: 3;

    height: 100%;
    display: flex;
    flex-flow: column nowrap;
    justify-content: space-between;
    align-items: center;
}


@keyframes blinker {
    50% {
      opacity: 0;
    }
  }


.upside {
    writing-mode: vertical-rl;
}

.arrow {
    font-size: 30px;
}

.autoscroller:hover {

    cursor: s-resize;
}

.autoscroller{
    height: 100vh;
    overflow-y: scroll;
    display: flex;
    flex-flow: column nowrap;
    align-items: center;
    background-color: rgb(255, 255, 255);
    width: 53%;
    scroll-snap-type: y mandatory;

}


img.lazy {
  opacity: 0;
  transition: opacity .5s;
  transition: height  .5s;
  transition: width  .5s;


}
img.lazy.loaded {
  opacity: 1;
}

/* .hundred {
    width: 87%;
    margin: auto;
} */

.portfolioSegment {
    display: flex;
    flex-flow: column nowrap;
    align-items: center;
    padding: 45px 0px;
    width: 100%;
    scroll-snap-type: y mandatory;
    line-height: 0;
    /* padding-bottom: 200px; */
}

.portfolioSegment img {
    width: 100%;
        scroll-snap-type: y mandatory;

}

.portfolioSegment video {
    width: 100%;
        scroll-snap-type: y mandatory;

}

.fifties {
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
}


.fifties  img{
    padding: 20px;
    max-width: 50%;
}

.fifties video {
     max-width: 50%;
}

.overlay{
  width: 100vw;
  height: 100vh;
  position: absolute;
  z-index:9999;
  background:rgba(0,0,0,.85);
  display:flex;align-items:center;justify-content:center;
}
.card{
  background:#fff;padding:2rem 2.5rem;border-radius:8px;text-align:center;
}
.card button{
  margin:.5rem;padding:.6rem 1.4rem;border:none;border-radius:4px;cursor:pointer;
}
#allowBtn{background:#515151;color:#fff}
#denyBtn{background:#eee}



instagram-stories {
  display: block;
  position: relative;
  width: 100%;              /* default size */
  max-width: 100%;
  cursor: pointer;
  user-select: none;
}
.instagram-stories__progress {
  position: absolute;
  top: 0; left: 0; right: 0;
  display: flex;
  gap: 4px;
  padding: 20px 20px;
  z-index: 2;
  background-color: rgba(255, 255, 255, 0);
  /* filter: blur(3px); */
}
.instagram-stories__bar {
  height: 4px;
  flex: 1;
  background: rgba(255, 255, 255, 0.462);
  border-radius: 5px;
  overflow: hidden;
}
.instagram-stories__fill {
  height: 100%;
  width: 0%;
  background: #ffffff;
  transition: width 7s linear;
}
.instagram-stories__viewport {
  position: relative;
  width: 100%; /* 9:16 */
  height: 100%;
  background: #000;
}
.instagram-stories__slide {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity .5s;
}
.instagram-stories__slide.active {
  opacity: 1;
  transition: opacity .5s;

}

#nophone {
    top: 15vw;
    width: 42.2%;
    cursor: pointer;
}


#nophone .instagram-stories__progress{
    top: -40px; left: 0; right: 0;
    filter: none;
    background: none;

}

#nophone .instagram-stories__fill {
  height: 100%;
  width: 0%;
  background: #64ac57;
  transition: width 7s linear;
}

#nophone .instagram-stories__bar {
  height: 4px;
  flex: 1;
  background: rgb(255, 255, 255);
  border-radius: 5px;
  overflow: hidden;
}



@media only screen  and (max-width : 1224px) and (min-width : 320px){
    
    
* {
   
    font-size: 16px;
    color: #b3b3b3;
    font-weight: 600;
    letter-spacing: -0.03cap;
    
}
    
    header {
        display: none;
    }

    ::-webkit-scrollbar {
        display: none;
    }

    .menu {
        display: none;
    }

    #storiesToggle{
        display: none;
    }

    .main-wrap{
        flex-flow: column wrap;
    }
    .cv {
        padding-top: 0;
        padding-bottom: 50vh;
        width: 100%;
        display: none;
        background-color: white;
        
    }
    .portrait {
        display: none;
        /* width: 130vw; */
    }

    .portrait-and-quote-container {
        position: fixed;
        /* background-color: #000; */

        inset: 0;
    }

    .quote {
        display: none;
    }
    
    .qualifications{
        /* width: 90%; */
        padding: 10px;
        
        /* position: relative; */
        display: flex;
       

    }

    .qualification-container{
        top: 25vh;
        border-radius: 20px;
        background-color: white;
        position: relative;
        background-color: rgba(255, 255, 255, 0.939);
        box-shadow: 5px 5px 20px 1px #39393983;
    }

    cv {
        background-color: white;
    } 

    .scrolls {
        display: none;
    }

    .autoscroller {

        width: 100%;
    }

    #pass{
        width: 75%;
        background-color: #eeeeeec3;
    }


 


    #infoToggle {
    visibility: visible;
    }

    .visible {
        display: block;
    }

    .portfolioSegment {
      width: 100%;
    }
/* ----- */
 

  /* 2.  each card = 9 : 16 viewport card */
  .snapper{
    flex:none;                      /* keep exact size */
    width:100vw;                    /* full screen width */
               /* lock ratio */
    scroll-snap-align:start;        /* snap to top (use center if you prefer) */
    position:relative;
    overflow:hidden;
    transform-origin:center center;
  }

  /* 3.  scale the whole innards to fill the card */
  .snapper > *{
    position:absolute;
    inset:0;                        /* top right bottom left 0 */
    width:100%;
    height:100%;
    object-fit:cover;               /* images / videos */
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:clamp(1rem, 4vw, 3rem); /* demo: text scales too */
  }


  



    }


    @media screen and (orientation:landscape) and (max-width: 1223px) {

        header {
            display: none;
        }
        .main-wrap {
            display: none;
        }

        .landscape {
            display: inline;
        }

            #infoToggle {
        visibility: hidden;
        }

       
     }




/* =====  desktop → hidden  ===== */
@media (min-width: 769px) {
  mobile-stories { display: none; }
}

.cv {
    z-index: 9998;
    word-break:keep-all;
    
}
/* =====  mobile → full-screen stories  ===== */
@media (max-width: 768px) {

    #storiesToggle{
        display: flex;
    }

    .cv {
    background-color: rgba(255, 255, 255, 0);

    }

    instagram-stories{
        display: none;
    }

  mobile-stories {
    display: none;
    position: fixed;          /* sit on top of everything */
    inset: 0;                 /* top:0 right:0 bottom:0 left:0 */
    width: 100vw;
    height: 100vh;          /* above page content */
    background: #ffffff;
    cursor: pointer;
    user-select: none;
  }


mobile-stories.active {
  display: block;
}

  .ms-progress {
    position: absolute;
    height: 90px;
    /* background: #000; */
    box-shadow: inset 0px 15px 7px rgba(0, 0, 0, 0.324);
    /* backdrop-filter: blur(10px); */

    top: 0px; left: 0; right: 0;
    display: flex;
    /* align-items: center; */
    gap: 2px;
    padding: 8px 4px;
    z-index: 2;
  }
  .ms-bar {
    height: 4px;
    flex: 1;
    background: rgba(255, 255, 255, .35);
    border-radius: 2px;
    overflow: hidden;
  }
  .ms-fill {
    height: 100%;
    width: 0%;
    background: #ffffff91;
    transition: width linear;
  }
  .ms-viewport {
    position: relative;
    display: flex;
    justify-content: center;
    /* align-items: center; */
    padding-top: 5px;
    width: 100vw;
    height: 100vh;
    background-color: #000000;           
  }
  .ms-slide {
    position: absolute;

    width: 98%;
    border-radius: 8px;
    margin-left: 1%;
    margin-right: 1%;
    background-color: rgb(144, 144, 144);
    /* align-self: center; */
    /* align-self: center;  */
    /* height: 100%; */
    overflow: hidden;
    opacity: 0;
      transition: opacity 0.5s ease;

  }
  .ms-slide.active {
    overflow: hidden;
    /* width: 100%; */
    opacity: 1;
    transition: opacity 0.5s ease;

  }

  .ms-slide.active img,
.ms-slide.active video {
  width: 60%;
  height: 100%;
   /* survives clone / re-insert */
}

  .ms-caption {
  position: absolute;
  display: flex;
  flex-flow: column;
  justify-content: end;
  /* justify-content: baseline; */
  bottom: 1rem;
  left: 0.8rem;
  max-width: 65%;
  height: 5.8vh;
  padding: 0.4rem 0.4rem;
  /* background: rgba(0, 0, 0, 0.212);  */
  color: #f9f6ebb8;
  font-size: 0.7rem;
  font-weight: 600;
  border-radius: 3px;
  z-index: 3;
  opacity: 0;
  transition: opacity 0.5s;
  text-shadow: 0px 1px 10px rgba(0, 0, 0, 0.654);
  text-shadow:
    -1px -1px 0 #00000012,
     0   -1px 0 #00000012,
     1px -1px 0 #00000012,
     1px  0   0 #00000012,
     1px  1px 0 #00000012,
     0    1px 0 #00000012,
    -1px  1px 0 #00000012,
    -1px  0   0 #00000012;
  paint-order: stroke fill black;


  /* box-shadow: 5px 5px 20px 1px #39393983; */
  letter-spacing: normal;
}
.ms-caption.show {
  opacity: 1;
}

.ms-first-word {
    width: 100%;
  font-size: 1rem;

  /* font-weight: 700; */
  /* font-size: 1.4em; */
  color: #f9f6ebc2;

}

}

/* ===  mobile only  === */
@media (max-width: 768px) {
  mobile-stories {
    position: fixed;
    top: env(safe-area-inset-top, 0);      /* below browser bar */
    left: 0;
    right: 0;
    bottom: env(safe-area-inset-bottom, 0); /* above home-bar */
    width: 100vw;
    height: calc(100vh - env(safe-area-inset-top, 0) - env(safe-area-inset-bottom, 0));
    z-index: 9999;
    background: #ffffff;
    cursor: pointer;
    user-select: none;
  }

  /* quote bar – pinned inside safe-area (bottom-left) */
  .ms-caption {

    position:fixed; 
    bottom:0.4rem;             /* distance from bottom */
    left:0.4rem;              /* distance from right */
    padding:.65rem 0.75rem;
    /* visibility: hidden; */
    max-width: 75%;
    /* padding: 0.5rem 0.75rem; */
    /* background: rgba(0, 0, 0, 0.6); */
    /* color: #fff; */
    /* font-size: 0.875rem; */
    /* border-radius: 4px; */
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s;
  }
  .ms-caption.show { opacity: 1; }

  /* toggle buttons – pinned inside safe-area (top-right) */
  .toggle-btn {
    
    top: calc(env(safe-area-inset-top, 0) + 1rem);
    /* right: 1rem; */
    z-index: 100060; /* above stories */
    /* padding: 0.5rem 1rem; */
    /* border: 1px solid #ccc; */
    /* background: #fff; */
    cursor: pointer;
    /* transition: font-size 0.2s ease; */
  }

    #infoToggle{
        z-index: 100002; /* above stories */

    }

    .cv {
                z-index: 100001; /* above stories */

    }   

    #storiesToggle {
        position: fixed;
        width: 100%;
        padding: 0 20%;
        
        z-index: 1000005
    }

    .project-video {
        display: none;
    }

    #pass {
        z-index: 1000060;
        display: block;
    }


}