@font-face {
    font-family: "NanumRoundEB";
    font-weight: 800;
    font-style: normal;
    src: url(../fonts/NanumSquareRoundEB.woff) format("woff");
  }
.schoolgroup {
    width: 100%;
    overflow: hidden;
    padding: 20px 0;
}

.schoolgroup_inner {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 auto;
}

.schoolgroup_title {
    font-family: 'NanumRoundEB';
    font-size: 34px;
    font-weight: 800;
    line-height: 60px;
    letter-spacing: -0.04em;
    text-align: center;
    margin-bottom: 30px;
}

.row-container {
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
}

.school-row {
    display: flex;
    gap: 0;
    animation: slide 30s linear infinite;
    width: 270%;
}

.school-row:hover {
    animation-play-state: paused;
}

.school-row img {
    height: 118px;
    object-fit: contain;
}

/* 각 줄마다 다른 애니메이션 시작 시간 */
.school-row:nth-child(2) {
    animation-delay: -10s;
}

.school-row:nth-child(3) {
    animation-delay: -20s;
}

@keyframes slide {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* 모바일 대응 */
@media screen and (max-width: 767px) {
    .schoolgroup_title {
        font-size: 24px;
        line-height: 40px;
    }

    .school-row img {
        height: 80px;
    }
}

/* 태블릿 대응 */
@media screen and (min-width: 768px) and (max-width: 1199px) {
    .schoolgroup_title {
        font-size: 28px;
        line-height: 50px;
    }

    .school-row img {
        height: 100px;
    }
}