/* General Reset */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #f7f1e3;
    color: #2c2c54;
}

/* Header */
header {
    background-color: #40407a;
    color: #fff;
    padding: 20px;
    text-align: center;
}

/* Logo and Title */
header .logo {
    max-width: 100px;
    margin-bottom: 10px;
}
header h1 {
    font-size: 2rem;
}

/* Section Styling */
section {
    padding: 20px;
}

/* Gallery */
.gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}
.galleryy {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}
.gallery img {
    width: 200px;
    height: auto;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.3s ease-in-out;
}

.gallery img:hover {
    transform: scale(1.1);
}

/* Modal for images */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
    border: 5px solid white;
    border-radius: 10px;
}

.modal .close {
    position: absolute;
    top: 10px;
    right: 10px;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    background-color: #ff5252;
    padding: 5px 10px;
    border-radius: 50%;
}
/* Download Buttons */
.download-buttons {
    text-align: center;
    margin-top: 20px;
}

.download-item {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.download-item a {
    text-decoration: none;
    margin-left: 10px;
    padding: 10px 20px;
    color: #fff;
    background-color: #34ace0;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.download-item a:hover {
    background-color: #218c74;
}

.platform-icon {
    width: 30px;
    height: 30px;
}
/* Footer Styling */
footer {
    background-color: #706fd3;
    color: #fff;
    text-align: center;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

footer p {
    margin: 10px 0;
}

.social-links {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 10px;
}

.social-links a img {
    width: 30px;
    height: 30px;
    transition: transform 0.3s;
}

.social-links a img:hover {
    transform: scale(1.2);
}
/* General Styling */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #f7f1e3;
    color: #2c2c54;
}

header {
    background-color: #40407a;
    color: #fff;
    text-align: center;
    padding: 20px;
}

.tabs {
    display: flex;
    justify-content: center;
    background-color: #706fd3;
    margin-bottom: 20px;
}

.tab-button {
    background: none;
    border: none;
    padding: 15px 20px;
    cursor: pointer;
    color: white;
    font-weight: bold;
}

.tab-button.active {
    background-color: #34ace0;
}

.tab-content {
    display: none;
    animation: fadeIn 0.5s;
}

.tab-content.active {
    display: block;
}

.section {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.section-image {
    width: 100px;
    height: auto;
    margin-right: 20px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
/* Nasıl Oynanır Arka Plan Stili */
.how-to-play {
    background-color: #ff793f; /* Düz renk arka plan */
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(7, 241, 132, 0.2);
}

.how-to-play h2 {
    text-align: center;
    color: #000000;

}

/* Alternatif Arka Plan: Resim */
.how-to-play {
    background-image: url('background-image.jpg'); /* Arka plan resmi */
    background-size: cover;
    background-position: center;
    color: #000000; /* Yazı rengi resme uyum sağlamak için beyaz yapıldı */
}
.section {
    display: flex;
    align-items: flex-start; /* Görseller ve metin üst hizaya göre yerleşir */
    margin-bottom: 20px;
}

.section-image {
    width: 100px; /* Görsel genişliği */
    height: auto;
    margin-right: 20px; /* Görsel ile metin arasındaki boşluk */
}

.section-content {
    flex: 1; /* Metin içeriği tüm boşluğu doldurur */
}

.tab-image {
    background: none;
    border: none;
    padding: 15px 20px;
    cursor: pointer;
    color: white;
    font-weight: bold;
}

.tab-image.active {
    background-color: #34ace0;
}

.tab-content-image {
    display: none;
    animation: fadeIn 0.5s;
}

.tab-content-image.active {
    display: block;
}
