@font-face {
    font-family: 'Minecraft'; /* A custom name for your font */
    src: url('/Fonts/Minecraft.ttf') format('truetype'); /* Path to the TTF file and its format */
    font-weight: normal; /* Optional: Define the weight of this specific font file */
    font-style: normal; /* Optional: Define the style of this specific font file */
}

@font-face {
    font-family: 'Minecraftia'; /* A custom name for your font */
    src: url('/Fonts/Minecraftia-Regular.ttf') format('truetype'); /* Path to the TTF file and its format */
    font-weight: normal; /* Optional: Define the weight of this specific font file */
    font-style: normal; /* Optional: Define the style of this specific font file */
}

@font-face {
    font-family: 'Alagard'; /* A custom name for your font */
    src: url('/Fonts/alagard.ttf') format('truetype'); /* Path to the TTF file and its format */
    font-weight: normal; /* Optional: Define the weight of this specific font file */
    font-style: normal; /* Optional: Define the style of this specific font file */
}



body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    background: url('Images/pixel_game.png') no-repeat center center fixed; /* Legger til pixelart bakgrunn */
    background-size: cover; /* Sikrer at bildet dekker hele skjermen */

    text-align: center;


}

@media screen and (max-width: 768px) {
    body {
        background-image: url('Images/pixel_game.png'); /* Optional: use a smaller image for mobile */
        background-size: 300vw auto; /* Adjust as needed for mobile */
    }
}

header {
    background: rgba(51, 51, 51, 0.8); /* Gjør header semi-transparent */
    color: #fff;
    padding: 10px 0;
    text-align: center;
    font-family: Minecraftia, sans-serif;
}

nav ul {
    list-style: none;
    padding: 0;
}

nav ul li {
    display: inline;
    margin: 0 15px;
}

nav a {
    color: #fff;
    text-decoration: none;
}

section {
    padding: 20px;
    margin: 50px 50px 50px 50px;
    border: 1px solid #ccc;
    background-color: rgba(255, 255, 255, 0.9); /* Gjør seksjonene semi-transparente */
    border-radius: 10px;
    text-align: center;
    width: 60%;
    font-size: larger;
}

.parent-container {
    display: flex;
    justify-content: center;
    align-items: center; /* Optional: for vertical centering */
    min-height: 100vh;  /*Example for full viewport height centering */
    flex-wrap: wrap;
}

footer {
    text-align: center;
    padding: 10px 0;
    background: rgba(51, 51, 51, 0.8); /* Gjør footer semi-transparent */
    color: #fff;
}
