/*universal/fonts/etc*/
    *:not(.notebook-skin, #airtablegallerywrapper, #crashblogwrapper, #igembedwrapper, .left-sidebar, .main-content) { box-sizing: border-box; }
    p { overflow-wrap: anywhere;}
    @font-face {font-family: SuperCereal; src: url(/fonts/SuperCereal-owLDo.ttf); }
    @font-face {font-family: Telegrama; src: url(/fonts/telegrama_render_osn.otf); }
    @font-face {font-family: rainyhearts; src: url(/fonts/rainyhearts.ttf); }
    a{ font-family: monospace;}
    p.small, ::details-content { font-size: 0.8em; font-family: monospace;}
    h1, h2 { font-family: SuperCereal;}
    details, p:not(.message-text){ font-family: Telegrama;}
    details { margin-bottom: 1em;}
    summary { text-decoration: underline;  }
    .tooltip, .tooltip:hover, .tooltiptext, .content_inner, .tab, .notebook-skin { font-family: rainyhearts, monospace;}
body.more {font-size: 1rem;}
    button {
        background-color: linen;
        box-shadow: rosybrown;
        font-size: 16px;
        border-radius: 8px;
        padding: 8px;
        font-family: rainyhearts, monospace;
    }
.libutton {
  align-self: center; 
  padding: 1em; 
  text-align: center; 
  outline: none; 
  text-decoration: none !important; 
  color: #ffffff !important; 
  width: 12em; 
  height: 3em; 
  border-radius: 5px; 
  background-color: #0A66C2; 
  font-family: rainyhearts; 
  box-shadow: grey;
}
    .libutton:hover, button:hover {
        filter:contrast(90%) saturate(5) hue-rotate(20deg) drop-shadow(4px 4px 6px grey);
    }

    /*home page stuff*/
    #blinkies { 
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.25rem;
    }
    
    img {max-inline-size: 100%;}
    .image-container img {
      aspect-ratio: 1 / 1;
    }
    div.page iframe {
      width: 100%;
    }
    /*backgrounds (different) */
    body.workspace{
        background: url(/imgs/workspacestatic.jpeg);
      }
      
      body.portfolios{
        background: url(/imgs/folder-eye-0386.jpg);
      }
      body.more{
        background: url(/imgs/heartwindow.png);
      }
      body.play{
        background: url(/backgrounds/fabric-heartsplaid.png);
      }
/*style mobile first*/
    body {
        background:url('/backgrounds/latoilepattern.PNG'); /* please do not use without crediting me @vibefae */
        background-size: 450px 450px;
        background-repeat:repeat;
        text-align: center;
    }
    .flex-container {
        display: flex;
        flex-wrap: wrap;
        gap: 1em;
        justify-content: center;
        align-items: flex-start;
    }
    .flex-child {
        justify-items: center;
        text-align: center;
        align-items: center;
        justify-content: center;
        align-self: stretch;
    }
    #personality {
        display: grid;
        place-content: center;
        justify-content: center;
        align-items: center;
        justify-items: center;
        align-self: stretch;
        justify-self: center;
        text-align: center;
    }
    .flex-child *:not(button, .strokecolor, input, .image-container) {
        max-inline-size: 100%;
    }
    .flex-child *:not(button, .strokecolor, input, .moleskine-wrapper, .moleskine-notebook, .notebook-cover, .notebook-page, .notebook-skin, .image-container) {
        block-size: auto;
    }

    .roundedbox {
    border: 3px lightslategray;
    border-radius: 50px;
    background-color: linen;
    box-shadow: 0 10px 15px 5px rosybrown;
    padding: 8px 16px;
    max-width: 90vw;
    margin: 0 auto;
    }

    div.gap {
        padding: 1em 0;
    }
