* {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
img{
    height: 10rem;
    width: 16rem;
}

body {
    background: url('elektrykaedit.webp') no-repeat center center/cover;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

#site {
    width: 85%;
    max-width: 1100px;
    min-height: 80vh;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    backdrop-filter: blur(12px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.18);
    padding-bottom: 20px;
}

#header {
    text-align: center;
    padding: 25px 0;
    color: white;
    font-size: 3rem;
    font-weight: bold;
}

nav {
    display: flex;
    justify-content: center;
    padding-bottom: 20px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 1.5rem;
    padding: 10px 20px;
    border-radius: 8px;
}

nav ul li a:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-3px);
}

#content {
    padding: 20px;
    min-height: 400px;
    font-size: 1.4rem;
    color: rgb(253, 253, 253);
    text-align: center;
    animation: fadeIn 0.5s ease-in-out;
}

.animate-content {
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        align-items: center;
    }

    nav ul li a {
        font-size: 1rem;
    }

    #site {
        width: 95%;
    }
}
