:root {
  --orange: #fa5b21; 
}
body {
    background-color: #141414;
    font-family: Consolas, Courier, monospace;
    font-size: 15px;
    height: 100%;
    margin: 0;
    padding-left: 5px;
    text-align: left;
}
header {
    height: 28px;
    left: 0;
    background-color: #d6d2d1;
    width: 100vw;
    position: fixed;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.5);
    display: flex;
    margin: 0 auto;
    z-index: 1000;
}
div.margin {
    background-color: #141414;
    flex: 1 1 auto;
    height: 28px;
    border-bottom: none;
}
.paragraph {
    text-indent: 2em;
}
footer div.margin {
    height: 60px;
}
div.margin.left {
    width: 5px;
    margin-left: 0px;
}
div.margin.left.bottom {
    margin-left: -10px;
    width: 0;
}
header nav {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 865px;
    border-bottom: 2px solid rgb(255, 255, 255);
}
header nav ul {
    display: flex;
    list-style: none;
    text-decoration: none;
}
header a {
    text-decoration: none;
    margin: 0 auto;
}
header h1 {
    font-size: 12px;
    font-weight: lighter;
    color: #000;
    font-family: "JetBrains Mono", monospace;
}
div.op1, div.op2, div.op3, div.op4, div.op5 {
    text-align: center;
    width: 50px;
    height: 26px;
    margin-top: 1px;
    border: 1px solid #48484898;
    box-shadow:  inset 0 0px 1px 1px rgba(47, 47, 47, 0.5);

}
div.op1:hover, div.op2:hover {
    box-shadow: inset 1px 1px 1px 1px rgba(47, 47, 47, 0.5);
    cursor: pointer;
}
div.op1:hover h1, div.op2:hover h1, div.op3:hover h1, div.op4:hover h1, div.op5:hover h1 {
    padding-left: 2px;
}
div.op1 {
    margin-left: 40px;
    background-color: rgb(209, 208, 208);
}
div.op2 {
    margin-left: 65px;
    background-color: var(--orange);
}
div.op3, div.op4 {
    background-color: #303030;
    width: 80px;
}
header nav ul div li a h1.invert {
    color: #e7e3e0 !important;
}
div.op3 {
    margin-left: 30px;
}
div.op3:hover, div.op4:hover {
    box-shadow: inset 1px 1px 1px 1px rgba(0, 0, 0, 0.5);
    cursor: pointer;
}
div.op5 {
    margin-left: 150px;
    background-color: #737471;
    width: 60px;
}
div.op5:hover {
    box-shadow: inset 1px 1px 1px 1px rgba(35, 35, 35, 0.5);
    cursor: pointer;
}
div.op6 {
    margin-left: 60px;
    padding-right: 25px;
}
/* ACTIVE NAVIGATION STATE */
div.op1.active,
div.op2.active {
    box-shadow: inset 1px 1px 1px 1px rgba(47, 47, 47, 0.5);
}
div.op3.active,
div.op4.active {
    box-shadow: inset 1px 1px 1px 1px rgba(0, 0, 0, 0.5);
}
div.op5.active {
    box-shadow: inset 1px 1px 1px 1px rgba(35, 35, 35, 0.5);
}
div.op1.active h1,
div.op2.active h1,
div.op3.active h1,
div.op4.active h1,
div.op5.active h1 {
    padding-left: 2px;
}

