* {
    margin: 0;
    /* box-sizing: border-box; */
}

html, body {
    font-size: 18px;
    font-family: sans-serif;
}


h1 {
    text-align: center;
    margin-bottom: 40px;
}


.courses {
    margin-top: 40px;
}

.courses li {
    margin-bottom: 20px;
}

.courses a {
    color: #222;
}

.content-news{
    padding-top: 100px;
  padding-bottom: 100px;
    border-top:2px solid #edf0f2;
}

.slider {

    width: 1000px;
    height: 500px;
    border: #222;
    margin: 20px auto;
    overflow: hidden;
}

.slider-line {
    width: 9000000px;
    height: 500px;
    display: flex;
    position: relative;
    left: 0;
    transition: all ease 1s;
}

.news {
    width: 1000px;
    height: 500px;
    border-left: 2px solid #edf0f2;
    border-right: 2px solid #edf0f2;
}

.text-news{
color: #000;
height: 50px;
padding-left: 6px;
font-size: 18px;
}

.img-line{
    display: flex;
}

.img-news-border{
    width: 250px;
    height: 400px;
}

.img-news-border-if-2-img{
    width: 250px;
    height: 400px;
    padding-left: 100px;
}

.img-news-border-conect{
    display: flex;
}

.img-news-border-conect-if-3-img{
    display: flex;
    padding-left: 125px;
}

.img-news-border-conect-if-2-img{
    display: flex;
    padding-left: 200px;
}

.img-news {
    width: 250px;
    height: 300px;
    padding: 10px;
    display: block;
  margin: auto;
}


.switch{
    width: 30px;
    height: 20px;
}

.slider-prev {
    background-color: #a4a9b6;
    border:none;
    border-radius:10px;
    padding: 4px;
}
.slider-next {
    background-color: #a4a9b6;
    border:none;
    border-radius:10px;
    padding: 4px;
}