/* Genel Stil */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.bilisim-header {
    background-color: #fff;
    height: 100% !important;
}

.bilisim-header img {
    height: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.student-message-editor {
    margin-top: 20px;
    background-color: #eef2f7;
    padding: 12px;
    border-radius: 10px;
}

.ck-editor__editable {
    color: #2c3e50;
    /* istediğin başlangıç rengi */
}

.blink {
    animation: blinker 1.5s linear infinite;
    color: red;
}

@keyframes blinker {
    50% {
        opacity: 0;
    }
}

#teneffus_saat {
    color: red;
}

#teneffus_info {
    font-size: 2vh;
}

.duyuru p {
    word-wrap: break-word;
    /* Kelimelerin taşmasını engeller ve satıra geçmesini sağlar */
    overflow-wrap: break-word;
    /* Diğer bir kelime kırma özelliği */
    white-space: normal;
    /* Metnin tek satırda kalmamasını sağlar */
    font-size: 1.8vh;
}

.duyuru blockquote {
    font-style: italic;
    padding: 2px;
    margin: 2px 0;
    border: 1px solid #fff;
}

body {
    color: #333;
    background: white;
    font-family: Arial, sans-serif;
    height: 100vh;
    /* Sayfanın yüksekliğini %100 yapalım */

    margin: 0;
    font-family: Arial, sans-serif;
    height: 100vh
}

/* Ayın Öğrencisi Bölümü */
.student-of-the-month {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    margin-top: 0px;
    padding: 15px;
    width: 100%;
    border-radius: 15px;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.8), rgba(255, 140, 0, 0.9));
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    color: #fff;

    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.student-of-the-month:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

.student-photo {
    max-width: 70%;
    max-height: 100px;
    object-fit: cover;
    border-radius: 10px;
    border: 3px solid white;
    display: block;
    margin: 10px auto;
}

