body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #000;  
    color: rgb(255, 255, 255);        
    font-weight: bold;   
}

.topbar {
    background: #111;
    padding: 1rem;
}

.nav {
    display: flex;
    gap: 2rem;
    justify-content: center;
    position: relative;
}

.nav a {
    color: rgb(255, 255, 255);
    text-decoration: none;
    position: relative;
    padding: 0.2rem;
    font-weight: bold;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;          
    width: 0;
    height: 3px;
    background: #ffffff;
    transition: width 0.3s ease-in-out; 
    transform: none;    
}

.nav a:hover::after {
    width: 100%;        
}

.center {
    text-align: center;
    padding: 2rem;
}

.logo {
    max-width: 400px;
    margin-bottom: 1rem;
}

.cards {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.card {
    position: relative;
    background: #11111100;
    border: 1px solid rgb(0, 255, 85);
    border-radius: 10px;
    padding: 1rem;
    width: 250px;
    overflow: hidden;
    transition: transform 0.3s;
}

.card img {
    max-width: 100%;
    border-radius: 5px;
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    color: rgb(255, 255, 255);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    text-align: center;
}

.card:hover {
    transform: scale(1.05);
}

.card:hover .card-overlay {
    opacity: 1;
    transform: translateY(0);
}

button {
    margin-top: 1rem;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.247);
    color: #000;
    cursor: pointer;
}

button:hover {
    background: #ffffff50;
    color: #000;
}

.hidden {
    display: none;
}

.footer {
    text-align: center;
    padding: 1rem;
    background: #111;
    color: rgb(255, 255, 255);
}

.admin-nav {
    margin: 1rem 0;
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.admin-section {
    margin-top: 1rem;
}

textarea, input {
    width: 100%;
    margin-top: 0.5rem;
    padding: 0.3rem;
}

.admin-login {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 15px;
    max-width: 300px;
    margin: 2rem auto;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.login-body {
    background: url('../images/tło.png') no-repeat center center fixed;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
}

.login-card {
    background: rgba(255, 255, 255, 0);
    backdrop-filter: translateY(10px);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0);
    text-align: center;
}

.login-card input, .login-card button {
    display: block;
    width: 100%;
    margin: 10px 0;
    padding: 10px;
}

nav {
   
}
