/***** 
    ANIMATION
 *****/
@keyframes semicircle {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes bounce-glow {

    0%,
    100% {
        transform: translateY(0) scale(0.8);
        text-shadow: 0 0 3px #fff, 0 0 5px #ff4d4d, 0 0 8px #ff4d4d;
    }

    50% {
        transform: translateY(0) scale(1.0);
        text-shadow: 0 0 3px #fff, 0 0 5px #ff4d4d, 0 0 8px #ff4d4d;
    }
}

/***** 
    ANIMATION
 *****/
/***** 
    GLOBAL
 *****/
html {
    font-size: calc(0.0075 * 100vw);
}

html[device="mobile"] {
    font-size: calc(100vw * 0.02);
}

body {
    font-size: 1.2rem;
    background-image: url("../images/bg_pc.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    width: 100vw;
    height: 100vh;
}

img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    cursor: pointer;
}

a {
    text-decoration: none;
}

/***** 
    GLOBAL
 *****/
/***** 
    CONTAINER
 *****/
.main-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
}

.main-container .top-logo {
    width: 35.83rem;
    height: 12.5vh;
    margin: 1rem auto;
}

.main-container .main-image {
    width: auto;
    height: 45vh;
    margin: 0 auto;
}

.main-container .redirect-link {
    display: flex;
    width: 65%;
    margin: 0 auto;
}

.main-container .redirect-link .redirect-link-item {
    width: 11.66rem;
    height: 20vh;
    background: linear-gradient(180deg, #000000 0%, #282828 100%);
    border: 1px solid #FFFFFF;
    border-radius: 1.04rem;
    margin: 0 auto;
    position: relative;
}

.main-container .redirect-link .redirect-link-item .redirect-link-no {
    position: absolute;
    background: linear-gradient(360deg, #0EBAFB 0%, #0088FF 100%);
    width: 2.54rem;
    height: 2.2rem;
    border-top-left-radius: .555rem;
    border-bottom-right-radius: .555rem;
    font-family: Roboto;
    font-weight: 900;
    font-size: 1.72rem;
    line-height: 100%;
    text-align: center;
    color: #FFFFFF;
    padding-top: .2rem;
}

.main-container .redirect-link .redirect-link-item .redirect-link-circle {
    position: relative;
    margin: 2rem auto 1.2rem auto;
    background: #000000;
    width: 6.52rem;
    height: 6.52rem;
    border-radius: 50%;
    display: flex;
}

.main-container .redirect-link .redirect-link-item .redirect-link-circle .semicircle {
    position: relative;
    width: 5.83rem;
    height: 5.83rem;
    border-radius: 50%;
    margin: auto;

}

.main-container .redirect-link .redirect-link-item .redirect-link-circle .semicircle.active {
    animation: semicircle 2s;
}

.main-container .redirect-link .redirect-link-item .redirect-link-circle .semicircle img {
    width: 2.91rem;
    height: 5.83rem;
    float: right;
}

.main-container .redirect-link .redirect-link-item .redirect-link-speed {
    position: absolute;
    color: #FFFFFF;
    left: 2rem;
    top: 1.6rem;
    z-index: 2;
    cursor: pointer;
}

.main-container .redirect-link .redirect-link-item .redirect-link-speed b {
    font-family: Roboto;
    font-weight: 900;
    font-size: 2.08rem;
    line-height: 100%;
    text-align: center;
    border-radius: 50%;
}

.main-container .redirect-link .redirect-link-item .redirect-link-speed p {
    font-family: Roboto;
    font-weight: 900;
    font-size: 1.18rem;
    line-height: 100%;
    text-align: center;
}

.main-container .redirect-link .redirect-link-item .backdrop {
    height: 5.47rem;
    width: 5.47rem;
    position: absolute;
    left: .5rem;
    top: .4rem;
    z-index: 1;
}

.main-container .redirect-link .redirect-link-item .redirect-link-button {
    margin: 0 auto;
    background: rgb(53 53 53);
    width: 6.41rem;
    height: 1.8rem;
    border-radius: 1rem;
    display: flex;
}

.main-container .redirect-link .redirect-link-item .redirect-link-button:hover {
    transform: scale(1.2);
}

.main-container .redirect-link .redirect-link-item .redirect-link-button-inside {
    margin: auto;
    background: radial-gradient(50% 91.59% at 50% 50%, #FF0000 0%, #A20000 100%);
    border-radius: 1rem;
    width: 6rem;
    height: 1.38rem;
}

.main-container .redirect-link .redirect-link-item .redirect-link-button-inside p {
    font-family: Roboto;
    font-weight: 700;
    font-size: .8rem;
    text-align: center;
    text-transform: capitalize;
    color: #FFFFFF;
    margin-top: .15rem;
}

.app-download {
    display: flex;
    justify-content: space-between;
    width: 62.56rem;
    margin: 1rem auto;
}

.app-download .qr-download {
    width: 9.58rem;
    height: 9.58rem;
    background-color: #FFF;
}

.app-download .app-download-img {
    width: 18.33rem;
    height: 7.02rem;
    margin: auto;
    animation: bounce-glow 1.5s infinite ease-in-out;
}

.android,
.ios {
    display: flex;
    width: 50%;
}

/***** 
    CONTAINER
 *****/
/***** 
    MOBILE
 *****/
html[device="mobile"] .redirect-link {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    width: 90%;
    gap: 1rem;
}

html[device="mobile"] .redirect-link .redirect-link-item {
    width: 14rem;
    height: 15vh;
}

html[device="mobile"] .app-download {
    width: 35.9rem;
    margin: 2rem auto;
}

html[device="mobile"] .android,
html[device="mobile"] .ios {
    flex-direction: column;
    gap: 1rem;
}

html[device="mobile"] .app-download .qr-download {
    margin: 0 auto;
}

html[device="mobile"] .main-container .redirect-link .redirect-link-item .redirect-link-button {
    width: 8.41rem;
    height: 2.3rem;
}

html[device="mobile"] .main-container .redirect-link .redirect-link-item .redirect-link-button-inside {
    width: 7.7rem;
    height: 1.8rem;
}

html[device="mobile"] .main-container .redirect-link .redirect-link-item .redirect-link-button-inside p {
    font-size: 1rem;
}

html[device="mobile"] .main-image {
    height: 35vh;
    margin-bottom: 1rem;
}

/***** 
    MOBILE
 *****/