@import url('https://fonts.googleapis.com/css2?family=Courier+Prime:ital,wght@0,400;0,700;1,400;1,700&display=swap');
body{
    margin: 0;
    padding: 0;
    background-color: aliceblue;
    /* background-color: antiquewhite; */
    /* background-color: red; */
}

*{
    box-sizing: border-box;
    font-family: 'Courier Prime', monospace;
    /* color: blueviolet; */
    color: rgb(76, 152, 0);
}

.loading-screen{
    width: 100vw;
    height: 100vh;
    position: absolute;
    z-index: 10000;
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    /* display: none; */
}

.loading-screen .info{
    text-align: center;
}

.loading-screen .title{
    width: 100%;
    top: 0;
    position: absolute;
}

.title{
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 10px solid rgb(150, 150, 150);
    background-color: azure;
    height: 70px;
    position: relative;
}

.title h1{
    text-align: center;
    font-size: 30px;
    color: black;
    font-weight: bolder;
    /* border: 1px solid black; */
    /* color: red; */
}

.myinfo{
    position: absolute;
    right: 10px;
    font-size: 30px;
    cursor: pointer;
}
.myinfo a{
    text-decoration: none;
}

video {
    -webkit-transform: scaleX(-1);
    transform: scaleX(-1);
    height: 500px;
    max-height: 50vh;
    /* width: 400px; */
    border: 10px solid rgb(150, 150, 150);
}

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

.user-prediction{
    margin-left: auto;
    margin-right: auto;
}
.container{
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.computer-hand{
    height: 500px;
    max-height: 50vh;
    border: 10px solid rgb(150, 150, 150);
    border-right: none;
}

.game{
    display: flex;
    align-items: center;
    justify-content: center;
    /* width: 600px; */
    /* border: 10px solid rgb(150, 150, 150); */
}

.computer-value, .user-value{
    border: 10px solid rgb(150, 150, 150);
    background-color: white;
    border-top: none;
    height: 70px;
    font-size: 23px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
}

.user-value{
    border-left: none;
}

.winner {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.winner h1{
    font-size: 40px;
    margin-top: 10px;
    border: 10px solid rgb(150, 150, 150);
    /* padding: 10px; */
    width: 500px;
    text-align: center;
    height: 70px;
}
.score {
    /* width: 50px; */
    height: 70px;
    border: 10px solid rgb(150, 150, 150);
    margin-top: -23px;
    margin-left: 10px;
    margin-right: 10px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    font-size: 20px;
    /* margin: auto; */
}
.score span{
    font-size: 40px;
    font-weight: bolder;
}
#gamewinner{
    background-color: rgba(80, 200, 80, 0.3);
}

#gamelosser{
    background-color: rgba(200, 80, 80, 0.3);
}

@media screen and (max-width: 680px) {
    .title {
        width: 100%;
    }
    .title h1{
        /* color: red; */
        font-size: 20px;
    }
    .status h2{
        font-size: 16px;
        padding-left: 10px;
        padding-right: 10px;
        text-align: center;
    }
    .container{
        max-width: 100%;
        flex-direction: column;
    }
    video, .computer-hand{
        max-height: 30vh;
        width: 90vw;
    }
    .computer-hand {
        width: 90vw;
        border-right: 10px solid rgb(150, 150, 150);;
    }
    
    .computer-value, .user-value{
        margin-top: 10px;
        border: 10px solid rgb(150, 150, 150);
        height: 50px;
        font-size: 15px;
    }
    .score{
        font-size: 15px;
        width: 500px;
        margin: 0px;
        height: 50px;
    }
    .score span {
        font-size: 16px;
    }
    .winner{
        flex-wrap: wrap;
        margin-top: 10px;
    }
    .winner h1{
        margin: 0;
        height: 50px;
        font-size: 16px;
        line-height: 16px;
        line-height: 30px;
    }
    .myinfo{
        font-size: 16px;
    }
}
