  section {
    margin-top: 1.5%;
  }

  h2 {
    margin-top: 2.5%;
    text-align: center;
    margin-bottom: 2%;
  }
  
  .slider{
    width: 70%;
    height: 100%;
    border-radius: 10px;
    overflow: hidden;
    margin-left: auto;
    margin-right: auto;
    position: relative;
  }
  
  .slides{
    width: 500%;
    height: auto;
    max-height: 600px;
    overflow: hidden;
    display: flex;
    align-items: center;
  }
  
  .slides input{
    display: none;
  }
  
  .slide{
    width: 20%;
    transition: 2s;
    overflow: hidden;
    z-index: -5;
  }
  
  .slide img{
    width: 100%;
    height: auto;
    z-index: 5;
  }

  .news {
    display: flex;
    width: 80%;
    margin: auto;
    border: 1px solid grey;
    border-radius: 10px;
    justify-content: space-around;
    flex-direction: row;
  }

  .wettkaempfe {
    display: flex;
    width: 50%;
    margin: auto;
    border: 1px solid grey;
    border-radius: 10px;
    flex-direction: column;
  }

  .wettkampf h4 {
    margin-top: 2%;
    text-align: center;

  }

  .wettkampf {
    border-bottom: 1px solid black;
    padding:10px 10px 10px 10px
  }

  .daten {
    margin-top: 3%;
    display: flex;
    justify-content: space-around;
    font-size: large;
    font-weight: bold;
  }


  .news img {
    width: auto;
    height: auto;
    max-width: 100%;
    border-radius: 10px;
  }

  .prev {
    padding: 10px 10px 10px 10px;
    flex-wrap: nowrap;
    display: flex;
    flex-direction: column;
    width: 25%;
    align-items: center;
    color: black;
    cursor: pointer;
  }

  .prev a {
    text-decoration: none;
  }

  .prev p {
    padding-top: 5%;
  }
  
  .navigation-manual{
    position:absolute;
    bottom: 5%;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
  }

  .navigation-auto{
    position: absolute;
    display: flex;
    left: 50%;
    transform: translateX(-50%);
    justify-content: center;
    bottom: 5%;
  }
  
  .manual-btn{
    border: 2px solid #40D3DC;
    padding: 5px;
    border-radius: 10px;
    cursor: pointer;
    transition: 1s;
  }
  
  .manual-btn:not(:last-child){
    margin-right: 40px;
  }
  
  .manual-btn:hover{
    background: #40D3DC;
  }
  
  #radio1:checked ~ .first{
    margin-left: 0;
  }
  
  #radio2:checked ~ .first{
    margin-left: -20%;
  }
  
  #radio3:checked ~ .first{
    margin-left: -40%;
  }
  
  #radio4:checked ~ .first{
    margin-left: -60%;
  }

  #radio5:checked ~ .first{
    margin-left: -80%;
  }
  
  /*css for automatic navigation*/
  
  .navigation-auto div{
    border: 2px solid #40D3DC;
    padding: 5px;
    border-radius: 10px;
    transition: 1s;
  }
  
  .navigation-auto div:not(:last-child){
    margin-right: 40px;
  }
  
  #radio1:checked ~ .navigation-auto .auto-btn1{
    background: #40D3DC;
  }
  
  #radio2:checked ~ .navigation-auto .auto-btn2{
    background: #40D3DC;
  }
  
  #radio3:checked ~ .navigation-auto .auto-btn3{
    background: #40D3DC;
  }
  
  #radio4:checked ~ .navigation-auto .auto-btn4{
    background: #40D3DC;
  }

  #radio5:checked ~ .navigation-auto .auto-btn5{
    background: #40D3DC;
  }

  @media screen and (max-width: 992px) {

    .prev img {
        max-height: 75%;
        max-width: 75%;

    }

    .news {
      flex-direction: row;
      flex-wrap: wrap;
    }

    .prev {
      flex-direction: column;
      align-items: center;
      width: 100%;
      border-bottom: 2px solid #40D3DC;
      margin-top: 3%;
    }

    .daten {
      flex-direction: column;
      align-items: center;
    }

    .wettkaempfe {
      width: 80%;
    }
}