
@font-face {
    font-family: erasLight;
    src: url(../fonts/ITC\ Eras\ Light\ Regular.otf) format("truetype");
}
@font-face {
    font-family: erasMedium;
    src: url(../fonts/eras-itc-medium.ttf) format("truetype");
}

main {
    background: #eaf1e8;
    color: black;
    display: grid;
    grid-template-columns: 20% 1fr;
    row-gap: 20px;
    column-gap: 20px;    
    margin-top: 19vh;
    width: 100%;
    position: relative;
}

.sidenav {
    width: 100%;
}

#gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Responsive grid */
    grid-auto-flow: dense;
    grid-auto-rows: 250px;
    gap: 15px;
    padding: 20px;
}

#projectImages {
    display: contents; /* Ensures list items follow grid layout */
}

#projectImages li {
    list-style-type: none;
}

#projectImages img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Ensures images fit without cropping */
    border-radius: 10px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

li:nth-child(1) {
    grid-column: span 2;
    grid-row: span 2;
}

li {
    list-style-type: none;
    padding-bottom: 1em;
    padding-top: 1em;
    display: list-item;
}

.sidenav a:hover {
    color: #f7984c;
    border: none;
  }

#FA a {
    color: #f7984c;
}

#ST a {
    color: #f7984c;
}