.desktophidden {
    justify-self: center;
}
    /*drawbox*/
    canvas {
        border: 1px solid black;
        cursor: crosshair;
        aspect-ratio: 1 / 1;
        width: 300px;
        height: 300px;
        touch-action: none;
        -ms-touch-action: none;
    }
    #gallery {
        display: flex;
        flex-wrap: wrap;
        gap: 5px;
        justify-content: center;
    }
    .image-container {
        border: 1px solid #ccc;
        padding: 5px;
        max-inline-size: 200px;
        text-align: center;
    }
    .image-container img {
        max-inline-size: 100%;
        aspect-ratio: 1 / 1 !important;
        display: block;
    }
    /*adapted from MJT's responsive left sidebar flexbox layout*/
    /* flexbox container */
    
    .left-sidebar {
      container-type: inline-size;
      container-name: left-sidebar;
    }
    .main-content {
      container-type: inline-size;
      container-name: main-content;
    }
    /* tablet/dt breakpoint TODO add between layout */
    @media (min-width:769px) {
      .left-sidebar-flexbox {
        display:flex;
      gap: 1em;
      justify-content: center;
      }
        .left-sidebar-flexbox > .left-sidebar {
          order: -1;
            width:calc(100% / 3);
        }
        .left-sidebar-flexbox > .main-content {
            width:calc(100% / 3 * 2);
        }
    
        @container left-sidebar (width > 431px) {
        .instagram-media, .crashblog {
          width: 95cqw;
          margin: 0 auto !important;
          align-self: center;
          justify-self: center; 
        }
        .text-container {
          width: 70cqw;
          margin: auto;
        }
        .instagram-media {
          width: 90cqw;
          margin: 0 auto !important;
          align-self: center !important;
          justify-self: center !important;
        }
        }
        @container main-content (width > 431px) {
          #creativegallery {
            width: 90cqw;
            height: 100cqmax;
            margin: auto;
          }
        .text-container {
          width: 70cqw;
          margin: auto;
        }
          }
    }

/*  on mobile/small windows only */
@media (max-width: 768px){
  /* creative portfolio columns (mobile) */
  .left-sidebar-flexbox {
    display: flex;
    flex-direction: column;
    align-items: center;
    align-content: center;
   gap: 1em;
  }
  .left-sidebar, .main-content {
    width: 100%;
    box-sizing: content-box;
    align-self: center;
    align-content: center;
  }
  #airtablegallerywrapper, #crashblogwrapper, #igembedwrapper{

    justify-content: center;
  }

  @container main-content (width < 430px) {
    .header, .left-sidebar, .main-content {
        width:100vw;
        align-content: center;
    }
    #creativegallery {
      width: 85cqw;
      margin: auto;
      justify-self: center;
    }
    .instagram-media {
      width: 90cqw;
      margin: 0 auto !important;
      align-self: center !important;
      justify-self: center !important;
    }
    iframe > .crashblog {
      width: 90cqw;
      margin: 0 auto;
      align-self: center
    }
    }
    .divider img:nth-of-type(3), .divider img:nth-of-type(4) {
        display: none;
        }
     .tooltip .tooltiptext {
            visibility: visible;
          }
    iframe:not(.instagram-media) {
        min-height: 700px;
    }
    
    /* keep text for screen readers */
    .tab span {
      position: absolute !important;
      inline-size: 1px;
      block-size: 1px;
      padding: 0;
      margin: -1px;
      overflow: hidden;
      clip: rect(0 0 0 0);
      clip-path: inset(50%);
      white-space: nowrap;
      border: 0;
    }
    
    /* icons kept via ::before m */
    .tab::before { display: inline-block; line-height: 1; transform: translateY(0); }
    
    /* Restore folder background on mobile and keep tabs visually joined */
    .content:before {
      display: none;
    }
    
    .content {
      margin-block-start: -6px;
      inline-size: 100%;
      position: relative;
    }
    
    /* mobile: hide all tab panels by default, show the first panel */
  .content__inner {
    display: none;
    margin: 0;
    padding: 0.9rem;
    background: var(--background);
    border-radius: 10px;
    box-shadow: 0 0 0 1.5px rgba(0,0,0,0.18);
    color: inherit;
  }
  .folder .tab:nth-of-type(1)::before {
    content: "";
    inline-size:28px; block-size:28px;
    display:inline-block;
    background:url('/svgs/web-svgrepo-com.svg') center/contain no-repeat;
  }
  .folder .tab:nth-of-type(2)::before {
    content: "";
    inline-size:28px; block-size:28px;
    display:inline-block;
    background:url('/svgs/culture-glass-ball-looking-svgrepo-com.svg') center/contain no-repeat;
  }
  .folder .tab:nth-of-type(3)::before {
    content: "";
    inline-size:28px; block-size:28px;
    display:inline-block;
    background:url('/svgs/diary-svgrepo-com.svg') center/contain no-repeat;
  }
  .folder .tab:nth-of-type(4)::before {
    content: "";
    inline-size:28px; block-size:28px;
    display:inline-block;
    background:url(/svgs/random-1dice-svgrepo-com.svg) center/contain no-repeat;
  }
  .tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    inline-size: auto;
    min-inline-size: 56px;
    block-size: 56px;
    padding: 0;
    margin: 0;
    border-radius: 12px;
    background: var(--background);
    position: relative;
    box-shadow: none;
    border: 2px solid transparent;
  }
}
@media (max-width: 765px){
    .notebooks-wrapper {
        flex-direction: column;
        flex-wrap: nowrap;
        justify-self: center;

    }
    .moleskine-notebook {
        margin: 0.8em;
    }
    .moleskine-notebook, .notebook-cover {
        block-size: 200px;
      }
      iframe:not(.instagram-media) {
        min-height: 900px;
    }
}
/* tablet/desktop breakpoint TODO add in-between layout*/
@media (min-width:768px) {
.flex-container {
        flex-direction: row;
        flex-wrap:wrap;
        align-items: start;
        align-content: start;
    }
 #guestbook.breakpointleft {
    order: -1;
    max-inline-size: 30%;
}
#drawbox.breakpointright {
    max-inline-size: 60%
}
#freelanceresearchreviews {
    max-inline-size: 45%;
}
#roverreviews {
    max-inline-size: 45%
}
#drawboxcanvas {
        width: 400px;
        height: 400px;
    }
