@import 'https://fonts.googleapis.com/css?family=Baloo+Paaji';
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

@font-face {
    font-family: 'FWC26-CondensedBlack';
    src: url('../fonts/FWC26-CondensedBlack.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

* {
    border: 0;
    padding: 0;
    box-sizing: border-box;

    font-family: "FWC26-CondensedBlack", sans-serif;
}

body {
    width: 100vw;
    height: 100vh;
    overflow: hidden;
}

/* #background_mobile {
    width: 100%;
    height: 100%;
} */

#countdown {
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    z-index: 10;
}

#countdown p {
    padding: 50px;
    text-align: center;
    border-radius: 100%;
    border: 3px solid white;
    background-color: rgba(0,0,0,0.2);
    font-size: 5rem;
    color: white;
}

#video {
    width: 100vw;
    height: 100vh;
    filter: blur(6px);
    object-fit: cover;
}

.canvas_container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem
}

.canvas_container img {
    width: 50vw;
}

.canvas_container_video {
    width: 70vw;
    height: 70vh;
    background-color: #fff;
    padding: 10px 12px 20px;
    overflow: hidden;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.canvas_container_video canvas {
    border-radius: 12px;
    /* width: 100%;
    height: 100%; */
}

.qrcontainer {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.qrcontent {
    position: relative;
    z-index: 10;
    display: flex;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: column;
    gap: 2rem;
}

.qrcontent img {
    width: 50vw;
}

.blurredbackground {
    user-select: none;
    pointer-events: none;
    position: absolute;
    width: 80%;
    height: 80%;
    background: linear-gradient(90deg, rgba(0, 0, 0, .4), #1433cb93);
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.3);
    border: 2px solid #1433cb;
    overflow: hidden;
    border-radius: 2rem;
}

.buttons {
    position: absolute;
    bottom: 0;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    width: 100vw;
    gap: 1rem;
}

.buttons button:active {
    scale: 0.8;
}

.buttons button {
    transition: all .2s;
    width: 40vw;
    padding: 12px 20px;
    background-color: #fff;
    color: #1433cb;
    border-radius: 12px;
    font-weight: bold;
}

.qrcodecontainer {
    padding: 20px;
    background-color: #fff;
    overflow: hidden;
    border-radius: 12px;
}

.container {
    width: 400px;
    height: 220px;
    position: relative;
}

h1,
h2 {
    font-size: 2.5rem;
    text-transform: uppercase;
}

h1 .text-back {
    width: 100%;
    float: left;
    color: #ffffff;
    -webkit-clip-path: polygon(100% 0, 100% 100%, 0 100%, 0 80%);
    clip-path: polygon(100% 0, 100% 100%, 0 100%, 0 80%);
    transform: translateY(-50px);
    opacity: 0;
    animation: titleAnimation ease 2s infinite;
}

h2 .text-back {
    background-color: black;
    padding: 12px;
    width: 100%;
    float: left;
    color: #ffffff;
    clip-path: polygon(100% 0, 100% 100%, 0 100%, 0 80%);
    transform: translateY(-50px);
    opacity: 0;
    animation: titleAnimation ease 4s infinite;
}

h1 span {
    animation-delay: 0s;
}

h2 {
    top: 0;
    position: absolute;
}

h2 span {
    animation-delay: 4.5s;
}

h2 span:first-child {
    animation-delay: 4.4s;
}

h2 span:last-child {
    animation-delay: 4.3s;
}

/* .text-back {
    padding: 20px 20px;
    background-color: black;
    margin: 12px;
    width: 80vw;
} */

.usechrome {
    font-size: 10px;
    color: #fff;
    font-family: helvetica, arial;
    position: absolute;
    bottom: 20px;
    width: 100%;
    text-align: center;
    left: 0;
}

@keyframes titleAnimation {
    0% {
        transform: translateY(-50px);
        opacity: 0;
        -webkit-clip-path: polygon(100% 0, 100% 100%, 0 100%, 0 80%);
        clip-path: polygon(100% 0, 100% 100%, 0 100%, 0 80%);
    }

    20% {
        transform: translateY(0);
        opacity: 1;
        -webkit-clip-path: polygon(100% 0, 100% 100%, 0 100%, 0 15%);
        clip-path: polygon(100% 0, 100% 100%, 0 100%, 0 15%);
    }

    80% {
        transform: translateY(0);
        opacity: 1;
        -webkit-clip-path: polygon(100% 0, 100% 100%, 0 100%, 0 15%);
        clip-path: polygon(100% 0, 100% 100%, 0 100%, 0 15%);
    }

    100% {
        transform: translateY(50px);
        opacity: 0;
        -webkit-clip-path: polygon(100% 0, 100% 0%, 0 100%, 0 100%);
        clip-path: polygon(100% 0, 100% 0%, 0 100%, 0 100%);
    }
}

.mobile_container_end {
    width: 100vw;
    height: 100vh;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 8vh 1fr 18vh;
    gap: 2rem;
}

.text_container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.mobile_container_end h2 {
    color: white;
    font-weight: bold;
    font-size: 1rem;
    text-align: center;
}

.mobile_container_end .buttons_mobile {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 1rem;
}

.mobile_container_end .buttons_mobile button {
    transition: all .2s;
    width: 40vw;
    padding: 12px 20px;
    background-color: #fff;
    color: #1433cb;
    border-radius: 12px;
    font-weight: bold;
}

.mobile_container_end .buttons_mobile button:active {
    scale: 0.8;
}

#image_preview {
    padding: 12px 12px 20px;
    background-color: white;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 20px;
}

#image_preview img {
    border-radius: 20px;
}

.image_preview_container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.items_container {
    display: flex;
    width: 100vw;
    align-items: center;
    gap: 1rem;
    overflow-x: auto;
}

.video-item {
    transition: all .3s;
}

.video-item:active {
    scale: 0.9;
}