.info-boxes {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;

    padding-bottom: 50px;

    gap: 40px;
}

 h1 {
    text-align: center;
 }

.email-container {
    width: 100%;
    display: flex;
    justify-content: center;
    margin: 10px 0 20px 0;
}


.email {
    padding: 5px 15px;
    background-color: transparent;
    border-radius: 50px;
    border: black 1px solid;
    font-family: 'google sans flex', sans-serif;
    font-size: 1rem;

    font-variation-settings: 'opsz' 32.2, 'wght' 170, 'wdth' 111, 'grad' 82;
    transition-duration: 0.3s;

    & p {
        display: inline;
    }
}

.email:hover {
    background-color: black;
    & p {
        color: white;
    }

}


.info-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
    
    flex: 1 1 200px;
    max-width: 250px;

    & h2 {
        font-size: 1rem;
        text-align: center;
    }
}

.profile-image {
    width: 100%;
    height: 100%;
    max-height: 150px;
    object-fit: contain;
    object-position: center top;
}

.team {
    margin-top: 60px;
}



@media (max-width: 500px) {
    .info-boxes {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 1000px) {
    .team {
        margin-top: 140px;
    }
}