/* FOOTER */
footer {
    height: 60px;
    left: 0;
    background-color: #d6d2d1;
    width: 100vw;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.5);
    display: flex;
    margin: 0 auto;
      margin-left: 2.5px;
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 865px;
    border-top: 2px solid rgb(255, 255, 255);
}
.footer-content.bottom {
    width: 865px;
}
.footer-content p {
    font-size: 12px;
    font-weight: lighter;
    color: #000;
    font-family: "JetBrains Mono", monospace;
    margin: 0;
    text-align: center;
}
/* FOOTER ICONS */ 
.social-icons {
  display: flex;
  justify-content: center;
  gap: 20px;
  padding-bottom: 5px;
  padding-top: 5px;
}
.icon {
  display: inline-flex;
  width: 40px;
  height: 40px;
  text-decoration: none;
  font-size: 18px;
  outline: 2px solid var(--orange);
  border-radius: 50%;
  transition-property: outline-offset, outline-color, background-color;
  transition-duration: 0.25s;
  color: rgb(255, 255, 255);
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.icon:hover {
  outline-offset: 3px;
}
.icon img {
  width: 30px;
  height: 30px;
  transition: opacity 0.3s ease;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.icon .default-icon {
  opacity: 1;
}
.icon .hover-icon {
  opacity: 0;
  filter: invert(1);
}
.icon:hover .default-icon {
  opacity: 0;
}
.icon:hover .hover-icon {
  opacity: 1;
}
.icon-instagram:hover {
  background-color: red;
  outline-color: red;
}
.icon-discord:hover {
  background-color: rgb(255, 0, 144);
  outline-color: rgb(255, 0, 102);
}
.icon-github:hover {
  background-color: #555555;
  outline-color: #555555;
}
.icon-linkedin:hover {
  background-color: #0a66c2;
  outline-color: #0a66c2;
}
.icon:hover img {
  animation: shake 0.25s;
}
@keyframes shake {
  10% {
    transform: translate(-50%, -50%) rotate(15deg);
  }
  20% {
    transform: translate(-50%, -50%) rotate(-15deg);
  }
  0%, 30%, 100% {
    transform: translate(-50%, -50%) rotate(0deg);
  }
}

/* MAIN CONTENT */
main {
    display: flex;
    justify-content: center;
    width: 865px;
    min-height: 100vh;
    border-left: 2px solid black;
    border-right: 2px solid black;
    margin: 0 auto;
    background-color: #e1ddd9;
}

.pge-container {
    display: flex;
    flex-direction: column;
    width: 100%;
}
.top-contain { 
    display: flex;
    width: 100%;
    height: 250px;
    background-color: #e1ddd9;
}
.top-right {
    background-color: #3a3738;
    flex: 0 1 30%;
    width: 100%;
    border-left: 1px solid black;
    box-shadow:  inset 0 0px 10px 5px rgba(101, 101, 101, 0.5);
    height: 132%;
}
.yoda {
    width: 257px;
    margin-top: -11px;
    margin-left: 1px;
}
.top-left {
    margin-left: 0;
    background-color:#e0dcd9 ;
    flex: 0 1 70%;
    height: 100%;
}
.name {
    font-family: "JetBrains Mono", monospace;
    font-weight: lighter;
    padding-left: 20px;
}
.name.over {
    font-size: 30px;
    color: #000;
    padding-top: 20px;
}
.name.under {
    font-size: 50px;
    color: var(--orange);
    margin-top: -31px;
}
.name.descript {
    font-size: 22px;
    color: #000;
    margin-top: 165px;
    padding-left: 30px;
    width: 100%;
}
.name.descript1 {
    display: none;
}
.middle-contain {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 280px;
    background-color: #212121;
    color: white;
    box-shadow:  0 10px 10px 5px rgba(37, 37, 37, 0.5);
    margin-top: 80px;

}
.bottom-contain {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    width: 100%;
    min-height: 400px;
    flex: 1;
    background-color: #bebab9;
    padding: 20px;
    box-sizing: border-box;
}

/* BANNER */ 
.container {
  width: 100%;
  --u: 20px; /* change block size */
  --hue: hue-rotate(0deg); /* change color hue*/
  --c1: #92472f;
  --c2: #d2562f;
  --c3: #ffbc58;
  --cs: #6b2e1b;
  --gp: 50% / calc(var(--u) * 12) calc(var(--u) * 12.8);
  height: 100%;
  filter: var(--hue);
  background:
    repeating-conic-gradient(
        from 61.93deg at 75% 36.5%,
        var(--c1) 0%,
        var(--c1) 2%,
        var(--cs) 16%,
        #fff0 0% 100%
      )
      var(--gp),
    repeating-conic-gradient(
        from 118.07deg at 75% 87.5%,
        var(--c3) 0% 34.5%,
        #fff0 0% 100%
      )
      var(--gp),
    repeating-conic-gradient(
        from 118.07deg at 50% 75%,
        #fff0 2%,
        var(--cs) 17.15%,
        #fff0 0% 100%
      )
      var(--gp),
    repeating-conic-gradient(
        from 61.93deg at 50% 50%,
        var(--c3) 0% 15.59%,
        var(--c2) 0% 32.79%,
        #fff0 0% 100%
      )
      var(--gp),
    repeating-conic-gradient(
        from -118.07deg at 25% 12.5%,
        var(--c2) 0% 32.79%,
        var(--c1) 0% 50%,
        #fff0 0% 100%
      )
      var(--gp),
    repeating-conic-gradient(
        from -61.93deg at 25% 87.5%,
        #fff0 0 67.25%,
        var(--c2) 0% 100%
      )
      var(--gp),
    repeating-conic-gradient(
        from -61.93deg at 50% 75%,
        #fff0 0% 66.5%,
        var(--c1) 0% 84.25%,
        var(--c3) 0% 100%
      )
      var(--gp),
    repeating-conic-gradient(
        from -61.93deg at 25% 37.5%,
        var(--c3) 0% 34.5%,
        var(--c1) 0% 67.25%,
        var(--c2) 0% 100%
      )
      var(--gp);
}

/* SQUARE BUTTONS */
.square-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    padding: 20px 0;
}
.square-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
    background-color: #333;
    border: 2px solid var(--orange);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}
