    body{
      background-color: black;
  background-image: url(/bg/space.jpg);
background-attachment: fixed;
letter-spacing:1px;
text-align:justify;
font-size:13px;
line-height:20px;
font-family: 'Mate', serif;
margin:0 auto;
position: fixed;
height: 100%;
width: 100%;
overflow-y: auto;
}

#bodycontainer {
    display: flex;
    flex-direction: row;
    height: 100%;
    width: 100%;
}

#body2 {    background-image: url(/Art/2024/compressed/bgoverlay_crop_compressed.png);
    background-size: 251px;
    position: fixed;
    top: -20px;
    left: 0;
    height: 100vh;
    width: 100vw;
    z-index: -1;
}

p{
text-indent:26px;
}

h1{
font-family: 'Lustria', serif;
margin-bottom:4px;
text-align:right;
font-weight:normal;
letter-spacing:2px;
}

h2{
font-family: 'Lustria', serif;
border-top:1px gray dotted;
margin-top:4px;
font-weight:normal;
letter-spacing:2px;
font-size:11px;
}

a{
text-decoration:none;  
}

#linkboxbox a{
display:block;
color:lightblue;
      filter: brightness(75%) grayscale(100%) hue-rotate(45deg) saturate(200%) contrast(1.5);
  transition: 0.5s;
}

#linkboxbox a:hover{
    filter: brightness(100%) grayscale(0%) hue-rotate(360deg) saturate(100%) contrast(1);
  transition: 0.2s;
}

.post{
    width: 572px;
    padding: 16px;
    margin-bottom: 60px;
    background-color: #fff;
}

.postinner {
      display: flex;
    flex-direction: column;
    align-items: center;
}

#linkboxbox{
  height: 100vh;
width: 200px;
    padding: 0 10px 0 10px;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    filter: drop-shadow(0px -6px 14px #0900bd);
}

#linkbox{
    padding: 5px;
    /* border: 1px gray dotted; */
    width: 150px;
}

#box1{
    position: relative;
    height: 100%;
    width: 100%;
    overflow-y: auto;
    padding: 20px 0 0 20px;
}

.site {
    width: 170px;
    margin: 5px;
    height: 56px;
    background-color: lightblue;
    filter: brightness(75%) grayscale(100%) hue-rotate(45deg) saturate(200%) contrast(1.5);
    transition: 0.1s;
}

.site img {
  width: 100%;
}

.site:hover {
    filter: brightness(100%) grayscale(0%) hue-rotate(360deg) saturate(100%) contrast(1);
  transition: 0.1s;
}

.sitelinks {
      padding:10px;
      padding-top: 0px;
}

.sitedecor img {
              width: 170px;
              transition: .2s;
}

.sitedecor img:hover {
  transform: scale(1.07);
  transition: .2s;
}

.socials {
    padding: 10px;
    width: 170px;
    display: flex;
    justify-content: space-between;
}

.socials img {
  width: 25px;
  height: 25px;
}

.buttons {
  height:auto;
display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-content: flex-end;
}

.buttons > img {
  padding: 2.5px;
}

*{margin:0;padding: 0;}


.graph {
    width: 150px;
    display: flex;
}
.tree ul {
    margin-left: 20px;
}

.tree li {
    list-style-type: none;
    margin:10px;
    position: relative;
}

.tree li::before {
    content: "";
    position: absolute;
    top:-7px;
    left:-20px;
    border-left: 1px solid #ccc;
    border-bottom:1px solid #ccc;
    border-radius:0 0 0 0px;
    width:20px;
    height:15px;
}

.tree li::after {
    position:absolute;
    content:"";
    top:8px;
    left:-20px;
    border-left: 1px solid #ccc;
    border-top:1px solid #ccc;
    border-radius:0px 0 0 0;
    width:20px;
    height:100%;
}

.tree li:last-child::after  {
    display:none;
}

.tree li:last-child:before{
    border-radius: 0 0 0 0px;
}

ul.tree>li:first-child::before {
    display:none;
}

ul.tree>li:first-child::after {
    border-radius:0px 0 0 0;
}

.tree li a {
    border-radius: 0px;
    padding:0px 5px;
}

.tree li a:hover, .tree li a:hover+ul li a,
.tree li a:focus, .tree li a:focus+ul li a {
    color: #000;
}

.tree li a:hover+ul li::after, .tree li a:focus+ul li::after,
.tree li a:hover+ul li::before, .tree li a:focus+ul li::before 
.tree li a:hover+ul::before, .tree li a:focus+ul::before 
.tree li a:hover+ul ul::before, .tree li a:focus+ul ul::before{
    border-color:  #000; /*connector color on hover*/
}

.zigzag-timeline__item {
position: relative;
    border-bottom: 1px solid #9ca3af;
    width: 100%;
    padding: 10px;
    padding-left: 20px;
    padding-right: 20px;
    max-width: 480px;
}

.zigzag-timeline__milestone {
    /* Absolute position */
    position: absolute;
    top: 50%;

    /* Circle it */
    border-radius: 50%;
    height: 1rem;
    width: 1rem;

    /* Misc */
    background: #9ca3af;
}

/* Styles for even items */
.zigzag-timeline__item:nth-child(2n) {
    border-left: 1px solid #9ca3af;
}
.zigzag-timeline__item:nth-child(2n) .zigzag-timeline__milestone {
    left: 0;
    transform: translate(-50%, -50%);
}

