/* Plik: style.css */

body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #000;
}

#main-title {
    font-family: 'Orbitron', sans-serif;
    color: #00BFFF;
    text-align: center;
    padding: 20px;
    font-size: 3em; /* Zwiększono z 1.5em */
    text-shadow: 0 0 5px #00BFFF;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10;
    line-height: 1.2; /* Dodano dla lepszego wyglądu wieloliniowego */
}

#restart-button {
    position: absolute;
    top: 25vh;
    left: 20px;
    z-index: 10;
    background-color: rgba(0, 0, 0, 0.7);
    border: 1px solid #FF4500;
    color: #FF4500;
    padding: 10px 15px;
    cursor: pointer;
    font-family: 'Orbitron', sans-serif;
    transition: all 0.3s;
    font-size: 2em; /* Dodano i zwiększono */
}

#restart-button:hover {
    background-color: #FF4500;
    color: #000;
    box-shadow: 0 0 10px #FF4500;
}

#promo-link {
    position: absolute;
    top: 25vh;
    right: 20px;
    z-index: 10;
    text-decoration: none; /* Usuwa podkreślenie linku */
}

#promo-text {
    width: 250px; /* Zwężono z 400px */
    padding: 15px; /* Lekko zwiększono padding dla wysokości */
    background-color: rgba(0, 0, 0, 0.7);
    border: 1px solid #00BFFF;
    color: #E0E0E0;
    font-size: 1.1em;
    text-align: right;
    font-family: 'Orbitron', sans-serif;
    transition: all 0.3s;
}

#promo-link:hover #promo-text {
    border-color: #FFF;
    color: #FFF;
}

#game-container {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: background-image 1s ease-in-out;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    color: #E0E0E0;
}

#story-wrapper {
    width: 100%;
    max-width: 800px;
    background-color: rgba(0, 0, 0, 0.75);
    padding: 20px;
    box-sizing: border-box;
    margin-bottom: 20px;
    border-top: 2px solid #00BFFF;
    max-height: 60%;
    overflow-y: auto;
}

#story p {
    margin: 0 0 1em 0;
    line-height: 1.6;
    font-size: 1.1em;
}

#choices {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#choices button {
    background-color: transparent;
    border: 1px solid #00BFFF;
    color: #00BFFF;
    padding: 10px 20px;
    margin: 5px 0;
    cursor: pointer;
    font-size: 1em;
    width: 80%;
    max-width: 400px;
    transition: background-color 0.3s, color 0.3s;
}

#choices button:hover {
    background-color: #00BFFF;
    color: #000;
}

#footer {
    width: 100%;
    text-align: center;
    padding: 10px;
    background-color: rgba(0, 0, 0, 0.8);
    font-size: 0.8em;
    color: #aaa;
}

#author-link {
    display: none; /* Ukryty domyślnie */
    color: #00BFFF;
    text-decoration: none;
    font-weight: bold;
    margin-top: 10px;
    font-size: 1.2em;
}

/* Responsywność */
@media (max-width: 768px) {
    #story-wrapper {
        max-height: 70%;
        margin-bottom: 10px;
        padding: 15px;
    }
    #story p {
        font-size: 1em;
    }
    #choices button {
        width: 100%;
    }
    #main-title {
        font-size: 1.5em;
        padding: 10px;
    }
    #restart-button, #promo-link {
        position: static;
        display: block;
        width: 80%;
        max-width: 400px;
        margin: 15px auto;
        text-align: center;
    }
    #promo-text {
        width: auto;
        text-align: center;
    }
}