/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    INTRO
 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
section.intro {
    width: 100vw;
    height: 100vh;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-image: url(./img/intro-bg.webp);
    overflow: hidden;
}
section.intro .inner {
    height: 105%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    gap: 2em;
}
section.intro .inner * {
    text-align: center;
}
section.intro .inner a.logo {
    position: absolute;
    left: 0;
    top: 60px;
    width: 280px;
}

section.intro .contents > p {
    font-size: 1.3em;
    color: #202740;
    font-weight: 500;
    margin-bottom: 0.5em;
}
section.intro .contents > h1.font {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 0.5em;
    color: #202740;
    line-height: 1.0;
}
section.intro .contents > h1.font span {
    font-size: 48pt;
    animation: neonsign 4s infinite;
    --neoncolor: #3a9ea4;
    animation-delay: calc( var(--i) * 0.2s );
}
@keyframes neonsign {
    0% { text-shadow: 0 0 0 var(--neoncolor), 0 0 10px #fff, 0 0 20px #fff; }
    60% { text-shadow: 0 0 0 var(--neoncolor), 0 0 10px #fff, 0 0 20px #fff; }
    70% { text-shadow: 0 0 8px var(--neoncolor), 0 0 10px #fff, 0 0 20px #fff; }
    100% { text-shadow: 0 0 0 var(--neoncolor), 0 0 10px #fff, 0 0 20px #fff; }
}

section.intro .contents > div.counter {
    margin-top: 6vh;
}
section.intro .contents > div.counter * {
    color: #202740;
}
section.intro .contents > div.counter p {
    color: #222;
}
section.intro .contents > div.counter .patientCase {
    font-weight: 800;
    overflow: hidden;
    padding: 0 1em;
    font-size: 4em;
}
section.intro .contents > div.counter .odometer-digit-inner {
    overflow: visible;
}
section.intro .contents a.btn-cta {
    font-family: var(--font);
    padding: 0.55em 3em;
    font-size: 1.75em;
    color: #202740;
    border: 3px solid #202740;
    border-radius: 4em;
    display: flex;
    justify-content: center;
    align-items: center;
    width: fit-content;
    margin: 1.5em auto 0;
    transition: all ease 0.35s;
}
section.intro .contents a.btn-cta:hover {
    background-color: #202740;
    color: #fff;
}

/*---PC (wide)-----------------------------------------------------------*/
@media (max-width: 1600px) {
    section { max-width:100vw;}
    .bg-attached { background-attachment:unset; background-size:cover !important; }
    .inner { width: 80%; --inner: 1500px }
    /* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        INTRO
     - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
    section.intro {
        width: 100vw;
        height: 100vh;
        background-size: cover;
        background-position: left center;
        background-attachment: scroll;
    }
    section.intro .inner {
        height: 100%;
        gap: 0;
    }
    section.intro .inner a.logo {
        position: absolute;
        left: 50%;
        top: 30px;
        transform: translateX(-50%);
        max-width: 50vw;
    }

    section.intro .contents > p {
        font-size: 1em;
        margin-bottom: 0.5em;
    }
    section.intro .contents > h1.font {
        gap: 0.1em 0.35em;
        flex-wrap: wrap;
        width: 70%;
        margin: 0 auto;
    }
    section.intro .contents > h1.font span { font-size:0.9em }

    section.intro .contents > div.counter {
        margin-top: 6vh;
    }
    section.intro .contents > div.counter .patientCase {
        font-weight: 800;
        overflow: hidden;
        padding: 0 1em;
    }
    section.intro .contents > div.counter .patientCase * { font-size:3rem }


    section.intro .contents a.btn-cta {
        font-size: 1.2em;
        padding: 0.5em 4em;
        border-width: 2px;
        max-width: 80%;
        margin: 1.5em auto 0;
    }
}

/*---태블릿 ~ PC -----------------------------------------------------------*/
@media (max-width: 1400px) {
    section { max-width:100vw; overflow: hidden;}
    .bg-attached { background-attachment:unset !important; background-size:cover !important; }
    .inner { width: 100%; }
}

/*---모바일 ----------------------------------------------------------------*/
@media screen and (max-width: 510px) {
    * { font-size:14px }
    .pc { display:none !important; }
    .m { display:block; }
}