body {
    font-family: 'Arial', sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 20px;
}

.hidden {
    display: none;
}

#step1, #step2, #step3 {
    margin-top: 20px;
    padding: 10px;
    background-color: #f4f4f4;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 600px;
    text-align: center;
}

button {
    padding: 10px 20px;
    margin-top: 10px;
    background-color: #007BFF;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

button:hover {
    background-color: #0056b3;
}

.card-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
    gap: 20px;
    padding: 20px;
    margin: 20px 0;
}

.card {
    flex: 0 1 100px;
    height: 140px;
    transform-style: preserve-3d;
    transition: transform 0.8s;
    cursor: pointer;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
    position: relative;
    background: linear-gradient(135deg, #fefcea, #f1da36);
}

.card-front, .card-back {
    position:absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
}

.card-front {
    background-color: white;
    color: black;
    font-size: 1em;
}

.card-back {
    background-image: url('card-pattern.png');
    background-size: cover;
    transform: rotateY(180deg);
    color: white;
    font-size: 0.8em;
}

#adSpace {
    display: flex; /* Flexbox kullanarak içeriği merkezliyoruz */
    justify-content: center; /* Yatay olarak merkezleme */
    align-items: center; /* Dikey olarak merkezleme */
    padding: 10px 0; /* Üst ve alt boşluk veriyoruz */
        margin-top: 100px;  /* Reklam alanını 100px aşağı alır */

}

#adSpace img {
    max-width: 100%; /* İmgenin maksimum genişliği, kapsayıcısının %100'ü olacak */
    height: auto; /* Yüksekliği otomatik olarak ayarlanacak */
}

/* Küçük ekranlar için reklamı daha küçük gösterme */
@media (max-width: 480px) {
    #adSpace img {
        width: 90%; /* Küçük ekranlarda reklamın genişliğini %90 yap */
    }
}


