 body {
            margin: 0;
            padding: 0;
            font-family: 'Arial', sans-serif;
            background: url('/img/blackboard.webp') no-repeat center center fixed;
            background-size: cover;
            color: white;
        }

	/*Новини блок*/
.news-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(45%, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.news-item {
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
}

.news-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.news-item h4 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #333;
}

.news-item img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    margin-bottom: 10px;
}

.news-item p {
    font-size: 1rem;
    color: #555;
    margin-bottom: 15px;
}

.news-item a {
    display: inline-block;
    padding: 10px 20px;
    background-color: #007bff;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.news-item a:hover {
    background-color: #0056b3;
}


	/*Новини блок*/

/* Підключення іконок Font Awesome */
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css');
#content{width:70%; float: left;}
#sidebar{width: 24%; float: left; padding-left: 1%;}
.clear{clear: both;}	
a {color: #ffd700;}
        .blackboard {
            background-color: rgba(0, 0, 0, 0.6);
            border: 5px solid #2e2e2e;
            border-radius: 10px;
			padding: 20px;
            margin: 40px auto;
            width: 90%!important;
            box-shadow: 0 0 20px rgba(0,0,0,0.7);
        }

        .blackboard h1 {
            text-align: center;
            font-size: 3em;
            text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
        }
	 #school_h2 {
            font-size: 36px;
            text-align: center;
            color: #fff;
            margin-bottom: 10px;
            text-shadow: 2px 2px 4px #000;
        }
	 .blackboard h2 {
            text-align: center;
            font-size: 1.5em;
            text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
        }

        .blackboard p {
            font-size: 1.5em;
            line-height: 1.6;
        }

        .chalk {
            background-color: #4b5320;
            padding: 15px;
            color: #fff;
            text-align: center;
            font-size: 1.2em;
            margin-top: 30px;
            display: inline-block;
            border-radius: 10px;
            text-decoration: none;
            box-shadow: 0px 5px 0px #333;
            transition: box-shadow 0.3s ease;
        }

        .chalk:hover {
            box-shadow: none;
        }

        .school-bell {
            font-size: 2em;
            color: #ffd700;
            text-align: center;
            margin-bottom: 20px;
        }

	.hidden-content_dok {
            color: #fff;
            border-radius: 10px;
        }

        .hidden-content h3 {
            font-size: 2em;
        }

        .hidden-content p {
            font-size: 1.2em;
            line-height: 1.5;
        }

        .teacher-menu {
            margin-top: 20px;
            text-align: center;
        }

        .teacher-menu a {
            display: inline-block;
            padding: 10px 20px;
            margin: 10px;
            background-color: #fff;
            color: #4b5320;
            border-radius: 5px;
            text-decoration: none;
            font-size: 1.2em;
        }

        .teacher-menu a:hover {
            background-color: #4b5320;
            color: #fff;
        }

        .teacher-card {
            text-align: center;
            margin-top: 20px;
        }

        .teacher-card img {
            width: 150px;
            height: 150px;
            border-radius: 50%;
            border: 5px solid #fff;
        }

        .teacher-card h4 {
            margin-top: 15px;
            font-size: 1.5em;
        }

        .teacher-card p {
            font-size: 1.2em;
            color: #fff;
        }
	.maks {color: #fff;}
/* Стилі для навігаційного меню */
		.navigation {
            text-align: center;
            margin: 20px 0;
        }

        .navigation ul {
            list-style-type: none;
            padding: 0;
        }

        .navigation li {
            display: inline-block;
            margin: 0 15px;
        }

.chalk {
            color: #fff;
            font-size: 18px;
            text-decoration: none;
            font-family: 'Comic Sans MS', cursive, sans-serif;
            text-shadow: 1px 1px 2px #000;
        }

        .chalk:hover {
            color: #ff0;
        }
	    .announcement-box {
            margin: 20px auto;
            background-color: rgba(255,255,255,0.1);
            padding: 10px 20px;
            border-left: 5px solid #ffeb3b;
            font-size: 16px;
            color: #fff;
            box-shadow: 2px 2px 5px rgba(0,0,0,0.3);
        }
/* Загальний блок для документів */
#documents {
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Заголовок для блоку документів */
#documents h3 {
    font-family: 'Chalkboard', sans-serif;
    font-size: 28px;
    color: #333;
    text-align: center;
    margin-bottom: 20px;
}



