/* YouTube İçeriği için Stil Ayarları */

/* Genel Sayfa Stilleri */


/* Link Stili */
header a {
    color: var(--link-color, #007bff);
    text-decoration: none;
    font-size: 1.1rem;
    margin: 0 10px; /* Bağlantılar arasına boşluk ekler */
}

header a:hover {
    text-decoration: underline;
}

body {
    font-family: var(--sans-font);
    color: var(--text);
    background-color: var(--background);
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

/* Başlık Stili */
h1.content-title {
    font-size: 2rem;
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    text-align: center;
}


/* Video Bölümü */
#ytplayer {
    margin-top: 20px;
}

/* Altyazı Kutusu */
#subtitle-box {
    position: relative;
    margin: 20px auto;
    padding: 10px;
    background: #f0f0f0;
    border: 2px solid #333;
    width: 640px;
    height: 150px;
    box-sizing: border-box;
    overflow-y: auto;
    font-size: 18pt;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* Çeviri Vurgulama */
.highlight-translated {
   
    cursor: pointer;
}

/* Pop-up Çeviri Kutusu */
/* Pop-up Çeviri Kutusu */
#popup {
    position: absolute; /* Videonun içinde yer alacak şekilde */
    background: yellow; /* Altyazı kutusundaki gibi sarı arka plan */
    border: 2px solid #333; /* Siyah kenarlık */
    padding: 10px; /* İçerik boşluğu */
    width: 80%; /* Genişlik: %80 (videoya uyum sağlayacak) */
    max-width: 640px; /* Maksimum genişlik */
    text-align: center; /* Metni ortala */
    font-size: 18pt; /* Subtitle box'taki yazı boyutu ile aynı */
    font-weight: bold; /* Subtitle box'taki gibi kalın */
    display: none; /* Başlangıçta gizlenmiş */
    z-index: 10; /* Videonun üstünde görünmesi için yeterli z-index */
    color: #333; /* Yazı rengi: koyu gri */
    left: 50%; /* Ortalamak için */
    top: 50%; /* Ortalamak için */
    transform: translate(-50%, -50%); /* Hem X hem de Y ekseninde tam ortalanmış olacak şekilde */
    font-family: Arial, sans-serif; /* Subtitle box ile aynı yazı tipi */
}




/* Navigasyon Butonları */
#navigation-buttons button {
    background-color: #007bff; /* Buton rengi */
    color: white; /* Yazı rengi */
    border: none;
    padding: 15px 30px;
    margin: 5px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px; /* Köşeleri yuvarlama */
    transition: background-color 0.3s;
}

#navigation-buttons button:hover {
    background-color: #0056b3; /* Hover rengi */
}


#back-button, #next-button, #toggle-button {
    padding: 15px;
    background-color: #007bff;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 16px;
    text-align: center;
    flex: 1;
}

/* Footer Stili */
footer {
    margin-top: 30px;
    padding: 1rem;
    color: var(--text-light);
    text-align: center;
}

.post-content {
    max-width: 1200px !important;
    margin-left: auto;
    margin-right: auto;
}

