body {
    padding: 0px;
    margin: 0px;
    background-color: #f4f4f4;
    display: flex;
    flex-direction: column;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 500; 
    color: #2C2C2C;
}

main {
    width: 100vw;
    justify-content: center;
}

h1 {
    text-align: center;
    font-size: 4rem;
    font-weight: bold;
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 0px;
}

h2 {
    text-align: center;
    font-size: 1.2rem;
    font-weight: bold;
}

a h1 {
    text-decoration: none;
    color: #2C2C2C;
}

a {
    text-decoration: none;
}

.datenschutz .text-wrapper {
    margin-top: 50px !important;
}

.container {
    padding: 0px 20vw;
}

.img-wrapper {
    display: flex;
    justify-content: space-evenly;
    margin-top: 80px;
}

.img {
    display: flex;
    height: 30vh; /* Später weg */
}

.img-card {
    background-color: #fff;
    box-shadow: 0 2px 5px 0 rgba(0,0,0,.16), 0 2px 10px 0 rgba(0,0,0,.12);
    width: 300px;
    height: 350px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    text-align: center;
}

.img-card img {
    height: 60%;
    padding: 0px 15%;
    -webkit-filter: drop-shadow(0px 1px 5px rgba(0,0,0,.5));
    filter: drop-shadow(0px 1px 5px rgba(0,0,0,.5));
}

.img-card h2 {
    font-size: 1.5rem;
    font-weight: 700;
}

.img-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
}

.img-card button {
    border: none;
    background: none;
}

.img-card button:hover {
    cursor: pointer;
}

i {
    border: solid black;
    border-width: 0 2px 2px 0;
    display: inline-block;
    padding: 3px;
    margin: 4.3px;
  }

  .down {
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
  }

  .training-click:hover{
      cursor: pointer;
  }

.text-wrapper {
    margin-top: 150px;
    display: flex;
    flex-direction: column;
}

.text-wrapper h2 {
    font-size: 1.5rem;
    font-weight: 700;
    text-align: left;
}

.text-wrapper h3 {
    text-align: left;
    font-size: 1.2rem;
    font-weight: 700;
}

.text-wrapper h4 {
    font-size: 1.5rem;
    font-weight: 700;
    text-align: left;
    margin-top: 60px;
}

.text-wrapper h5 {
    font-size: 1.2rem;
    font-weight: 600;
    text-align: left;
}

.text-wrapper a {
    text-decoration: none;
    color: #2C2C2C;
    transition: .4s ease;
}

.text-wrapper a:hover {
    cursor: pointer;
    text-decoration: underline;
} 

#trainingsball {
    width: 100vw;
    height: 200vh;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 2;
    display: none;
    position: absolute;
}

#matchball {
    width: 100vw;
    height: 200vh;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 2;
    display: none;
    position: absolute;
}

footer {
    width: 100vw;
    height: 100px;
    display: flex;
    justify-content: space-around;
    background-color: #2C2C2C;
    padding: 20px 0px;
    margin-top: 80px;
}

footer img {
    height: 80%;
}

footer .impressum {
    color: #fff;
}

.card {
    width: 820px;
    height: 500px;
    margin: auto;
    margin-top: 20vh;
    background-color: #fff;
    box-shadow: 0 2px 5px 0 rgba(0,0,0,.16), 0 2px 10px 0 rgba(0,0,0,.12);
    border-radius: 12px;
    display: flex;
}

.card img {
    width: 40%;
    height: 66%;
    -webkit-filter: drop-shadow(0px 1px 5px rgba(0,0,0,.5));
    filter: drop-shadow(0px 1px 5px rgba(0,0,0,.5));
}

.card h2 {
    text-align: left;
}

.card button {
    border: none;
    background: none;
    font-size: 2rem;
    font-weight: 700;
    position: relative;
    right: 8px;
    top: -210px;
}

.card button:hover {
    cursor: pointer;
}

.mobile-text {
    display: none;
}

/* Später weg, wen Bild da ist! */

.right img {
    filter: unset;
}

.no-filter img {
    filter: unset;
}


@media (max-width: 1000px) { 
    .img-wrapper {
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .right {
        margin-top: 200px;
    }
 }

 @media (max-width: 576px) {

    .container {
        padding: 0px 10vw;
    }


    .right {
        margin-top: 740px;
    }

    .img-card {
        height: 860px;
    }

    .img-card img {
        height: 200px;
        width: 200px;
    }

    .img-card button {
        display: none;
    }

    .card-text p {
        text-align: left;
        padding: 0px 20px;
    }

    .card-text h5,h6 {
        text-align: center;
    }

    .mobile-text {
        display: block;
    }

    .text-wrapper {
        margin-top: 640px;
    }

    footer {
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
        height: 190px;
    }
} 

@media screen and (max-width: 820px) and (min-width: 575px) {
    .card {
        flex-direction: column;
        width: 100vw;
    }

    .card img {
        width: 60%;
        height: 47%;
        padding: 0px 20%;
    }

    .mobile-text {
        display: none;
    }

    .img-card button {
        display: block;
    }

    .card {
        width: 500px;
        height: auto;
    }

    .card img {
        height: 200px;
        width: 200px;
        margin: auto;
    }

    .card .card-text {
        padding: 0px 40px;
    }

    .card button {
        right: -220px;
        top: -670px;
    }
}