/*Банер 1*/

.banner-slide_index {
    display: none; /* Сховати всі слайди за замовчуванням */
}

.banner-slide_index.active {
    display: block; /* Показати активний слайд */
}

.banner-container_index {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
    overflow: hidden;
}

.banner-slide_index {
    display: none;
}

.banner-slide_index img {
    width: 100%;
    border-radius: 10px;
}

/* Стрілки */
.prev_index, .next_index {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    color: white;
    font-weight: bold;
    font-size: 24px;
    border-radius: 0 3px 3px 0;
    user-select: none;
    transition: 0.3s;
}

.next_index {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.prev_index:hover, .next_index:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

/* Контейнер для банера */

.banner-container {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
    overflow: hidden;
}

.banner-slide {
    display: none;
}

.banner-slide img {
    width: 100%;
    border-radius: 10px;
}

/* Стрілки */
.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    color: white;
    font-weight: bold;
    font-size: 24px;
    border-radius: 0 3px 3px 0;
    user-select: none;
    transition: 0.3s;
}

.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.prev:hover, .next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

/* Кружечки (індикатори) */
.dots {
    text-align: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.2);
}

.dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 5px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.active, .dot:hover {
    background-color: #717171;
    display: inline-block;
}

/* Меню для посилань на документи */
.documents-menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    margin-bottom: 20px;
}

.document-link {
    font-family: 'Arial', sans-serif;
    font-size: 16px;
    color: #007bff;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 5px;
    background-color: #e9ecef;
    margin: 5px;
    transition: background-color 0.3s, color 0.3s;
}

.document-link:hover {
    background-color: #007bff;
    color: white;
}

/* Окремий блок для кожного документа */
.document-card {
    background-color: #ffffff;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.document-card h4 {
    font-family: 'Arial', sans-serif;
    font-size: 20px;
    color: #333;
    margin-bottom: 10px;
}

.document-card p {
    font-family: 'Arial', sans-serif;
    font-size: 14px;
    color: #555;
    margin-bottom: 15px;
}

/* Посилання для завантаження документа */
.download-link {
    font-family: 'Arial', sans-serif;
    font-size: 16px;
    color: #28a745;
    text-decoration: none;
    background-color: #e2f5e9;
    padding: 8px 15px;
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s;
}

.download-link:hover {
    background-color: #28a745;
    color: white;
}

