@import url('https://fonts.googleapis.com/css2?family=Andika&display=swap');
*{
    margin: 0;
    padding: 0;
    
}
a{
    text-decoration: none;
    color: #000;
}
body{
    font-family: "Andika";
    background-color: rgb(0, 0, 0);
}
.container{
    max-width: 80%;
    margin: 0 auto;
}

/* --------------------------------header--------------------- */

.header{
    width: 100%;
    border-bottom-right-radius: 25px;
    border-bottom-left-radius: 25px;
    background-color: #182449;
}
.header_flex_container{
    display: flex;
    justify-content: space-between;
}
.logo_img{
    max-width: 80px;
}
.nav{
    display: flex;
    justify-content: end;
    align-items: center;
}
.nav_list{
    list-style: none;
    margin: 0 0 0 10px;
    vertical-align: middle;
    transition: .2s;
    position: relative;
}
.nav_list:hover{
    border-bottom: 2px solid #fff;
}
.nav_list a{
    font-size: 20px;
    color: #fff;
    transition: .2s;
}
.hint:before{
    content: "";
    width: 20px;
    height: 20px;
    background: #a2a2a2;
    position: absolute;
    top: 130%;
    right: 50%;
    transform: translateX(50%) rotate(45deg);
    display: none;
}
.hint:after{
    position: absolute;
    top: 150%;
    left: -100%;
    right: -100%;
    background: #a2a2a2;
    padding: 10px;
    border-radius: 5px;
    display: none;
    align-items: center;
    justify-content: center;
}
.hint_active.hint:after, .hint_active.hint:before{
    display: flex;
}
.gw_hint:after{
    content: "Здесь можно посмотреть другие работы этого курса";
}
.dw_hint:after{
    content: "Скачать эту работу";
}
/* ------------------------------content--------------------- */


.content>.container{
    background: #0E0E16;
    padding: 50px 0;
    min-height: 75vh;
}
.title{
    text-align: center;
    color: #fff;
    font-size: 45px;
}
.subtitle{
    text-align: center;
    color: #fff;
    font-size: 20px;
}
.warning{
    color: #ff5656;
}
.course_title{
    color:#fff;
    text-align: center;
    font-size: 19px;
}
.accordion{
    max-width: 80%;
    margin: 10px auto;
}
.accordion_item{
    color: #262524;
    list-style: none;
    padding: 10px 25px;
    margin: 5px 0;
    vertical-align: middle;
    background-color: #fff;
    border-radius: 15px;
    position: relative;
    cursor: pointer;
}
.acc_item_flex{
    display: flex;
    justify-content:space-between;
}
.acc_active > .acc_item_flex > .fa-sort-down{
    color: #000;
    transform: rotate(-180deg);
}
.fa-sort-down, .fa-sort-up{
    font-size: 25px;
}
.accordion_title{
    font-size: 25px;
}
.accordion_subitems{
    display: none;
    border-top: 2px solid #262524;
}
.accordion_open{
    display: block;
}
.acc_subitem{
    border-bottom: 1px solid #262524;
    list-style: none;
    transition: .3s;
}
.acc_subitem:last-child{
    border: none;
}
.acc_subitem:hover{
    background: #bfbfc0;
}
.acc_subitem a{
    display: block;
    color: #262524;
}


