* {
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
    font-family: 'Montserrat', sans-serif;
}
html, body {
height: 100%
}
body {
    background: linear-gradient(60deg, rgb(46, 46, 112), rgb(141, 78, 78));
    background-size: 300% 300%;
    margin: 0;
    padding: 0;
    animation: szpont 15s ease infinite;
}

#buttons {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    color: white;
    font-size: 22px;
}

#buttons a {
    color: white;
    text-decoration: none;
    margin: 0 10px;
    font-weight: 900;
}
#buttons a:hover {
    color: red;
}
#buttons .right {
    display: flex;
    align-items: center;
    gap: 10px;
}


#buttons span {
    opacity: 1;
}
#buttons a{

    background: rgba(255, 255, 255, 0.1); 
    display: block;
    padding: 20px;
    border-radius: 10px;
    text-decoration: none;
    color: white;
    text-align: center;
    transition: 0.5s;

}
#container, body {
    width: 100%;
    height: 80%;
}

#h_i .img img {
    margin-top: 40px;
    width: 500px;
    height: auto;
    border-radius: 50%;
    object-fit: cover;
    animation: pulse 3s infinite alternate;
    display: block;
    margin-left: auto;
    margin-right: auto; 
}

h2 {
    color: white;
    text-align: center;
}
.omnie {
    max-width: auto;       
    margin: 40px auto;     
    padding: 30px;       
    background: rgba(255, 255, 255, 0.1); 
    border-radius: 15px;  
    color: white;         
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; 
    line-height: 1.7;     
    box-shadow: 0 8px 20px rgba(0,0,0,0.4);
    backdrop-filter: blur(5px); 
}
.omnie p {
    margin-bottom: 10px;    
}
.omnie strong {
    color: #db00db;         
}
@keyframes szpont {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
/* Wersja mobilna */
@media (max-width: 768px) {
    #buttons {
        flex-direction: column;
        align-items: center;
        font-size: 18px;
        padding: 10px 15px;
    }

    #buttons a {
        margin: 5px 0;
    }

    #buttons .right {
        gap: 5px;
        flex-wrap: wrap;
        justify-content: center;
    }

    #h_i .img img {
        width: 250px;  /* zmniejszony rozmiar obrazka */
        margin-top: 20px;
    }

    .omnie {
        margin: 20px 10px;
        padding: 20px;
        font-size: 14px;  /* mniejsza czcionka */
    }

    h2 {
        font-size: 20px;
    }

    #container, body {
        height: auto; /* automatyczna wysokość na telefonie */
    }
}