/* Загальний стиль сторінки 404 */
.error-page {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.error-content {
    text-align: center;
    background-color: #ffffff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.error-title {
    font-family: 'Chalkboard', sans-serif;
    font-size: 100px;
    color: #ff4757;
    margin-bottom: 20px;
}

.error-message {
    font-family: 'Arial', sans-serif;
    font-size: 18px;
    color: #555;
    margin-bottom: 30px;
}

.back-home {
    font-family: 'Arial', sans-serif;
    font-size: 16px;
    color: #007bff;
    text-decoration: none;
    background-color: #e9ecef;
    padding: 10px 20px;
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s;
}

.back-home:hover {
    background-color: #007bff;
    color: white;
}

.pagination {
    margin-top: 20px;
    text-align: center;
}

.pagination a {
    margin: 0 5px;
    padding: 8px 12px;
    background-color: #f4f4f9;
    text-decoration: none;
    color: #333;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.pagination a.active {
    background-color: #3498db;
    color: white;
    border-color: #3498db;
}

.sort-options {
    margin-bottom: 20px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.sort-options select {
    margin-left: 10px;
    padding: 5px;
}

        .footer {
            text-align: center;
            padding: 20px 0;
            color: #fff;
            font-size: 1em;
            width: 100%;
            bottom: 0;
        }
/* Стікери для оголошення */
.sticker {
    background-color: #f9f871; /* Жовтий фон, що нагадує стікер */
    border: 2px dashed #f39c12; /* Пунктирна рамка для візуалізації */
    padding: 15px;
    border-radius: 10px;
    box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.2); /* Легка тінь */
    position: relative;
}

.sticker-content {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    font-size: 1.2em;
    color: #333;
}

.sticker i {
    font-size: 1.5em;
    color: #e74c3c; /* Червона іконка стікера */
    margin-right: 10px;
}

.sticker-content p {
    font-size: 1.0em;
    margin: 0;
    color: #2c3e50;
}

/*Cnbks cnjhsyrb frnbdyjcns*/

#activity-detail img{
	width: 80%;
    margin: 0 10%;
    border-radius: 10px;
    box-shadow: 0 0 10px rgb(75 83 32);
}
/* Загальний стиль для меню */
.navigation ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.navigation li {
    position: relative;
}

.navigation li a {
    display: block;
    padding: 10px;
    text-decoration: none;
    color: #fff;
    background-color: #333;
}

/* Стиль для випадаючого списку */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #333;
    min-width: 160px;
    z-index: 1;
    margin-top: 10px;
}

.dropdown-content li {
    width: 100%;
}

.dropdown-content li a {
    padding: 10px;
    text-decoration: none;
    color: #fff;
    background-color: #444;
    display: block;
}

.dropdown-content li a:hover {
    background-color: #555;
}

/* Відображення випадаючого списку при наведені */
.dropdown:hover .dropdown-content {
    display: block;
}

/* Стиль для основних елементів меню */
.navigation li a:hover {
    background-color: #444;
}
.activities {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.activity-card {
    border: 1px solid #ccc;
    padding: 15px;
    border-radius: 5px;
    flex: 0 0 41%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.activity-card img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
}

.activity-card h4 {
    margin: 10px 0 5px;
}

.activity-card p {
    margin: 5px 0;
}

.read-more {
    display: inline-block;
    margin-top: 10px;
    padding: 10px;
    background-color: #333;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
}

.read-more:hover {
    background-color: #444;
}

.pagination {
    margin-top: 20px;
}

.pagination a {
    margin: 0 10px;
    text-decoration: none;
    color: #333;
}


.activity-card p {
    color: #555;
    line-height: 1.5;
}

.read-more {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 12px;
    background-color: #333;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.read-more:hover {
    background-color: #444;
}
.activities {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 20px 0;
}

.activity-card {
    background-color: #f0f8ffc2; /* Світло-блакитний фон, що нагадує дошку */
    border: 2px solid #333; /* Темна рамка для контрасту */
    border-radius: 5px;
    padding: 15px;
    margin: 10px;
    flex: 0 0 39%; /* Два стовпчики */
    box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.2);
    position: relative;
    font-family: 'Comic Sans MS', cursive; /* Стиль шрифту для шкільного ефекту */
}

.activity-card img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
}

.activity-card h4 {
    color: #333;
    font-size: 1.2em;
}

.activity-card p {
    color: #555;
    line-height: 1.5;
}

.read-more {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 12px;
    background-color: #333;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.read-more:hover {
    background-color: #444;
}

.pagination {
    margin: 20px 0;
    text-align: center;
}

.pagination a {
    margin: 0 5px;
    text-decoration: none;
    color: #333;
}

.pagination span {
    margin: 0 10px;
}

#teacher-detail {
    margin: 0 auto;
    padding: 20px;
    border-radius: 8px;
}

.teacher-image-container {
    text-align: center;
    margin-bottom: 20px;
	width: 50%;
}

.teacher-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.teacher-detail-container h3 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
}

.teacher-detail-container p {
    font-size: 16px;
    line-height: 1.5;
}

