* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    height: 100%;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    overflow: hidden;
}

body {
    opacity: 0;
    transition: opacity 0.5s ease;
}

body.show {
    opacity: 1;
}


#intro-screen {
    width: 100%;
    height: 100%;
    background: url('background.png') no-repeat center center/cover;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    padding-bottom: 100px;
}

/* ===== LOGO ===== */

#logo-wrapper {
    background: #fff;
    padding: 20px;
    border-radius: 20px;
    margin-bottom: 125px;
    transition: transform 0.8s ease, opacity 0.8s ease;
}

#game-logo {
    width: 500px;
    max-width: 100%;
    display: block;
    margin: 20px;
}

/* ===== TLAČIDLÁ ===== */

button {
    padding: 20px 50px;
    font-size: 30px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    font-weight: 900;
    color: white;
    text-transform: uppercase;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 10px #666;
}

button:active {
    box-shadow: 0 3px #666;
    transform: translateY(3px);
}

/* PLAY */

#start-btn {
    background-color: #b61824;
}

#start-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px #666;
}

/* QUIT */

#quit-btn {
    position: absolute;
    top: 20px;
    left: 20px;
    padding: 10px 25px;
    font-size: 15px;
    background-color: #fff;
    color: #95a5a6;
    box-shadow: 0 5px #666;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    z-index: 9999;
}

#quit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px #666;
}

/* ===== ANIMÁCIE ===== */

.move-up {
    transform: translateY(-150%) scale(0.5);
    opacity: 0;
}

.move-down {
    transform: translateY(150%) scale(0.5);
    opacity: 0;
}

/* ===== RESPONSIVE ===== */

@media (max-width: 600px) {
    button {
        font-size: 18px;
        padding: 12px 25px;
    }

    #logo-wrapper {
        margin-bottom: 175px;
    }

    #game-logo {
    width: 300px;
    max-width: 80%;
    display: block;
    }
}

@media (max-width: 400px) {
    button {
        font-size: 18px;
        padding: 12px 25px;
    }

    #logo-wrapper {
        margin-bottom: 175px;
        padding: 0px;
    }

    #game-logo {
    width: 200px;
    max-width: 80%;
    display: block;
    }
}

body.fade-in {
    opacity: 0;
    animation: fadeIn 0.5s forwards;
}

@keyframes fadeIn {
    to { opacity: 1; }
}
