*{
  padding:0;
  
  box-sizing:border-box;
  margin:0;
  transition: .3s;
  ooutline: .5px dashed blue;
  overflow-x:hidden;
  font-family: "Frank Ruhl Libre", serif;
  font-weight: normal!important;
  -moz-user-select: none;
   -khtml-user-select: none;
   -webkit-user-select: none;
   -ms-user-select: none;
   user-select: none;
}
body{
}
button:active, a:active{
  cursor: pointer;
  animation: jump .3s 1 forwards;
}
.frank {
  font-family: "Frank Ruhl Libre", serif;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
}
#itemInfoContainer{
  width:100%;
  text-align:left!important;
  height: 30vh;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  
}

 .contact span{
                    user-select: all!important;
                }
.dialog-name{
  letter-spacing:1.4px;
  padding: .4rem .8rem 0 .7rem;
  bbackground: rgb(87,137,144);
  background:white;
  max-width: 230px!important;
  margin-bottom:-20px;
  border-radius: 0 10px 0 0;
  transform: translateX(-20px);
}
#btnSkip{
  margin-top:0;
  bborder-radius: 0  0 10px 0 ;
}
.dialog-box a{
  line-height:2rem;
  padding-left:10px;
  padding-right:10px;
}
.dialog-box button, #moreInfo{
  width:100%;
  background:white;
  margin-top:10px;
  color:black;
  animation: 'jump' 3s 1s infinite;
  transition:.1s;
  padding-left:1rem;
  padding-top:.4rem;
  padding-bottom:.2rem;
  border:none;
  border-bottom:1px solid black;

  text-align:left;
  font-size:1em;
}
.dialog-box button:hover, #closeItems:hover, #moreInfo:hover{
  ffilter: contrast(130%);
}
#closeItems{
  position: fixed !important;
  right:10px!important;
  height: 50px;
  bottom:1%!important;
  padding:10px;
  width: auto;
  font-size:1.2rem;
  background:none;
  color:black;
  border:none;
}
.optbtn::after{
  content:"!";
}
@keyframes jump{
  10%{transform:translateY(-5px)}
  20%{transform:translateY(2px) scaleY(80%)}
  40%{transform:translateY(0) scaleY(100%)}
}
.dialog-box a:hover{
  text-decoration:underline;
}
.minim{
  scale:0;
  overflow:visible;
  height:0;
  position:absolute;
}
.dialog-box{
  overflow:visible;
  flex-grow: 1;
  transform:scaleY(120%);
  max-width:800px;s
  margin:auto;
  margin-top:5%;
  display:flex;
  flex-direction: column;
  align-items: flex-start;
  transition:.6s;
}
.grad{
  background:white;

}
#main-container{
  padding:3rem;
  z-index:3;
  display:flex;
  align-items:flex-end;
  height:80vh;
  justify-content:center;
}
#three{

  height:100vh;
}
#main-container, #three{
  transition: none;
  position:fixed;
  width:100vw;
  top:0;
  background:;
}
h1{
  mix-blend-mode: exclusion;
  transform:scaleY(1.2);
  font-weight:normal;
  padding:1rem;

}
#loading{
  left:50%;
  position:fixed;
  z-index:-1;
  top:50%;
  transform:translateX(-50%);
}
.expanded *{


  ooutline: 2px solid black!important;
}
.expanded{
  -webkit-backdrop-filter: blur(30px) saturate(1.2) contrast(1.8)!important;
  backdrop-filter: blur(30px) saturate(1.2) contrast(1.8)!important;
  position:fixed!important;
  top:0;
  left:0;
  width:100vw;
  height:75vh!important;
  z-index:9999;
  
  background:rgba(255,255,255,.8);
  
  display:block;
  pointer-events: all!important;
  align-items:top;
  flex-direction: column;
  justify-content:space-evenly;
}
#three{
  filter:contrast(90%) brightness(115%) saturate(120%) hue-rotate(10deg);
  transform-origin:top left;
  scale:4;
  image-rendering: pixelated;
  image-rendering: -moz-crisp-edges;
  image-rendering: crisp-edges;
  z-index:3;
  pointer-events:none;
}
#top-bar{
  position:fixed;
  top:0;
  width:100vw;
  left:0;
  display:flex;
  flex-direction:row;
  justify-content:space-between;
  z-index:2;
}
bar a{
  font-size:24px;
  padding-left:10px;
  padding-right:10px;
}
#bottom-bar{
  padding:1rem;
  position:fixed;
  bottom:0;
  width:100vw;
  left:0;
  display:flex;
  opacity:0;
  flex-direction:row;
  justify-content:space-between;
  z-index:-5;
}
iframe{
  box-shadow: 4px 4px 10px rgba(0,0,0,0.2);
  height: 100%!important;
  outline: 1px solid black;
  overflow: visible;
}
.expanded iframe{
  width:100%;
  height: 100%!important;
  margin-top: 10%;
  border:none;
  background:transparent;

}
.expanded #itemImgContainer *{
  overflow: visible!important;
}
.expanded #itemImgContainer::after{
  filter: blur(15px);
  content: " ";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.9);
  z-index: -1;
  pointer-events: none;
}
.expanded #itemImgContainer{
  filter:none!important;
  padding-bottom: 50px!important;
  border: 0px solid white!important;
  background-color: white!important;
  overflow-y: scroll!important;
  text-align:left!important;
  display: flex;
  align-items: flex-start!important;
  gap:2rem;
  transform: scale(1);
  grid-auto-flow:row;
  top:0;
  scroll-behavior: smooth!important;
  scroll-margin-bottom: 20px;
  scroll-padding-bottom: 20px!important;
  scroll-padding-top: 20px;
}
#itemImgContainer *{
  text-align:left!important;
}
#itemImgContainer p{
  padding-left: 2rem;
}
#itemImgContainer{
  border-top:1px solid white;
  border-bottom:1px solid dimgray;
  filter: blur(5px) saturate(1.2) brightness(2)  contrast(1) hue-rotate(10deg);
  width:100%;
  height: 100%;
  display:flex;
