/* Genel Sayfa Stili */
body {
    font-family: Arial, sans-serif;
    background-color: #121212;
    color: #fff;
    margin: 0;
    padding: 0;
    text-align: center;
}

/* Navbar */
nav {
    background-color: #1e1e1e;
    padding: 15px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

nav a {
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    padding: 10px 20px;
    border-radius: 5px;
    transition: background 0.3s;
}

nav a:hover {
    background: #333;
}

/* Liderlik Tablosu (Podium) */
.podium {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 50px;
    flex-wrap: wrap; /* Fotoğraflar taşarsa alt satıra geçebilir */
    justify-content: space-between;
}

.podium .first, .podium .second, .podium .third {
    position: relative;
    width: 200px; /* Fotoğraf boyutunu küçültüyoruz */
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    background-color: #333;
    box-shadow: 0 4px 8px rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.podium .first {
    background-color: #ffcc00; /* Altın madalya rengi */
}

.podium .second {
    background-color: #b6b6b6; /* Gümüş madalya rengi */
}

.podium .third {
    background-color: #cd7f32; /* Bronz madalya rengi */
}

.podium img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Fotoğrafın yuvarlak alana sığması için */
}

/* Fotoğraf Seçme Alanı */
.photo-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 50px;
    flex-wrap: wrap; /* Fotoğraflar taşarsa alt satıra geçer */
}

/* Fotoğraf Kartı */
.photo-card {
    width: 200px; /* Fotoğrafın genişliği */
    height: 200px; /* Fotoğrafın yüksekliği */
    border-radius: 10px;
    overflow: hidden;
    background: #222;
    box-shadow: 0 4px 8px rgba(255, 255, 255, 0.1);
    display: inline-block;
    margin: 10px; /* Fotoğraflar arasında boşluk */
}

/* Fotoğrafın Kendisi */
.vote-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.3s;
}

/* Hover Efekti */
.vote-photo:hover {
    transform: scale(1.05); /* Fotoğraf üzerine gelindiğinde büyüme efekti */
}

/* Liderlik Tablosu (Mobil için Esnek Yapı) */
@media (max-width: 768px) {
    .podium {
        flex-direction: column; /* Mobilde podyum öğeleri dikey sıralanacak */
        gap: 30px; /* Dikeyde biraz boşluk bırakıyoruz */
        align-items: center; /* Ortalamayı sağlıyoruz */
    }

    .podium .first, .podium .second, .podium .third {
        width: 150px; /* Fotoğrafları daha küçük yapıyoruz */
        height: 150px;
    }

    .photo-container {
        flex-direction: column; /* Fotoğraflar dikey sıralanacak */
        gap: 20px; /* Fotoğraflar arasındaki boşluk */
    }

    .photo-card {
        width: 150px; /* Fotoğraf boyutunu küçültüyoruz */
        height: 150px;
    }
}

/* Genel Stil (Mobil ve Masaüstü için) */
h1 {
    font-size: 2rem;
    color: #fff;
    margin-top: 20px;
}

button {
    background: #ff4d4d;
    color: #fff;
    border: none;
    padding: 10px 20px;
    font-size: 18px;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
}

button:hover {
    background: #ff3333;
}

/* Sayfa ve Fotoğraf Kartı için Margin ve Padding */
body {
    padding: 20px;
}

.photo-container, .podium {
    margin: auto;
}

h1, .leaderboard {
    margin-bottom: 20px;
}
