@font-face {
    font-family: "codec";
    src: url("/codec.woff2") format("woff2");
}

html,
body {
    font-family: "codec";
    height: 100%;
    width: 100%;
    padding: 0;
    margin: 0;
    background-color: black;
    overflow: hidden;
}

.main1 {
    display: flex;
    inset: 0;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    z-index: 2;
    position: relative;
}

.gradient {
    position: fixed;
    inset: 0;
    background-image: linear-gradient(320deg, rgb(0, 0, 0) 30%, rgb(29, 42, 80));
    height: 100vh;
    pointer-events: none;
    z-index: 1;
    transition: opacity 1.5s ease;
    opacity: 0.93;
}

.gradient.dimmed {
    opacity: 0.82;
}

.img-bg {
    background-color: rgba(0, 0, 0, 0.95);
    width: 200px;
    height: 200px;
    border-radius: 7px;
    border-top-left-radius: 70px;
    border-bottom-right-radius: 70px;
    position: relative;
    overflow: hidden;
}

.img-bg img {
    width: 80%;
    position: absolute;
    top: 60%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.main-text {
    font-family: "codec";
    text-align: center;
    font-size: 100px;
    color: white;
    position: relative;
    display: inline-block;
    padding: 45px;
    margin-bottom: -15px;
}

.main-text img {
    filter: brightness(0) saturate(100%) invert(33%) sepia(82%) saturate(457%) hue-rotate(186deg) brightness(94%) contrast(95%);
    opacity: 0.7;
    position: absolute;
    top: -35px;
    right: -6%;
    z-index: 1;
    width: 140px;
    height: 120px;
}

.main-text span {
    position: relative;
    animation: ani_texts 2.6s;
    z-index: 0;
}

.main-text span:nth-child(1) {
    animation-delay: 0.05s;
}

.main-text span:nth-child(2) {
    animation-delay: 0.07s;
}

.main-text span:nth-child(3) {
    animation-delay: 0.09s;
}

.main-text span:nth-child(4) {
    animation-delay: 0.11s;
}

.main-text span:nth-child(5) {
    animation-delay: 0.13s;
}

.main-text span:nth-child(6) {
    animation-delay: 0.15s;
}

.main-text span:nth-child(7) {
    animation-delay: 0.17s;
}

.main-text span:nth-child(8) {
    animation-delay: 0.19s;
}

.main-text span:nth-child(9) {
    animation-delay: 0.21s;
}

.main-text span:nth-child(10) {
    animation-delay: 0.23s;
}

.main-text span:nth-child(11) {
    animation-delay: 0.25s;
}

.main-text span:nth-child(12) {
    animation-delay: 0.27s;
}

.main-text span:nth-child(13) {
    animation-delay: 0.29s;
}

.main-text span:nth-child(14) {
    animation-delay: 0.31s;
}

.main-text span:nth-child(15) {
    animation-delay: 0.33s;
}

@keyframes ani_texts {
    0% {
        top: 0;
    }

    20% {
        top: -0.2rem;
    }

    40% {
        top: 0
    }

    60% {
        top: 0
    }

    80% {
        top: 0
    }

    100% {
        top: 0
    }
}

.sub-text {
    color: white;
    font-weight: 100;
    font-size: 22px;
    padding-top: 30px;
}

@keyframes ani_text {
    0% {
        top: -0.2rem;
        opacity: 1;
        color: rgba(255, 255, 255, 0.203);
    }

    20% {
        top: 0;
        opacity: 1;
        color: rgba(255, 255, 255, 0.598);
    }

    40% {
        top: 0;
        opacity: 1;
        color: rgb(255, 255, 255);
    }

    60% {
        top: 0;
        opacity: 1;
    }

    80% {
        top: 0;
        opacity: 1;
    }

    100% {
        top: 0;
        opacity: 1;
    }
}

.sub-text span {
    position: relative;
    animation: ani_text 2.2s forwards;
    opacity: 0;
}

.sub-text span:nth-child(1) {
    animation-delay: 0.2s;
}

.sub-text span:nth-child(2) {
    animation-delay: 0.275s;
}

.sub-text span:nth-child(3) {
    animation-delay: 0.35s;
}

.sub-text span:nth-child(4) {
    animation-delay: 0.425s;
}

.sub-text span:nth-child(5) {
    animation-delay: 0.5s;
}

.sub-text span:nth-child(6) {
    animation-delay: 0.575s;
}

.sub-text span:nth-child(7) {
    animation-delay: 0.65s;
}

.sub-text span:nth-child(8) {
    animation-delay: 0.725s;
}

.sub-text span:nth-child(9) {
    animation-delay: 0.8s;
}

.sub-text span:nth-child(10) {
    animation-delay: 0.875s;
}

.sub-text span:nth-child(11) {
    animation-delay: 0.95s;
}

.sub-text span:nth-child(12) {
    animation-delay: 1.025s;
}

.sub-text span:nth-child(13) {
    animation-delay: 1.1s;
}

.sub-text span:nth-child(14) {
    animation-delay: 1.175s;
}

.sub-text span:nth-child(15) {
    animation-delay: 1.25s;
}

.sub-text span:nth-child(16) {
    animation-delay: 1.325s;
}

.sub-text span:nth-child(17) {
    animation-delay: 1.4s;
}

.sub-text span:nth-child(18) {
    animation-delay: 1.475s;
}

.sub-text span:nth-child(19) {
    animation-delay: 1.55s;
}

.sub-text span:nth-child(20) {
    animation-delay: 1.625s;
}

.sub-text span:nth-child(21) {
    animation-delay: 1.7s;
}

.sub-text span:nth-child(22) {
    animation-delay: 1.775s;
}

.sub-text span:nth-child(23) {
    animation-delay: 1.85s;
}

.sub-text span:nth-child(24) {
    animation-delay: 1.925s;
}

.sub-text span:nth-child(25) {
    animation-delay: 2s;
}


button {
    font-family: "codec";
    width: 300px;
    height: 80px;
    border: 2px solid;
    border-radius: 45px;
    background-color: #202e56;
    border-color: #30447d;
    color: white;
    font-size: 30px;
    overflow: hidden;
    cursor: pointer;

    opacity: 0;
    animation: pulse 0.5s ease 1.3s forwards;
}

@keyframes pulse {
    0% {
        transform: scale(1, 1);
        opacity: 0;
    }

    50% {
        transform: scale(1.2, 1.2);
        opacity: 1;
    }

    100% {
        transform: scale(1, 1);
        opacity: 1;
    }
}

button .span-down {
    display: inline-block;
    transform: scale(1.4);
}

button:hover .span-down {
    display: inline-block;
    animation: down 0.6s ease-in infinite;
}

@keyframes down {
    0% {
        transform: translateY(-35px) scale(1.4);
    }

    20% {
        transform: translateY(-10px) scale(1.4);
    }

    30% {
        transform: translateY(-1px) scale(1.4);
    }

    40% {
        transform: translateY(0px) scale(1.4);
    }

    60% {
        transform: translateY(1px) scale(1.4);
    }

    70% {
        transform: translateY(10px) scale(1.4);
    }

    100% {
        transform: translateY(40px) scale(1.4);
    }
}

.transitionable {
    transition: none;
}

/* JS에서 'transition-on' 클래스 붙여주면 전환 활성화 */
.transitionable.transition-on {
    transition: all 0.5s ease;
}

/* 반응형 */
@media (max-width: 1600px) {
    .img-bg {
        background-color: rgba(0, 0, 0, 0.95);
        width: 150px;
        height: 150px;
        border-radius: 7px;
        border-top-left-radius: 70px;
        border-bottom-right-radius: 70px;
        position: relative;
        overflow: hidden;
        transition: all 0.5s ease;
    }

    .img-bg img {
        width: 80%;
        position: absolute;
        top: 60%;
        left: 50%;
        transform: translate(-50%, -50%);
        transition: all 0.5s ease;
    }

    .main-text {
        text-align: center;
        font-size: 60px;
        color: white;
        position: relative;
        display: inline-block;
        padding: 45px;
        margin-bottom: -15px;
        transition: all 0.5s ease;
    }

    .main-text img {
        filter: brightness(0) saturate(100%) invert(33%) sepia(82%) saturate(457%) hue-rotate(186deg) brightness(94%) contrast(95%);
        opacity: 0.7;
        position: absolute;
        top: -9px;
        right: -3%;
        z-index: 1;
        width: 100px;
        height: 85px;
        transition: all 0.5s ease;
    }

    .sub-text {
        color: white;
        font-weight: 100;
        font-size: 16px;
        padding-top: 30px;
        transition: all 0.5s ease;
    }

    .sub-text span {
        position: relative;
        animation: ani_text 2.4s forwards;
        opacity: 0;
        transition: all 0.5s ease;
    }

    button {
        font-family: "codec";
        width: 240px;
        height: 65px;
        border: 2px solid;
        border-radius: 35px;
        background-color: #202e56;
        border-color: #30447d;
        color: white;
        font-size: 22px;
        overflow: hidden;
        cursor: pointer;

        opacity: 0;
        animation: pulse 0.5s ease 1.5s forwards;
        transition: all 0.5s ease;
    }

    button .span-down {
        display: inline-block;
        transition: all 0.5s ease;
    }
}

.card-container {
    transform: rotate(-10deg) scale(1.4);
    position: absolute;
    overflow: hidden;
}

.card-row {
    display: flex;
    width: calc(100% + 200px);
    margin: 20px 0;
    justify-content: space-between;
    padding: 0 -100px;
}

.card-row[data-row="1"] {
    transition: all 0.14s ease;
}

.card-row[data-row="2"] {
    transition: all 0.08s ease;
}

.card-row[data-row="3"] {
    transition: all 0.0s ease;
}

.card-row[data-row="4"] {
    transition: all 0.08s ease;
}

.card-row[data-row="5"] {
    transition: all 0.14s ease;
}

.card {
    width: 350px;
    height: 160px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 12px;
    transition: transform 0.5s ease;
    cursor: pointer;
    flex-shrink: 0;
    margin-right: -13px;
    margin-left: -13px;
}

/* 카드 이미지들 */
.dog-1 {
    background-image: url('/images/bg/puppy1.jpg');
}

.dog-2 {
    background-image: url('/images/bg/puppy2.jpg');
}

.dog-3 {
    background-image: url('/images/bg/puppy3.webp');
}

.dog-4 {
    background-image: url('/images/bg/puppy4.png');
}

.dog-5 {
    background-image: url('/images/bg/puppy5.jpg');
}

.dog-6 {
    background-image: url('/images/bg/puppy6.jpg');
}

.dog-7 {
    background-image: url('/images/bg/puppy7.jpg');
}

.dog-8 {
    background-image: url('/images/bg/puppy8.jpg');
}

.dog-9 {
    background-image: url('/images/bg/puppy9.webp');
}

.dog-10 {
    background-image: url('/images/bg/puppy10.jpg');
}

.cat-1 {
    background-image: url('/images/bg/cat1.png');
}

.cat-2 {
    background-image: url('/images/bg/cat2.jpg');
}

.cat-3 {
    background-image: url('/images/bg/cat3.jpg');
}

.cat-4 {
    background-image: url('/images/bg/cat4.jpeg');
}

.cat-5 {
    background-image: url('/images/bg/cat5.jpg');
}

.cat-6 {
    background-image: url('/images/bg/cat6.jpeg');
}

.cat-7 {
    background-image: url('/images/bg/cat7.jpg');
}

.cat-8 {
    background-image: url('/images/bg/cat8.jpg');
}

.cat-9 {
    background-image: url('/images/bg/cat9.jpg');
}

.cat-10 {
    background-image: url('/images/bg/cat10.jpg');
}

/* 모바일 반응형 */
@media (max-width: 430px) {
    .gradient {
        overflow: hidden;
    }

    .img-bg {
        background-color: rgba(0, 0, 0, 0.95);
        width: 145px;
        height: 145px;
        border-radius: 7px;
        border-top-left-radius: 70px;
        border-bottom-right-radius: 70px;
        position: relative;
        overflow: hidden;
        transition: all 0.5s ease;
    }

    .img-bg img {
        width: 80%;
        position: absolute;
        top: 60%;
        left: 50%;
        transform: translate(-50%, -50%);
        transition: all 0.5s ease;
    }

    .main-text {
        text-align: center;
        font-size: 50px;
        color: white;
        position: relative;
        display: inline-block;
        padding: 45px;
        margin-bottom: -15px;
        transition: all 0.5s ease;
    }

    .main-text img {
        top: -6px;
        right: 3%;
        width: 80px;
        height: 68px;
    }

    .sub-text {
        color: white;
        font-weight: 100;
        font-size: 15px;
        padding-top: 30px;
        transition: all 0.5s ease;
    }

    .sub-text span {
        position: relative;
        animation: ani_text 2.4s forwards;
        opacity: 0;
        transition: all 0.5s ease;
    }

    .card {
        width: 220px;
        height: 140px;
    }
}

/* main2 화면 설정 */
.main2 {
    font-family: 'IBMPlexSansKR-Regular';
    display: none;
    inset: 0;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    position: relative;
    overflow-y: hidden;
    /* 처음엔 스크롤 막고 */
}

.main2-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: url(/assets/images/hiring/main2bg.jpg);
    background-size: cover;
    background-position: center center;
}

