* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    color: #222;
    background: #fff;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

section {
    width: 100%;
}

.section {
    min-height: 520px;
    padding: 100px 8%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.section h2 {
    margin: 0 0 20px;
    font-size: 42px;
}

.section p {
    margin: 0;
    font-size: 18px;
    line-height: 1.8;
    color: #666;
}

/* =========================
   상단 헤더
========================= */

.header {
    width: 100%;
    height: 90px;
    padding: 0 5%;

    display: flex;
    align-items: center;
    justify-content: space-between;

    background: #fff;
    border-bottom: 1px solid #eee;

    position: sticky;
    top: 0;
    z-index: 1000;
}

/* LOGYEDU 로고 */

.logo {
    font-size: 25px;
    font-weight: 800;
    letter-spacing: -1px;
    white-space: nowrap;
}

/* 메인 메뉴 */

.main-nav {
    height: 100%;

    display: flex;
    align-items: center;
    gap: 38px;
}

.menu-item {
    height: 100%;

    display: flex;
    align-items: center;

    position: relative;
}

.menu-item > a {
    font-size: 16px;
    font-weight: 700;

    display: flex;
    align-items: center;

    height: 100%;

    transition: color 0.2s ease;
}

.menu-item > a:hover {
    color: #f26a21;
}

/* =========================
   드롭다운 메뉴
========================= */
/* =========================
   메가메뉴 최종 정리
========================= */

.dropdown {
    position: fixed;
    top: 90px;
    left: 0;

    width: 100%;
    padding: 36px 8% 42px;

    background: rgba(255, 255, 255, 0.98);

    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;

    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transform: translateY(-12px);

    transition:
            opacity 0.25s ease,
            transform 0.25s ease,
            visibility 0.25s ease;

    z-index: 999;
}

/* 마우스 올리면 열림 */

.menu-item:hover .dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;

    transform: translateY(0);
}


/* 2차 메뉴 */

.dropdown > a {
    display: inline-block;

    min-width: 180px;

    margin: 0 30px 18px 0;
    padding: 8px 0 12px;

    font-size: 16px;
    font-weight: 700;

    color: #222;

    border-bottom: 2px solid transparent;

    transition: 0.2s ease;
}

.dropdown > a:hover {
    color: #f26a21;
    border-bottom-color: #f26a21;
}


/* 3차 메뉴 묶음 */

.sub-group {
    display: inline-flex;
    flex-direction: column;

    vertical-align: top;

    min-width: 220px;

    margin: 0 50px 15px 0;
    padding: 0 40px 0 0;

    border-right: 1px solid #e6e6e6;
}

.sub-group:last-child {
    border-right: 0;
}

/* 강사소개 / 모집안내 / 1to1 */

.sub-group > span {
    margin-bottom: 14px;

    font-size: 16px;
    font-weight: 800;

    color: #111;
}

/* 국어, 수학 등 */

.sub-group > a {
    padding: 7px 0;

    font-size: 14px;
    font-weight: 500;

    color: #666;

    transition:
            color 0.2s ease,
            padding-left 0.2s ease;
}

.sub-group > a:hover {
    color: #f26a21;
    padding-left: 6px;
}


/* 메뉴 아래 주황색 표시 */

.menu-item > a {
    position: relative;
}

.menu-item > a::after {
    content: "";

    position: absolute;
    left: 0;
    bottom: 0;

    width: 0;
    height: 3px;

    background: #f26a21;

    transition: width 0.25s ease;
}

.menu-item:hover > a::after {
    width: 100%;
}


/* 화면이 작을 때 */

@media (max-width: 1100px) {

    .main-nav {
        gap: 22px;
    }

    .menu-item > a {
        font-size: 14px;
    }

    .dropdown {
        padding-left: 5%;
        padding-right: 5%;
    }
}
/* =========================
   메인 HERO
========================= */

.hero {
    min-height: 680px;
    padding: 0 8%;

    display: flex;
    align-items: center;

    background: #f5f5f3;
}

.hero-content {
    max-width: 750px;
}