.square-btn span {
    color: white;
    font-family: "JetBrains Mono", monospace;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 1px;
    z-index: 2;
    position: relative;
    text-align: center;
    line-height: 1.2;
    padding: 5px;
}
.square-btn:hover {
    background-color: var(--orange);
    border-color: #333;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}
.square-btn:hover span {
    color: #333;
}

/* IMAGE GALLERY */
.image-gallery {
    width: 100%;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0px;
}
.image-row {
    display: flex;
    gap: 0px;
    width: 100%;
}
.image-row img {
    height: 150px;
    object-fit: cover;
    border: 1px solid #333;
    flex: 1;
    min-width: 0;
}
/* SQUARE IMGS */
.image-row.square-row img {
    height: 150px;
    width: 150px;
    object-fit: cover;
    border: 1px solid #333;
    flex: none;
    margin: 2px;
}
.image-row.square-row {
    justify-content: center;
}
/* VGG IMGS */
.image-row.vgg img {
    height: 372px;
    object-fit: cover;
}
.image-row.vgg {
    justify-content: center;
}
/* lamp IMGS */
.image-row.lamp img {
    height: 221px;
    object-fit: cover;
}
.image-row.lamp {
    justify-content: center;
}
/*  creature IMGS */
.image-row.c img {
    display: flex;
    gap: 0px;
    height: 321px;
}
.image-row.c1 img {
    display: flex;
    gap: 0px;
    height: 233px;
}
.image-row.c2 img {
    display: flex;
    gap: 0px;
    height: 350px;
}
/*  tetsuo IMGS */
.image-row.tet img {
    display: flex;
    gap: 0px;
    height: 321px;
}
.image-row.tet {
    justify-content: center;
}
/*  haus IMGS */
.image-row.haus img {
    display: flex;
    gap: 0px;
    height: 205px;
}
/*  3d IMGS */
.image-row.threed img {
    display: flex;
    gap: 0px;
    height: 335px;
}
/*  draw IMGS */
.image-row.draw img {
    display: flex;
    gap: 0px;
    height: 218px;
}
/*  duck IMGS */
.image-row.duck img {
    display: flex;
    gap: 0px;
    height: 218px;
}
/*  sq2 IMGS */
.image-row.sq2 img {
    display: flex;
    gap: 0px;
    height: 200px;
}
/* TRINKET IMG GALLERY */
.trinkets-gallery .image-row img {
    height: 200px;
    width: 200px;
    object-fit: cover;
    border: 1px solid #333;
    flex: none;
    margin: 2px;
}
.trinkets-gallery .image-row {
    display: flex;
    gap: 5px;
    width: 100%;
    justify-content: center;
    margin-bottom: 5px;
}
/*  BIT IMGS */
.image-row.bit img {
    display: flex;
    gap: 0px;
    height: 283px;
}
/* MEDIUMS IMG GALLERY */
.mediums-gallery .image-row {
    display: flex;
    gap: 0px;
    width: 100%;
    margin-bottom: 0px;
}
.medium-item {
    position: relative;
    flex: 1;
    height: 200px;
    overflow: hidden;
    border: 1px solid #0f0f0f;
    cursor: pointer;
    transition: transform 0.3s ease;
}
.medium-item:hover {
    transform: scale(1.02);
}
.medium-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: filter 0.3s ease, transform 0.3s ease;
}
.medium-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: filter 0.3s ease, transform 0.3s ease;
}
.medium-item:hover img,
.medium-item:hover video {
    filter: brightness(0.4) blur(1px);
    transform: scale(1.1);
}
.overlay-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-family: "JetBrains Mono", monospace;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}
.medium-item:hover .overlay-text {
    opacity: 1;
}
/* SUBSECTION GALLERY HOVER*/
.subsection-gallery .subsection-item {
    position: relative;
    flex: 1;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
    margin-top: -5px;
}
.subsection-gallery .subsection-item:hover {
    transform: scale(1.02);
}
.subsection-gallery .subsection-item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border: 1px solid #333;
    transition: filter 0.3s ease, transform 0.3s ease;
}
.subsection-gallery .subsection-item:hover img {
    filter: brightness(0.4) blur(1px);
    transform: scale(1.05);
}
.subsection-gallery .subsection-item[data-project] {
    position: relative;
    flex: 1;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
    margin-top: -5px;
}
.subsection-gallery .subsection-item[data-project]:hover {
    transform: scale(1.02);
}
.subsection-gallery .subsection-item[data-project] img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border: 1px solid #333;
    transition: filter 0.3s ease, transform 0.3s ease;
}
.subsection-gallery .subsection-item[data-project]:hover img {
    filter: brightness(0.4) blur(1px);
    transform: scale(1.05);
}
.subsection-overlay-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-family: "JetBrains Mono", monospace;
    font-size: 12px;
    font-weight: bold;
    text-align: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    padding: 5px;
    max-width: 90%;
}
.subsection-gallery .subsection-item:hover .subsection-overlay-text {
    opacity: 1;
}
/* GAME DEVELOPMENT - VERTICAL LAYOUT */
.game-dev-vertical .full-width-row {
    display: flex;
    width: 100%;
    margin-bottom: 0px;
}
.game-dev-vertical .full-width-item {
    width: 100%;
    height: 180px;
}
.game-dev-vertical .full-width-item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border: 1px solid #333;
    transition: filter 0.3s ease, transform 0.3s ease;
}
.game-dev-vertical .full-width-item:hover img {
    filter: brightness(0.4) blur(1px);
    transform: scale(1.02);
}
/* 3D - VERTICAL LAYOUT */
.image-gallery.subsection-gallery.threed-horiz img {
    width: 100%;
    height: 200px;
}

