/* slider code starts*/

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

.btn_selector {
    margin-left: 7%;
    display: inline-block;
    border: 2px blueviolet;
    border-radius: 10px;
    background-color: #a4a3d1;
    font-size: 1.7rem;
    color: aliceblue;
    box-shadow: -1px 2px 9px 1px #522768;
    transition: 0.5s;
}

.btn_selector:hover {
    background-color: #995af3;
    color: rgb(26 36 155);
    box-shadow: -1px 2px 9px 1px #ffffff;
    transition: 0.5s;
}

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

.slide.slide-2 {
    z-index: 6;
    animation-delay: 5s;
    overflow: hidden;
}

.slide.slide-3 {
    z-index: 5;
    animation-delay: 10s;
    overflow: hidden;
}

.slide.slide-4 {
    z-index: 4;
    animation-delay: 15s;
    overflow: hidden;
}

.slide.slide-5 {
    z-index: 3;
    animation-delay: 20s;
    overflow: hidden;
}

.slide.slide-6 {
    z-index: 2;
    animation-delay: 25s;
    overflow: hidden;
}

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


/* slider code ends*/

html {
    background: rgb(37, 27, 193);
    background: linear-gradient(180deg, rgb(35 27 163) 0%, rgb(247 247 247) 50%, rgb(66 65 171) 100%);
    background-size: auto;
    background-attachment: fixed;
}

.html.languages {
    background-image: url(../img/bg-lang.jpg);
    background-size: cover;
    background-attachment: fixed;
}

body {
    background: #a4a3d1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    max-width: 990px;
    height: 100vh;
    margin: 0 auto 0 auto;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
}

body::-webkit-scrollbar {
    display: none;
}

a a:visited {
    text-decoration: none;
}

.content {
    background-color: #a4a3d1;
}

.content__items {
    padding-left: 10%;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-items: flex-start;
}

.content__items.home {
    padding-left: 2%;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-items: flex-start;
}

.content__header {
    text-align: center;
    padding: 1rem 0 1rem 0;
    font-size: 2.5rem;
    color: rgb(32, 10, 10);
}

.content__item {
    display: inline-flex;
    padding: 10px;
}

.content__item.text:hover {
    border: 2px #aeadce;
    border-radius: 5%;
    background-color: #aeadce;
}

.jobs__list.text {
    padding: 0%;
    list-style: inside;
    ;
}

.jobs__list.image {
    list-style: none;
    padding: 0%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
}

.jobs__name {
    font-size: 1.8rem;
    padding-bottom: 2%;
}

.jobs__item {
    font-size: 1.15rem;
    padding: 3px;
}

img.jobs__image {
    height: 400px;
    width: auto;
}

.teacher__block {
    margin: 0.5% 0 0.5% 0;
    padding-left: 6%;
    display: inline-flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-items: flex-start;
    font-size: 1.7rem;
    font-style: italic;
    box-shadow: 0px 0px 6px 0px black;
    border-radius: 5px;
}

.teacher__block:target {
    animation: targetlink 2s;
}

@keyframes targetlink {
    from {
        background-color: rgb(93, 69, 230);
    }
    to {
        background-color: #a4a3d1;
    }
}

.teacher__name {
    display: inline-flex;
    flex-direction: row-reverse;
    flex-wrap: nowrap;
    align-items: center;
}

.teacher__item {
    font-size: 1.1rem;
    padding: 0 5px 0 20px;
    font-style: normal;
}

.img_teacher {
    width: 300px;
    height: auto;
}

.contact.content {
    display: flex;
    background-color: #a4a3d1;
    flex-direction: row;
    justify-content: space-around;
    flex-wrap: wrap;
}

.contact__header {}

.contact__item {
    font-size: 1.4rem;
    font-style: normal;
    padding: 10px;
}

.contact__item.top {
    margin-bottom: 0%;
    text-align: center;
}

.contact__name {
    font-size: 1.1rem;
    padding: 0 1% 0 0;
    font-style: normal;
    text-align: left;
    min-width: max-content;
}

.contact__name.top {
    padding-top: 2%;
    text-align: center;
    color: aliceblue;
}

.contact__name.top:hover {
    transition: 0.7s;
    color: blue;
}

.contact__name.rasp {
    color: aliceblue;
    transition: 0.7s;
}