.hero-content > p:first-child {
    margin: 0 0 22px;

    font-size: 15px;
    font-weight: 700;
    letter-spacing: 4px;

    color: #f26a21;
}

.hero h1 {
    margin: 0 0 28px;

    font-size: 64px;
    line-height: 1.15;
    letter-spacing: -2px;

    color: #171717;
}

.hero h1 + p {
    margin: 0 0 38px;

    font-size: 19px;
    line-height: 1.7;

    color: #555;
}

/* HERO 버튼 */

.hero-content > a {
    display: inline-block;

    min-width: 145px;
    padding: 16px 24px;
    margin-right: 8px;

    text-align: center;
    font-size: 15px;
    font-weight: 700;

    border: 1px solid #222;

    transition: all 0.25s ease;
}

.hero-content > a:first-of-type {
    background: #222;
    color: #fff;
}

.hero-content > a:first-of-type:hover {
    background: #f26a21;
    border-color: #f26a21;
}

.hero-content > a:last-of-type {
    background: transparent;
    color: #222;
}

.hero-content > a:last-of-type:hover {
    background: #222;
    color: #fff;
}

/* =========================
   재수종합반 메인 강조
========================= */

.repeat-main {
    position: relative;

    padding: 120px 8%;

    background: #f5f5f3;

    overflow: hidden;
}

.repeat-main-inner {
    max-width: 1300px;
    margin: 0 auto;
}


/* 상단 */

.repeat-main-top {
    position: relative;

    display: flex;
    justify-content: space-between;
    align-items: flex-end;

    margin-bottom: 70px;
}

.repeat-main-copy {
    position: relative;
    z-index: 2;
}

.repeat-label {
    margin-bottom: 22px;

    font-size: 14px;
    font-weight: 800;

    letter-spacing: 4px;

    color: #f26a21;
}

.repeat-main h2 {
    margin: 0;

    font-size: clamp(38px, 4vw, 64px);
    line-height: 1.18;

    letter-spacing: -2px;

    color: #171717;
}

.repeat-description {
    max-width: 620px;

    margin-top: 28px;

    font-size: 17px;
    line-height: 1.8;

    color: #666;
}


/* 큰 2028 숫자 */

.repeat-year {
    position: absolute;

    right: 0;
    bottom: -40px;

    font-size: clamp(130px, 18vw, 260px);
    font-weight: 900;

    letter-spacing: -15px;

    color: rgba(0, 0, 0, 0.045);

    line-height: 1;

    user-select: none;
}


/* 프로그램 카드 */

.repeat-program-list {
    position: relative;
    z-index: 2;

    border-top: 1px solid #ccc;
}

.repeat-program-card {
    display: grid;

    grid-template-columns: 70px 1fr 50px;

    align-items: center;

    gap: 20px;

    min-height: 145px;

    padding: 30px 20px;

    border-bottom: 1px solid #ccc;

    color: #171717;

    transition:
            background 0.3s ease,
            padding-left 0.3s ease;
}

.repeat-program-card:hover {
    background: #fff;
    padding-left: 32px;
}

.repeat-number {
    font-size: 13px;
    font-weight: 800;

    color: #f26a21;
}

.repeat-program-card h3 {
    margin: 0 0 10px;

    font-size: 26px;
    font-weight: 800;

    letter-spacing: -1px;
}

.repeat-program-card p {
    margin: 0;

    font-size: 15px;
    line-height: 1.6;

    color: #777;
}

.repeat-arrow {
    font-size: 28px;

    text-align: right;

    transition: transform 0.3s ease;
}

.repeat-program-card:hover .repeat-arrow {
    transform: translateX(8px);
}


/* 버튼 */

.repeat-main-buttons {
    display: flex;

    gap: 12px;

    margin-top: 45px;
}

.repeat-main-buttons a {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-width: 170px;
    height: 54px;

    padding: 0 28px;

    font-size: 14px;
    font-weight: 800;

    transition: 0.25s ease;
}

.repeat-btn-primary {
    background: #171717;
    color: #fff;
}