/* TEXT CONTENT */
.text-content {
    width: 100%;
    max-width: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 20px;
    margin-left: -20px;
    flex-direction: column; /* Ensure vertical stacking */
}
.text-box {
    background-color: #f5f1ee;
    border: 2px solid #333;
    border-radius: 8px;
    padding: 30px;
    max-width: 600px;
    width: 100%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    align-self: center; /* Center the text box */
}
.text-box h2 {
    color: var(--orange);
    font-family: "JetBrains Mono", monospace;
    font-size: 24px;
    margin-bottom: 15px;
    border-bottom: 2px solid var(--orange);
    padding-bottom: 8px;
}
.text-box h3 {
    color: #333;
    font-family: "JetBrains Mono", monospace;
    font-size: 18px;
    margin-top: 20px;
    margin-bottom: 20px;
}
.text-box p {
    color: #333;
    font-family: "JetBrains Mono", monospace;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
}
.text-box p a {
    color: var(--orange);
    text-decoration: none;
}
.text-box ul {
    color: #333;
    font-family: "JetBrains Mono", monospace;
    font-size: 14px;
    line-height: 1.6;
    margin-left: 20px;
}
.text-box li {
    margin-bottom: 5px;
}

/* CONTACT FORM*/
.contact-info {
    margin: 20px 0;
    padding: 15px;
    background-color: #e8e4e1;
    border-radius: 5px;
}
.contact-form {
    margin-top: 25px;
}
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #333;
    border-radius: 4px;
    font-family: "JetBrains Mono", monospace;
    font-size: 14px;
    background-color: #fff;
    box-sizing: border-box;
}
.contact-form button {
    background-color: var(--orange);
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 4px;
    font-family: "JetBrains Mono", monospace;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
.contact-form button:hover {
    background-color: #e04a1a;
}

/* BACK BUTTON */
.back-btn {
    background-color: #333;
    color: white;
    padding: 12px 25px;
    border: 2px solid var(--orange);
    border-radius: 4px;
    font-family: "JetBrains Mono", monospace;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 20px;
    text-decoration: none;
    display: inline-block;
    margin-right: 10px;
}
.back-btn:hover {
    background-color: var(--orange);
    border-color: #333;
    color: #333;
}
.project-links {
    display: flex;
    gap: 15px;
    margin-top: 25px;
    flex-wrap: wrap;
}
#content-container{
    transition: opacity 0.3s ease;
    width: 100%;
    height: 100%;
}

