@font-face {
    font-family: 'UKIJTuz';
    src: url('http://bazaryol.com/fonts/UKIJTuz.ttf') format('truetype');
    
    font-weight: normal;
    font-style: normal;
    
}

 *{
    text-align:justify;
    font-family: 'UKIJTuz', sans-serif;
 }
body {
    margin: 0;
    padding: 0;
    background-color: rgb(255, 242, 245);
    color: rgb(214, 74, 73);
    line-height: 1.6;
}

/* A4 Sayfa Düzeni */
@media print {
    body {
        width: 22cm;
        height: 25.9cm;
        margin: 0;
    }
    .main-content {
        padding: 1cm;
        background: rgb(248, 249, 251);
        box-shadow: none;
    }
}

/* Nav Bar */
.navbar {
    background-color: rgba(254, 53, 85, 0.7);
    color: white;
    padding: 5px 25px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
}

.navbar a {
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    margin: 0 12px;
}

/* Main Content */
.main-content {
    max-width: 900px;
    margin: 50px auto;
    background: rgb(248, 249, 251);
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

/* Media Container */
.media-container {
    position: relative;
    
    max-width: 1280px; /* Masaüstü için maksimum genişlik */
    margin: 0 auto; /* Ortalamak için */
    width:900px;
    height:600px;
    overflow: hidden;
    background: #000; /* Boş alanlar için siyah arka plan */
    border-radius: 8px; /* Yuvarlatılmış köşeler */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); /* Hafif gölge */
    
}

/* Medya İçeriği */
.media-container iframe,
.media-container video,
.media-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Medyanın çerçeveye sığmasını sağlar */
    border-radius: 8px; /* Medya içeriği köşeleri yuvarlatılır */
}

/* Mobil Görünüm */
@media (max-width: 768px) {
    .media-container {
        max-width: 100%; /* Tam genişlik */
        width:900px;
        height:600px;
    }
}



/* Post Box Popup */
.post-box-popup {
    display: none;
    position: fixed;
    top: 120px;
    left: 0;
    width: 100%;
    height: 60%;
    background: rgba(200, 0, 0, 0.7);
    z-index: 10000;
}

.post-box-content {
    position: absolute;
    color:#333;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(248, 249, 251, 0.9);
    padding: 15px;
    width: 80%;
    max-width: 800px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    overflow-y: auto;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 25px;
    font-weight: bold;
    color: rgb(214, 74, 73);
    cursor: pointer;
}

#openPostBox {
    display: block;
    margin: 0px auto;
    padding: 10px 20px;
    background-color: lightgray;
    color: #fff;
    border: 2px #fff solid;
    border-radius: 10px;
    cursor: pointer;
    font-size: 16px;
 
}

#openPostBox:hover {
    background-color: rgba(0, 0, 0, 0.1);
}

/* Thread */
.thread {
    
    margin: 20px 0;
    padding: 50px;
    background: rgb(248, 249, 251);
    border: 1px solid rgba(254, 53, 85, 0.1);
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(254, 53, 85, 0.5);
}

.thread h5 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

/* Comments Section */
.comments {
    margin-top: 10px;
    padding: 10px;
    background-color: rgb(255, 242, 245);
    border-radius: 8px;
}

.comments form textarea {
    margin-bottom: 10px;
    width: 100%;
}

.social-buttons {
    margin-top: 10px;
}

.social-buttons a {
    margin: 0 10px;
    font-size: 1.5rem;
    color: rgb(214, 74, 73);
}

/* Friends Sidebar */
.friends-sidebar {
    position: fixed;
    top: 55px;
    right: -300px;
    width: 165px;
    height: 100%;
    background: rgb(248, 249, 251);
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    overflow-y: auto;
    z-index: 1000;
}

.friends-sidebar.open {
    right: 0;
}

.friends-sidebar ul {
    padding: 10px;
    list-style: none;
}

.friends-sidebar li {
    padding: 10px;
    border-bottom: 1px solid #ddd;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.friends-sidebar img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 10px;
}

.friends-sidebar li:hover {
    background-color: rgb(255, 242, 245);
}

.friends-sidebar .user-name {
    font-size: 1rem;
}

/* Chat Box */
#chat-box {
    position: fixed;
    bottom: -400px;
    left: 0;
    width: 100%;
    height: 400px;
    background-color: rgba(254, 53, 85, 0.9);
    color: #fff;
    border-top: 2px solid #ccc;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    transition: bottom 0.5s ease;
    padding: 20px;
    box-sizing: border-box;
    z-index: 9999;
}

#chat-box.open {
    bottom: 0;
}

#chat-box-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

#chat-box-header img {
    border-radius: 50%;
    width: 40px;
    height: 40px;
    border: 1px solid;
}

#chat-box-header h3 {
    margin: 0;
    font-size: 18px;
}

#close-chat {
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    color: rgb(214, 74, 73);
}

#close-chat:hover {
    color: rgb(254, 53, 85);
}

#message {
    width: 100%;
    padding: 10px;
    margin-top: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    min-height: 50px;
    box-sizing: border-box;
}

#send-message {
    width: 100%;
    padding: 10px;
    margin-top: 10px;
    background-color: rgb(254, 53, 85);
    color: white;
    border: none;
    border-radius: 4px;
   
}

/* Post */
.post {
    background-color: rgba(254, 53, 85, 0.7);
    color: white;
    padding: 5px 25px;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
}


