@import url("https://use.typekit.net/uug2bwl.css");
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@100;200;300;400;500;600;700;800;900&family=Exo:wght@400;700;900&family=Jost&family=Snippet&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Gaegu&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
    list-style: none;
    text-decoration: none;
}

html{
    scroll-behavior: smooth;
}
/* Hide scrollbar for Chrome, Safari and Opera */
html::-webkit-scrollbar {
    display: none;
}
  
  /* Hide scrollbar for IE, Edge and Firefox */
html {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}
/* ========== BODY ========== */
body{
    display: grid;
    place-items: center;
    background: black;
    opacity: 0.5;
    animation: fadein 1s ease-in-out forwards;
    height: 100vh;
}

@keyframes fadein{
    to{
        opacity: 1;
    }
}

.sub_body{
    background-image: url("../img/BG.jpg");
    width: 100%;
    background-repeat: no-repeat;
    /* background-size: 370%; */
    background-position: 55% 0%;
    /* background-position: center; */
    background-attachment:fixed;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: fixed;
}

header{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    height: 70px;
    /* flex-direction: column; */
    align-items: center;
    justify-content: space-between;
    padding: 0 .5rem;
}
/* ============= MENU ========= */
.logo{
    /* position: absolute;
    padding: .5rem 0 0 .5rem; */
    z-index: 9999;
    transition: all .4s ease-out;
    width: 50px;
    height:50px;
}

.logo img{
    display: block;
    /* object-fit: cover; */
    width: 50px;
    padding-bottom: 50px;
}

.logo:hover{
    transform: scale(1.1);
    /* filter: hue-rotate(90deg);
    -webkit-filter: hue-rotate(90deg); */
}

.menu{
    z-index: 9999;
}

.burger_icon{
    color: white;
    font-size: 2rem;
    /* text-align: right;
    margin: 1rem 1rem 0 0;
    z-index: 9999; */
    cursor: pointer;
    transition: transform .4s ease;
}

.burger_icon:before{
    z-index: 9999;
}

.burger_icon:hover{
    transform: scale(1.1);
}

.nav_menu{
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999;
    visibility: collapse;
}

.burger_menu{
    /* display: none; */
    text-transform: uppercase;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    /* position: absolute;
    top: 0; */
    width: 100%;
    height: 100vh;
    /* height: 0; */
    overflow: hidden;
    background-color: rgb(0 0 0 / 64%);
    backdrop-filter: blur(3px);
    z-index: 9000;
    opacity: 0;
    visibility: collapse;
    transition-timing-function: ease-in-out;
    transition-duration: .7s;
}

.open{
    opacity: 1;
    visibility: visible;
}

.burger_menu li a{
    color: white;
    font-weight: 600;
    padding: .5rem 2rem;
    margin: 1rem;
    display: block;
    transition: box-shadow .7s ease;
    box-sizing: content-box;
    border: 2px solid transparent;
}

.burger_menu li a:hover{
    border: 2px solid lightpink;
    border-radius: 10px;
    box-shadow: 0px 0px 10px 4px rgb(255 182 193 / 61%);
    /* animation: border-flicker 2s linear infinite; */
}

.burger_menu .active{
    border: 2px solid lightpink;
    border-radius: 10px;
    animation: border-flicker2 2s linear infinite alternate-reverse;
    transition: .5s ease-in-out;
}

.active{
    border: 2px solid lightpink;
    border-radius: 10px;
    animation: border-flicker2 2s linear infinite alternate-reverse;
    transition: .5s ease-in-out; 
}

/* ============= KEYFRAMES ============ */
@keyframes glitch{
    0%{
        text-shadow: 5px 0px 3px hotpink, -5px 0px 3px #1aabff;
    }
    100%{
        text-shadow: 10px 0px 3px hotpink, -10px 0px 3px #1aabff;
    }
}