align-items: flex-start!important;
  justify-content: flex-start!important;
  text-align:left!important;
  flex-direction: column;
  overflow:hidden;
  position:relative;
  border-radius: 12px!important;
  margin-top: 10px;
  margin-bottom: 10px;
  
}
#itemImgContainer img:nth-child(n+2),#itemImgContainer p:nth-child(n+2),#itemImgContainer video:nth-child(n+2){
  display: none;
}
.expanded #itemImgContainer p{
  position:relative;
  z-index:7!important;

}
.expanded #itemImgContainer img, .expanded #itemImgContainer video{
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
  margin-bottom: 20px!important;
}
.expanded #itemImgContainer img:nth-child(n+2), #itemImgContainer p:nth-child(n+2),#itemImgContainer video:nth-child(n+2){
  display: block;
  
}
#itemImgContainer img, #itemImgContainer video{
  box-shadow:  0px 0px 20px rgba(0,0,0,0.4)!important;
  border-radius: 0px!important;
  width: 500px!important;
  transform: scale(5);
  transform-origin: 270px center;
  filter:blur(1px);
  
 }
 #itemImgContainer video{
  
 }
 .expanded #itemImgContainer img, .expanded  #itemImgContainer video{
  box-shadow:  0px 0px 30px rgba(0,0,0,0.0)!important;
  border-radius: 0px!important;
  width: 100%;
  transform: scale(1)!important;
  filter:none!important;
 }