/*-----------------metrika natification------*/
.metrika_notification{
    display: none;
    position: fixed;
    bottom: 20px;
    color: #000;
    width: 90%;
    margin: 0 0 0 50%;
    transform: translateX(-50%);
    padding: 20px;
    background-color: #d0cfcf;
    border-radius: 15px;
    z-index: 10;
    opacity: 0.9;
}
.MN_active{
    display: block;
}
.MN_link{
    color: #2b0000;
    transition: 0.1s;
}
.MN_link:hover{
    color: #240000;
}
.MN_close{
    display: inline-block;
    position: absolute;
    top: 8px;
    right: 8px;
    width: 20px;
    height: 20px;
    /*border: 1px solid #000;*/
    border-radius: 50%;
    cursor: pointer;
}
.MN_close::after{
    content: "";
    position: absolute;
    top: 50%;
    left: 2px;
    width: 16px;
    border-bottom: 1px solid #000;
    transform: rotate(45deg);
    transition: 0.3s;
}
.MN_close::before{
    content: "";
    position: absolute;
    top: 50%;
    left: 2px;
    width: 16px;
    border-bottom: 1px solid #000;
    transform: rotate(-45deg);
    transition: 0.3s;
}
.MN_close:hover::before{
    transform: rotate(0deg);
}
.MN_close:hover::after{
    transform: rotate(0deg);
}
/* ----------------getWork------------------ */
.workInfo{
    color: #fff;
    width: 90%;
    margin: 20px auto 30px;
    text-align: center; 
    font-size: 20px;
}
.workInfoHeader{
    font-weight: bold;
    color: #ACA9FF;
}
.workDiscription{
    text-align: justify;
}
.workDiscription .from{
    color:#182449;
}
.workDiscription a{
    color:#2a3e7d;
    transition: 0.2s;
}
.workDiscription a:hover{
    color:#182449;
}
.workDiscription li{
    margin-left: 80px;
}
.workDiscription p{
    text-indent: 40px;
}
.acc_wraper{
    width: 100%;
    height: 100%;
    background: #24292eee;
    position: fixed;
    top:0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: none;
    overflow-y: scroll
}
.buttons{
    width: 70%;
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}
.link_download, .link_view{
    padding: 5px;
    display: block;
    /*max-width: 45%;*/
    flex-basis: 45%;
    align-items: center;
    margin: 10px 0;
    text-align: center;
    color: #fff;
    font-size: 20px;
    background-color: rgb(43, 42, 42);
    border-radius: 5px;
    transition: .3s;
}
.link_download:hover, .link_view:hover{
    background-color: #000;
}
.a_block{
    width: auto;
    margin: 30px auto 0;
    text-align: center;
}
#offAdBlock{
    color: #fff;
}
/* --------------------------------footer----------------------- */
.footer{
    width: 100%;
    background-color: #182449;
    border-top-left-radius: 25px;
    border-top-right-radius: 25px;
}
.footer_flex_container{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 0;
}
.icons{
    font-size: 30px;
    
}
.icons a{
    color: #fff;
}
.fa-telegram-plane:hover{
    color: #33AADF;
}
.fa-vk:hover{
    color: #2787F5;
}
.fa-instagram:hover{
    color: #A835B5;
}
.fa-discord:hover{
    color: #738BD7;
}
.fa-github:hover{
    color: #131313;
}
.footer_text{
    font-size: 20px;
    color: #fff;
}
.footer_up a{
    font-size: 25px;
    color: #fff;
}
.footer_up a:hover{
    color: #551A8B;
}

/* -------------------donation-------------------------- */

.donation{
    width: 100%;
    height: 100%;
    background: #24292eee;
    position: fixed;
    top:0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: none;
}
.donation iframe{
    margin: 15% 0 0 50%;
    transform: translateX(-50%);
}
.window_on{
    display: block;
}
.fa-times-circle{
    font-size: 30px;
    color: #fff;
    position: absolute;
    top: 25px;
    right: 25px;
    cursor: pointer;
}
._no_scroll{
    overflow: hidden;
}
/* --------------------------------------------404---------------------------------- */
.img404container, .img_thanks_container{
    margin: 20px 0;
    text-align: center;
}
.img404, .img_thanks{
    margin: 0 auto;
}

/*--------------------------------------------thanks--------------------------------*/
.img_thanks{
    border-radius: 10px;
}
/* -------------------------------------------add---------------------------------- */
.addForm{
    display: flex;
    flex-direction: column;
    align-items:center;
    width: 100%;
    color:#fff;
}
select, .input{
    padding: 5px;
    margin: 10px 0;
    background-color: #000;
    color:#fff;
    font-family: "Andika";
    border-radius: 8px;
}
.disciplines, .work{
    display: none;
}
.addFormActive{
    display: block;
}
.buttons_panel{
    margin: 5px 0;
    padding: 0;
    display: flex;
    justify-content: space-around;
}
.buttons_panel li{
    width: 25px;
    text-align: center;
    list-style: none;
    margin: 0;
    padding: 2px;
    background-color: #000;
    border-radius: 5px;
    cursor: pointer;
}
.button{
    color: #fff;
    font-weight: bold;
    padding: 10px;
    margin: 10px 0;
    background-color: #000;
    border: 1px solid #fff;
    border-radius: 8px;
    cursor: pointer;
}
.button:hover{
    color: #000;
    background-color: #989898;
    border: 1px solid #000;
}