body {
    margin: 0;
    padding: 0;
    overflow: hidden;
    position: relative; 
    width: 100vw;
    height: 100vh;
}

.video-arka-plan-kapsayici {
    position: relative; 
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

#arka-plan-video {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
    z-index: -1;
    -webkit-appearance: none; 
    appearance: none;
    pointer-events: none;
    filter: blur(3px);
}

.icerik {
    position: fixed;
    z-index: 1;
    color: white;
    width: 100%;
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 1%;
}

.film-header{
    display: flex;
    justify-content: space-between;
}

#film-video{
    width: 100%;
}
#logo{
    width: 30%;
    height: fit-content;
}

.btn-menu {
    transition: transform 0.3s ease-in-out; 
    display: inline-block; 
}

.back-btn {
    transition: transform 0.3s ease-in-out; 
    z-index: 5; 
}

.back-btn:hover {
    transform: scale(1.1); 
    cursor: pointer;
}

.btn-menu:hover {
    transform: scale(1.1); 
    cursor: pointer;
}

/* Video ve Kapsayıcı Ayarları */
.video-container {
    position: relative; 
    width: 70%; /* Video genişliğiniz */
    overflow: hidden; /* Taşmaları önle */
}

#film-video {
    width: 100%;
    height: auto; /* Oranı koru */
    display: block;
    border-radius: 20px;
    border: white 8px solid;
    object-fit: cover;
}

/* Ortadaki Play/Pause Düğmesi */
#center-play-pause-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120px; /* BÜYÜK İKON GENİŞLİĞİ */
    height: 100px;
    transform: translate(-50%, -50%); /* Tam ortala */
    background: transparent; /* Arka planı şeffaf yap */
    border-radius: 50%; /* Yuvarlak düğme */
    border: none;
    cursor: pointer;
    transition: opacity 0.3s ease; /* Fare geldiğinde şeffaflık değişimi */
    z-index: 10; /* Diğer her şeyin üstünde */
}

#center-play-pause-btn img {
    width: 120px; /* Büyük ikon */
    height: 100px;
    display: block;
}

/* Video oynarken ortadaki düğmenin gizlenmesi */
.video-container.playing #center-play-pause-btn {
    opacity: 0;
    pointer-events: none; /* Tıklanamaz hale getir */
}

/* Kontrol Çubuğu Kapsayıcısı */
.custom-controls {
    position: absolute; /* Video üzerine yerleştir */
    bottom: 0;
    left: 0;
    width: 100%;
    box-sizing: border-box;
    background-color: rgba(0, 0, 0, 0.6); /* Hafif şeffaf siyah çubuk */
    color: white; /* Zaman göstergesi için */
    padding: 5px 10px; /* İç boşluk */
    opacity: 0; /* Başlangıçta gizli */
    transition: opacity 0.3s ease;
    z-index: 11; /* Video kontrollerinin üstünde */
}

/* Video üzerine fare geldiğinde kontrolleri göster */
.video-container:hover .custom-controls,
.video-container.active .custom-controls { /* Aktif olduğunda da göster */
    opacity: 1;
}

/* Zaman Çizelgesi */
.timeline-container {
    width: 100%;
    height: 8px; /* Kalınlık */
    background-color: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    position: relative;
    margin-bottom: 8px; /* Alttaki düğmelerden boşluk */
    border-radius: 4px; /* Hafif yuvarlak köşeler */
}

.timeline-progress {
    height: 100%;
    width: 0%; /* Başlangıçta 0 */
    background-color: #e50914; /* İlerleme rengi (örn: Netflix kırmızısı) */
    border-radius: 4px;
    position: absolute;
    top: 0;
    left: 0;
}

.timeline-scrubber {
    width: 16px; /* Sürükleyici nokta boyutu */
    height: 16px;
    background-color: white;
    border-radius: 50%;
    position: absolute;
    top: -4px; /* Timeline üzerinde ortalamak için */
    left: 0;
    transform: translateX(-50%); /* Tam merkezlemek için */
    display: none; /* Başlangıçta gizli */
    pointer-events: none; /* Olayları timeline'a geçir */
}

.timeline-container:hover .timeline-scrubber {
    display: block; /* Fare geldiğinde göster */
}

/* Alttaki Kontrol Düğmeleri ve Zaman Göstergesi */
.controls-bottom {
    display: flex;
    align-items: center; /* Dikeyde ortala */
    justify-content: space-between; /* Sağa ve sola hizala */
}

.bottom-control {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    margin-right: 10px;
}

.bottom-control img {
    width: 120px; /* Küçük ikon */
    height: 100px;
    display: block;
}

.fullscreen-btn {
    margin-right: 0; /* Tam ekran düğmesini en sağa yasla */
}

#time-display {
    font-family: Arial, sans-serif;
    font-size: 14px;
    margin-right: auto; /* Zamanı sola yasla */
    margin-left: 10px; /* Play/Pause butonundan boşluk */
}



.footer{
    position: absolute;
    bottom: 15px;
    left: 15px;
    width: 100%;
    color: white;
    font-size: 22px;
    z-index: 2;
}

.films{
    transition: transform 0.3s ease-in-out;
    width: 230px;
    margin: 10px;
}

.films:hover {
    transform: scale(1.1); 
    cursor: pointer;
}

.films img{
    width: 230px;
    border-radius: 20px;
    margin: 20px;
    border: white 5px solid;
}
.list{
    width: 100%;
    position: absolute;
    padding: 20px 50px 0px 50px;
    display: flex;
}

@media only screen and (min-width: 320px) and (max-width: 480px) { 
.video-arka-plan-kapsayici {
    position: relative; 
    width: 100%;
    height: 87vh;
    overflow: hidden;
}

#arka-plan-video {
    position: fixed;
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
    z-index: -1;
    appearance: none;
    pointer-events: none;
    filter: blur(3px);
    object-position: left;
}
#logo{
    width: 70%;
    height: fit-content;
}

.menu{
    padding-top: 20px;
}

}