

/* Popup modal stilini merkezi yapalım */
.popup-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 0px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    display: flex;
    flex-direction: column; /* Yataydan dikey hiza */
    align-items: center; /* İçeriği yatayda ortala */
    justify-content: center; /* İçeriği dikeyde ortala */
    text-align: center; /* Yazıyı ortalamak için */
}

/* Popup içerik stilini ortalamak */
.popup-content {
    width: 100%; /* İçeriği popup'ın tam genişliğine yayalım */
}

/* Kapatma butonunun konumu */
.popup-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
}

/* YouTube videosunun stilini ortalamak */
.popup-video iframe {
    width: 100%;
    border-radius: 20px;
}


.popup-close {
    position: absolute;
    top: -10px;
    right: -10px;
    background: #fff;
    border: none;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    border-radius: 50%;
    width: 30px;
    height: 30px;
}
/* Arka plan saydamlığı */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Yarı saydam siyah arka plan */
    z-index: 9998;  /* Popup'tan önce gelsin */
    display: none; /* Başlangıçta gizli */
}
/* Popup overlay için yarı saydam arka plan */
#popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);  /* Yarı saydam siyah arka plan */
    z-index: 9998;  /* Popup'tan önce gelsin */
    display: none;  /* Başlangıçta gizli */
}