#item-select{
  transition.4s;
  position:fixed;
  z-index:5;
  width:90vw;
  height:80vh;
  left:50%;
  transform:translateX(-50%);
  max-width:600px;
  top:0;
  display:flex;
  align-items:center;
  flex-direction:column;
  justify-content:space-between;
  padding:20px;
}
.selBtns{
  display:flex;
  align-items:center;
  width:100%;
  height:auto;
  align-self: center;
  position: fixed;
  top:50%;
  justify-content:space-between;
  animation: jump 2s infinite;
}
.jump{

  animation: jump 2s infinite!important;
}

.selBtns button{
  font-size:4rem;
  overflow:visible;
  color:black;
  mix-blend-mode:difference;
  background:none;
  border:none;
}
 .glass iframe{
  
  width: 100%;
  border-radius: 10px;
  margin-top: 10px;
  margin-bottom: 10px;
  pointer-events: all;
  overflow: hidden;
}
.glass {
  font-family:Georgia, 'Times New Roman', Times, serif!important;
                font-style: italic;
                color: black;
            margin-top: 30px;
            border-radius: 20px;
            border: none;
            background: #c9cad1;
background: linear-gradient(124deg,rgba(201, 202, 209, .8) 0%, rgba(255, 255, 255, .9) 41%, rgba(193, 193, 222, .5) 80%, rgba(255, 255, 255, .5) 100%)!important;
            text-shadow: 1px 1px 2px rgba(0,0,0,0.3), -1px -1px 2px rgba(255,255,255,0.9);
            -webkit-text-shadow: 1px 1px 2px rgba(0,0,0,0.3), -1px -1px 2px rgba(255,255,255,0.9);
            font-family: Georgia, 'Times New Roman', Times, serif;
            backdrop-filter: blur(2px) saturate(1.2) brightness(1.2)   contrast(1.8) hue-rotate(-0deg)!important;
            -webkit-backdrop-filter: blur(2px) saturate(1.2) brightness(1.2)  contrast(1.8) hue-rotate(-10deg);
            overflow: hidden;
            padding: 10px 20px;
            font-size: 0.9rem;
            box-shadow: 0 5px 10px rgba(0,0,0,0.5), inset -1px -1px 5px rgba(0,0,0,0.5), inset 1px 1px 3px rgba(255, 255, 255, 1),inset -2px -2px 1px rgba(255, 255, 255, 1),inset 0px 2px .1px rgba(255, 255, 255, 1),inset 0px -2px .1px rgba(0, 0, 0, .3), 1px 4px 4px rgba(255, 255, 255, .5);
            outline: none;
            resize: none;
            }

  .vignette-blur {
  position: fixed;
  inset: 0;                    /* shorthand for top:0; right:0; bottom:0; left:0; */
  pointer-events: none;        /* let clicks go through */
  z-index: 3;               /* on top of everything */

  /* blur whatever’s behind this div */
  backdrop-filter: blur(5px) brightness(2.5) saturate(.8) contrast(0.9);
  -webkit-backdrop-filter: blur(5px) brightness(2.5) saturate(.8) contrast(0.9);

  /* mask out the center so only the edges stay blurred */
  mask-image: radial-gradient(
    ellipse at center,
    transparent 40%,
    black 75%
  );
  -webkit-mask-image: radial-gradient(
    ellipse at center,
    transparent 40%,
    black 75%
  );
  mask-mode: alpha;
}
#workContainer *{
}

#workContainer{
  font-style: italic;
  display: flex;
  
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    scroll-snap-type: y mandatory;
    max-height: 110vh;
    position: fixed;
    width: 80%;
    max-width: 1000px;
    margin: auto;
    top: 0;
    left: 50%;
    z-index: -4;
    max-height: 100%;
    overflow-x: hidden;
    transform: translateX(-50%)  !important ;
    overflow-y: scroll!important;
    scroll-behavior: smooth;
    scroll-padding-bottom: 20em;
    padding-bottom: 20em;
    scroll-padding-top: 5em;
    gap:1rem;
}
.example div p{
    padding:.5rem;
}
.example h1{
    
}
.example div:nth-child(even) {
    text-align: right;
}
.example div img{
    min-height: 100px;
   max-height:200px;
   width: 100%;
   
}
#workContainer .example {

    scroll-snap-align: start;
