* {
    cursor: url("../assets/cursor/cursor1.png"), default;
}

.bg-video {
    position: absolute;
    z-index: -2;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    display: flex;
    justify-content: center;
}

.bg-video .video {
    height: 100vh;
}

.bg-video::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100vw;
    background: linear-gradient(90deg, 
    rgba(0, 0, 0, 1) 0%, 
    rgba(0, 0, 0, 0.8) 50%,
    rgba(0, 0, 0, 1) 100%
    );
}

.container {
    position: relative;
    z-index: 3;
    display: flex;
    height: 100vh;
}

.container__left {
    width: 35%;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
}

.container__right {
    width: 65%;
}

.score_box {
    background-color: #fff;
    padding: 30px;
}

.frame {
    border: 3px solid #000;
    border-radius: 5px;
}

.card_details {
    background-color: #fff;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    height: 6rem;
    width: 100%;
}

#card-name {
    font-size: 0.8rem;
    font-weight: 700;
    text-align: center;
}

#card-type {
    font-size: 1rem;
}

.card-box__container {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 0.3rem;
}

.card-versus__container {
    display: flex;
    flex-direction: column;
    justify-items: center;
    align-content: center;
    padding-top: 0.2rem;
    height: 300px;
}

.versus-top, .versus-bottom {
    display: flex;
    justify-content: center;
    align-items: center;    
}

.versus-bottom {
    margin-top: 1rem;
}

#next-duel {
    display: none;
}

.card-box {
    height: 9rem;
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
}

.card-infield {
    height: 11.2rem;
    width: 8rem;
    border-radius: 8px;
    border: 1px solid #fff;
}

.card {
    transition: transform 0.2s ease-in-out;
}

.card:hover {
    transform: scale(1.2);
}

.debug {
    border: 1px solid red;
}

@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }

    .container__left {
        width: 100%;
        height: 40%;
        min-height: 200px;
        flex-direction: row;
        justify-content: center;
    }

    .container__right {
        width: 100%;
        height: 100%;
    }

    .card-box {
        height: 100%;
        width: 100%;
        flex-direction: column;
        justify-content: center;
    }

    .card-infield {
        height: 100%;
        width: 100%;
    }

    .card-box__container {
        height: 90%;
        padding: 0;
    }

    .card-versus__container {
        height: 100%;
        padding: 0;
    }

    .versus-top, .versus-bottom {
        display: flex;
        justify-content: center;
        align-items: center;    
    }

    .versus-bottom {
        margin-top: 1rem;
    }

    #next-duel {
        display: none;
    }

    .card-box {
        height: 100%;
        width: 100%;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .card-infield {
        height: 11.2rem;
        width: 8rem;
        border-radius: 8px;
        border: 1px solid #fff;
    }

    .card {
        transition: transform 0.2s ease-in-out;
    }

    .card:hover {
        transform: scale(1.2);
    }    

    .menu_avatar {
        display: flex;
        flex-direction: row;     
    }
    .score_box {
        width: 30%;
        text-align: center;
    }
    #card-image {
        width: 100%;
        height: 100%;
    }
    .card_details {
        width: 30%;
        height: 60%;
    }
    #card-type {
        font-size: 0.7rem;
        text-align: center;
    }
}