@font-face {
    font-family: 'Perfect DOS VGA 437';
    src: url('/assets/ttf/dos.ttf');
    font-weight: normal;
    font-style: normal;
    image-rendering: pixelated;
    -ms-interpolation-mode: nearest-neighbor;
    image-rendering: -webkit-crisp-edges;
    image-rendering: -moz-crisp-edges;
}

* {
    text-shadow: 1px 1px 1px black;
}

body {
    margin: 0;
    font-family: 'Perfect DOS VGA 437', monospace;
    line-height: 1.6;
    overflow: hidden;
    color: #F0F0F0;
}

a {
    color: white;
    text-decoration: none;
    font-weight: 900;
    font-family: 'Perfect DOS VGA 437', monospace;
}

.main-header {
    height: 100vh;
    width: 100vw;
    background-color: #000;
    background-position: center 50%;
    background-size: contain;
    background-repeat: no-repeat;
    position: relative;
    display: block;
    align-items: unset;
    justify-content: unset;
}

.header-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    padding: 20px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.button {
    margin: 5px;
    height: 31px;
    width: 88px;
    image-rendering: pixelated;
    image-rendering: -webkit-crisp-edges;
    image-rendering: -moz-crisp-edges;
    -ms-interpolation-mode: nearest-neighbor;
}

.buttons-nav {
    position: absolute;
    right: 5vw;
    bottom: 8vh;
    text-align: right;
    width: 50vw;
}

.left-nav{
    position: absolute;
    border: 2px dotted white;
    left: 3vw;
    bottom: 5vh;
    width: 30vw;
    text-align: left;
}

.log {    
    text-align: left;
    text-align: left;
    overflow: scroll;
    overflow-x: hidden;
    height: 15vh;
    width: 30vw;
    background-color: rgba(0, 0, 0, 0.3);  
}

.nav-link a {
    font-family: 'Perfect DOS VGA 437', monospace;
    color: #F0F0F0;
    text-decoration: none;
    font-size: 1.3em;
    font-weight: normal;
    padding: 0px 5px;
    margin-bottom: 20px;
    transition: color 0.1s ease;
    line-height: 1.2;
    display: inline-block;
    position: relative;
    text-shadow: none;
}

.nav-link a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 100%;
    height: 2px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="4" height="2"><rect width="2" height="2" fill="%23F0F0F0"/></svg>') repeat-x bottom;
    background-size: 4px 2px;
    z-index: -1;
    opacity: 0.7;
}

.nav-link a:hover {
    color: #00FF00;
    background-color: rgba(0, 255, 0, 0.15);
}

.nav-link a:hover::after {
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="4" height="2"><rect width="2" height="2" fill="%2300FF00"/></svg>') repeat-x bottom;
    background-size: 4px 2px;
}

/*Responsive*/
@media (max-width: 1024px) {
    .header-content h1 {
        font-size: 3.5em;
    }
    .main-nav a {
        font-size: 2em;
    }
    .main-nav {
        left: 3vw;
        margin-bottom: 8vh;
    }
    .buttons-nav {
        right: 3vw;
        bottom: 8vh;
    }
}

@media (max-width: 768px) {
    .header-content h1 {
        font-size: 2.3em;
    }
    .main-nav a {
        font-size: 1.8em;
    }
    .main-nav {
        left: 3vw;
        margin-bottom: 8vh;
    }
    .header-content {
        padding: 15px;
    }
    .buttons-nav {
        right: 3vw;
        bottom: 8vh;
    }
}
