@charset "UTF-8";

body {
    background-image: url(./../images/index/header/bg.jpg);
    background-repeat: repeat-y;
    background-size: 100%;
}

.main-section {
    position: relative;
    padding: 40px 10px 0;
    width: 1600px;
    margin: 0 auto 50px;
}

h1 {
    font-size: 70px;
    margin-bottom: 20px;
}

.highlight-news-wrapper img {
    width: 1250px;
    height: 425px;
    object-fit: cover;
}

.highlight-news-wrapper ul {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 0;
    margin: 0;
    animation: highlight-slide 16s infinite;
}

.highlight-news-wrapper li {
    list-style: none;
    width: 100%;
    height: 800px;
}


.highlight-news-wrapper {
    position: relative;
    width: 100%;
    height: 800px;
    overflow: hidden;
}

.slide-animate {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 0;
    margin: 0;
    animation: highlight-slide 16s infinite;
}

.slide-item {
    list-style: none;
    width: 100%;
    height: 800px;
    position: relative;
}


.slide-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.highlight-news-text {
    position: absolute;
    bottom: 40px;
    left: 60px;
    z-index: 2;
    color: white;
    font-size: 40px;
    text-shadow: 0 0 10px black;
}


/* 슬라이드용 keyframes */
@keyframes highlight-slide {
    0% {
        top: 0;
    }

    10% {
        top: 0;
    }

    25% {
        top: -800px;
    }

    35% {
        top: -800px;
    }

    50% {
        top: -1600px;
    }

    60% {
        top: -1600px;
    }

    75% {
        top: -2400px;
    }

    85% {
        top: -2400px;
    }

    100% {
        top: 0;
    }
}

.highlight-news-text {
    position: absolute;
    bottom: 20px;
    left: 20px;
    z-index: 2;
}

.highlight-news-text p {
    margin: 0 auto;
    font-weight: bold;
    font-size: 64px;
    line-height: 1.4;
    color: white;
    text-shadow: 0 0 5px black;
}

h2 {
    font-size: 64px;
}

.thumbnail-row {
    display: flex;
    gap: 39px;
    justify-content: center;
    margin-top: 20px;
    margin-bottom: 50px;
    height: 350px;
}

.thumbnail-row img {
    width: 100%;
    height: 70%;
    border-radius: 6px;
}

.thumbnail-card {
    width: 431px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.thumbnail-card img {
    width: 100%;
    height: 265px;
    border-radius: 6px;
    object-fit: cover;
}

.thumbnail-info {
    margin-top: 10px;
}

.thumbnail-title {
    font-size: 18px;
    color: white;
    margin-bottom: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.thumbnail-comment {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 16px;
    color: white;
}

.news-comment img {
    width: 16px;
    height: 16px;
}

.thumbnail-row p {
    font-size: 24px;
}

.more-news {
    margin-top: 40px;
    background: rgba(0, 0, 0, 0.5);
    color: black;
    padding: 20px;
    border-radius: 10px;
}

.more-news a {
    color: #fff;
    font-size: 20px;
    transition: .3s;
}

.more-news li {
    margin-bottom: 50px;
    font-size: 35px;
}

.more-news span {
    float: right;
    color: #fff;
}

.more-news li>a:hover {
    text-decoration: underline;
    color: #800080;
}