.contact__name.rasp:hover {
    color: blue;
    transition: 0.7s;
}

.content__items.blog {
    align-items: center;
}

table {
    display: table-caption;
    max-width: 800px;
    border-color: #302ae9;
    margin-bottom: 2%;
}

th {
    min-width: 100px;
    flex-basis: 33%;
    font-size: 1.8rem;
}

tr:hover {
    background-color: #aeadce;
    transition: 0.4s;
}

tr td:hover {
    background-color: #9896df;
    transition: 0.4s;
}

tr span {
    color: brown;
    font-weight: bold;
    transition: 0.4s;
}

tr span:hover {
    color: red;
    animation: fade-out 2s infinite;
    transition: 0s;
}

td,
td {
    transition: 0.4s;
}

tr {
    display: flex;
}

td {
    min-width: 100px;
    flex-basis: 33%;
    font-size: 1.1rem;
    text-align: center;
}

td.t_name {
    text-align: left;
}

.footer__link_menu.courses {
    transition: 0.7s;
}

.footer__link_menu.courses:hover {
    color: blue;
    transition: 0.7s;
}

.content.courses {
    display: inline-block;
}

.content__header {}

.content__header.courses {
    padding: 0% 0 3% 0;
    font-size: 3rem;
}

.content__items.courses {
    display: flex;
    flex-direction: row;
    padding-right: 5%;
    padding-left: 5%;
    justify-content: space-between;
}

.courses__name {
    width: 45%;
    height: 45%;
    padding-bottom: 3%;
    font-size: 1.4rem;
    text-align: center;
    opacity: 80%;
    box-sizing: border-box;
    transition: 0.3s;
}

.courses__name img {
    padding-top: 5%;
    width: 80%;
    transition: 0.4s;
}

.courses__name:hover.languages {
    color: aliceblue;
    opacity: 100%;
    /*box-shadow: 0 0 20px 1px #0e0e0f7c;*/
    border-radius: 5px;
    transform: scale(1.1);
    transition: 0.4s;
    width: 45%;
}

.price_link {
    display: flex;
    text-align: center;
    text-decoration: none;
    flex-direction: column;
    align-items: center;
    color: bisque;
    padding: 0.1%;
    margin: 1%;
    font-size: 1.2rem;
}

.price_link .link-menu:hover {
    font-size: 1.5rem;
}

.content__items.computer {
    padding: 0 2% 0 3%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.courses__desc {
    font-size: 1.2rem;
    font-variant: proportional-width;
    line-height: 1.3;
    text-indent: 30px;
}

.alert_new {
    text-align: center;
    font-size: 1.3rem;
    font-weight: bold;
    font-style: italic;
    color: rgba(199, 8, 8, 0.808);
}

.link_teacher {
    text-decoration: none;
    color: rgb(33 39 80);
}

.link_teacher:visited {
    text-decoration: none;
}

.link_teacher:hover {
    text-decoration: underline;
    color: aliceblue;
}

.accounting {
    display: flex;
    flex-basis: 40%;
    font-size: 1rem;
    text-align: justify;
    margin: 1% 2% 1% 2%;
    font-style: italic;
    text-indent: 30px;
    justify-content: space-between;
}

.intext-link {
    color: rgb(33 39 80);
    transition: 0.7s;
    text-decoration: none;
}

.intext-link:hover {
    text-decoration: none;
    color: blue;
}

.content__items.autoschool {
    padding: 1%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.courses__name.autoschool {
    padding: 3% 0 1% 0;
    width: inherit;
    text-align: center;
}

.courses__desc.autoschool {
    display: inline-block;
    text-indent: 0%;
    padding: 10px;
}

.autoschool img {
    max-width: 80vw;
    border-radius: 20px;
    box-shadow: 0 0 10px 0px black;
}

.img_block.autoschool {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
}

.courses__name.beauty {
    font-size: 2rem;
    color: brown;
}

.courses__desc.beauty {
    font-family: sans-serif;
    text-indent: 20px;
}

ul.beauty {
    list-style: decimal;
}

@media only screen and (max-width: 768px) {
    tr {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: flex-start;
    }
    th {
        font-size: small;
    }
    td {
        font-size: smaller;
    }
    .teacher__name {
        display: flex;
        flex-wrap: wrap;
        flex-direction: column;
        align-items: center;
    }
    tbody {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-evenly;
    }
}