/*
    FILE NAME           : MAIN.CSS
    PROJECT NAME        : RESEED HOMEPAGE
    HTML/CSS AUTHOR     : SOOBIN JEONG(SBJEONG@RESEEDCORP.COM)
    WRITTEN DATE        : 2023/03/23 ~
    BROWSER             : CHROME
*/
/* -------------------------------------------------- MAIN -------------------------------------------------- */
/* VISUAL */
.visual-area {
    z-index: 1;
    overflow: hidden;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.prallax-area {
    z-index: 3;
    position: relative;
    margin-top: 0 !important;
    padding-top: 100vh;
}

.prallax-area .prallax-dim {
    z-index: 2;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin-top: 0 !important;
    background-color: rgba(0,0,0,0.3);
}

.prallax-area > div {
    z-index: 4;
    position: relative;
    padding-top: 142px;
    background-color: #ffffff;
}

/* TITLE */
.main-cnt-title {
    margin-bottom: 84px;
}

.main-cnt-title p {
    line-height: 5rem;
    font-size: 4rem;
    font-family: "Alexandria-Medium";
}

.main-cnt-title span {
    display: block;
    line-height: 3rem;
    font-size: 1.75rem;
    font-family: "NotoSansKR-Light";
}

/* PORTFOLIO */
.portfolio-btn {
    margin-top: 80px;
    text-align: center;
}

.portfolio-btn a {
    display: inline-block;
    position: relative;
    line-height: 2rem;
    font-size: 1.125rem;
    font-family: "NotoSansKR-Light";
}

.portfolio-btn a:hover::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background-color: #1a1c1c;
}

/* LIFE */
.life-box {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.life-box a {
    overflow: hidden;
    display: block;
    position: relative;
    padding-top: 36%;
    width: 28%;
}

.life-box a::before {
    content: "";
    z-index: 1;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.16);
}

.life-box a:nth-child(3n-2) {
    -webkit-transition-delay: 250ms;
    -moz-transition-delay: 250ms;
    -o-transition-delay: 250ms;
    transition-delay: 250ms;
}

.life-box a:nth-child(3n-1) {
    -webkit-transition-delay: 500ms;
    -moz-transition-delay: 500ms;
    -o-transition-delay: 500ms;
    transition-delay: 500ms;
}

.life-box a:nth-child(3n) {
    margin-right: 0;
    -webkit-transition-delay: 750ms;
    -moz-transition-delay: 750ms;
    -o-transition-delay: 750ms;
    transition-delay: 750ms;
}

.life-box a img {
    position: absolute;
    top: 50%;
    left: 50%;
    max-width: none;
    width: auto;
    height: 100%;
    transform: translate(-50%,-50%) scale(1.2);
}

.life-box a .desc-area {
    z-index: 2;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 48px 32px;
}

.life-box a .desc-area p {
    color: #ffffff;
    word-break: keep-all;
    letter-spacing: -0.02em;
}

.life-box a .desc-area .title {
    line-height: 2.25rem;
    font-size: 1.5rem;
    font-family: "NotoSansKR-Medium";
}

.life-box a .desc-area .date {
    margin-top: 16px;
}

.life-box a .desc-area .date span {
    display: inline-block;
    position: relative;
    padding-right: 64px;
    line-height: 1.5rem;
    font-family: "Alexandria-Regular";
}

.life-box a .desc-area .date span::after {
    position: absolute;
    top: 50%;
    right: 0;
    width: 48px;
    height: 12px;
    background-image: url(../img/pages/main/ico-life-arrow.png);
    transform: translateY(-50%);
}

.life-box a:hover .desc-area .date span::after {
    content: "";
}

.life-btn {
    margin-top: 80px;
    text-align: center;
}

.life-btn a {
    display: inline-block;
    position: relative;
    line-height: 1.5;
    font-size: 18px;
    font-family: "NotoSansKR-Light";
}

.life-btn a:hover::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background-color: #1a1c1c;
}



/* -------------------------------------------------- MEDIA QUERY -------------------------------------------------- */
/* LAPTOP */
@media all and (max-width: 1600px) {}

@media all and (max-width: 1366px) {}

/* TABLET */
@media all and (max-width: 1024px) {
    /* VISUAL */
    .visual-area .web {
        display: block !important;
    }

    .visual-area .mob {
        display: none !important;
    }

    .visual-area video {
        position: absolute;
        top: 50%;
        left: 50%;
        max-width: none;
        width: auto;
        height: 100%;
        transform: translate(-50%, -50%) scale(1.2);
    }

    /* COMMON */
    .main-cnt-title {
        margin-bottom: 8px;
    }

    .main-cnt-title p {
        line-height: 2.25rem;
        font-size: 2rem;
    }

    .main-cnt-title span {
        line-height: 1.5rem;
        font-size: 0.875rem;
    }

    .prallax-area > div {
        padding-top: 64px;
    }

    /* PORTFOLIO */
    .portfolio-box {
        margin-top: 0;
    }

    .portfolio-box a .title {
        margin-bottom: 12px;
        line-height: 1rem;
        font-size: 0.75rem;
    }

    .portfolio-box a .title span {
        display: block;
        margin-top: 4px;
        line-height: 1.5rem;
        font-size: 1rem;
        font-family: "NotoSansKR-Regular";
        letter-spacing: -0.02em;
    }

    .portfolio-box a .desc-area .summary,
    .portfolio-box a:hover .desc-area .summary {
        display: none;
    }

    .portfolio-btn {
        margin-top: 40px;
    }

    .portfolio-btn a {
        line-height: 1.5rem;
        color: #757575;
        font-size: 0.875rem;
    }

    .portfolio-btn a:hover::before {
        background-color: #757575;
    }

    /* LIFE */
    .life-area {
        padding-top: 80px !important;
    }

    .life-box {
        padding-top: 24px;
    }

    .life-box a {
        padding-top: 72%;
        width: 48.8%;
    }

    .life-box a:nth-child(2n-1) {
        -webkit-transition-delay: 250ms;
        -moz-transition-delay: 250ms;
        -o-transition-delay: 250ms;
        transition-delay: 250ms;
    }

    .life-box a:nth-child(2n) {
        -webkit-transition-delay: 500ms;
        -moz-transition-delay: 500ms;
        -o-transition-delay: 500ms;
        transition-delay: 500ms;
    }

    .life-box a:nth-child(n+3) {
        margin-top: 16px;
    }

    .life-box a .desc-area {
        padding: 16px 8px;
    }

    .life-box a .desc-area .title {
        line-height: 1.5rem;
        font-size: 0.875rem;
    }

    .life-box a .desc-area .date span {
        display: block;
        padding: 0;
        line-height: 1rem;
        font-size: 0.5rem;
    }

    .life-box a .desc-area .date span::after {
        right: 0;
        width: 24px;
        height: 6px;
    }

    .life-btn {
        margin-top: 40px;
    }

    .life-btn a {
        line-height: 1.5rem;
        color: #757575;
        font-size: 0.875rem;
    }

    .life-btn a:hover::before {
        background-color: #757575;
    }
}

@media all and (max-width: 768px) {
    /* VISUAL */
    .visual-area .web {
        display: none !important;
    }

    .visual-area .mob {
        display: block !important;
    }

    .visual-area video {
        transform: translate(-50%, -50%) scale(1.2);
    }
}

/* MOBILE */
@media all and (max-width: 480px) {
    /* VISUAL */
    .visual-area video {
        transform: translate(-50%, -50%) scale(1);
    }
}

@media all and (max-width: 360px) {}
