/* Styl podstawowy dla całej strony */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    background-color: #121212;
    color: #e0e0e0;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    text-align: center;
}

main {
    max-width: 600px;
    padding: 2rem;
    margin: 2rem 0; /* Dodanie marginesu, aby zachować odstępy u góry i dołu */
}

/* Kontener na obrazek */
.image-container {
    width: 100%;
    max-height: 300px;
    overflow: hidden;
    border-radius: 8px;
    margin: 1.5rem 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
}

.image-container img {
    width: 100%;
    height: auto;
    display: block;
}

/* Sekcje informacyjne */
section {
    background-color: #1a1a1a;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* Efekt unoszenia się sekcji */
.animated {
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

h2 {
    font-size: 1.8rem;
    color: #ffd700;
    margin-bottom: 0.5rem;
}

p {
    font-size: 1.1rem;
    margin: 0.5rem 0;
}

p strong {
    color: #e0e0e0;
}

/* Styl responsywny dla urządzeń mobilnych */
@media (max-width: 600px) {
    main {
        padding: 1rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    p {
        font-size: 1rem;
    }

    .image-container {
        max-height: 200px;
    }
}
