.header {
    background-color: #a4a3d1;
    font-size: medium;
    font-weight: 500;
}

.header__logo {
    margin: 0%;
    max-height: 151px;
}

.img_logo {}


/* slider code starts*/

.header__slider {
    padding-left: 0%;
    margin: 0%;
    box-sizing: border-box;
    position: relative;
    width: 990px;
    height: 248px;
    overflow: hidden;
    border-radius: 5px;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 7;
    display: flex;
    align-items: center;
    width: 100%;
    height: 100%;
    transform: translateX( 990px);
    animation: opaqTransition 28s cubic-bezier(1, 5, 1, 5) infinite;
}

.slide.slide-2 {
    z-index: 6;
    animation-delay: 7s;
}

.slide.slide-3 {
    z-index: 5;
    animation-delay: 14s;
}

.slide.slide-4 {
    z-index: 4;
    animation-delay: 21s;
}

.slide.slide-5 {
    z-index: 3;
    animation-delay: 28s;
}

@keyframes opaqTransition {
    0% {
        transform: translateX( 0);
    }
    25% {
        transform: translateX( 0);
    }
    50% {
        transform: translateX( -990px);
    }
    100% {
        transform: translateX( -990px);
    }
}


/* slider code ends*/

svg {
    stroke: rgb(11, 66, 216);
    stroke-width: 5;
    overflow: hidden;
    visibility: visible;
}

.nav-menu {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
    list-style: none;
    margin: 0;
    padding-left: 0%;
}

li#index {
    order: 1;
}

li#about {
    order: 5;
}

li#courses {
    order: 2;
}

li#teachers {
    order: 3;
}

li#blog {
    order: 6;
}

li#price {
    order: 4;
}

li#contacts {
    order: 7;
}

.nav-item {
    font-size: x-large;
    padding: 10px 5px 10px 5px;
    border-radius: 11%;
}

.link-menu:hover {
    color: blue;
    transition: 0.7s;
}

.active:hover,
.link-menu:hover {
    background-color: #a4a3d1;
    transition: 0.7s;
}

.link-menu {
    text-decoration: none;
    color: aliceblue;
}

.active {
    background-color: blueviolet;
}

@media screen and (max-width: 989px) {
    svg {
        height: 5px;
        width: 700px;
    }
    body {
        max-width: 700px;
        margin: 0 auto 0 auto;
    }
    .header__logo,
    .img_logo {
        max-width: 700px;
        height: 107px;
    }
    img {
        max-width: 700px;
    }
    /* slider code starts*/
    .header__slider {
        width: 700px;
        height: 168px;
    }
    .beauty__slider {
        width: 700px;
        height: 500px;
    }
    .slide {
        transform: translateX( 700px);
    }
    @keyframes opaqTransition {
        0% {
            transform: translateX( 0);
        }
        25% {
            transform: translateX( 0);
        }
        50% {
            transform: translateX( -700px);
        }
        100% {
            transform: translateX( -700px);
        }
    }
}


/* Extra small devices (phones, 600px and down) */

@media only screen and (max-width: 600px) {
    .desktop_menu {
        display: none;
    }
    svg {
        visibility: hidden;
    }
    .footer__item__header {
        display: none;
    }
    .courses__name.languages {
        width: 100%;
    }
    .courses__name:hover.languages {
        width: 100%;
    }
    .teacher_fio {
        padding-bottom: 0px;
        text-align: center;
    }
    .teacher__name {
        display: block;
    }
    .teacher__item {
        padding: 0% 1% 0 1%;
    }
}


/* Small devices (portrait tablets and large phones, 600px and up) */

@media only screen and (min-width: 600px) {
    .mobile_menu {
        display: none;
    }
}


/* Medium devices (landscape tablets, 768px and up) */

@media only screen and (max-width: 768px) {
    body {
        width: 100vw;
    }
    .header__logo {
        display: none;
    }
    .header__slider,
    .beauty__slider {
        display: none;
    }
    svg {
        width: 100%;
    }
    .onleft {
        width: 90%;
    }
    .courses__desc {
        text-indent: 10px;
    }
    .courses__name.accounting {
        display: none;
    }
    .alert_new.teacher {
        padding-bottom: 10px;
    }
}


/* Large devices (laptops/desktops, 992px and up) */

@media only screen and (min-width: 992px) {
    .content__header>p {
        display: none;
    }
}


/* Extra large devices (large laptops and desktops, 1200px and up) */

@media only screen and (min-width: 1200px) {
    ...
}