@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500&display=swap");

/**,
*::after,
*::before {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}*/

/*html {
    font-size: 62.5%;
}*/

/*body {
    width: 100vw;
    min-height: 100vh;
    background-color: #f0f0f0;
    font-family: 'Poppins', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
}*/

.container-team {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

    .container-team .box {
        position: relative;
        width: 20rem;
        height: 15rem;
        margin: 2rem;
    }

        .container-team .box:hover .imgBox {
            transform: translate(-3.5rem, -3.5rem);
        }

        .container-team .box:hover .content-team {
            transform: translate(3.5rem, 3.5rem);
        }

.imgBox {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    transition: all 0.5s ease-in-out;
}

    .imgBox img {
        width: 100%;
        height: 100%;
        object-fit: scale-down;
        resize: both;
        background-color: #fff;
    }

.content-team {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 0.5rem;
    display: flex;
    justify-content: center;
    background-color: #fff;
    z-index: 1;
    align-items: flex-end;
    text-align: center;
    transition: 0.5s ease-in-out;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    border-radius: 25px;
}

    .content-team h2 {
        display: block;
        font-size: 2rem;
        color: #111;
        font-weight: 500;
        line-height: 2rem;
        letter-spacing: 1px;
    }

    .content-team span {
        color: #555;
        /*font-size: 1.4rem;*/
        font-weight: 300;
        letter-spacing: 2px;
    }

@media (max-width: 600px) {
    .container-team .box:hover .content-team {
        transform: translate(0, 2.5rem);
    }

    .container-team .box:hover .imgBox {
        transform: translate(0, -2.5rem);
    }
}
/*# sourceMappingURL=main.css.map */