
.main-content {
    margin-left: 200px;
}

.text-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.logout-button {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.logout-button svg {
    fill: #000000;
    margin-left: 5px;
}

.logout-button:hover svg {
    fill: #ff0000;
}
/* Относится к sidebar-у */

/* Относится к главной странице (dashboard) */
.dashboard {
    grid-template-columns: 1fr 1fr;
    grid-gap: 20px;
    padding: 20px;
}

.card {
    background-color: #f8f9fa;
    padding: 15px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.card h4 {
    color: #333;
    font-size: 18px;
}

.card p {
    color: #666;
}

.welcome-section {
    text-align: center;
    width: 100%;
    padding: 15px;
    box-sizing: border-box;
    background-color: #f8f9fa;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
/* Относится к главной странице (dashboard) */

/* Относится к разделу о назаченных курсах (about) */
.main-item {
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.main-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}
.sub-item {
    margin-top: 15px;
}
.btn-custom {
    border-radius: 50px;
    padding: 10px 20px;
}
/* Относится к разделу о назаченных курсах (about) */

.section-title {
    margin-top: 30px;
    font-size: 24px;
    font-weight: 500;
    color: #3498db;
    border-bottom: 2px solid #3498db;
    padding-bottom: 10px;
}

.subsection {
    margin: 15px 0;
    padding: 15px;
    border: 1px solid #dcdcdc;
    border-radius: 5px;
    background-color: #f9f9f9;
    position: relative;
    transition: background-color 0.3s;
}

.subsection:hover {
    background-color: #e9f5ff;
}

.final-test {
    margin-top: 30px;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    display: flex;
    flex-direction: column; /* Вертикальная компоновка */
    height: 100vh; /* Высота экрана */
}

/* Сайтбар */
.sidebar {
    width: 250px; /* Ширина сайтбара */
    background-color: #2E3B4E;
    color: white;
    position: fixed; /* Фиксация сайтбара */
    height: 100%; /* Занимает всю высоту экрана */
    overflow-y: auto; /* Прокрутка, если контент превышает высоту */
}

/* Рабочая область */
.content {
    margin-left: 250px; /* Отступ для сайтбара */
    flex: 1; /* Занимает оставшееся пространство */
    display: flex;
    flex-direction: column; /* Вертикальная компоновка в контенте */
}

/* Футер */
.footer {
    text-align: right;
    padding: 10px 0;
    margin-top: auto; /* Этот отступ заставляет футер оставаться внизу */
    left: 280px;
    bottom: 0;
    width: 100%;
    height: 80px;
}


html, body {
    height: 100%;
    margin: 0;
}

.container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.content {
    flex: 1;
}

.footer {
    padding: 20px;
}