.teacher-detail-container h4 {
    font-size: 20px;
    margin-top: 20px;
}

.back {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    background-color: #4CAF50;
    color: white;
    text-decoration: none;
    border-radius: 4px;
}

.back:hover {
    background-color: #45a049;
}

.breadcrumb {
    margin: 10px 0;
}

.breadcrumb ul {
    list-style: none;
    padding: 0;
}

.breadcrumb li {
    display: inline;
    margin-right: 10px; /* Відстань між елементами */
}

.breadcrumb li a {
    text-decoration: none;
    color: white; /* Колір посилання на білий */
}

.breadcrumb li span {
    margin: 0 5px;
}

/* Додаткове стилізування для розділення між посиланнями */
.breadcrumb li:after {
    content: '>';
    margin-left: 10px; /* Відстань між посиланнями і роздільником */
    margin-right: 10px;
    color: white; /* Колір роздільника */
}

.breadcrumb li:last-child:after {
    content: ''; /* Вимкнення роздільника для останнього елемента */
}



        /* Мобільна версія */
        @media (max-width: 968px) {
.news-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100%, 1fr));
    gap: 20px;
    margin: 20px 0;
}

/* Основні стилі для навігації */

.navigation ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: space-around;
}

.navigation ul li {
    display: inline-block;
}

.navigation ul li a {
    text-decoration: none;
    color: #333;
    padding: 15px 20px;
    display: block;
}

.navigation ul li a:hover {
    background-color: #ddd;
}

/* Стилі для іконок */
.navigation ul li a i {
    margin-right: 8px;
}

/* Мобільна версія */
.menu-icon {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

@media (max-width: 768px) {
	
    .menu-icon {
        display: block;
        text-align: right;
        padding: 10px;
    }

    .navigation ul {
        display: none;
        flex-direction: column;
    }

    .navigation ul li {
        width: 100%;
        text-align: center;
    }

    .navigation ul li a {
        padding: 10px 0;
    }

    /* Показуємо меню при натисканні */
    .navigation ul.active {
        display: flex;
    }
}

	  #content{
              width: 90%;
             float: none;
         }
	.description_max img{
		width: 90%!important;
	}

	.activities {
		width: 90%!important;
	}
	.teacher-image-container {width: 90%!important;}
	#school_h2 {
    text-align: center;
    font-size: 2.0em;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}
          #sidebar {
              width: 90%;
             float: none;
         }
	.navigation ul {
		display: block !important;
   
	}
            .blackboard {             
                width: 85%;
                margin: 20px auto;
            }

            .blackboard h1, .blackboard h2 {
                font-size: 2em;
            }

            .blackboard p {
                font-size: 1.2em;
            }

            .chalk {
                font-size: 1em;
                padding: 10px;
                margin-top: 15px;
            }

            .school-bell {
                font-size: 1.5em;
            }

            .hidden-content h3 {
                font-size: 1.5em;
            }

            .hidden-content p {
                font-size: 1em;
            }

            .teacher-menu a {
                padding: 8px 15px;
                font-size: 1em;
                margin: 5px;
            }

            .teacher-card img {
                width: 120px;
                height: 120px;
            }

            .teacher-card h4 {
                font-size: 1.2em;
            }

            .teacher-card p {
                font-size: 1em;
            }
        }

        @media (max-width: 480px) {
            .blackboard {
                padding: 15px;
            }

            .blackboard h1, .blackboard h2 {
                font-size: 1.8em;
            }

            .chalk {
                font-size: 0.9em;
                padding: 8px;
            }

            .school-bell {
                font-size: 1.2em;
            }

            .teacher-menu a {
                padding: 6px 10px;
                font-size: 0.9em;
            }

            .teacher-card img {
                width: 100px;
                height: 100px;
            }

            .teacher-card h4 {
                font-size: 1em;
            }

            .teacher-card p {
                font-size: 0.9em;
            }
        }