main, .centered {
    display: flex;
    flex-direction: column;
    align-items: center;
    align-content: center;
}

main {
    color: #FFF;
    font-family: "Cinzel";
    margin: 40px;
}

.teammembers-container {
    display: flex;
    justify-content: space-around;
    gap: 50px;
}

h2 {
    text-align: center;
    margin-top: 48px;
    margin-bottom: 16px;
    font-size: 48px;
}

h3 {
    text-align: center;
    font-size: 32px;
}

.pfp {
    border-radius: 50%;
    width: 250px;
    margin-bottom: 20px;
}

.social {
    width: 50px;
}

.socials {
    align-items: center;
}

.socials > div {
    display: flex;
    align-items: center;
    margin: 10px;
    gap: 10px;
}

#previous-dev, #next-dev {
    width: 50px;
    height: 50px;
    font-size: 36px;
    align-self: center;
    background-color: #B0B0B0;
    border: #000 solid 3px;
    border-radius: 15px;
}

#previous-dev:hover, #next-dev:hover {
    background-color: #909090;
}

#previous-dev:active, #next-dev:active {
    background-color: #727272;
}

@media(max-width: 560px) {
    h2 {
        font-size: 36px;
    }

    h3 {
        font-size: 24px;
    }

    .socials > div {
        flex-direction: column;
    }
}

@media(min-width: 1400px) {
    #previous-dev, #next-dev {
        display: none;
    }
}

@media(max-width: 810px) {
    #previous-dev, #next-dev {
        position: absolute;
    }

    #previous-dev {
        left: 5vw;
    }

    #next-dev {
        right: 5vw;
    }
}