.gradient2 {
    display: none;
    position: fixed;
    inset: 0;
    background-image: linear-gradient(320deg, rgb(0, 0, 0) 30%, rgb(29, 42, 80));
    height: 100vh;
    pointer-events: none;
    z-index: 1;
    transition: opacity 1.5s ease;
    opacity: 0.93;
    overflow: hidden;
}

.main2-bg.show {
    display: flex;
    animation: rotateIn 0.5s ease forwards;
}

@keyframes rotateIn {
    0% {
        opacity: 0;
        transform: rotate(-90deg) scale(0.5);
    }

    100% {
        opacity: 1;
        transform: rotate(0deg) scale(1);
    }
}

.img-bg2 {
    background-color: rgba(203, 243, 255, 0.683);
    width: 150px;
    height: 150px;
    border-radius: 7px;
    border-top-left-radius: 70px;
    border-bottom-right-radius: 70px;
    display: block;
    position: absolute;
    overflow: hidden;
    z-index: 5;
    animation: img-left 1.5s ease 2s forwards;
}

@keyframes img-left {
    from {
        width: 150px;
        height: 150px;
        margin-right: 0px;
    }

    to {
        width: 300px;
        height: 300px;
        margin-left: 980px;
        margin-bottom: 140px;
    }
}

.img-bg2 img {
    width: 80%;
    position: absolute;
    top: 60%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.content {
    width: 100%;
    z-index: 3;
    opacity: 0;
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
    position: relative;
    animation: slide-up 1.5s ease 3.5s forwards;
}

@keyframes slide-up {
    0% {
        opacity: 0;
        margin-top: 3400px;
    }

    100% {
        opacity: 1;
        margin-top: 3100px;
    }
}

.section-uptext {
    font-family: "codec";
    font-size: 130px;
    color: #F3F3F1;
    opacity: 0;
    animation: fade-in-uptext 1s ease 4.8s forwards;
    line-height: 0.5;
    margin: 0;
    padding: 0;
    float: left;
    margin-left: 100px;
    display: inline-block;
    transition: all 0.5s ease;
}

@media (max-width: 725px) {
    .section-uptext {
        font-size: 80px;
        line-height: 0.65;
        margin-left: 50px;
        transition: all 0.5s ease;
        margin-bottom: -8px;
    }
}

@keyframes fade-in-uptext {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.real-section {
    width: 100%;
    background-color: #F3F3F1;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    margin: 0;
    padding: 0;
}

.curture {
    font-family: "codec";
    margin-left: 80px;
    font-size: 70px;
    margin-top: 160px;
    color: #1C2746;
    transition: all 0.5s ease;
}

.curture-info {
    margin-top: 10px;
    margin-left: 80px;
    font-size: 30px;
    line-height: 1.4;
    color: #292929;
    transition: all 0.5s ease;
}


/* 슬라이더 */
.profile-bg {
    width: 130px;
    height: 130px;
    border-radius: 100px;
    background-color: rgba(0, 0, 0, 0.331);
    position: relative;
    overflow: hidden;
    margin: 10px;
    text-align: center;
    display: inline-block;
}

.swiper-slide {
    display: flex !important;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.profile-bg img {
    width: 80%;
    position: absolute;
    top: 60%;
    left: 55%;
    transform: translate(-50%, -50%);
    overflow: hidden;
}

.swiper-slide p {
    z-index: 15;
    color: rgb(255, 255, 255);
    font-size: clamp(1rem, calc(0.625rem + 1vw), 1.375rem);
    font-weight: 150;
    line-height: 1.5;
}

.swiper {
    width: 100%;
    height: 600px;
    background-image: url(/assets/images/hiring/main2bg.jpg);
    background-size: cover;
    background-position: center center;
    margin-top: 200px;
    position: relative;
    margin-bottom: 120px;
    overflow: hidden;
}

.swiper::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-color: #16244ac8;
}

.swiper-slide {
    text-align: center;
    font-size: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.swiper-horizontal>.swiper-pagination-bullets,
.swiper-pagination-bullets.swiper-pagination-horizontal,
.swiper-pagination-custom,
.swiper-pagination-fraction {
    margin-bottom: 30px;
    ;
}


/* footer 모드 */
article {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px;
    color: rgb(26, 26, 26);
    align-items: center;
    background-color: #F3F3F1;
    z-index: 2;
}

article div {
    text-align: center;
}

.get {
    font-family: "codec";
    font-size: 80px;
    margin-top: 120px;
    margin-bottom: 50px;
    position: relative;
}

.icon-bg {
    position: absolute;
    width: 145px;
    height: 85px;
    border-radius: 70px;
    background-color: #1c2746e7;
    border: 2px solid rgba(44, 76, 158, 0.867);
    left: 50%;
    bottom: 50%;
    transform: translate(-50%, -50%);
    /* 가운데 정렬 */
    pointer-events: none;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 15px;
}

.icon-bg img {
    width: 70px;
    height: 70px;
}

.hello {
    font-family: "pretendard";
    font-weight: 200;
    font-size: 20px;
    margin-bottom: 150px;
}

@media (max-width: 1650px) {
    @keyframes slide-up {
        0% {
            opacity: 0;
            margin-top: 3400px;
        }

        100% {
            opacity: 1;
            margin-top: 2750px;
        }
    }

    .section-uptext {
        font-size: 100px;
        transition: all 0.5s ease;
    }

    .curture {
        font-size: 50px;
        transition: all 0.5s ease;
    }

    .curture-info {
        font-size: 23px;
        transition: all 0.5s ease;
    }
}

footer {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    height: 100%;
    overflow: hidden;
    white-space: nowrap;
    background-color: #F3F3F1;
    padding-bottom: 50px;
    /* 줄바꿈 안 함 */
}

.infoBox {
    margin-top: 60px;
    margin-left: 50px;
    float: left;
    width: 60%;
}

.infoBox p {
    font-family: "pretendard";
    font-size: 23px;
    font-weight: bold;
}

.infoBox div {
    font-family: "pretendard-r";
    line-height: 1.8;
    color: rgb(66, 66, 66);
    margin-top: 50px;
    font-size: 17px;
}

.emailBox {
    float: right;
    margin-right: 150px;
    width: 20%;
    margin-top: 35px;
}

.emailBox p {
    font-family: "pretendard-r";
    margin-top: 42px;
    margin-bottom: 8px;
}

.emailBox a {
    font-family: "pretendard";
    text-decoration: none;
    color: black;
    font-size: 23px;
    font-weight: bold;
}

.swiper-button-next:after,
.swiper-rtl .swiper-button-prev:after {
    color: white !important;
    margin-right: 100px !important;
}

.swiper-button-prev:after,
.swiper-rtl .swiper-button-next:after {
    color: white !important;
    margin-left: 100px !important;
}

@media (max-width: 1650px) {
    .get {
        font-size: 65px;
        margin-bottom: 40px;
        margin-top: 110px;
    }

    .hello {
        font-weight: 200;
        font-size: 20px;
        margin-bottom: 170px;
    }
}

@media (max-width: 1000px) {

    footer {
        flex-direction: column;
    }

    .infoBox {
        width: 100%;
        margin-top: 30px;
    }

    .infoBox div {
        font-family: "pretendard-r";
        line-height: 1.8;
        color: rgb(66, 66, 66);
        margin-top: 10px;
        font-size: 17px;
    }

    .emailBox {
        float: left;
        margin-left: 50px;
        margin-right: 0px;
        width: 100%;
    }
}

@media (max-width: 760px) {
    .get {
        font-size: 40px;
        margin-bottom: 40px;
        margin-top: 190px;
    }

    .hello {
        font-weight: 200;
        font-size: 20px;
        margin-bottom: 250px;
    }

    .icon-bg {
        position: absolute;
        width: 90px;
        height: 45px;
        border-radius: 70px;
        background-color: #1c2746e7;
        border: 2px solid rgba(44, 76, 158, 0.867);
        left: 50%;
        bottom: 51%;
        transform: translate(-50%, -50%);
        /* 가운데 정렬 */
        pointer-events: none;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .icon-bg img {
        width: 35px;
        height: 35px;
    }

    footer {
        flex-direction: column;
    }

    .infoBox {
        margin-bottom: 50px;
        width: 100%;
    }

    .infoBox p {
        font-size: 16px;
        color: rgb(136, 136, 136);
    }

    .infoBox div {
        font-size: 14px;
        color: rgb(179, 179, 179);
    }

    .emailBox {
        float: left;
        margin-left: 50px;
        width: 100%;
        margin-right: 0px;
    }
}

@media (max-width: 550px) {
    .icon-bg {
        margin-bottom: 20px;
    }
}

/* 모바일 반응형을 위한... */
@media (max-width: 430px) {
    .get {
        font-size: 30px;
        margin-bottom: 40px;
        margin-top: 190px;
    }

    .hello {
        font-weight: 200;
        font-size: 15px;
        margin-bottom: 250px;
    }

    .icon-bg {
        position: absolute;
        width: 70px;
        height: 35px;
        border-radius: 70px;
        background-color: #1c2746e7;
        border: 2px solid rgba(44, 76, 158, 0.867);
        left: 50%;
        bottom: 43%;
        transform: translate(-50%, -50%);
        /* 가운데 정렬 */
        pointer-events: none;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .icon-bg img {
        width: 25px;
        height: 25px;
    }

    .infoBox {
        margin-left: 17px;
        width: 100%;
        margin-bottom: 0px;
    }

    .infoBox p {
        font-size: 14.5px;
        color: rgb(136, 136, 136);
    }

    .infoBox div {
        font-size: 13px;
        color: rgb(179, 179, 179);
    }

    .emailBox {
        float: left;
        margin-left: 20px;
        width: 100%;
        margin-top: 8px;
    }

    .emailBox-p1 {
        margin-top: 10px;
    }

    .emailBox p {
        font-size: 15px;
    }

    .emailBox a {
        font-size: 19px;
    }
}