@font-face {
    font-family: "Noto Sans";
    font-style: normal;
    font-weight: 300 400;
    font-display: swap;
    src: url("fonts/notosans-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: "Noto Sans";
    font-style: normal;
    font-weight: 300 400;
    font-display: swap;
    src: url("fonts/notosans-latin-ext.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-color: #000;
    font-family: "Noto Sans", "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
    font-weight: 400;
    text-decoration: none;
    text-rendering: optimizeLegibility;
    color: #d9d9d9;
}

body {
    min-height: 100vh;
}

#grid-container {
    display: grid;
    grid-template-columns: 250px 1fr;
    grid-template-rows: auto 1fr;
    min-height: 100vh;
}

#header {
    grid-column: 1 / -1;
    padding: 20px;
}

#sidebar {
    grid-row: 2;
    padding: 20px;
}

#content {
    grid-row: 2;
    padding: 20px 20px 20px 0;
}

#sidebar-menu {
    list-style-type: none;
    margin-left: 10px;
}

#sidebar-menu li {
    margin-bottom: 3px;
}



#sidebar-menu a {
    margin-left: 0;
}

a {
    color: #d9d9d9;
    
}

#linkedin-link, #github-link, #cv, #epsylla{
    margin-left: 10px;
}

div {
    font-size: 15px;
}

#cv, #blog, #posts, #rps, #weather, #tictactoe, #website, #epsylla {
    text-decoration: underline;
}

::-moz-selection {
    color: black;
    background: white;
}

::selection {
    color: black;
    background: white;
}

.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger div {
    width: 25px;
    height: 3px;
    background-color: #d9d9d9;
    margin: 5px 0;
}

.slideshow-container {
    max-width: 800px;
    width: 100%;
    aspect-ratio: 16 / 9;
    position: relative;
    margin: 0;
    overflow: hidden;
    background-color: #000;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.caption {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 5px 10px;
    font-size: 12px;
    font-style: italic;
    border-radius: 3px;
    max-width: 70%;
    text-align: right;
}

.blog-link{
    text-decoration: underline;
}

.blog-title{
    font-weight: bold;
    
}

p {
    margin-top: 1em; /* Adds space between paragraphs */
  }


#project-list{
    padding-left: 20px;
}

#blogpost-list{
    padding-left: 20px;
}

#platform-container{
    margin-bottom: 1em;
}

@media (max-width: 800px) {
    #grid-container {
        grid-template-columns: 1fr;
    }

    #header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 20px;
    }

    #sidebar {
        position: fixed;
        top: 60px;
        left: -100%;
        width: 100%;
        height: calc(100% - 60px);
        transition: left 0.3s ease-in-out;
        z-index: 999;
        padding: 20px;
        background-color: #000;
    }

    #sidebar.open {
        left: 0;
    }

    .hamburger {
        display: block;
    }

    #content {
        transition: opacity 0.3s ease-in-out;
        padding: 20px;
    }

    .slideshow-container {
        max-width: 100%;
        aspect-ratio: 4 / 3;
    }
    
    #content p {
        max-width: 100%;
        word-wrap: break-word;
        hyphens: auto;
    }

    #content br {
        display: none;
    }

    #content p::after {
        content: "";
        display: block;
        margin-bottom: 1em;
    }
}




@media (min-width: 801px) {
    #content br {
        display: inline;
    }
}