.team {
    background: transparent;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 15vw;
}

.team-header {
    background: transparent;
    font-family: var(--pixelfont);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.team-header h3 {
    color: yellowgreen;
    font-size: 3vw;
    transition: ease 300ms;
}

.team-header h3:hover {
    transform: scale(120%);
}

.team-header p {
    color: aliceblue;
    font-size: 1.2vw;
    margin-top: -2vw;
    transition: ease 300ms;
}
.team-header p:hover {
    letter-spacing: 0.1vw;
}


.team-members {
    background: transparent;
    height: auto;
    display: grid;
    align-items: center;
    justify-content: center;
    grid-template-columns: auto auto;
    width: 70vw;
    padding-top: 5vw;
    padding-bottom: 5vw;
}
.team-box {
    background: transparent;
    height: 10vw;
    width: 20vw;
    margin: 30px;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content:end;
}
.team-user {
    background: transparent;
    height: 13vw;
    width: 10vw;
    overflow: hidden;
    margin-top: -5vw;
    position: absolute;
}
.team-user img {
    position: inherit;
    height: auto;
    width: 15vw;
    margin-left: -40px;
    transition: ease 300ms;
}
.team-user img:hover {
    transform: scale(115%);
}
.team-info {
    background: var(--boxcolor);
    width: auto;
    height: 5vw;
    padding: 1vw;
    display: flex;
    flex-direction: column;
    align-items:end;
    justify-content: center;
    box-shadow: 0 0 1px aliceblue;
}
.team-info div {
    background: transparent;
    width: 10vw;
    text-align: center;
    font-family: var(--pixelfont);
}

.team-info div h4 {
    font-size: 1vw;
    transition: ease 300ms;
}

.team-info div h4:hover {
    letter-spacing: 0.2vw;
}

.team-info div p {
    font-size: 1vw;
    color: aliceblue;
    margin-bottom: -20px;
    transition: ease 300ms;
    padding-bottom: 0.5vw;
    background: transparent;
}

.team-info div p:hover {
    color: var(--maincolor);
}

.team-info .fix-size p {
    font-size: 0.7vw;
}

@media (max-width: 768px) {
    .team {
        background: transparent;
        height: 350vw;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        position: inherit;
        margin: 0;
    }

    .team-header {
        background: transparent;
        font-family: var(--pixelfont);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        margin: 0;
    }
    .team-header h3 {
        color: yellowgreen;
        font-size: 4vw;
        transition: ease 300ms;
    }

    .team-header p {
        color: aliceblue;
        font-size: 1.5vw;
        margin-top: -2vw;
        transition: ease 300ms;
    }

    .team-members {
        background: transparent;
        height: auto;
        display: grid;
        align-items: center;
        justify-content: center;
        grid-template-columns: auto;
        width: 70vw;
        padding-top: 1vw;
        padding-bottom: 1vw;
    }
    .team-box {
        background: transparent;
        height: 20vw;
        width: 40vw;
        margin: 10px;
        color: white;
        display: flex;
        flex-direction: column;
        justify-content:end;
    }
    .team-user {
        background: transparent;
        height: 20vw;
        width: 20vw;
        overflow: hidden;
        position: absolute;
    }
    .team-user img {
        position: inherit;
        height: auto;
        width: 25vw;
        margin-left: -10px;
        transition: ease 300ms;
    }
    .team-info {
        background: var(--boxcolor);
        width: auto;
        height: 10vw;
        padding: 1vw;
        display: flex;
        flex-direction: column;
        align-items:end;
        justify-content: center;
        box-shadow: 0 0 1px aliceblue;
    }
    .team-info div {
        background: transparent;
        width: 20vw;
        text-align: center;
        font-family: var(--pixelfont);
    }

    .team-info div h4 {
        font-size: 2vw;
        transition: ease 300ms;
    }

    .team-info div h4:hover {
        letter-spacing: 0.2vw;
    }

    .team-info div p {
        color: aliceblue;
        margin-bottom: -10px;
        transition: ease 300ms;
        padding-bottom: 0.5vw;
        font-size: 1.5;
    }
    .team-info .fix-size p {
        font-size: 1.3vw;
    }
}