html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

body {
    background-image: url('./wallpaper.jpg');
    background-size: cover;
    background-position: top left;
    background-repeat: no-repeat;
}

nav {
    background-color: black;
    width: calc(100% - 20px);  /* Subtract 20px to account for the 10px margin on each side */
    height: 60px;
    border-radius: 10px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
    margin: 10px;  /* 10px gap on all sides of the navbar */
}

ul {
    display: flex;
    list-style-type: none;
    padding: 0;
    margin: 0;
}

li {    
    margin-left: 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: bold;
}

a {
    text-decoration: none;
    color: white;
}

nav img {
    width: auto;
    height: 40px;
}

.pixel-text {
    font-family: 'Press Start 2P', sans-serif;
    font-size: 5vw;
    color: black;
    text-align: center;
    margin-top: 15vh;
    animation: fadeIn 2s ease-in-out;
}

.ip-text {
    font-family: 'Press Start 2P', sans-serif;
    font-size: 2vw;
    color: black;
    text-align: center;
    margin-top: 5vh;
    animation: fadeIn 2s ease-in-out;
}

.social-links a {
    display: flex;
    color: black;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    text-align: center;
    justify-content: center;
}
    
.social-links img {
    display: flex;
    float: left;
    width: 50px;
    height: 100%;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@media (max-width: 768px) {
    nav {
        height: 50px;
        width: calc(100% - 10px);  /* Adjust for a 10px margin on both sides */
        padding: 5px;
    }

    ul {
        flex-direction: column;
        align-items: center;
    }

    li {
        margin-left: 0;
        margin-top: 10px;
    }

    nav img {
        height: 30px;
    }

    .pixel-text {
        font-size: 8vw;
        margin-top: 20vh;
    }
}

@media (max-width: 480px) {
    .pixel-text {
        font-size: 10vw;
        margin-top: 30vh;
    }
}
