@charset "utf-8";
@import url('common.css'); 

.gate_main{
    width: 100%;
    height: 100vh;
}
.gate_wrap{
    width: 100%;
    height: 50vh;
    color: #fff;
    position: relative;
    transition: all 0.3s ease;
}
.bg-dark {
    position: absolute;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.75);
    z-index: 1;
    transition: all 0.3s ease;
    width: 100%;
    height: 100%;
  }
.gate_cont{
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    /* gap: 3.021vw; */
    gap: 16.563vw;
}
.gate_wrap.erica{
    background:url('../images/gate_erica_hover.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    transition: all 0.3s ease;
}
.gate_wrap.seoul{
    background:url('../images/gate_seoul_hover.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    transition: all 0.3s ease;
}

.gate_wrap .gate_button a{
    color: #fff;
    width: 100%;
    height: 100%;
    border-radius: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.99vw;
    transition: all 0.3s ease;
}
.gate_button{
    font-size: var(--font-size-18);
    font-family: "Wanted Sans Variable";
    font-weight: 600;
    display: flex;
    align-items: center;
    position: relative;
    width: 10.521vw;
    aspect-ratio: 200 / 61.4;
    border: 1.5px solid #fff;
    border-radius: 200px;
}

.gate_button::before{
    content: '';
    width:0;
    height: 2px;
    background-color: #fff;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    transition: all 0.3s ease;
}

.gate_wrap.erica .gate_button::before{
    right: 100%;
}

.gate_wrap.seoul .gate_button::before{
    left: 100%;
}



.gate_text_box h1{
    font-size: var(--font-size-36);
    font-family: "Wanted Sans Variable";
    font-weight: 600;
    line-height: 100%;
}

.gate_text_box p:nth-child(2){
    font-size: var(--font-size-24);
    font-family: "Wanted Sans Variable";
    font-weight: 300;
    opacity: 0.4;
    line-height: 100%;
    margin-top: 6.3%;
    transition: all 0.3s ease;
}
.gate_text_box p:nth-child(3){
    font-size: var(--font-size-18);
    font-family: "Wanted Sans Variable";
    font-weight: 600;
    line-height: 100%;
    margin-top: 13%;
}

.arrow_icon{
    width: 0.365vw;   /* 7px @ 1920 */
    height: 1.019vh;  /* 11px @ 1080 */
    display: inline-block;
    text-indent: -9999px;
    background-image: url('../images/next_icon.svg');
    background-size: 100% auto;
    background-repeat: no-repeat;
    background-position: center;
    overflow: hidden;
    white-space: nowrap;
    transition: all 0.3s ease;
}

@media (hover: hover) {
    .gate_wrap:hover .bg-dark{
        background: rgba(0, 0, 0, 0);
    }
    .gate_wrap:hover .gate_text_box p:nth-child(2){
        opacity: 1;
    }
    .gate_wrap:hover .gate_button a{
        color: #000;
        background-color: #fff;
    }
    .gate_wrap:hover .arrow_icon{
        background-image: url('../images/next_icon_hover.svg');
    }
    .gate_wrap:hover .gate_button::before{
        width:13.542vw;
    }
    
    .gate_wrap.erica:hover .gate_button::before{
        right: 100%;
    }
    
    .gate_wrap.seoul:hover .gate_button::before{
        left: 100%;
    }
}

@media screen and (max-width:768px) {
    .gate_wrap.erica{
        background-image: url('../images/gate_bg_m1.jpg');
    }
    .gate_wrap.seoul{
        background-image: url('../images/gate_bg_m2.jpg');
    }
    .bg-dark{
        background: rgba(0, 0, 0, 0.4);
    }
    .gate_cont{
        flex-direction: column;
        text-align: center;
        gap: 45px;
    }
    .gate_button{
        order: 2;
        font-size: 15px;
        width: 180px;
        height: 50px;
        aspect-ratio: auto;
    }
    .gate_text_box h1{
        font-size: 26px;
    }
    .gate_text_box p:nth-child(2){
        font-size: 15px;
        opacity: 1;
    }
    .gate_text_box p:nth-child(3){
        font-size: 15px;
    }
    .arrow_icon{
        width: 9px;
        height: 9px;
    }
    .gate_wrap .gate_button a{
        gap: 10px;
    }
}
