/* Genel Stil Ayarları */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f4;
}
/* Header alanı */
header {
    display: flex;
    align-items: center;
    padding: 15px;
    background: #333; /* İsteğe bağlı arka plan rengi */
    color: #fff;
    position: relative;
    text-align: center;
}

/* Logo sola yaslı */
#logo {
    max-width: 150px;
    height: auto;
    margin-right: auto; /* Sol tarafa yaslanır */
}

/* Başlık, Açıklama ve Buton Alanı */
#title-container {
    text-align: center; /* Başlık ve açıklama ortalanır */
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

/* Başlık (Oyun İsmi) */
#game-title {
    font-size: 24px;
    font-weight: bold;
    color: white;
    margin: 0;
}

/* Açıklama Metni */
#game-description {
    font-size: 16px;
    color: #ffffff;
    margin: 10px 0;
}



header .button {
    background: #ff5733;
    color: #fff;
    padding: 0.5rem 1rem;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 1rem;
    display: inline-block;
}

/* Bölüm Başlıkları */
section {
    padding: 2rem;
    text-align: center;
}

h2 {
    margin-bottom: 1rem;
    color: #333;
}

/* Galeri */
.gallery {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.gallery img {
    width: 200px;
    border-radius: 10px;
}

/* Butonlar */
.button {
    display: inline-block;
    background-color:  #27aaf0;
    color: white;
    padding: 0.5rem 1rem;
    margin: 0.5rem;
    text-decoration: none;
    border-radius: 5px;
}

.play {
    display: inline-block;
    background-color:  #e0482f;
    color: white;
    padding: 1.5rem 1rem;
    margin: 1.5rem;
    text-decoration: none;
    border-radius: 5px;
    -webkit-text-fill-color: #ffffff;
    font-size: 25px;
}


/* Lightbox */
#lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0s, opacity 0.5s;
}

#lightbox.show {
    visibility: visible;
    opacity: 1;
}

/* Resim için stil */
#lightbox img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
}

/* Gezinme Butonları */
.nav-button {
    position: absolute;
    top: 50%;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 1rem;
    cursor: pointer;
    font-size: 2rem;
    transform: translateY(-50%);
    border-radius: 5px;
    transition: background-color 0.3s;
}

.nav-button:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.nav-button.left {
    left: 10px;
}

.nav-button.right {
    right: 10px;
}

/* Footer */
footer {
    background: #333;
    color: #fff;
    text-align: center;
    padding: 1rem;
    margin-top: 2rem;
}