/* LIGHTBOX */
.lightbox-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 10000;
    justify-content: center;
    align-items: center;
}
.lightbox-container {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.lightbox-image {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border: 2px solid var(--orange);
}
.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: white;
    font-size: 40px;
    cursor: pointer;
    z-index: 10001;
    font-family: "JetBrains Mono", monospace;
}
.lightbox-close:hover {
    color: var(--orange);
}
.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.7);
    border: 2px solid var(--orange);
    color: white;
    font-size: 30px;
    cursor: pointer;
    padding: 10px 15px;
    font-family: "JetBrains Mono", monospace;
    transition: all 0.3s ease;
}
.lightbox-prev {
    left: -60px;
}
.lightbox-next {
    right: -60px;
}
.lightbox-prev:hover,
.lightbox-next:hover {
    background-color: var(--orange);
    color: #333;
}
.lightbox-caption {
    color: white;
    font-family: "JetBrains Mono", monospace;
    font-size: 16px;
    margin-top: 15px;
    text-align: center;
}
.lightbox-counter {
    color: var(--orange);
    font-family: "JetBrains Mono", monospace;
    font-size: 14px;
    margin-top: 5px;
}
@media (max-width: 768px) {
    .lightbox-prev {
        left: 10px;
    }
    
    .lightbox-next {
        right: 10px;
    }
    
    .lightbox-close {
        top: 10px;
        right: 10px;
        font-size: 30px;
    }
}
.lightbox-gallery1 {
    gap: 0;
}
.lightbox-gallery1 .image-row {
    gap: 0;
    margin: 0;
}
.lightbox-gallery1 .image-row img {
    margin: 0;
    padding: 0;
    display: block;
}
.lightbox-gallery1 .image-row.square-row img {
    width: 148px;
}
h4.title4gallery {
    font-family: "JetBrains Mono", monospace;
    font-size: 16px;
    color: var(--orange);
    /* margin-bottom: 10px; */
    text-decoration: none;
    margin-bottom: 5px;
}
h5.title4gallery {
    font-family: "JetBrains Mono", monospace;
    font-size: 14.5px;
    color: #333;
    text-decoration: none;
    margin-bottom:5px;
}
h5.title4gallery {
    font-family: "JetBrains Mono", monospace;
    font-size: 14px;
    color: #333;
    text-decoration: none;
    margin-bottom:5px;
}
h5:nth-of-type(1).title4gallery {
    margin-top: -2.5px;
}
.image-gallery a {
    text-decoration: none;
}

/* HOME GALLERY HOVER */
#home-content .image-row img {
    transition: transform 0.3s ease, filter 0.3s ease;
    cursor: pointer;
}
#home-content .image-row img:hover {
    transform: scale(1.05);
    filter: brightness(1.1) contrast(1.1);
    z-index: 10;
    position: relative;
}

