/* Genel Ayarlar */
body {
    font-family: Arial, sans-serif;
    background-color: #333;
    color: #fff;
    display: flex;
    justify-content: space-between;
    height: 100vh;
    margin: 0;
	background-image: url('deniz_arkaplan.jpg'); /* Arka plan resmi */
    background-size: cover; /* Resmi ekrana uyacak şekilde boyutlandırır */
    background-repeat: no-repeat; /* Resmin tekrarını engeller */
    background-attachment: fixed; /* Arka plan sabit kalır */
    background-position: center; /* Resmi ortalar */
    color: #fff; /* Metin rengini beyaz yapar, arka planla kontrast oluşturur */
}
y: flex;
}

/* Ana İçerik Düzeni */
.main-content {
    display: flex;
    flex-grow: 1;
    margin-left: 240px; /* Sidebar genişliği kadar boşluk bırak */
    padding: 20px;
}

/* Oyun Alanı */
.game-area {
    flex: 2;
    padding: 20px;
    background-color: #444;
    border-radius: 10px;
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.5);
    margin-right: 20px;
}

.game-code-input {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    font-size: 16px;
    border: 1px solid #666;
    border-radius: 5px;
    background-color: #555;
    color: #fff;
}

.game-buttons button {
    padding: 10px 20px;
    font-size: 16px;
    margin-right: 10px;
    background-color: #ff5f5f;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.game-buttons button:hover {
    background-color: #ff3b3b;
}

header h1 {
    font-size: 36px;
    margin-bottom: 10px;
}

header p {
    font-size: 18px;
    margin-bottom: 20px;
}

.content {
    margin-bottom: 20px;
}

.game-image {
    width: 100%;
    height: auto;
    border-radius: 5px;
    margin-bottom: 15px;
}

button {
    padding: 10px 20px;
    font-size: 20px;
    background-color: #ff5f5f;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #ff3b3b;
}
/* Sol Sidebar */
.sidebar.left-sidebar {
    position: fixed;
    left: 0;
    top: 0;
    width: 240px;
    height: 100%;
    background-color: #222;
    padding-top: 20px;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.5);
	
}

/* Sağ Sidebar */
.sidebar.right-sidebar {
    position: fixed;
    right: 0;
    top: 0;
    width: 240px;
    height: 100%;
    background-color: #222;
    padding-top: 20px;
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-bottom: 20px;
    overflow-y: auto;
}

/* Ana Başlık (Daha Dikkat Çekici) */
.main-title {
    font-size: 48px;
    text-align: center;
    margin-bottom: 20px;
    color: #fff;
    background: linear-gradient(90deg, #ff7e5f, #feb47b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}

.sidebar h2 {
    color: #fff;
    text-align: center;
    margin-bottom: 20px;
}

.sidebar ul {
    list-style-type: none;
}

.sidebar ul li {
    margin: 15px 0;
}

.sidebar ul li a {
    color: #ccc;
    text-decoration: none;
    font-size: 18px;
    padding: 10px;
    display: flex;
    align-items: center;
    transition: color 0.3s, background-color 0.3s;
}

.sidebar ul li a i {
    margin-right: 10px;
    font-size: 20px;
}

.sidebar ul li a:hover {
    color: #fff;
    background-color: #444;
}


/* Oyun Alanı */
.main-content {
    margin-left: 240px; /* Sol Sidebar genişliği */
    margin-right: 240px; /* Sağ Sidebar genişliği */
    padding: 20px;
    flex-grow: 1;
}

.game-area {
    padding: 20px;
    background-color: #444;
    border-radius: 10px;
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.5);
}
/* Görsel Animasyonu */
.game-visual-container {
    text-align: center;
    margin-top: 40px;
}

.game-visual {
    width: 500px;
    border-radius: 10px;
    box-shadow: 0px 10px 15px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.game-visual:hover {
    transform: translateY(-10px) scale(1.1); /* Görsel büyür ve yukarı hareket eder */
    box-shadow: 0px 15px 20px rgba(0, 0, 0, 0.7);
}

/* Hamleler Kutusu */
.moves-box {
    background-color: #444;
    padding: 15px;
    border-radius: 10px;
    margin: 10px;
    overflow-y: auto;
    max-height: 50%;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
}

.moves-box h3 {
    font-size: 20px;
    margin-bottom: 10px;
    text-align: center;
}

.moves-box ul {
    list-style-type: none;
    padding: 0;
    font-size: 16px;
}

.moves-box ul li {
    margin: 5px 0;
    padding: 5px;
    background-color: #555;
    border-radius: 5px;
}

/* Sohbet Kutusu */
.chat-box {
    background-color: #444;
    padding: 15px;
    border-radius: 10px;
    margin: 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
}

.chat-box h3 {
    font-size: 20px;
    text-align: center;
    margin-bottom: 10px;
}

#chat-messages {
    flex: 1;
    overflow-y: auto;
    font-size: 16px;
    max-height: 150px;
    margin-bottom: 10px;
}

.chat-input {
    display: flex;
    gap: 10px;
}

.chat-input input {
    flex: 1;
    padding: 10px;
    font-size: 16px;
    border-radius: 5px;
    border: 1px solid #666;
    background-color: #555;
    color: #fff;
}

.chat-input button {
    padding: 10px 15px;
    font-size: 16px;
    background-color: #ff5f5f;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.chat-input button:hover {
    background-color: #ff3b3b;
}
