body {
    font-family: Consolas, monospace;
    line-height: 110%;
}

figure {
    margin: 0;
}

span.nowrap {
    white-space: nowrap;
}

.container {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.main-info {
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.main-info .photo {
    text-align: center;
}
.main-info img {
    max-width: 180px;
    margin-bottom: 20px;
}

.main-info .title {
    margin-bottom: 22px;
}
.main-info .name {
    font-size: 33px;
    line-height: 1.1;
    padding-bottom: 10px;
}
.main-info .role {
    font-size: 14px;
    line-height: 22px;
}
.main-info .contacts {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    font-size: 15px;
}
.main-info .contacts .item {
    line-height: 22px;
}
.main-info .contacts .item.whatsapp {
    font-size: 13px;
}
.main-info .contacts .item.skype {
    font-size: 14px;
    padding-bottom: 12px;
}

@media screen and (max-height: 480px) {
    .main-info .photo img {
        margin-bottom: 0;
    }

    .main-info {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: stretch;
    }

    .main-info > section {
        margin-right: 25px;
    }

    .main-info > section:last-child {
        margin-right: 0;
    }

    .main-info .contacts {
        padding-top: 0;
    }

    .title-contact-group {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }
}
