body {
    margin: 0;
    padding: 0;
    line-height: 1.6;
    background-color: #1b1d1b;
    color: #edfeed;

    font-family: 'normalText', sans-serif;
}
/*možná pokus o minecraft font zde */
@font-face {
    font-family: 'normalText';
    src: url('minecraft-font/MinecraftRegular-Bmg3.otf') format('opentype'),
        url('minecraft-font/MinecraftBold-nMK1.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Nadpis';
    src: url('minecraft-ten-font/MinecraftTen-VGORe.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
a{
    text-decoration: none;
    color: #edfeed;
}

.nadpis {
    font-family: 'Nadpis', sans-serif;
    font-size: 70px;
    color: #edfeed;
}
.logo {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo img {
    width: 20px;
    height: auto;
}

.logo span {
    font-family: 'Nadpis', sans-serif;
    font-size: 15px;
    color: #edfeed;
    font-weight: bold;
}
/*hihihihihih hudba is the best*/
.mute-button {
    position: fixed;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 10;
}

.mute-button img {
    width: 30px;
    height: 30px;
}


header {
    background-image: url('img/stare.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    color: #edfeed;
    height: 100vh;
}


header .overlay {
    background-color: rgba(0, 0, 0, 0.377);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
}

header h1 {
    font-size: 3em;
    margin: 0 0 20px;
}

nav a {
    color: #edfeed;
    text-decoration: none;
    margin: 0 15px;
    font-weight: bold;
    font-size: 1.2em;
    transition: 0.5s;
}

nav a:hover {
    text-decoration: underline;
    transition: 0.5s;
}

main {
    padding: 20px;
    text-align: center;
}

section {
    margin-bottom: 50px;
}

ul li {
    list-style: none;
}


.button {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    color: white;
    background-color: #8db600;
    text-decoration: none;
    border-radius: 5px;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
}

.button:hover {
    background-color: #7aa300;
}
.imgSOS{
    width: 20%;
}

footer {
    background-color: #161b16;
    color: white;
    text-align: center;
    padding: 1em 0;
    margin-top: 20px;
}

/* snad bude fungovat jinak už tohle vzdávám TT kdo & co & jak & kde je responzivita TT */
@media (max-width: 768px) {
    header h1 {
        font-size: 2em;
    }
    header{
        background-image: url(img/farm.gif);
    }

    nav a {
        margin: 0 10px;
        font-size: 1em;
    }

    .button {
        font-size: 0.9em;
        padding: 8px 15px;
    }
}

@media (max-width: 480px) {
    header h1 {
        font-size: 1.5em;
    }
    header{
        background-image: url(img/farm.gif);
    }

    nav a {
        display: block;
        margin: 10px 0;
    }

    .button {
        width: 100%;
        padding: 10px;
        box-sizing: border-box;
    }
}