/* PORFOLIO - FOLDERS */
.file-folders {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.file-folder {
    position: relative;
    border-radius: 0 8px 8px 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.folder-tab {
    background-color: #d4d0cd;
    border: 2px solid #333;
    border-bottom: none;
    border-radius: 8px 8px 0 0;
    padding: 12px 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    width: 60%;
    margin-bottom: -2px;
    transition: all 0.3s ease;
}
.folder-tab:hover {
    background-color: #c8c4c1;
    transform: translateY(-2px);
}
.folder-tab h3 {
    margin: 0;
    font-family: "JetBrains Mono", monospace;
    font-size: 16px;
    color: #333;
    font-weight: bold;
}
.folder-icon {
    font-family: "JetBrains Mono", monospace;
    font-size: 20px;
    font-weight: bold;
    color: var(--orange);
    transition: transform 0.3s ease;
}
.folder-content {
    background-color: #f5f1ee;
    border: 2px solid #333;
    border-radius: 0 8px 8px 8px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 20px;
}
.folder-content.active {
    max-height: 600px; 
    padding: 20px;
}
.folder-inner h4 {
    color: var(--orange);
    font-family: "JetBrains Mono", monospace;
    font-size: 14px;
    margin: 15px 0 8px 0;
    border-bottom: 1px solid var(--orange);
    padding-bottom: 4px;
}
.folder-inner h4:first-child {
    margin-top: 0;
}
.folder-inner ul {
    margin: 0 0 15px 0;
    padding-left: 20px;
}
.folder-inner li {
    font-family: "JetBrains Mono", monospace;
    font-size: 12px;
    color: #333;
    margin-bottom: 8px;
    line-height: 1.4;
}
.folder-inner a {
    color: var(--orange);
    text-decoration: none;
    transition: color 0.3s ease;
}
.folder-inner a:hover {
    color: #333;
    text-decoration: underline;
}
@media (max-width: 768px) {
    .folder-tab {
        width: 80%;
    }
    
    .folder-tab h3 {
        font-size: 14px;
    }
    
    .folder-inner li {
        font-size: 11px;
    }
}

/* MEDIA QUERIES */
@media (max-width: 768px) {
    .image-row {
        flex-direction: column;
    }
    .image-row img {
        width: 100%;
        height: 120px;
    }
    .mediums-gallery .image-row {
        flex-direction: column;
        gap: 0px;
    }
    .medium-item {
        height: 150px;
    }
    .overlay-text {
        font-size: 14px;
    }
}
/* PHONE */
@media (max-width: 480px) {
    main {
        width: 100vw;
        margin-left: -7px;
        border-left: none;
        border-right: none;
    }
    header nav {
        width: 100vw;
    }
    header a {
        margin: 0 auto;
    }
    header h1 {
        font-size: 10px;
    }
    .footer-content {
        display: flex;
        align-items: center;
        justify-content: center;
        height: 100%;
        width: 100vw;
    }
    div.margin.left {
        margin-left: -9px;
    }
    div.op1 {
        margin-left: -25px;
    }
    div.op2 {
        margin-left: 5px;
    }
    div.op3 {
    margin-left: 5px;
    }
    div.op5 {
        margin-left: 5px;
    }
    div.op6 {
        margin-left: 10px;
        padding-left: 0px;
    }
    div.op1, div.op2, div.op3, div.op4, div.op5 {
        width: 60px;
        height: 22px; 
    }
    div.op1.homeh1
    {
        width: 40px;
    }
    div.op2.abouth1
    {
        width: 45px;
    }
    .pge-container {
        width: 100vw;
        overflow-x: hidden;
    }
    .top-contain {
        width: 100px;
        height: 200px;
    }
    .top-right {
        margin-right: 12px;
        flex: none;
        width: 100%;
        margin-left: 160px;
    }
    .yoda {
        width: 170px;
        margin-top: 10px;
    }
    .top-left {
        flex: none;
        width: 100%;
        margin-left: -15px;
    }
    .name.over {
        font-size: 20px;
        padding-left: 40px;
    }
    .name.under {
        font-size: 35px;
        margin-top: -22px;
        padding-left: 40px;

    }
    .middle-contain {
        margin-top: -12px;
    }
    .name.descript
    {
        display: none;
    }
    .name.descript1 {
        font-size: 16px;
        margin-top: 55px;
        padding-left: 40px;
        width: 100%;
        display: flex;
    }
    .bottom-contain {
        padding: 10px;
    }
    .image-row {
        gap: 1px;
    }
    .image-row img {
        height: 100px;
    }
        .image-row img,
        .image-row.square-row img,
        .lightbox-gallery1 .image-row.square-row img {
            width: 100% !important;
            height: auto !important;
            min-width: 0 !important;
            max-width: 100vw !important;
        }
    .text-content {
        padding: 10px;
    }
    .text-box {
        padding: 20px;
        margin: 0;
        max-width: 341px;
        margin-left: 20.5px;
    }
    .text-box h2 {
        font-size: 20px;
    }
    .text-box h3 {
        font-size: 16px;
    }
    .text-box p,
    .text-box ul,
    .contact-form input,
    .contact-form textarea {
        font-size: 12px;
    }
    footer {
        margin-left: -3.5px;
    }
    .lightbox-gallery1 .image-row.square-row img {
    width: 100%;
    height: 100%;
    }
}
