.bg-img {
    background: url("/resources/general/images/rules.jpg");
    background-size: cover;
    background-position: center;

    width: 100%;
    height: 250px;

    margin-top: 74px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.staff-wrapper {
    width: 100%;

    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.staff {
    background: var(--main-color-3);
    -webkit-box-shadow: 0px 0px 15px 0px rgba(0,0,0,0.08);
    -moz-box-shadow: 0px 0px 15px 0px rgba(0,0,0,0.08);
    box-shadow: 0px 0px 15px 0px rgba(0,0,0,0.08);
    border-radius: 5px;

    padding: 20px;
    width: 150px;

    margin: 15px;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    transform: scale(1);
    transition: transform 0.2s ease-in-out;
}

.staff:hover {
    transform: scale(1.05);
}

.staff-image {
    border-radius: 5px;

    width: 70px;
    height: 70px;

    margin-bottom: 20px;
}

.staff-name {
    font-family: "OpenSans Bold";
    font-size: 16px;
}

.staff-rank {
    background: var(--main-color-3h3);
    border-radius: 5px;

    padding: 3px 6px;

    margin-bottom: 20px;
}

.staff-contact {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.staff-telegramicon {
    width: 15px;
    height: 15px;

    margin-right: 3px;
}

@media only screen and (max-width: 400px) {
    .staff {
        width: 130px;
        margin: 5px;
        padding: 10px;
    }
}

@media only screen and (max-height: 700px) {
    .bg-img {
        height: 150px;
    }
}