body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #121212;
    color: #e0e0e0;
    line-height: 1.6;
    background-image: url('./images/bg2.jpeg');
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 50px;
}

header {
    background: rgba(31, 31, 31, 0.8);
    padding: 20px 0;
    text-align: center;
    border-bottom: 2px solid #00bfa5;
    width: 100%;
}

header_awaria {
    background: rgba(214, 18, 18, 0.8);
    padding: 20px 0;
    text-align: center;
    border-bottom: 2px solid #00bfa5;
    width: 100%;
}

header h1 {
    font-size: 2.5em;
    margin: 0;
    color: #00bfa5;
    text-shadow: 2px 2px 4px #000;
}

nav {
    margin-top: 10px;
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

nav a {
    text-decoration: none;
    color: #ffffff;
    margin: 0;
    padding: 8px 15px;
    background-color: #00bfa5;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

nav a:hover {
    background-color: #00796b;
}

nav a img {
    width: 20px;
    height: 20px;
}

a {
    color: #0f0;
    text-decoration: none;
    font-weight: bold;
}

.terminal-button {
    text-decoration: none;
    color: #0f0;
    margin: 0;
    padding: 8px 15px;
    background-color: #000;
    border-color: #0f0;
    border: 1px solid;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
    justify-content: center;
}

.terminal-button:hover {
    background-color: #032903;
}

.ranking-button, .miasta-button {
    background-color: #bf771a;
}

.ranking-button:hover, .miasta-button:hover {
    background-color: #754b13;
}

.container {
    max-width: 900px;
    width: calc(100% - 10px);
    padding: 20px 50px;
    background: rgba(31, 31, 31, 0.8);
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: row;
    gap: 50px;
    box-sizing: border-box;
}

.container_awaria {
    max-width: 900px;
    width: calc(100% - 100px);
    padding: 20px 50px;
    background: rgba(214, 18, 18, 0.8);
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(221, 14, 14, 0.5);
    display: flex;
    flex-direction: row;
    gap: 50px;
    box-sizing: border-box;
}

section {
    /* margin-bottom: 30px; */
    flex: 4;
}

section h2 {
    border-bottom: 2px solid #00bfa5;
    padding-bottom: 5px;
    color: #00bfa5;
    text-shadow: 1px 1px 2px #000;
}

.image-container {
    flex: 2;
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-container img {
    max-width: 100%;
}

footer {
    background: rgba(31, 31, 31, 0.9);
    padding: 20px 10%;
    text-align: center;
    color: #e0e0e0;
    border-top: 2px solid #00bfa5;
    width: calc(100% - 20%);
}

@media (max-width: 768px) {

    .container {
        flex-direction: column;
        padding: 20px;
        gap: 0;
    }

    .image-container {
        height: 200px;
        flex: 0 0 0;
    }

    .image-container img {
        max-width: 100%;
        max-height: 100%;
    }

}