display: grid;
    width: 100%;
    grid-template-columns: auto auto;
     min-height: fit-content;
    max-height: 200px;
}
#workContainer .example div{
   
    border-radius: 10px;
    overflow: visible;
    padding: 1px;
    
}

.contact{
  position: fixed;
  bottom: 20px;
  left: 0;
  width: 100%;
  text-align: center;
  padding: 10px;
  font-size: 1.0rem;
  transform: scale(.8)!important;
  z-index: 9999;
}
.smallText{
  font-size: 1.0rem!important;
}
.dialog-text::after{
  animation: jump .2s 1;
  overflow: visible;
  content: attr(data-after);
  color:blue;
  animation: floattin 2s 1s 1 forwards;
  
}
@keyframes floattin {
  0%{
    transform: scale(1.5);
  filter:blur(100px);
  }
  
  100%{
  filter:blur(0px);
  transform: scale(1);
  }
}
.dialog-text{
  font-size: 1.5rem;
  line-height:1.9rem;
  bborder-radius: 0 10px 0 0;
  width:100%;
  padding: 1.5rem 1.5rem 1.0rem 1.5rem;
  white-space: pre-wrap;
  letter-spacing:.5px;
  -webkit-hyphens:manual;
  word-spacing: -.2ch;
  border-bottom:1px solid black;
  overflow: visible!important;
}
 #itemInfo *{
  
  
 }
  #itemExpand::after{
    content:" more";
  }
.expanded  #itemExpand::after{

  content:" less"!important;
}
 #itemExpand{
  border:2px solid black;
  background: none!important;
  right:20px;
  top:20px;
  color :black!important;
  cursor: pointer;
  box-shadow: 5px 5px 10px rgba(0,0,0,0.2), inset -1px -1px 5px rgba(0,0,0,0.5), inset 1px 1px 3px rgba(255, 255, 255, .9),inset -2px -2px 1px rgba(255, 255, 255, .9);
  position: absolute;
  border-radius: 10px!important;
  padding: .1rem 1rem;
  font-size: 1.15rem;
  padding-bottom: 1.1rem;
  font-style: italic  !important;
  z-index: 6;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.3), -1px -1px 2px rgba(255,255,255,0.9);
            -webkit-text-shadow: 1px 1px 2px rgba(0,0,0,0.3), -1px -1px 2px rgba(255,255,255,0.9);
  padding-top: 1.2rem;
 }
  .expanded #itemInfo, .expanded  h5 {
    mask-image: none;
    backdrop-filter: none; 
    -webkit-backdrop-filter: none;
    pointer-events: none!important;
    background-size: cover;
    background-repeat: no-repeat;
   background-image: radial-gradient(
    ellipse at center,
    white 0%,
    transparent 85%
  );
  }
 #itemInfo,  h5 {
  
  font-size: 2.5rem!important;
  line-height:2.6rem;
  bborder-radius: 0 10px 0 0;
  width:100%;
  padding: 1.5rem 1.5rem 1.0rem 1.5rem;
  padding-left: 0;
  margin-top: -20%;
  white-space: pre-wrap;
  position: absolute;
  z-index: 5;
  letter-spacing:.5px;
  -webkit-hyphens:manual;
  width: 90%;
  word-spacing: -.2ch;
  ;
  overflow: hidden!important;
  background-repeat: no-repeat;
   mask-image: radial-gradient(
    ellipse at center,
    white 60%,
    transparent 95%
  );
  -webkit-mask-image: radial-gradient(
    ellipse at center,
    white 60%,
    transparent 95%
  );
  mask-mode: alpha;
  background-size:400% 100%;
  background-position: 50% 0%;
}

#muteToggle{
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 99999;
  background: rgba(255,255,255,0.8);
  padding: 10px;
  cursor: pointer;

}