*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body{
    font-family: sans-serif;
    font-weight: 400;
    /* background: rgb(38,70,83);
    background: linear-gradient(90deg, rgba(38,70,83,1) 25%, rgba(42,157,143,1) 73%); */
    /* height: 100vh; */
    overflow-x: hidden;
}
section{
    background: linear-gradient(90deg, rgb(34 9 66) 25%, rgb(55 15 68) 73%);
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}
.main{
    height: 500px;
    width: 800px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    position: relative;
}
.player-0{
    width: 50%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    background-color: rgba(238, 238, 238, 0.575);
    padding: 3em;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
}
.heading-0{
    font-size: 2em;
    color: #fff;
}
#score-current-0{
    font-size: 3em;
    color: #fff;
}
.current{
    height: 150px;
    width: 200px;
    background-color: #5e2674;
    /* background-color: #2d4c87; */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
}
#current-0{
    font-size: 1.2em;
    color: #fff;
    padding: 10px 0;
}
#score-0{
    font-size: 5em;
    color: #fff;
}
.player-1{
    width: 50%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 3em;
    background-color: rgba(238, 238, 238, 0.575);
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
}
.heading-1{
    font-size: 2em;
    color: #fff;
}
#score-current-1{
    font-size: 3em;
    color: #fff;
}
.current{
    height: 150px;
    width: 200px;
    /* background-color: #2d4c87; */
    background-color: #5e2674;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
#current-1{
    font-size: 1.2em;
    color: #fff;
    padding: 10px 0;
}
#score-1{
    font-size: 5em;
    color: #fff;
}
#dice{
    position: absolute;
    width: 100px;
    border-radius: 10px;
}
.button{
    position: absolute;
    font-size: 1.2em;
    outline: none;
    border: none;
    padding: 10px 25px;
    border-radius: 50px;
}
#button-new{
    top: 23px;
    cursor: pointer;
    transition: 0.3s;
    background-color: #ffffffad;
}
#button-new:hover{
    box-shadow: 0px 0px 3px 2px #bfbfbf;    
}
#button-hold{
    bottom: 72px;
    transition: 0.3s;
    cursor: pointer;
    background-color: #ffffffad;
}
#button-hold:hover{
    box-shadow: 0px 0px 3px 2px #bfbfbf;    
}
#button-scroll{
    transition: 0.3s;
    bottom: 125px;
    cursor: pointer;
    background-color: #ffffffad;
}
#button-scroll:hover{
    box-shadow: 0px 0px 3px 2px #bfbfbf;    
}

.number{
    position: absolute;
    top: 439px;
    margin: 10px 0;
}
.number input{
    width: 100px;
    height: 24px;
    border: 0;
    outline: none;
    text-align: center;
    padding-left: 15px;
    border-radius: 5px;
}

.dice-1{
    position: absolute;
    top: 202px;
}
.dice-2{
    position: absolute;
    top: 90px;
}

.active{
    /* background-color: #287b77 !important; */
    background-color: #251040 !important;
}
.active1{
    font-weight: 800;
}
.hidden{
    display: none;
}
.color-change{
    /* color: rgb(106 255 200); */
    color: rgb(255 106 106);
    font-size: 2.2em;
}
.section1{
    display: none;
}
.main1{
    width: 100%;
    height: 100vh;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.section1 .fas{
    font-size: 3.5em;
    color: #ff4a4aeb;
    padding: 10px 0;
}
.error{
    color: #ff5858;
    font-size: 2em;
    padding: 5px 0;
}
.section1 p{
    font-size: 16px;
    color: #000000e8;
    font-weight: 600;
}
.again{
    color: #333333;
}
@media screen and (max-width: 800px){
    section{
        display: none;
    }
    .section1{
        display: block;
    }
}