/*body {
    padding-top: 120px;
    background-color: #666777;
}

.navbar {
    background-color: white;
    height: 80px;
    margin: 20px;
    border-radius: 16px;
    padding: 0.5rem;
}

.navbar-brand {
    font-weight: 500;
    color: #009970;
    font-size: 24px;
    transition: 0.3 color;
}


.login-button {
    background-color: #FFA500;
    color: white;
    font-size: 14px;
    padding: 8px 20px;
    border-radius: 50px;
    text-decoration: none;
    transition: 0.3s background-color;
}

.login-button:hover {
        background-color: #ffd800;
    }

.navbar-toggler {
    border: none;
    font-size: 1.25rem;
}

.navbar-toggler:focus, .btn-close:focus {
        box-shadow: none;
        outline: none;
    }

.nav-link {
    color: #666777;
    font-weight: 500;
    position: relative;
}

.nav-link:hover, .nav-link.active {
        color: #000;
}

@media(min-width: 1305px) {
    .nav-link::before {
        content: "";
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 0;
        height: 2px;
        background-color: #FFA500;
        visibility: hidden;
        transition: 0.3s ease-in-out;
    }

    .nav-link:hover::before, .nav-link.active::before {
        width: 100%;
        visibility: visible;
    }
}*/

:root {
    --color-white: #fff;
    --color-black: #000;
    --color-grey-dark: #4B4B4E;
    --color-grey-light: #F7F6F6;
    --color-grey2: #D7D7D7;
    --color-grey4: #BDBDBD;
    --color-yellow: #F0A410;
    font-size: 16px !important;
}

* {
    box-sizing: border-box;
}

ul, p, h1, h2, h3, figure, figcaption {
    margin: 0;
    padding: 0;
}

li {
    list-style: none;
}

a {
    text-decoration: none;
}

.clear {
    clear: both;
}

.rating {
    direction: rtl; /* Перевернуть направление, чтобы звезды заполнялись слева направо */
}

    .rating input {
        display: none; /* Скрыть радиокнопки */
    }

    .rating label {
        font-size: 30px; /* Размер звезд */
        color: lightgray; /* Цвет незаполненных звезд */
        cursor: pointer;
    }

    .rating input:checked ~ label {
        color: gold; /* Цвет заполненных звезд */
    }

    .rating label:hover,
    .rating label:hover ~ label {
        color: gold; /* Цвет при наведении */
    }


.natification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #28a745;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    display: none;
    z-index: 1000;
    font-size: 14px;
    transition: opacity 0.3s ease-in-out;
}

    .natification.error {
        background-color: #dc3545;
    }

.link-a {
    font-size: 1rem;
    line-height: 19px;
    color: #4B4B4E;
    margin: 0;
    transition: 0.5s all ease;
}

    .link-a:hover {
        font-weight: 600;
    }


.syllabus-title {
    max-width: 350px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
