@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@500&display=swap');

html {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 150%;
    line-height: 1.4;
}

body {
    margin: 0;
    background: #000;
}

.video-header {
    position: absolute;
    text-align: center;
    width: 100vw;
    height: 100vh;
}

.video-header,
.video-header video,
.video-header .viewport-header {
    width: 100vw;
    height: 100vh;
    position: absolute;
    top: 0;
    left: 0;
}

.video-header video {
    background: black;
    object-fit: cover;
}

.video-header .viewport-header {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-direction: column;
    width: 100%;
}

html,
body {
    height: 100%;
    overflow-x: hidden;
    position: relative;
}

.country {
    margin: 0px auto;
    display: flex;
    max-width: 750px;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    margin-bottom: 2vh;
    margin-top: 0.5vh;
}

.country a {
    margin: 0px 5%;
    text-decoration: none;
}

img.m-img {
    max-width: 100%;
}

.flag-position {
    margin-bottom: 2%;
    display: flex;
    width: 100%;
    justify-content: center;
}

.country a p {
    margin: 0px;
    padding: 0px;
    color: #fff;
    text-decoration: none;
    font-size: 24px;
    text-shadow: 0px 0px 13px #008aff, 0px 0px 13px #008aff, 0px 0px 13px #008aff, 0px 0px 13px #008aff;
}

.fadeInLeft.first {
    -webkit-animation-delay: 1s;
    animation-delay: 1s;
    animation-iteration-count: 1;
}

.fadeInLeft.second {
    -webkit-animation-delay: 1.5s;
    animation-delay: 1.5s;
    animation-iteration-count: 1;
}

.fadeInLeft.third {
    -webkit-animation-delay: 2s;
    animation-delay: 2s;
    animation-iteration-count: 1;
}

.fadeInRight {
    -webkit-animation-name: fadeInRight;
    animation-name: fadeInRight;
    -webkit-animation-duration: 2s;
    animation-duration: 2s;
}

.floating {
    animation-name: floating;
    animation-duration: 3s;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
}

.country a img {
    transform: scale(1);
    transition: 400ms;
    height: 50px;
}

.country a:hover img {
    transform: scale(0.8);
}

.footer-logo {
    margin-top: 5%;
    animation-delay: 1s;
    animation-iteration-count: 1;
}

video.v-desktop {
    display: block;
}

video.v-mobile {
    display: none;
}

@media only screen and (max-width:767px) {
    .flag-position {
        margin-bottom: 10%;
    }

    .footer-logo {
        margin-top: 10%;
    }

    .country a img {
        width: 70%;
    }

    .country a {
        margin: 0px;
        margin-bottom: 20px;
    }

    video.v-desktop {
        display: none;
    }

    video.v-mobile {
        display: block;
    }

    .country a p {
        font-size: 18px;
    }

    .country {
        margin: 0px auto;
        display: flex;
        max-width: 750px;
        flex-wrap: inherit;
        justify-content: center;
        width: 100%;
    }
}

.fire {
    position: relative;
    width: 100vw;
    height: 100vh;
}

#particles-js {
    position: absolute;
    bottom: 0;
    width: 100vw;
    height: 100vh;
}

.country {
    display: inline-flex;
    gap: 10%;
}

.fadeInLeft.first {
    animation-delay: 1s;
    animation-iteration-count: 1;
}

.fadeInLeft.second {
    animation-delay: 1.5s;
    animation-iteration-count: 1;
}

.fadeInLeft.third {
    animation-delay: 2s;
    animation-iteration-count: 1;
}

.country a {
    color: rgb(255, 255, 255);
    /* font-weight: bold; */
    font-size: 16px;
    margin: 0px 0px;
}

.animated {
    animation-duration: 1s;
    animation-fill-mode: both;
}

.fadeInLeft {
    animation-name: fadeInLeft;
}

.countryCustom {
    position: fixed;
    bottom: 25%;
    left: 8%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 40px;
}

.countdown-timer {
    display: flex;
    gap: 15px;
    background: url(../images/countdown-bg.png) no-repeat center;
    border-radius: 18px;
    padding: 16px 22px 10px;
    width: fit-content;
    width: 100%;
    height: 15vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-size: contain;
    margin: 0px auto;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.countdown-value {
    width: 65px;
    height: 55px;
    border-radius: 16px;
    background: #08172f80;
    color: #ffffff;
    font-size: 24px;
    font-weight: 900;
    line-height: 72px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0px 1px 2px #fff;
}

.countdown-label {
    margin-top: 1px;
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1px;
}

@media only screen and (max-width: 767px) {
    .countdown-timer {
        gap: 15px;
        padding: 10px 10px 8px;
        border-radius: 12px;
        margin: 0 auto 12px;
        height: auto;
        background-size: 100% 100%;
        width: 90%;
        height: 13vh;
    }

    .countdown-value {
        width: 50px;
        height: 50px;
        border-radius: 10px;
        font-size: 24px;
        line-height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .countdown-label {
        margin-top: 6px;
        font-size: 11px;
        letter-spacing: 0.8px;
    }

    .country a {
        margin: 0px;
        font-weight: bold;
        font-size: 0.6rem;
    }

    .country>a:hover:before {
        width: 69px;
        height: 69px;
        top: 8px;
        left: 5px;
    }

    .chara img {
        position: absolute;
        right: -26%;
        top: -142px;
        max-width: 547px;
        display: none;
    }

    .countryCustom {
        position: fixed;
        top: 15%;
        right: 0;
        left: 0;
        bottom: auto;
        gap: 15px;
        margin: 0px auto;
    }
}

@media (max-width: 767px) {
    .logoCustom img {
        display: none;
    }

    .country {
        display: inline-flex;
        gap: 30px;
        margin-bottom: 10%;
    }

    .country a img {
        width: 70px;
        transition: all .2s ease-in-out;
        height: auto;
    }
}

@media (max-width: 376px) {
    .country a img {
        width: 45px;
        transition: all .2s ease-in-out;
        height: auto;
    }

    .country a {
        font-size: 0.5rem;
        font-weight: 300;
    }

    .country {
        margin-bottom: 15%;
    }

    .countdown-value {
        font-size: 0.8rem;
        width: 35px;
        height: 35px;
        font-size: 0.5rem;
    }

    .countdown-label {
        font-size: 0.3rem;
    }
}