@keyframes border-flicker {
    0% {
    opacity:0.1;
    box-shadow: 0px 0px 10px 4px rgb(255 182 193 / 61%);
    }
    2% {
    opacity:1;
    box-shadow: 0px 0px 10px 4px rgb(255 182 193 / 61%);
    }
    4% {
    opacity:0.1;
    box-shadow: 0px 0px 10px 4px rgb(255 182 193 / 61%);
    }
    8% {
    opacity:1;
    box-shadow: 0px 0px 10px 4px rgb(255 182 193 / 61%);
    }
    70% {
    opacity:0.7;
    box-shadow: 0px 0px 10px 4px rgb(255 182 193 / 61%);
    }
    100% {
    opacity:1;
    box-shadow: 0px 0px 10px 4px rgb(255 182 193 / 61%);
    }
}

@keyframes border-flicker2 {
    from{
        box-shadow: 0px 0px 10px 4px rgb(255 182 193 / 20%);
    }
    to{
        box-shadow: 0px 0px 10px 4px rgb(255 182 193 / 61%);
    }
}

@keyframes flicker{
    0%{
        box-shadow: 0 0 5px rgb(255, 146, 250); 
    }
    50%{
        box-shadow: 0 0 5px rgba(255, 255, 255, 0.295); 
    }
    100%{
        box-shadow: 0 0 5px rgb(253, 146, 226);
    }
}

@keyframes border-flicker-blue {
    0% {
    opacity:0.1;
    /* box-shadow: 0px 0px 15px 5px rgba(100, 224, 255, 65%); */
    }
    2% {
    opacity:1;
    /* box-shadow: 0px 0px 15px 5px rgba(100, 224, 255, 65%); */
    }
    4% {
    opacity:0.1;
    /* box-shadow: 0px 0px 15px 5px rgba(100, 224, 255, 65%); */
    }
    8% {
    opacity:1;
    /* box-shadow: 0px 0px 15px 5px rgba(100, 224, 255, 65%); */
    }
    70% {
    opacity:0.7;
    /* box-shadow: 0px 0px 15px 5px rgba(100, 224, 255, 65%); */
    }
    100% {
    opacity:1;
    /* box-shadow: 0px 0px 15px 5px rgba(100, 224, 255, 65%); */
    }
}

@keyframes beat{
    to{
    transform: scale(1.05) rotate(5deg);
    }
}

@keyframes beat2{
    to{
    transform: scale(0.8) rotate(5deg);
    }
}

@keyframes text-glitch{
    to{
        text-shadow: 3px 0px hotpink, -3px 0px #1aabff;
    }
}

/* =============== MAIN =================== */
.main_container{
    display: grid;
    place-items: center;
    grid-template-columns: 1fr;
}
/* ============ title ================= */
.main_title{
    /* margin-top: 2rem; */
    color: white;
    text-transform: uppercase;
    font-family: 'Exo';
    font-size: 2rem;
    animation: slideDown 1s ease-in-out forwards;
}

@keyframes slideDown{
    from{
        opacity: 0;
        transform: translateY(-300%);
    }
    to{
        opacity: 1;
        transform: translateY(0);
    }
}

.main_title span{
    color: white;
    text-transform: uppercase;
    font-family: 'Exo';
    text-shadow: 2px 1px hotpink, -2px -1px #1aabff;
    /* animation: text-glitch .5s linear infinite;
    animation-direction: alternate; */
}
/* =================== MAIN IMG ============= */
.home_img_back{
    display: flex;
    flex-direction: column;
    position: relative;
    align-items: center;
    margin-top: 1rem;
}

/* .border_neon{
    animation: border-flicker-blue 2s linear infinite;
    position: absolute;
    top: 15%;
    width: 52%;
    /* height: 225px;
    padding-bottom: 67%;
    transform: skew(10deg, 10deg) rotate(27deg) scale(1);
    z-index: 0;
    filter: blur(3px);
} */
.home_img_border{
    z-index: 1;
    display: block;
    width: 55%;
    animation: border-flicker-blue 2s linear infinite;
    filter: drop-shadow(0 0 7px rgb(100 224 255 / 65%) );
}

.home_img_grad{
    mix-blend-mode: hard-light;
    opacity: .5;
    position: absolute;
    align-self: center;
    top: .2rem;
    z-index: 1;
    display: block;
    width: 50%;
}

