.courses{
    min-height: 100vh;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}
/* .courses .container-inside{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    
} */
.courses_name{
    position: relative;
    margin-top: 35px;
    padding-bottom: 15px;
    text-align: center;
    color: #413960;
    font-weight: normal;
    font-size: 2.85rem;
    line-height: 1;
    font-weight: normal;
}
.courses-list{
    width: 100%;
}
.courses-bar{
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: baseline;
    gap: 25px;
    padding: 35px 0;
}
.courses-bar_item{
    padding: 5px 15px;
    background-color: rgba(56, 10, 77, 0);
    border: 1px solid rgba(56, 10, 77, 0.8);
    border-radius: 30px;
    font-size: 16px;
    transition: all .3s ease-out;
    opacity: 0.8;
}
.courses-bar_item.choosed{
    background-color: rgba(56, 10, 77, 0.8);
    color: #ffffff;
}
.courses-list{
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: stretch;
    flex-wrap: wrap;
    gap: 2%;
    padding: 45px 0;
}
.course-item{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 25px;
    gap: 15px;
    width: 23%;
    padding: 20px;
    position: relative;
    box-shadow: 0 10px 40px 0 rgba(0, 0, 0, 0.1);
    /* border: 1px solid rgba(65, 57, 96, 0.2);
    border-radius: 11px;
    background-color: rgba(56, 10, 77, 0.1); */
}
.course-item::before,
.course-item::after{
    content: "";
    position: absolute;
    width: 28px;
    height: 28px;
    border-top: 2px solid #380a4d;
    border-left: 2px solid #380a4d; 
}
.course-item::before{
    top: 0px;
    left:0px;
}
.course-item::after{
    bottom: 0px;
    right: 0px;
    transform: rotate(180deg);
}
.course-item_name{
    width: 100%;
    text-align: left;
    font-size: 23px;
    line-height: 0.9;
}
.course-item_bar{
    padding: 4px 8px;
    background-color: rgba(242, 184, 67, 0.5);
    border-radius: 30px;
    opacity: 0.8;
}
.course-item-desc{
    margin-bottom: 15px;
    width: 100%;
    text-align: start;
    font-size: 16px;
    line-height: 1.2;
}
.course-teacher{
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
}
.course-teacher_img{
    width: 45px;
    height: 45px;
    background-repeat: no-repeat;
    background-position: top center;
    background-size: cover;
    border-radius: 50%;
}
.course-teacher_name{
    font-size: 16px;
}
.course-register{
    display: inline-block;
    padding: 5px 15px;
}




/*hover*/
@media screen and (min-width: 835px) {
    .courses-bar_item:hover{
        background-color: rgba(56, 10, 77, 0.8);
        color: #ffffff;
    }
}

/* адаптирование под экраны */
@media screen and (max-width: 1175px) {
  .courses .container-inside{
    width: 96%;
  }
}
@media screen and (max-width: 1075px) {
  .courses-list{
    gap: 3%;
  }
  .course-item{
    width: 30%;
  }
}
@media screen and (max-width: 780px) {
  .courses-list{
    gap: 5%;
  }
  .course-item{
    width: 45%;
  }
}
@media screen and (max-width: 510px) {
  .course-item{
    width: 100%;
  }
  .courses-bar{
    gap: 15px;
    flex-wrap: wrap;
  }
}