/* Styles for odd items */
.zigzag-timeline__item:nth-child(2n + 1) {
    border-right: 1px solid #9ca3af;
}
.zigzag-timeline__item:nth-child(2n + 1) .zigzag-timeline__milestone {
    right: 0;
    transform: translate(50%, -50%);
}

.thumbs {
display: flex;
    flex-wrap: wrap;
    max-width: 800px;
        justify-content: space-evenly;
  > a {
        display: flex;
        max-width: 190px;
        height: 190px;
        margin: 5px;
        overflow: hidden;
        border-radius: 5px;
        align-items: center;
    img {
      transform:scale(1);
      transition:all 0.3s;
color:lightblue;
      filter: grayscale(100%) hue-rotate(300deg) saturate(200%);
      min-height:100%;
      max-height:100%;
    }
    &:hover {
      img {
        transform:scale(1.1);
    filter: grayscale(0%) hue-rotate(360deg) saturate(100%);
  transition: 0.3s;
      }
    }
  }
}


.lightbox {
  position:fixed;
  background-color:rgba(0, 0, 0, 0.65);
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter: blur(10px);
  height:100%;
    width: calc(100% - 218px);
    margin-left: 218px;
  left:0;
  top:0;
  transform:translateY(-100%);
  opacity:0;
  &:has(div:target) {
    transform:translateY(0%);
    opacity:1;
  }
  a.nav {
    text-decoration:none;
    color:white;
    font-size:40px;
    text-shadow:0 2px 2px rgba(black,0.8);
    opacity:0.5;
    font-weight:200;
    &:hover {
      opacity:1;
    }
  }
  .target {
    user-select: none;
    position:absolute;
    height:100%;
    width:100%;
    display:flex;
    transform:scale(0);
    align-items:center;
    justify-content:space-between;
    *:first-child,*:last-child {
      text-align:center;
      @media all and (max-width:600px){
      }
    }
    .content {
      transform:scale(0.9);
      opacity:0;
      flex:1 1 auto;
      align-self: center;
      max-height:100%;
      min-height:0;
      // max-width:calc(100% - 200px);
      min-width:0;
      border-radius:5px;
      overflow:hidden;

      img {
                /* min-width: 100%; */
                min-height: 100%;
                max-width: 100%;
                max-height: calc(100vh - 40px);
                display: block;
                margin: auto;
      }
    }
    &:target {
      transform:scale(1);
      .content {
        transform:scale(1);
        opacity:1;
      }
    }
  }
  .close {
      position: absolute;
      width: calc(100% - 128px);
      height: 100%;
      z-index: 2;
       left: 64px;
  }
}

.next {
    position: relative;
    width: 64px;
    background-image: url(/img/arrowright.png);
    background-position: center;
    background-repeat: no-repeat;
    height: 100%;
}

.previous {
    position: relative;
    width: 64px;
    background-image: url(/img/arrowleft.png);
    background-position: center;
    background-repeat: no-repeat;
    height: 100%;
}

.pc {
  display: block;
}

.mobi {
  display: none;
  width: 100%;
  height: 64px;
}

.mobibuttons {
}

.mobigallery {
  position: absolute;
  display: none;
  width: 100%;
}

@media screen and (max-width: 800px) {
body {
      position: relative;
}

#box1 {
  display: none;
}

#linkboxbox {
  display: none;
}

.mobigallery {
        display: flex;
        flex-direction: column;
}



.lightbox {
      position: fixed;
    background-color: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    height: 100%;
    width: 100%;
    /* margin-left: 228px; */
    left: 0;
    margin-left: 0;
    top: 0;
    transform: translateY(-100%);
    opacity: 0;
}

.lightbox {
    & .close {
        position: absolute;
        width: 100%;
        height: calc(100% - 64px);
        z-index: 2;
        left: 0;
    }
}

.lightbox {
    .target {
        position: absolute;
        height: 100%;
        width: 100%;
        display: flex;
        transform: scale(0);
        align-items: center;
        justify-content: space-between;
        flex-direction: column;
    }
}

.lightbox {
    & .target {
        .content {
            transform: scale(0.9);
            opacity: 0;
            display: flex;
            align-self: center;
            max-height: 100%;
            min-height: 0;
            min-width: 0;
            border-radius: 5px;
            overflow: hidden;
            align-items: center;
            align-content: center;
        }
    }
}

.lightbox {
    & .target {
        & .content {
            img {
                /* min-width: 100%; */
                width: 100%;
                min-height: 0;
                max-width: 100%;
                max-height: 100%;
                display: block;
                margin: auto;
            }
        }
    }
}

.pc {
  display: none;
}

.mobi {
  display: flex;
}
}

.scroll {
  overflow-y: scroll;
  width: 100%;
}

.gallery {
  width: 100%;
  column-count: 3;
  column-gap: 1rem;
  box-sizing: border-box;
  padding: 0 1rem; /* Optional padding */
}

.gallery img {
  display: block;
  width: 100%;       /* Fill column width */
  height: auto;      /* Maintain aspect ratio */
  max-width: 100%;   /* Prevent growing too large */
  margin-bottom: 1rem;
  break-inside: avoid;
  box-sizing: border-box;
}

@media (max-width: 1024px) {
  .gallery {
    column-count: 2;
  }
}

@media (max-width: 800px) {
  .gallery {
    display: none;
  }
}
