﻿
.Facility {
    position: relative;
    width: calc(100% - 80px);
    margin: 110px auto 0;
    background: #fff;
    border-radius: 8px;
}
    .Facility section {
        width: 94%;
        max-width: 1400px;
        margin: 0 auto 70px;

    }

.OverViewBlock {
    display: flex;
    list-style: none;
    padding-left: 0;
    width: 1400px;

}

    .OverViewBlock .TxtBlock {
        position: absolute;
        margin: 50px 0 0 50px;
        padding: 20px;
        width: 350px;
        height: 350px;
        background: #000000;
        opacity: 0.6;
    }

    .OverViewBlock .TxtBlockRight {
        position: absolute;
        right: 0;
        margin: 50px 50px 0 0px;
        padding: 20px;
        width: 350px;
        height: 350px;
        background: #000000;
        opacity: 0.6;
    }

    .OverViewBlock .ImgBlock {
        position: relative;
        width: 100%;
     
    }
        .OverViewBlock .ImgBlock img {
            width: 100%;
            height: 450px;
        }




.TxtBlock .title, .TxtBlock .comment, .TxtBlockRight .title, .TxtBlockRight .comment {
    font-family: "Noto Sans KR", "NanumGothic", "Nanum Gothic", "Malgun Gothic", "Apple SD Gothic Neo", dotum, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: #FFFFFF;
}

.TxtBlock .title, .TxtBlockRight .title {
    font-size: 30px;
    font-weight: bold;
    padding-bottom: 10px;
}

.TxtBlock .comment, .TxtBlockRight .comment {
    padding-top: 10px;
    font-size: 18px;
}


[data-scroll] {
    opacity: 0;
    will-change: transform, scale, opacity;
    transform: translateY(6rem) scale(0.93);
    transition: all 1.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

[data-scroll=in] {
    opacity: 1;
    transform: translateY(0) scale(1);
}


.splitting .char {
    color: transparent;
}
    .splitting .char:after {
        visibility: visible;
        color: #FFFFFF;
        opacity: 0;
        transform: translateY(30%);
        transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        transition-delay: calc(.2s + (.14s * var(--char-index) ) );
    }

[data-scroll=in] .char:after {
    opacity: 1;
    transform: translateY(0);
}