.repeat-btn-primary:hover {
    background: #f26a21;
}

.repeat-btn-secondary {
    border: 1px solid #171717;

    color: #171717;
}

.repeat-btn-secondary:hover {
    background: #171717;
    color: #fff;
}


/* 모바일 */

@media (max-width: 768px) {

    .repeat-main {
        padding: 85px 6%;
    }

    .repeat-main-top {
        margin-bottom: 45px;
    }

    .repeat-year {
        right: -10px;
        bottom: -15px;

        font-size: 120px;
        letter-spacing: -8px;
    }

    .repeat-main h2 {
        font-size: 38px;
        letter-spacing: -1.5px;
    }

    .repeat-description {
        font-size: 15px;
    }

    .repeat-program-card {
        grid-template-columns: 45px 1fr 30px;

        min-height: 125px;

        padding: 24px 8px;
    }

    .repeat-program-card h3 {
        font-size: 21px;
    }

    .repeat-program-card p {
        font-size: 13px;
    }

    .repeat-main-buttons {
        flex-direction: column;
    }

    .repeat-main-buttons a {
        width: 100%;
    }

}


/* =========================
   스크롤 등장 애니메이션
========================= */

.reveal {
    opacity: 0;
    transform: translateY(70px);

    transition:
            opacity 0.8s ease,
            transform 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* =========================
   LOGYEDU 1to1
========================= */

.onetoone-section {
    padding: 130px 8%;
    background: #171717;
    color: #fff;
}

.onetoone-inner {
    max-width: 1200px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;

    align-items: center;
}

.onetoone-title > p {
    margin: 0 0 20px;

    font-size: 14px;
    font-weight: 700;
    letter-spacing: 3px;

    color: #f26a21;
}

.onetoone-title h2 {
    margin: 0 0 28px;

    font-size: 48px;
    line-height: 1.25;
    letter-spacing: -2px;

    font-weight: 400;
}

.onetoone-title h2 strong {
    font-weight: 800;
}

.onetoone-title > span {
    display: block;

    font-size: 17px;
    line-height: 1.9;

    color: #aaa;
}

.onetoone-title > a {
    display: inline-block;

    margin-top: 38px;
    padding-bottom: 6px;

    font-size: 14px;
    font-weight: 700;

    border-bottom: 1px solid #777;

    transition: 0.25s;
}

.onetoone-title > a:hover {
    color: #f26a21;
    border-color: #f26a21;
}


/* 오른쪽 01 02 03 */

.onetoone-process {
    border-top: 1px solid #444;
}

.process-item {
    min-height: 125px;

    display: grid;
    grid-template-columns: 80px 1fr;
    align-items: center;

    border-bottom: 1px solid #444;

    transition: 0.3s ease;
}

.process-item > span {
    font-size: 14px;
    font-weight: 700;

    color: #f26a21;
}

.process-item h3 {
    margin: 0 0 9px;

    font-size: 23px;
}

.process-item p {
    margin: 0;

    font-size: 15px;
    line-height: 1.6;

    color: #999;
}

.process-item:hover {
    padding-left: 15px;
}

.process-item:hover h3 {
    color: #f26a21;
}

/* =========================
   대입단과
========================= */

.subject-section {
    padding: 120px 8%;
    background: #f7f7f5;
}

.subject-section .section-title {
    max-width: 1200px;
    margin: 0 auto 55px;
}

.subject-section .section-title > p {
    margin: 0 0 12px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #f26a21;
}

.subject-section .section-title h2 {
    margin: 0 0 18px;
    font-size: 44px;
    font-weight: 800;
    letter-spacing: -2px;
    color: #111;
}

.subject-section .section-title span {
    font-size: 16px;
    line-height: 1.7;
    color: #777;
}

.subject-grid {
    max-width: 1200px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.subject-card {
    min-height: 220px;
    padding: 32px;

    background: #fff;
    border: 1px solid #e4e4e4;

    display: flex;
    flex-direction: column;

    transition: transform 0.35s ease,
    background 0.35s ease,
    border-color 0.35s ease;
}

.subject-card > span {
    font-size: 13px;
    font-weight: 700;
    color: #f26a21;
}

.subject-card h3 {
    margin: 32px 0 14px;
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -1px;
    color: #111;
}

.subject-card p {
    margin: 0;
    font-size: 15px;
    line-height: 1.7;
    color: #777;
}

/* 마우스를 올렸을 때 */

.subject-card:hover {
    transform: translateY(-8px);
    background: #171717;
    border-color: #171717;
}

.subject-card:hover h3 {
    color: #fff;
}

.subject-card:hover p {
    color: #bbb;
}

/* 모바일 */

@media (max-width: 900px) {

    .subject-section {
        padding: 80px 6%;
    }

    .subject-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .subject-section .section-title h2 {
        font-size: 36px;
    }
}

@media (max-width: 600px) {

    .subject-grid {
        grid-template-columns: 1fr;
    }

    .subject-card {
        min-height: 180px;
    }
}

/* =========================
   고등내신관
========================= */

.highschool-section {
    padding: 130px 8%;
    background: #fff;
}

.highschool-inner {
    max-width: 1200px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 90px;

    align-items: center;
}

.highschool-info > p {
    margin: 0 0 18px;

    font-size: 13px;
    font-weight: 700;
    letter-spacing: 3px;

    color: #f26a21;
}

.highschool-info h2 {
    margin: 0 0 28px;

    font-size: 46px;
    line-height: 1.25;
    letter-spacing: -2px;

    font-weight: 400;
    color: #111;
}

.highschool-info h2 strong {
    font-weight: 800;
}

.highschool-info > span {
    display: block;

    font-size: 16px;
    line-height: 1.9;

    color: #666;
}

.highschool-info > a {
    display: inline-block;

    margin-top: 35px;
    padding-bottom: 5px;

    font-size: 14px;
    font-weight: 700;

    border-bottom: 1px solid #333;
}

.highschool-info > a:hover {
    color: #f26a21;
    border-color: #f26a21;
}


/* 오른쪽 과목 카드 */

.highschool-subjects {
    display: grid;
    grid-template-columns: repeat(2, 1fr);

    border-top: 1px solid #ddd;
    border-left: 1px solid #ddd;
}

.highschool-card {
    min-height: 230px;
    padding: 30px;

    border-right: 1px solid #ddd;
    border-bottom: 1px solid #ddd;

    transition: all 0.3s ease;
}

.highschool-card > span {
    font-size: 13px;
    font-weight: 700;

    color: #f26a21;
}

.highschool-card h3 {
    margin: 30px 0 14px;

    font-size: 25px;
    color: #111;
}

.highschool-card p {
    margin: 0;

    font-size: 15px;
    line-height: 1.7;

    color: #777;
}

.highschool-card:hover {
    background: #f26a21;
}

.highschool-card:hover span,
.highschool-card:hover h3,
.highschool-card:hover p {
    color: #fff;
}


/* 모바일 */

@media (max-width: 900px) {

    .highschool-inner {
        grid-template-columns: 1fr;
        gap: 55px;
    }

    .highschool-info h2 {
        font-size: 38px;
    }
}

@media (max-width: 600px) {

    .highschool-subjects {
        grid-template-columns: 1fr;
    }
}

/* =========================
   중등내신관
========================= */

.middle-section {
    padding: 130px 8%;
    background: #171717;
    color: #fff;
}

.middle-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.middle-title {
    max-width: 760px;
    margin-bottom: 60px;
}

.middle-title > p {
    margin: 0 0 18px;

    font-size: 13px;
    font-weight: 700;
    letter-spacing: 3px;

    color: #f26a21;
}

.middle-title h2 {
    margin: 0 0 25px;

    font-size: 46px;
    line-height: 1.25;
    letter-spacing: -2px;

    font-weight: 400;
}

.middle-title h2 strong {
    font-weight: 800;
}

.middle-title > span {
    display: block;

    font-size: 16px;
    line-height: 1.9;

    color: #aaa;
}

.middle-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.middle-card {
    min-height: 300px;
    padding: 35px;

    border: 1px solid #3a3a3a;
    background: #1d1d1d;

    display: flex;
    flex-direction: column;

    transition: all 0.3s ease;
}

.middle-card > span {
    font-size: 13px;
    font-weight: 700;

    color: #f26a21;
}

.middle-card h3 {
    margin: 35px 0 16px;

    font-size: 27px;
}

.middle-card p {
    margin: 0;

    font-size: 15px;
    line-height: 1.8;

    color: #aaa;
}

.middle-card a {
    margin-top: auto;
    padding-top: 30px;

    font-size: 14px;
    font-weight: 700;

    color: #fff;
}

.middle-card:hover {
    transform: translateY(-8px);

    background: #f26a21;
    border-color: #f26a21;
}

.middle-card:hover span,
.middle-card:hover p,
.middle-card:hover a {
    color: #fff;
}


/* 모바일 */

@media (max-width: 900px) {

    .middle-cards {
        grid-template-columns: 1fr;
    }

    .middle-title h2 {
        font-size: 38px;
    }
}

/* =========================
   학습전략
========================= */

.strategy-section {
    padding: 130px 8%;
    background: #f7f7f5;
}

.strategy-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.strategy-header {
    margin-bottom: 55px;

    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.strategy-header p {
    margin: 0 0 12px;

    font-size: 13px;
    font-weight: 700;
    letter-spacing: 3px;

    color: #f26a21;
}

.strategy-header h2 {
    margin: 0 0 16px;

    font-size: 44px;
    letter-spacing: -2px;
}

.strategy-header span {
    font-size: 16px;
    line-height: 1.7;

    color: #777;
}

.strategy-header > a {
    font-size: 14px;
    font-weight: 700;

    padding-bottom: 5px;
    border-bottom: 1px solid #333;
}


/* 본문 */

.strategy-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 60px;
}


/* 왼쪽 대표 콘텐츠 */

.strategy-feature {
    min-height: 430px;

    padding: 45px;

    background: #171717;
    color: #fff;

    display: flex;
    flex-direction: column;
}

.strategy-feature > span {
    font-size: 13px;
    font-weight: 700;

    color: #f26a21;
}

.strategy-feature h3 {
    margin: 45px 0 24px;

    font-size: 34px;
    line-height: 1.35;

    letter-spacing: -1.5px;
}

.strategy-feature p {
    margin: 0;

    font-size: 15px;
    line-height: 1.8;

    color: #aaa;
}

.strategy-feature a {
    margin-top: auto;

    font-size: 14px;
    font-weight: 700;

    color: #fff;
}


/* 오른쪽 게시물 */

.strategy-list {
    border-top: 1px solid #ccc;
}

.strategy-item {
    min-height: 105px;

    padding: 20px 5px;

    display: flex;
    justify-content: space-between;
    align-items: center;

    border-bottom: 1px solid #ccc;

    transition: padding 0.25s ease;
}

.strategy-item span {
    display: block;

    margin-bottom: 8px;

    font-size: 12px;
    font-weight: 700;

    color: #f26a21;
}

.strategy-item h4 {
    margin: 0;

    font-size: 17px;
    font-weight: 600;

    color: #222;
}

.strategy-item strong {
    font-size: 20px;
    font-weight: 400;
}

.strategy-item:hover {
    padding-left: 15px;
}

.strategy-item:hover h4 {
    color: #f26a21;
}


/* 모바일 */

@media (max-width: 900px) {

    .strategy-header {
        display: block;
    }

    .strategy-header > a {
        display: inline-block;
        margin-top: 25px;
    }

    .strategy-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* =========================
   상담예약
========================= */

.consult-section {
    padding: 130px 8%;
    background: #fff;
}

.consult-inner {
    max-width: 1200px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 100px;
}

.consult-title > p {
    margin: 0 0 18px;

    font-size: 13px;
    font-weight: 700;
    letter-spacing: 3px;

    color: #f26a21;
}

.consult-title h2 {
    margin: 0 0 28px;

    font-size: 45px;
    line-height: 1.3;
    letter-spacing: -2px;

    font-weight: 400;
}

.consult-title h2 strong {
    font-weight: 800;
}

.consult-title > span {
    display: block;

    max-width: 480px;

    font-size: 16px;
    line-height: 1.9;

    color: #777;
}


/* 오른쪽 상담 메뉴 */

.consult-menu {
    border-top: 1px solid #ddd;
}

.consult-menu > a {
    min-height: 130px;

    display: grid;
    grid-template-columns: 65px 1fr 30px;
    align-items: center;

    border-bottom: 1px solid #ddd;

    transition: padding 0.3s ease;
}

.consult-menu > a > span {
    font-size: 13px;
    font-weight: 700;

    color: #f26a21;
}

.consult-menu h3 {
    margin: 0 0 9px;

    font-size: 21px;
}

.consult-menu p {
    margin: 0;

    font-size: 14px;
    color: #888;
}

.consult-menu > a > strong {
    font-size: 22px;
    font-weight: 400;
}

.consult-menu > a:hover {
    padding-left: 15px;
}

.consult-menu > a:hover h3 {
    color: #f26a21;
}


/* 모바일 */

@media (max-width: 900px) {

    .consult-inner {
        grid-template-columns: 1fr;
        gap: 55px;
    }

    .consult-title h2 {
        font-size: 37px;
    }
}

/* =========================
   FOOTER
========================= */

.footer {
    padding: 65px 8%;

    background: #111;
    color: #fff;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: 200px 1fr auto;
    gap: 50px;
}

.footer-logo {
    font-size: 25px;
    font-weight: 800;
}

.footer-info p {
    margin: 0 0 8px;

    font-size: 13px;
    color: #999;
}

.footer-info .copyright {
    margin-top: 20px;
    color: #666;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    font-size: 13px;
    color: #aaa;
}

.footer-links a:hover {
    color: #f26a21;
}

@media (max-width: 800px) {

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .footer-links {
        flex-wrap: wrap;
    }
}

/* =========================
   스크롤 헤더 움직임
========================= */

.header {
    transition: transform 0.35s ease;
}

.header.header-hide {
    transform: translateY(-100%);
}

/* =========================
   카드 순차 등장 효과
========================= */

.repeat-card,
.subject-card,
.highschool-card,
.middle-card {
    opacity: 0;
    transform: translateY(45px);

    transition:
            opacity 0.65s ease,
            transform 0.65s ease,
            background 0.3s ease,
            border-color 0.3s ease;
}

/* 해당 섹션이 화면에 들어왔을 때 */

.reveal.active .repeat-card,
.reveal.active .subject-card,
.reveal.active .highschool-card,
.reveal.active .middle-card {
    opacity: 1;
    transform: translateY(0);
}


/* 카드별 시간차 */

.reveal.active .repeat-card:nth-child(1),
.reveal.active .subject-card:nth-child(1),
.reveal.active .highschool-card:nth-child(1),
.reveal.active .middle-card:nth-child(1) {
    transition-delay: 0.10s;
}

.reveal.active .repeat-card:nth-child(2),
.reveal.active .subject-card:nth-child(2),
.reveal.active .highschool-card:nth-child(2),
.reveal.active .middle-card:nth-child(2) {
    transition-delay: 0.20s;
}

.reveal.active .repeat-card:nth-child(3),
.reveal.active .subject-card:nth-child(3),
.reveal.active .highschool-card:nth-child(3),
.reveal.active .middle-card:nth-child(3) {
    transition-delay: 0.30s;
}

.reveal.active .subject-card:nth-child(4),
.reveal.active .highschool-card:nth-child(4) {
    transition-delay: 0.40s;
}

.reveal.active .subject-card:nth-child(5) {
    transition-delay: 0.50s;
}

.reveal.active .subject-card:nth-child(6) {
    transition-delay: 0.60s;
}