@charset "UTF-8";
.moreref {
    &>.bg {
        top: 39%;
    }
    .copywriting {
        padding: 0.8em;
    }
    .container {
        padding-bottom: 6em;
    }
    &__list {
        display: flex;
        justify-content: center;
        align-items: flex-start;
    }
    &__item {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        text-decoration: none;
        margin: 0 1.2em;
    }
    &__pic {
        border: 1px solid rgba($gray, 0.3);
        border-radius: 0.7em;
        padding: 1em,;
        height: 13.8em;
        margin-bottom: 1em;
        img {
            height: 100%;
            width: auto;
        }
    }
    &__name {
        background-color: $blue;
        padding: 0.5em 2em;
        border-radius: 2em;
        p {
            color: $white;
            font-size: 1.1em;
        }
    }
}

@media screen and (max-width: 992px) {
    .moreref {
        .container {
            padding-bottom: 0;
        }
        .copywriting {
            padding: 2em 0 3em;
        }   
        &__list {
            flex-direction: column;
            align-items: center;
            justify-content: flex-start;
        }
        &__item {
            margin: 0 0 7em;
        }
        &__pic {
            height: 30em;
            margin-bottom: 2em;
        }
        &__name {
            background-color: #0699d2;
            padding: 1em 3.5em 1.3em;
            border-radius: 3.5em;
            p {
                font-size: 2.1em;
            }
        }
    }
}