iframe:not(.instagram-media) {
    min-height: 1000px;
}
.notebooks-wrapper {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
  justify-content: center;
  align-items: center;
  align-self: center;
  justify-self: center;
  }
  .moleskine-notebook {
    margin: 3em;
  }
  .moleskine-notebook, .notebook-cover {
    block-size: 250px;
  }
  .desktophidden {
    display: none;
}
.folder {
    box-sizing: border-box;
  }
  body.more {
    padding: 2rem 2rem 2rem;
    font-size: 1rem;
  place-content: center;
    text-align: center;
    display: grid;
    min-block-size: 100vh;
  }
  body .folder {
    display: grid;
  }
  
  .tab {
    text-transform: uppercase;
    display: inline-block;
    margin-inline-start: -35px;
    filter: drop-shadow(0px -3px 2px rgba(0, 0, 0, 0.05));
    border: none;
    border-radius: 6px 6px 0 0;
    position: relative;
    margin-inline-end: 4rem;
    background: var(--background);
    white-space: nowrap;
    cursor: pointer;
    background: var(--background);
  }
  .tab:focus {
    outline: none;
  }
  .tab:focus span {
    border-block-end: 2px solid;
    border-radius: 0;
  }
  .tab:first-of-type {
    margin-inline-start: 30px;
  }
  .tab div {
    background: var(--background);
    padding: 6px 0;
    position: relative;
    z-index: 10;
  }
  .tab span {
    display: inline-block;
    border: 2px solid transparent;
    padding: 6px 15px 6px;
    border-radius: 5px;
    z-index: 5;
    position: relative;
    font-size: 140%;
    color: #fff;
    min-inline-size: 6rem;
  }
  .tab:before, .tab:after {
    content: "";
    block-size: 100%;
    position: absolute;
    background: var(--background);
    border-radius: 8px 8px 0 0;
    inline-size: 30px;
    inset-block-start: 0;
  }
  .tab:before {
    inset-inline-end: -16px;
    transform: skew(25deg);
    border-radius: 0 8px 0 0;
  }
  .tab:after {
    transform: skew(-25deg);
    inset-inline-start: -16px;
    border-radius: 8px 0 0 0;
  }
  .tab.active {
    z-index: 50;
    position: relative;
  }
  .tab.active span {
    background: white;
    box-shadow: 0 2px 3px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    color: black;
  }
  
  .content {
    border-radius: 10px;
    position: relative;
    inline-size: 100%;
  }
  .content #tab-1 {
    display: block;
  }
  .content:before {
    content: "";
    inline-size: 100%;
    block-size: 100%;
    position: absolute;
    z-index: -1;
    inset-block-start: 0;
    inset-inline-start: 0;
    border-radius: inherit;
  }
  .content__inner {
    display: none;
    background: var(--background);
    border-radius: inherit;
    padding: 1rem;
    filter: drop-shadow(0px -2px 2px rgba(0, 0, 0, 0.1));
    z-index: 5;
  }
  
  .folder {
    scrollbar-height: none; /* Firefox */
    -ms-overflow-style: none; /* IE 10+ */
  }
  .folder ::-webkit-scrollbar {
    background: transparent; /* Chrome/Safari/Webkit */
    display: none;
  }
  
  .page {
    padding: 1.5rem;
    border-radius: 2px;
    min-block-size: 20rem;
    background-color: #f9f9f9;
    filter: drop-shadow(0px 1px 3px rgba(0, 0, 0, 0.15));
    background-image: linear-gradient(#e4e4e4 1px, transparent 1px);
    background-size: 8% 8%, 2px 2px;
  }
  
  .tabs {
    padding: 2rem 0 0 0;
    margin: 0 0.5rem;
    overflow-x: auto;
    inline-size: calc(100% - 1rem);
    white-space: nowrap;
  }

  .folder .tab:before, .folder .tab:after {
    inset-block-start: -2px;
    border-block-start: 2px solid;
  }
  .folder .tab:before {
    border-inline-end: 2px solid;
  }
  .folder .tab:after {
    border-inline-start: 2px solid;
  }
  .folder .tab.active span {
    border: 2px solid;
  }
  .folder .tab.active:focus span {
    outline: 1px solid rgba(255, 255, 255, 0.7);
  }
  .folder .tab:not(.active) {
    border-block-end: 2px solid;
  }
  .folder .tab:not(.active):before, .folder .tab:not(.active):after {
    box-shadow: 0 1.5px 0 black;
  }
  .folder .content {
    inset-block-start: -2px;
    inset-inline-start: -2px;
  }
  .folder .content__inner {
    box-shadow: 0 0 0 1.5px black;
  }
  .folder .page {
    border: 2px solid;
  }
}
/*iframes*/
iframe {
border: none;
}
iframe:not(#creativegallery, .crashblog, .instagram-media, .webmastery, .misc) {
  display: flex;
  width: 100vb;
}
div.page {
container-type: inline-size;
container-name: foldertabpage
}
@container foldertabpage (max-width: 683px) {
  iframe.airtableembed.webmastery, iframe.airtableembed.misc {
    width: 100cqw;
    display: flex;
  }
}
@container foldertabpage (min-width: 683px) {
  iframe.airtableembed.webmastery, iframe.airtableembed.misc {
    width: 100cqw;
    display: flex;
  }
}
#resume-iframe {
    aspect-ratio: 2 / 3;
  min-inline-size: 80vw;
  max-inline-size: 95vw;
  }
  #testimonials-iframe {
    aspect-ratio: 4 / 5;
    min-inline-size: 70vw;
    max-inline-size: 80vw;
  }
  #ws-iframe {
    aspect-ratio: 17 / 22;
    min-inline-size: 50vw;
  max-inline-size: 90vw;
  }
  #iframeHolder-resume,   #iframeHolder-ws,   #iframeHolder-testimonials {
    justify-content: center;
    display: flex;
  }
  #resume-iframe, #testimonials-iframe, #ws-iframe {
    justify-self: center;
    min-block-size: 50vh;
  }

  .instagram-media {
    margin: 0 auto;
    justify-self: center;
  }
