* {
margin: 0;
padding: 0;
box-sizing: border-box;
}

body {
font-family: 'Arial', sans-serif;
margin: 0;
padding: 0;
display: flex;
min-height: 120vh;
overflow-x: hidden; /* Yatay taşmayı önler */
}

#nav-bar {
position: fixed;
background-color: rgba(0, 0, 0, 0.1);
color: #fff;
width: 250px;
max-width: 250px; /* Sabit genişlik */
height: calc(100% - 120px);
top: 120px;
left: 0;
overflow-y: auto;
padding-top: 20px;
transition: transform 0.3s ease-in-out;
}

#hamburger {
position: fixed;
top: 15px;
left: 15px;
background: #343a40;
color: #fff;
border: none;
padding: 10px;
border-radius: 6px;
cursor: pointer;
z-index: 1000;
display: none;
}

#nav-title {
font-size: 1.5rem;
font-weight: bold;
text-align: center;
display: block;
color: #343a40;
text-decoration: none;
margin-bottom: 20px;
}

.nav-button a {
display: block;
padding: 10px 20px;
color: #ccc;
text-decoration: none;
transition: background 0.3s, color 0.3s;
}

.nav-button a:hover,
.nav-button a.active {
background-color: rgb(255 255 255 / 15%);
color: #fff;
}

.container {
margin-left: 250px; /* Nav-bar boşluğu */
padding: 20px;
flex: 1;
color: rgba(0, 0, 0, 0.1);
max-width: calc(100% - 250px); /* Taşmayı önler */
}

main.content {
background-color: rgba(0, 0, 0, 0.1);
padding: 20px;
border-radius: 8px;
word-wrap: break-word;
overflow-wrap: break-word;
box-sizing: border-box;
}

article h2 {
font-size: 1.5rem;
color: white;
}

article div {
font-size: 1rem;
line-height: 1.6;
white-space: pre-wrap;
}

@media (max-width: 991px) {
#nav-bar {
transform: translateX(-100%);
}

#nav-bar.active {
transform: translateX(0);
}

#hamburger {
display: block;
}

.container {
margin-left: 0;
padding-left: 250px; /* Nav-bar için boşluk bırak */
}
}

#search {
background-color: rgba(0, 0, 0, 0.1);
color: #333;
border: 1px solid #ccc;
padding: 10px;
border-radius: 5px;
}

#search:focus {
background-color: rgba(0, 0, 0, 0.1);
color: #000;
border-color: #ffffff;
outline: none;
}

#search:laceholder {
color: #888;
}

bunu dene eğer olmassa başka taracıda dene