.home-header {
    height: 80px;
    border-bottom: 1px solid #eaeaea;
}
.home-header .logo {
    padding-top: 20px;
}
.menus {
    padding: 80px 0;
}
.card {
    position: relative;
    width: 100%;
    height: 100%;
    padding: 24px;
    flex: 1;
    cursor: pointer;
    border-radius: 16px;
    /* shadows */
    box-shadow: 0px 1px 3px 1px rgba(176, 179, 183, 0.37), 0px 2px 15.6px 8px rgba(176, 179, 183, 0.14);
    transform: scale(1);
    transition: transform 0.1s ease-in-out;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 16px;
    background-color: #fff;
    transform-origin: center;
    transition: transform 0.3s ease-in-out;
    z-index: 0;
    border: 1px solid #eaeaea;
}
.card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 16px;

    z-index: 0;
}

.card:hover::before {
    /* shadows */
    transform: scale(1.01);
    -webkit-transform: scale(1.01);
}

.btn-title {
    position: relative;
    width: 100%;

    user-select: none;
    font-family: 'Noto Sans CJK KR';
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    text-align: center;
    line-height: 140%; /* 44.8px */
    letter-spacing: -1.28px;
    padding-top: 75%;
}

.edu::before {
    background: linear-gradient(129deg, #004dda 11.01%, #447feb) no-repeat;
}
.edu::after {
    background-image: url('/images/main/notebook.png');
    background-repeat: no-repeat;
    background-position: 50% 50%;
}
.edu .btn-title {
    color: #fff;
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: 140%; /* 67.2px */
}

.home::before {
    padding: 3px;
    border-radius: 16px;
    background: linear-gradient(#fff, #fff), linear-gradient(to top right, #44979f, #004dda);
    background-origin: border-box;
    background-clip: content-box, border-box;

    /* shadows */

    background-size: auto 140px;
}
.home::after {
    border: 3px solid transparent;
    overflow: clip;
    background: url('/images/main/home.png') no-repeat center top 12px;
    background-origin: border-box;
    background-clip: content-box;
    transform-origin: center;

    transform: scale(0.95);
}
.home .btn-title {
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: 140%; /* 67.2px */
    background: -webkit-linear-gradient(45deg, #44979f, #004dda) 30%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.bakery {
    display: flex;
    align-items: end;
}

.news::before {
    background: linear-gradient(311deg, #146c74 0%, #44979f 98.08%);
}
.news::after {
    background: url('/images/main/home_bakery_news.png') no-repeat center top 12px;
}
.news .btn-title {
    color: #fff;
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: 140%; /* 67.2px */
}
.magazine::before {
    background: linear-gradient(310deg, #44979f 0%, #3d7fcc 100%);
}
.magazine::after {
    background: url('/images/main/magazine.png') no-repeat center top 12px;
}
.magazine .btn-title {
    color: #fff;
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: 140%; /* 67.2px */
}

.card-layout {
    margin: 0 auto;
    width: 100%;
    max-width: 768px;
    height: 707px;
    display: flex;
    gap: 16px;
    padding-bottom: 16px;
}
.card-list {
    width: 100%;
    height: 50%;
    display: flex;

    gap: 16px;
}
.card-list-column {
    flex-direction: column;
    height: 100%;
}
@media screen and (max-width: 768px) {
    .home-header .logo {
        padding-top: 12px;
        margin-left: 21px;
    }

    .card-layout {
        padding: 0 24px;
        flex-direction: column;
        height: auto;
    }
    .card-list {
        flex-direction: column;
    }
    .card {
        height: 260px;
    }
}
@media screen and (max-width: 425px) {
    .menus {
        padding: 24px 0;
    }
}