.student-name {
    font-weight: bold;
    font-size: 16px;
    color: #fff;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}


/* Üst Panel */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;

    color: white;
    height: 13vh;
    border-bottom: 1px solid #333;
    background: linear-gradient(90deg, #111, #681010, #111);
    color: #fff;
    /* Beyaz yazılar */
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.right-header {
    width: 20%;
}

/* Sağ Taraftaki Saat ve Tarih */
.saat,
.tarih {

    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.saat span {
    font-size: 45px;
    /* Saat yazısının orijinal boyutu */
    font-weight: bold;
}

.saat #time {
    background: linear-gradient(45deg, #fff, #c7c7c7, #fff);
    color: #000;
    padding: 5px;
    border-radius: 10px;
    width: 100%;
    margin: 5% !important;
    font-family: 'courier new';
    font-size: 3vw;
    height: 100%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.tarih #date {
    font-size: 1em;
    background-color: #d5d591;
    margin-bottom: 0px;
    color: black;
    border-radius: 5px;
    padding: 5px;
}


/* YKS Sayacı */
.timers {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
    justify-content: center;
    height: 20vh;
}

.timer-box {
    background-color: #f5f5f5;
    border: 1px solid #ddd;
    padding: 10px;
    /* Paddingi artırarak sayaçların görünümünü iyileştiriyoruz */
    border-radius: 6px;
    text-align: center;
    font-weight: bold;
    font-size: 2vh;
    color: #333;
    flex: 1 1 48%;
    /* Her bir kutu %48 genişliğinde olacak, iki kutu yan yana sığar */
    box-sizing: border-box;
    /* Padding'i genişliğe dahil eder */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.timer-box strong {
    color: #007bff;
}

#countdown {
    font-size: 1em;
    font-weight: bold;
    color: yellow;
    /* Dikkat çekici renk */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    /* Hafif gölge */
}

/* Sol ve Sağ Panel Renkleri */
.right-panel {
    background: linear-gradient(135deg, #1313ff, #5b125b, #0780e7);
    padding: 0 20px;
    color: white;
    height: 100%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    /* Hafif gölge */

}

button,
a {
    background-color: #FF4081;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    transition: background-color 0.3s;
}

button:hover,
a:hover {
    background-color: #F50057;
}

/* Sol Taraftaki Okul İsmi */
.left-header {

    display: flex;
    justify-content: center;
    align-items: center;
}

.left-header img {
    height: 17vh;
}

.left-header h1 {
    z-index: 9999;
    padding-left: 0.3em;
    font-size: 4vh;
    /* Okul isminin orijinal yazı boyutu */
    font-weight: bold;
    color: #890a3e !important;
    text-shadow: #fff 0px 0px 7px, #fff 0px 0px 7px, #fff 0px 0px 7px, #fff 0px 0px 7px, #fff 0px 0px 7px, #fff 0px 0px 7px;
    margin-top: 10px;
}

/* Logo Bölümü */
.logo-header {
    display: flex;
    justify-content: center;
    align-items: center;

}

.logo {
    /* width: 130px; */
    height: 130px;
    z-index: 9999;
    margin-top: 30px;

}


/* Ana İçerik */
.main-container {
    display: flex;
    width: 100%;
    height: 87vh;
    /* Üst panelin yüksekliğini dikkate alarak güncelledik */
}

h1,
h2,
h3 {
    color: #FF5722;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.right-panel ul li {
    transition: all 0.3s ease-in-out;
}

/* Görsellik için alt çizgi ve ayrıştırıcı */
.left-panel ul li:nth-child(even) {
    background-color: rgba(255, 255, 255, 0.15);
}

.center-panel {
    width: 80%;
    /* Slider panelinin tüm genişliği kapsaması için */
    position: relative;
    height: 100%;
    overflow: hidden;
    border-right: 1px solid #333;
    border-bottom: 1px solid #333;
}

/* Kenarlıkları inceltelim */
.left-panel,
.right-panel {
    border-right: 1px solid #333;
    border-left: 1px solid #333;
}

/* Panel gölgelerini hafifletelim */


/* Sağ Panel */
/* Sağ Panel */
.right-panel {
    width: 20%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px;
    color: white;
    border-left: 1px solid #333;
    height: 100%;


}

.right-panel h3 {
    font-size: 1.3em;
    color: #FFFFFF;
    text-align: center;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
    /* Hafif gölge efekti */
    font-weight: bold;

}

.right-panel .top-section {
    margin-bottom: 20px;
    padding: 10px;
    background-color: rgba(255, 255, 255, 0.15);
    /* Şeffaf beyaz arka plan */
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    /* Hafif gölge efekti */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}



.right-panel ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    font-size: 2vh;
}

.right-panel ul li {
    margin: 8px 0;
    padding: 2px;
    background-color: rgba(255, 255, 255, 0.2);
    /* Şeffaf beyaz */
    border-radius: 5px;
    color: #FFF8E1;
    /* Açık sarı yazı */
    font-weight: bold;
    display: flex;
    align-items: center;
    transition: background-color 0.3s ease;
}

.right-panel ul li:hover {
    background-color: rgba(255, 255, 255, 0.4);
    /* Hover efekti */
}

.ortala {
    text-align: center;
    display: block;
}

.dogum-gunu {
    font-size: 2vh;
    margin-top: 2px;
    clear: both;
}

.right-panel ul li:before {
    /*content: "🕒"; */
    /* Varsayılan saat ikonu */
    margin-right: 5px;
    font-size: 1em;
}

.right-panel .teneffus {
    background-color: red;
    color: #fff;
    border-radius: 50%;
    padding: 0 5px;
    margin: 0 10px 0 0;
}


/* Menü stili */
nav {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Menü öğeleri */
nav a {
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    /* Menü yazı boyutu */
    font-weight: 500;
    transition: color 0.3s ease;
}

/* Menü öğeleri hover efekti */
nav a:hover {
    color: #890a3e;
    /* Canlı turuncu renk */
    text-decoration: underline;
}

/* Logo ve başlık stilini düzenle */
header .logo {
    font-size: 36px;
    /* Büyük logo fontu */
    font-weight: 700;
    color: #890a3e;
    /* Canlı turuncu renk */
}

.kutlama {
    position: relative;
    display: inline-block;
    padding: 10px 40px;
    background-color: #ffeaa7;
    border: 2px dashed #fdcb6e;
    font-size: 5vh;
    border-radius: 10px;
}

.confetti {
    position: absolute;
    width: 8px;
    height: 8px;
    background-color: #e17055;
    opacity: 0;
    border-radius: 50%;
    animation: explode 1.2s ease-out forwards;
    margin-top: -0.7em;
}

@keyframes explode {
    0% {
        transform: translate(0, 0);
        opacity: 1;
    }

    100% {
        transform: translate(var(--dx), var(--dy));
        opacity: 0;
    }
}

/* Mobil uyumlu header */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
        gap: 10px;
    }

    header .logo {
        font-size: 28px;
        /* Mobilde daha küçük logo fontu */
    }

    nav a {
        font-size: 16px;
        /* Mobilde daha küçük yazı boyutu */
    }
}