.home_img_stars{
    mix-blend-mode: color-dodge;
    position: absolute;
    top: .5rem;
    z-index: 1;
    display: block;
    width: 50%;
}

.main_img{
    position: absolute;
    top: 2rem;
    animation: beat 1s infinite alternate;
    transform-origin: center;
    z-index: 1;
    display: block;
    width: 50%;
}
/* ============= subtitle ============ */
.home_text{
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.slogan{
    color: white;
    text-align: center;
    font-family: 'Jost';
}

.slogan_part{
    font-family: 'Jost';
}

.slogan:first-child{
    animation: slideLeft 1.2s ease-in-out forwards;
}

.slogan:last-child{
    opacity: 0;
    animation: slideRight 1.2s ease-in-out .5s forwards;
}

@keyframes slideLeft{
    from{
        opacity: 0;
        transform: translateX(-100%);
    }
    to{
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideRight{
    from{
        opacity: 0;
        transform: translateX(100%);
    }
    to{
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideUp{
    from{
        opacity: 0;
        transform: translateY(100%);
    }
    to{
        opacity: 1;
        transform: translateY(0);
    }
}
/* ============== button =========== */
.home_button{
    margin: 0;
    padding: 1rem 0 1rem .5rem;
    opacity: 0;
    animation: slideUp 1s ease-in-out 1s forwards;
}

.enter{
    color: #ffe8f2;
    text-transform: uppercase;
    text-align: center;
    font-weight: bold;
    font-size: 1.5rem;
    display: inline-block;
    cursor: pointer;
    /* font-family: 'Comfortaa'; */
    font-family: 'Snippet';
    text-shadow: 0 0 5px #ffa1b1;
}

.enter::after{
    content: '';
    display: block;
    /* width: 0; */
    width: 90px;
    height: 3px;
    border-radius: 50px;
    background-color: #e2f5ffed;
    box-shadow: 0 0 10px #77c6ff, 0 0 10px #77c6ff, 0 0 10px #77c6ff;
    mix-blend-mode: hard-light;
    transform: translateX(-100%);
    opacity: 0;
    transition: all .3s ease-in-out;
}

.enter:hover::after{
    transform: translateX(0%);
    opacity: 1;
    /* animation-name: neon-bar;
    animation-duration: .4s;
    animation-fill-mode: forwards;
    animation-timing-function: ease-in-out; */
}

/* @keyframes neon-bar{
    to{
        transform: translateX(0%);
        opacity: 1;
    }
} */

.neon_bar_anim{
    transform: translateX(0%);
    opacity: 1;
}
/* ================= FOOTER =============== */
footer{
    width: 100%;
    height: 30px;
    position: absolute;
    bottom: 0;
    transition: .5s ease-in-out;
    color: white;
    padding: 0 1rem;
    opacity: 0;
}

.footer_content{
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer_content span a{
    color: rgb(240, 187, 231);
    font-weight: bold;
    transition: .4s ease-in-out;
    font-family: 'Gaegu';
    font-size: 1rem;
}

.footer_content span a:hover{
    color: #ff77bb;
}

.footer_list{
    display: flex;
    align-items: center;
}

.footer_list li a{
    display: block;
    padding: 0 .5rem;
    color: white;
    transition: .4s ease-in-out;
}

.footer_list li a:hover{
    animation: glitch .5s;
    animation-timing-function: ease-in-out;
    animation-fill-mode: forwards;
}


/* ============= MEDIA QUERIES ============= */
@media screen and (min-width: 320px) and (max-width: 767px){
    .home_img_stars{
        mix-blend-mode: screen;
    }
    footer{
        opacity: 0;
        height: 35px;
        font-size: .7rem;
        padding: 0;
    }
    .footer_content{
        flex-wrap: wrap;
        justify-content: center;
    }
    .footer_content .hwan{
        order: 1;
        padding-right: .5rem;
    }

    .footer_list{
        order: 2;
        flex-basis: 100%;
        text-align: center;
        margin-top: .2rem;
        justify-content: center;
    }
    .footer_list li a{
        padding: 0 .3rem;
    }
    .copyright{
        order: 1;
        padding-left: .5rem;
    }
}

@media screen and (min-width: 320px) and (max-width: 479px){
    .main_container{
        position: relative;
        top: -2rem;
    }

    footer{
        bottom: 16%;
    }
}
@media screen and (min-width: 480px) and (max-width: 767px){
    .home_img_border{
        width: 60%;
    }
    .home_img_grad, .home_img_stars, .main_img{
        width: 55%;
    }
    .logo img{
        width: 65px;
        padding: 0;
    }
    .burger_icon{
        font-size: 2.5rem;
    }
    .main_title{
        font-size: 3rem;
    }
    .slogan{
        font-size: 1.5rem;
    }
    .enter{
        font-size: 2rem;
    }
    .enter::after{
        width: 115px;
    }
    footer{
        font-size: .9rem;
        height: 50px;
    }
}
@media screen and (min-width: 768px){
    .menu{
        display: none;
    }
    .nav_menu{
        position: fixed;
        top: 0;
        right: 0;
        bottom: initial;
        left: initial;
        margin-top: .5rem;
        visibility: initial;
    }
    .burger_menu{
        visibility: initial;
        opacity: 1;
        backdrop-filter: none;
        background-color: initial;
        height: auto;
        width: initial;
        flex-direction: row;
    }
    .burger_menu li a{
        margin: 1rem 0 1rem 1rem;
        padding: .5rem 1rem;
        text-transform: initial;
    }

    .logo img{
        width: 70px;
        padding-bottom: 70px;
    }

    .main_container{
        display: flex;
        flex-wrap: wrap;
        justify-content: start;
    }
    .main_title{
        display: none;
    }
    .home_img_back{
        flex-basis: 45%;
    }
    .border_neon{
        transform: skew(10deg, 10deg) rotate(27deg) scale(2);
    }
 
    .home_subtitle{
        margin: 2rem 0;
        padding: 0 .5rem;
    }
    .slogan{
        font-size: 2.1rem;
        text-transform: uppercase;
        text-align: left;
        font-weight: initial;
        margin: 0;
        padding: 0;
    }
    .home_text{
        display: flex;
        flex-direction: column;
        flex-basis: 55%;
        align-items: flex-start;
    }
    .home_button{
        margin: 0;
        padding: 1rem 0 1rem .5rem;
    }
    .slogan_part{
        font-weight: bold;
        color: white;
        text-shadow: 0 0 10px rgb(255, 141, 230);
        font-family: 'Jost';
    }
}

@media screen and (min-width: 768px) and (max-width: 991px){
    footer{
        font-size: 0.8rem;
    }
}

@media screen and (min-width: 992px){
    .footer_content span a{
        font-size: 1.3rem;
    }
}

@media screen and (min-width: 1200px){
    .logo img{
        width: 100px;
    }

    .burger_menu li a{
        margin: 1rem;
    }

    .border_neon{
        transform: skew(10deg, 10deg) rotate(27deg) scale(1.8);
        top: 37%;
        left: 36%;
    }

    .home_img_back img{
        transform: scale(0.7);
    }

    .main_img{
        animation: beat2 1s infinite alternate;
        transform-origin: center;
        z-index: 1;
        top: 4rem;
    }

    .home_img_grad{
        top: 1rem;
        opacity: 1;
        filter: blur(5px);
    }

    .slogan{
        font-size: 3rem;
    }

    .enter{
        font-size: 2rem;
    }

    .enter::after{
        width: 115px;
    }
    .home_img_border{
        width: 70%;
    }
    .home_img_grad, .home_img_stars{
        width: 65%;
    }
    .main_img{
        width: 60%;
        top: 6rem;
    }
}
/* @supports (-moz-appearance:none) {
    .burger_menu{
        background-color: rgb(0 0 0 / 85%);
    } 
} */

@supports (-moz-appearance:none){
    @media screen and (min-width: 320px) and (max-width: 767px){
        .burger_menu{
        background-color: rgb(0 0 0 / 85%);
        }
    } 
}