a {
    color: rgb(16, 110, 24); 
    text-decoration: none; 
}

a:hover {
    color: rgb(190, 0, 0);  /*CHANGE THIS SHIT*/
}

a:visited {
    color: rgb(16, 110, 24); /*make greenNnNNNNNNNNNNNNNNNNNNNNNNNN*/
}
::selection {
    background-color: rgb(24, 133, 33); 
    color: rgb(202, 202, 202); 
}
a:active {
    color: rgb(195, 0, 0); /* Color when clicking */
}
@font-face {
    font-family: "myFont";
    src: url("fonts/ShipporiMincho-Regular.woff2") format("woff2");
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: "myFont";
    src: url("fonts/ShipporiMincho-Bold.woff2") format("woff2");
    font-weight: bold;
    font-style: normal;
}
@font-face {
    font-family: 'korean';
    src: url('fonts/GowunBatang-Regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'korean';
    src: url('fonts/GowunBatang-Bold.woff2') format('woff2');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}


::-webkit-scrollbar-thumb:hover {
    background: transparent;
    opacity: 0;
}
::-webkit-scrollbar-track:hover {
    background: transparent;
    opacity: 0;
}
::-webkit-scrollbar-track-piece{
    background: transparent;
    opacity: 0;
}
ul {
    margin: 0;
    padding: 0;
    list-style: none; /* optional: removes bullet points */
}
/**********************************************/
body{
    transform-origin: top center;
    background-position: center;
    background-size: cover;
    background-color: rgb(255, 255, 255);
    margin: 0; 
    padding: 0;
    font-family: "myFont", "korean", sans-serif; 
    width: 100vw;
    overflow-x: hidden; /* Prevent horizontal scrolling */
    overflow-y: auto;

}

.main {
    z-index: 9;
    min-height: 70vh; /* Allow the whole page to expand */
    width: 100vw;
    display: grid;
    grid-template-rows: auto 1fr; /* Let rows expand dynamically */
    grid-template-columns: 1fr 6fr 0fr;
    backdrop-filter: blur(2px);
    color: black;
    position: relative;
    overflow-x: hidden;
    overflow-y: hidden;
    margin-top: 0px;

}
.banner{
    /*FIX BANNER: DOESN"T SPLIT WHEN WIDTH SHRINKS, BRING TO BACKKKKKKKKKKKKKK*/
    /* border-right: 1px solid black;*/
    background-color: white;
    width: 100vw;
    height: min(65px, 15vw);
    position: fixed;
    top: 0;                /* Align to top */
    left: 0; 
    z-index: 11; 
    left: min(300px, 20vw);
    font-size: min(35px, 9.25vw);
    box-shadow: -300px 0 0 0 white; /* Creates a white "extension" to the left */
}
.banner a {
    text-decoration: none;  /* Remove underline */
    color: inherit;         /* Use the same text color */
}
.navbar{
    text-align: left;
    padding-left: 10px;
}
.hamburger {
    display: none;
    font-size: 30px;
    position: fixed;
    top: 10px;
    left: 10px;
    z-index: 20;
    cursor: pointer;
    background-color: white;
    padding: 5px;
    border-radius: 4px;
  }
  
  /* Media query for small screens */
  @media (max-width: 600px) {
    .navbar-container{/*FIX::::: .navbar works?---FIGURE THIS OUT - try to delete navbarcontainer*/
        display: none;
        transform: translateX(-150%);
    }
    .hamburger {
      display: block; /* Show hamburger */
    }
    .main {
        grid-template-columns: 0fr 1fr 0fr;
    }
    .mainContent {
        grid-template-columns: 1fr; /* Make it a single column */
      }
    
      .updateLog,
      .homeText {
        grid-column: 1 / -1 !important; /* Span all columns (i.e. the only column) */
      }
}
    @media (min-width: 601px) {
        .navbar-container {
            display: flex !important; /* Override any hidden state */
            transform: translateX(0) !important; /* Reset any transform */
        }
}
body.nav-open .navbar-container{
    transform: translateX(0);
}
body.nav-open .mainContent {
    transform: translateX(200px);
    transition: transform 0.3s ease;
}

.navbar-container {
    pointer-events: none;
    position: fixed;  /* Fix it to the viewport */
    top: 0;           /* Align to the top */
    left: 0;          /* Align to the left */
    font-size: 15px;
    line-height: 2.5;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    height: 100vh;    /* Full height of the viewport */
    width: 50px;     /* Adjust width as necessary */
    z-index: 10;      /* Ensure it stays on top of other elements */
    transition: transform 0.3s ease;
}
.navbar-container a {
    pointer-events: auto;
}
.navbar a {
    color: black;
}

.navbar a.active {
    color: red;
}

.navbar-container::before{
    /*DO I EVEN NEED THIS WHOLE THING?--for images i guess*/
    content: "";
    position: absolute;
    top: 150px;  
    left: 10px; 
    width: 350px;  
    height: 350px; 
    /*background-image: url('media/3544422bc032b2cb5d3aa3a8b4e26f26.jpg'); */
    background-size: contain;
    transform: scale(1);
    background-repeat: no-repeat;
    background-position: center;
    z-index: -1; 
}
.mainContent{
    /*border: 1px solid black;
    background-color: rgba(143, 143, 143, 0.05);*/
    border-color: black;
    grid-column:2;
    grid-row:2;
    backdrop-filter: blur(5px);
    overflow: visible;
    margin-bottom:20px;
    display: grid;
    grid-template-rows: 50% 40%;/*MAYBE FIX*/
    grid-template-columns: 50% 50%;
    transition: transform .3s ease;
    display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.mainImage img {
    max-width: 100vw; /*PLAY AROUND WITH THIS*/
    height: auto;
  }
.updateLog{
    grid-column: 1;
    grid-row: 2;
    overflow: auto;
    height: max(50% 100px);
}
.mainText{
    margin-top:50px;
    /*margin-bottom:50px;*/
    margin-left:50px;
    padding-right: 50px;
    overflow: visible;
    height: 90%;
    grid-column:1 / span 2;
    grid-row: 1/ span 2;
    max-width: 900px;
}
.mainText img {
    display: block;
    margin: 0 auto;
}

.mainText2{
    margin-top:50px;
    /*margin-bottom:50px;*/
    margin-left:50px;
    padding-right: 50px;
    overflow: visible;
    height: 90%;
    grid-column:1 / span 2;
    grid-row: 1/ span 2;
    max-width: 900px;

}
.homePhoto{
    height: auto;
    width: 70%;

}
.homeText{
    margin-top:50px;
   /* margin-bottom:50px;*/
    margin-left:50px;
    padding-right: 50px;
    overflow: auto;
    height: 90%;
    grid-column:1/ span 2;
    grid-row: 1/ span 2;
}

.rightBlank::before {
    content: "";
    position: absolute;
    top: 200px;  /* Moves it outside the grid */
    left: 100; 
    width: 350px;  /* Adjust the size */
    height: 350px; 
   /* background-image: url('media/cds1.jpg'); */
    background-size: contain;
    transform: scale(1.5);
    background-repeat: no-repeat;
    background-position: center;
    z-index: -1;
    mix-blend-mode: darken;
}

.grid-container {
    display: grid;
    gap: 10px; /* Spacing between items */
    margin: auto;
    margin-top: -10px; 
    grid-template-columns: repeat(auto-fill, minmax(175px, 1fr));
}
.grid-item {
    text-align: center;
    font-size: 16px;

}
.grid-item img:hover {
    cursor: pointer; /* Changes cursor to a hand */
    opacity: 0.7;
}

.EntryTitle{
    font-weight: bold;
}
.mainEntry{
    border-bottom: 1px solid black;
    margin-bottom: 10px;
    padding-bottom: 10px;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
    padding: 2rem;
    width: 100%; /* Ensure grid takes full width */
    margin: 0 auto; /* Center the grid */
  }
  .project-card {
    width: 100%; /* Ensure cards take full grid cell width */
    background-color: rgba(1,1,1,0.1);
    padding-bottom: 10px;
  }
  .project-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
  }
.project-image {
    width: 100%;
    height: 150px;
    object-fit: cover;
  }
  .project-title {
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 5%;
    padding: 0;
  }
  
  .project-description {
    color: black;
    font-size: 0.9rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
    width: 100%;
    margin: 0;
  }
  .techs{
    color: #666;
    font-size: 0.9rem;
    margin: 0;
    margin-bottom: 5%;
    padding: 5px;
  }
  .project-card:hover {
    filter: brightness(85%);
    background-color: rgba(1,1,1,0.2);

  }

  .projectPage{
    text-align: left;
    justify-content: start;
    padding-left: 10px;
    height: 100%;
    align-items: center;
  }
  .pageImage{
    width: min(100%,500px);
  }
  .projectContent {
    /* Ensure this is on the parent container */

    gap: 20px; /* Space between images */
    justify-content: center; /* Center the pair horizontally */
  }
  
  .pageImage {
    max-width: 400px; /* Each image takes nearly half width */
    height: auto;
    object-fit: contain; /* Preserve aspect ratio */
  }

  .projectContent {
    padding-bottom: 40px; /* Space at bottom */
  }

.image-pair {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px; /* Space between images */
    margin: 20px 0;
  }
  .image-four {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px; /* Space between images */
    margin: 20px 0;
  }
  .project-video{
    justify-content: center;
    text-align: center;
    align-items: center;
    align-content: center;
    width:80%;
  }
  .title {
    text-align: center;        /* Optional: needed to center vertically within a parent */
  }
  