

/* Cover  page */

.cover-page {
    background-image: linear-gradient(to right bottom, rgba(0,0,0,0.9),grey), url(../images/contact.jpg);
    background-repeat: no-repeat;
    background-position: top;
    background-size: cover;
    background-blend-mode: multiply;
    clip-path: polygon(0 0, 100% 0, 100% 95%, 0 100%);
    height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cover-page > .container-flex {
    display: flex;
    flex-direction: column;
    align-items: center;
}

    .cover-page h1 {
        display: inline-block;
        color: #eee;
        font-family: var(--primary-font);
        font-size: var(--size-bigger);
        padding: 0 2.5rem;
        margin-top: 8rem;
        text-align: center;
        text-transform: uppercase;
    }

    .cover-page h2 {
        margin-top: 2rem;
        color: #eee;
        font-family: var(--secondary-font);
        font-size: 1.9rem;
        font-weight: 400;
        text-align: center;
    }

/* Main */

.team h2 {
    margin-top: 5rem;
    margin-bottom: 6rem;
    margin-left: 2rem;
    text-align: center;
    font-family: var(--primary-font);
    font-size: var(--size-bigger);
    color: var(--primary);
}

.team ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    margin-bottom: 6rem;
}

.team li {
   flex-basis: 30%;
   margin-bottom: 4rem;
}

@media only screen and (max-width: 900px) {
    .team li {
        flex-basis: 44%;
        margin-bottom: 4rem;
     }
}

.team figure {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.team img {
    height: 150px;
    width: 150px;
    margin-bottom: 1.5rem;
    border-radius: 50%;
    box-shadow: 0 2px 12px rgba(0,0,0,0.3);
    transition: 0.3s ease-out;
}

.team li:hover img {
    transform: scale(1.1);
    box-shadow: 0 2px 16px rgba(0,0,0,0.35);
}

.team figcaption {
    font-size: var(--size-default);
    color: var(--primary);
}

.map {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 5rem;
}

.map .googlemap {
    width: 900px;
    height: 450px;
}

@media only screen and (max-width: 900px) {
    .map .googlemap {
        width: 600px;
        height: 450px;
    }
}

@media only screen and (max-width: 600px) {
    .map .googlemap {
        max-width: 95%;
        height: 450px;
    }
}

/* @media only screen and (max-width: 900px) {
   