.trainer {
    padding-top: 100px;
    padding-bottom: 100px;
    background-color: #e5f0f7;
}

.title {
    text-align: left !important;
}

#head h6 {
    font-size: 1.25rem !important;
}

#bottom h6 {
    color: var(--dark-grey) !important;
    font-size: 1rem;
    margin: 7px 7px 0 0;
}

#head {
    display: flex;
}

.trainer {
    flex-direction: column;
    align-items: center;
}

.teaminformation {
    display: flex;
}

#intro {
    text-align: left;
    width: 65%;
}

#intro p {
    font-size: 1.25em;
}

.phone {
    margin-bottom: 30px;
    margin-top: 4px;
    border: 1px #d6d6d6 solid;
    border-radius: 5px;
    width: 160px;
    padding: 5px;
}

.phone-link {
    color: #333;
    text-decoration: none;
    font-size: 1.25rem;
    margin-bottom: 0px;
}

.phone-link:hover {
    color: #43b02a;
    ;
}

#intro a.button {
    color: #fff;
    height: 25px;
    background-color: #0088cc;
    border-color: #0088cc;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    border-radius: 12px;
    padding: 12px 20px;
    border: none;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
}

#intro a.button:hover {
    background-color: #0056b3;
    border-color: #0056b3;
}

#team {
    display: block;
    width: 35%;
    margin-left: 120px;
}

.opening-hours {
    display: flex;
    align-items: flex-start;
    background-color: #f9f9f9;
    padding: 20px;
    margin-bottom: 20px;
    border-left: 5px solid var(--rib-blue);
    border-radius: 5px;
    font-size: 1.2rem;
    color: #333;
    line-height: 1.6;
    flex-direction: column;
}

.opening-hours span {
    font-weight: bold;
    color: var(--rib-blue);
    margin-bottom: 10px;
}

.opening-hours ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.opening-hours ul li {
    margin: 5px 0;
    font-size: 1rem;
    color: #555;
}

.opening-hours ul li::before {
    content: "•";
    color: var(--rib-blue);
    font-weight: bold;
    display: inline-block;
    width: 1rem;
}


.member {
    flex-basis: calc(33% - 4rem);
    text-align: left;
    display: flex;
    gap: 2rem;
}

.member img {
    width: 70px;
    height: 70px;
    padding-top: 7px;
    border-radius: 50%;
}

.member h3 {
    font-size: 1.5rem;
    margin: 0;
}

.member p {
    margin: 0;
}

.member bild {
    width: 200px;
}

.kontakt {
    gap: 20px;
}

/*.mail {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border-radius: 5px;
    background-color: #f9f9f9;
    font-size: 1.1rem;
    color: #333;
    text-decoration: none;
}*/

.mail {
    display: flex;
    align-items: center;
    background-color: #f9f9f9;
    padding: 15px;
    margin-bottom: 20px;
    border-left: 5px solid var(--rib-blue) !important;
    border-radius: 5px;
    font-size: 1.1rem;
    color: #333;
}

.email {
    color: #333;
    text-decoration: none;
    font-size: 1.1rem;
    margin-bottom: 0px;
}

hr {
    border: none;
    border-top: 1px solid var(--white) !important;
    margin-top: 10px;
    margin-bottom: 20px;
}

@media only screen and (max-width: 768px) {
   .teaminformation {
        display: block;
        text-align: center;
   }
   
    .member {
        flex-basis: calc(50% - 2rem);
        margin-left: 0;
    }

    #intro h2 {
        margin-top: 0px;
        font-size: 1.75em;
        text-align: center;
    }

    #intro p {
        font-size: 1.15em;
    }

    #intro {
        width: 100%
    }

    .kontakt {
        justify-content: center;
    }

    #intro {
        text-align: center;
    }

    #team {
        margin-left: 50px;
        width: 90%;
    }

    #intro,
    .member {
        width: 50%;
    }
}

@media only screen and (max-width: 600px) {
    .member {
        width: calc(100% - 2rem);
        margin-left: 0;
    }

    #team {
        margin-left: 20px;
    }

    .kontakt {
        justify-content: center;
    }

    #bottom h4 {
        margin: 7px 0 0 0;
        font-size: 0.85rem;
    }

    #intro {
        width: 100%
    }

    #intro h2 {
        margin-top: 0;
        font-size: 1.5em;
    }

    #intro p {
        font-size: 1em;
    }

    .member img {
        width: 50px;
        height: 50px;
        border-width: 2px;
    }

    .member h3 {
        font-size: 1.00rem;
    }

    .member p {
        font-size: 0.8rem;
    }

    .member .bild {
        width: 70px;
    }
}