@charset "UTF-8";
.moreref {
    &>.bg {
        top: 39%;
    }
    .copywriting {
        padding: 0.8em;
        .subtitle {
            margin-bottom: 0.2em;
        }
        .title {
            margin-bottom: 0.8em;
        }
    }
    .container {
        padding-bottom: 4em;
    }
    &__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;
        &-line {
            .moreref__pic {
                padding: 0;
                overflow: hidden;
            }
        }
    }
    &__pic {
        border: 1px solid rgba($gray, 0.3);
        border-radius: 0.7em;
        padding: 1em,;
        height: 13.8em;
        margin-bottom: 1.5em;
        img {
            height: 100%;
            width: auto;
        }
    }
    &__name {
        background-color: $blue;
        padding: 0.5em 2em;
        border-radius: 2em;
        box-shadow: 0 0 0 1em transparent;
        animation: pulse2 2s infinite;
        cursor: pointer;
        transition: 0.3s;
        p {
            color: $white;
            font-size: 1.1em;
            cursor: pointer;
        }
        // &:hover {
        //     animation: none;
        //     transform: scale(1.1);
        // }
    }
    @keyframes pulse2 {
        0% {
            box-shadow: 0 0 0 0 $blue;
        }
    }
    &__logo {
        width: 18em;
        margin: 7em auto 0;
        img {
            width: 100%;
        }
    }
}

@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;
            }
        }
        &__logo {
            width: 46em;
            margin: 3em auto 7em;
        }
    }
}