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: visible;

}

.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: visible;
    margin-top: 70px;

}
.banner{
    /*FIX BANNER: DOESN"T SPLIT WHEN WIDTH SHRINKS, BRING TO BACKKKKKKKKKKKKKK*/
    /* border-right: 1px solid black;*/
    background-color: white;
    width: 100vw;
    height: 90px;
    position: fixed;
    top: 0;                /* Align to top */
    left: 0; 
    z-index: 11; 
    left: min(300px, 20vw);
    font-size: min(75px, 15vw);
    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;
    }
    .homeImageContainer{
        display: none;
    }
    .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%;
    height: 100%;
    transition: transform .3s ease;
}
.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;

}
.homeImageContainer{
    grid-column: 2;
    grid-row: 1;
    padding-top: 50px;
    text-align: left;
}
.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;
    grid-row: 1/ span 2;
}
.rightBlank {
    position: relative; 
    grid-column: 3;
    grid-row: 1 / span 2;
    background: none; 
}

.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;
}