/*misc*/


/* color shift to make noai webring widget pink*/ 
.colorfilter{ filter: hue-rotate(20deg) saturate(1000%);}


/*moleskine notebooks */


/**/
.moleskine-wrapper {
  max-width: 25%;
  min-inline-size: 10em;
  margin: 0 auto;
}

.moleskine-notebook {
  inline-size: 175px;
  position: relative;
  transition: 0.4s ease-in-out;
  border-radius: 5px 15px 15px 5px;
  transform-origin: left center 0px;
  display: inline-block;
  perspective: 800px;
}
.moleskine-notebook:hover {
  transform: rotateZ(-10deg);
}
.moleskine-notebook:hover .notebook-cover {
  transform: rotateY(-50deg);
  z-index: 999;
  box-shadow: 20px 10px 50px rgba(0, 0, 0, 0.2);
}
/* keep notebook open when wrapper has .open */
.moleskine-wrapper.open .moleskine-notebook {
transform: rotateZ(-10deg);
}
.moleskine-wrapper.open .moleskine-notebook .notebook-cover {
transform: rotateY(-50deg);
z-index: 999;
box-shadow: 20px 10px 50px rgba(0, 0, 0, 0.2);
}


.notebook-cover {
  background: #cc4b48;
  inline-size: 175px;
  position: absolute;
  border-radius: 5px 15px 15px 5px;
  z-index: 10;
  transition: 0.5s linear;
  transform-style: preserve-3d;
  transform-origin: left center 0px;
}
.notebook-cover::before {
  content: "";
  position: absolute;
  inline-size: 10px;
  block-size: calc(100% + 2px);
  inset-block-start: -1px;
  z-index: 100;
  border-radius: 2px;
  inset-inline-end: 25px;
  transition: 2s ease;
  background: linear-gradient(to right, #9c2e2b 0%, #cc4b48 12%, #9c2e2b 25%, #cc4b48 37%, #9c2e2b 50%, #cc4b48 62%, #9c2e2b 75%, #cc4b48 87%, #9c2e2b 100%);
}

.notebook-skin {
  block-size: 50px;
  background: #e8e8e0;
  margin-block-start: 60px;
  padding: 15px;
  font-size: 16px;
  position: relative;
  z-index: 10;
  color: #222;
  text-align: start;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
}
.notebook-skin:before {
  content: "";
  position: absolute;
  inline-size: 100%;
  block-size: 15px;
  inset-inline-start: 0;
  inset-block-end: 0;
  background: #cddc39;
}

.notebook-page {
  block-size: 100%;
  inline-size: 175px;
  position: absolute;
  background-color: #fbfae8;
  z-index: 0;
  border-radius: 5px 16px 16px 5px;
  overflow: hidden;
}
.notebook-page.ruled {
  block-size: 100%;
  inline-size: 175px;
  position: absolute;
  overflow: hidden;
  background: linear-gradient(to bottom, #fbfae8 9px, #e4e4e4 1px);
  background-size: 100% 10px;
}
.notebook-page.squared {
  background-image: linear-gradient(#e4e4e4 1px, transparent 1px), linear-gradient(90deg, #e4e4e4 1px, transparent 1px);
  background-size: 10px 10px, 10px 10px, 2px 2px, 2px 2px;
}

.notebook-cover.blue {
  background: #2e95aa;
}
.notebook-cover.blue:before {
  background: linear-gradient(to right, rgb(29.7083333333, 96.2291666667, 109.7916666667) 0%, #2e95aa 12%, rgb(29.7083333333, 96.2291666667, 109.7916666667) 25%, #2e95aa 37%, rgb(29.7083333333, 96.2291666667, 109.7916666667) 50%, #2e95aa 62%, rgb(29.7083333333, 96.2291666667, 109.7916666667) 75%, #2e95aa 87%, rgb(29.7083333333, 96.2291666667, 109.7916666667) 100%);
}
.notebook-cover.yellow {
  background: #fed754;
}
.notebook-cover.yellow:before {
  background: linear-gradient(to right, #ebb501 0%, #fed754 12%, #ebb501 25%, #fed754 37%, #ebb501 50%, #fed754 62%, #ebb501 75%, #fed754 87%, #ebb501 100%);
}
.notebook-cover.green {
  background: #abc3b5;
}
.notebook-cover.green:before {
  background: linear-gradient(to right, #7ea38e 0%, #abc3b5 12%, #7ea38e 25%, #abc3b5 37%, #7ea38e 50%, #abc3b5 62%, #7ea38e 75%, #abc3b5 87%, #7ea38e 100%);
}

/*folder tabs*/
.folder .tab:nth-of-type(1),
.folder .content__inner:nth-of-type(1) {
  --background: #af4d98;
}
.folder .tab:nth-of-type(2),
.folder .content__inner:nth-of-type(2) {
  --background: #d66ba0;
}
.folder .tab:nth-of-type(3),
.folder .content__inner:nth-of-type(3) {
  --background: #e5a9a9;
}
.folder .tab:nth-of-type(4),
.folder .content__inner:nth-of-type(4) {
  --background: #6cb6bb;
}
.folder .tab {
  border: 2px solid;
  border-width: 2px 0 0;
}

.tabs {
    padding: 0.5rem 0 0;
    margin: 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    inline-size: 100%;
    overflow-x: auto;
    white-space: nowrap;
  }
  

  

/* initial active panel on load */
.content #tab-1 {
  display: block;
}

/*tooltips on portfolio page*/

/* Tooltip container */
.tooltip {
  position: relative;
  display: inline-block;
  border-block-end: 1px dotted black; /* Add dots under the hoverable text */
  cursor: pointer;
}

/* Tooltip text */
.tooltiptext {
  visibility: hidden; /* Hidden by default */
  inline-size: 5em;
  background-color: black;
  color: #ffffff;
  text-align: center;
  padding: 10px 0;
  border-radius: 6px;
  position: absolute;
  z-index: 1; /* Ensure tooltip is displayed above content */
}

/* Show the tooltip text on hover */
.tooltip:hover .tooltiptext {
  visibility: visible;

}

/* floating image code used for subpage nav, adapted from pochi.card.co*/
  .float {
    animation-name: floating;
    animation-duration: 5s;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
}
 
@keyframes floating {
    0% { transform: translate(0,  0px); }
    50%  { transform: translate(0, 10px); }
    100%   { transform: translate(0, -0px); }    
}
.subpage{
  display: inline-block
}
.subpage img {
block-size: 500px;
margin: 0px 40px;
filter: drop-shadow(-4px 6px 8px #000000);
}
@media only screen and (max-width: 600px){
  .subpage img {
    block-size: 50vw;
    margin: 5vw 10vw;
    filter: drop-shadow(-4px 6px 8px #000000);
    }
}

