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

.wrap {
    width: 100%;
    height: 100vh;
    display: none;
    background-image: url(bcg2.jpeg);
    background-size: cover;
}

.player {
    width: 85px;
    height: 85px;
    border-radius: 50%;
    transition: 0.2s;
}

.player1 {
    position: absolute;
    top: 50%;
    left: 50%;
    margin-left: -25px;
    margin-top: -25px;
    z-index: 1;
    background-image: url();
    background-size: cover;
}

.player2 {
    position: absolute;
    top: 50%;
    left: 50%;
    margin-left: -25px;
    margin-top: -25px;
        z-index: 1;
        background-image: url();
        background-size: cover;
}

.gamepad {
    width: 150px;
    height: 150px;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    transition: 1s;
}

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

.rowCenter {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.btn {
    width: 50px;
    height: 50px;
    background-color: black;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: monospace;
    font-size: 40px;
}
.btn_top{
    color: yellow;
}
.btn_left{
    color: blue;
}
.btn_right{
    color: red;
}
.btn_bottom{
    color: green;
}
.gamepad1 {
    position: fixed;
    bottom: 20px;
    right: 20px;
}

.gamepad2 {
    position: fixed;
    bottom: 20px;
    left: 20px;
}

.target {
    width: 85px;
    height: 85px;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-left: -25px;
    margin-top: -25px;
    background-size: cover;
    transition: 0.2s;
}

.scoreContainer{
    width: 200px;
    height: 100px;
    background-color: rgba(0,0,0,0.4);
    position: fixed;
    left: 50%;
    margin-left: -100px;
    top: 0;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    display: flex;
    z-index: 10;
    backdrop-filter: blur(10px);
    border: 5px solid red;
    background-image: url(wood_bcg.jpg);
}

.scoreContainerInner{
    width: 50%;
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-family: Montserrat;
    font-size: 40px;
    font-weight: 900;
}
.loader{
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-image: url(bcg_loader.jpg);
    background-size: cover;
}
.progress{
    z-index: 1;
    color: white;
    font-size: 80px;
    font-weight: 500;
    font-family: monospace;
    margin-top: 40px;
}
.row_prog{
    width: 1%;
    height: 20px;
    background-color:crimson;
    z-index: 3;
    transition: 0.3s;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;

}
.main_logo{
    width: 650px;
    height: 300px;
    margin-top: 40px;
}
.place_prog{
    width: 400px;
    height: 30px;
    border: 2px solid red;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    border-radius: 15px;
    padding: 0 4px;
    margin-top: 40px;

}
.button_start{
    width: 150px;
    height: 50px;
    background-color: goldenrod;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    border-radius: 10px;
    font-family: monospace;
    font-size: 20px;
    border: 2px solid red;
    opacity: 0;
    transition: 1.5s;
    cursor: pointer;
    margin-top: 40px;

}
.button_start:hover{
    background-color: red;
}
.main_title{
    font-family: monospace;
    font-size: 100px;
    color: white;
    position: absolute;
    top: 0;
}


.choose_mode{
    width: 100%;
    height: 100vh;
    display: none;
    justify-content: center;
    align-items: center;
    background-image: url(choose-bcg.gif);
    background-size: cover;
}
.row_choose{
    display: flex;
    width: 100%;
    justify-content: space-around;
}
.cc{
    width: 400px;
    height: 400px;
    border: 4px solid red;
    border-radius: 20px;
    transition: 0.5s;
    display: flex;
    justify-content: center;
    align-items: center;
}
.c11{
    width: 300px;
    height: 300px;
}
.maintxt_choose{
    position: absolute;
    top: 40px;
    font-family: monospace;
    font-size: 75px;
    color: white;
}
.button_apply{
    width: 150px;
    height: 70px;
    border: 2px solid red;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    bottom: 70px;
    border-radius: 10px;
    background-color: goldenrod;
    color: white;
    font-family: monospace;
font-size: 25px;
transition: 1.5s;
opacity: 0;
}
.button_apply:hover{
    background-color: red;
    transition: 1.5s;
}

.gamepad_open{
    width: 60px;
    height: 50px;
    bottom: 2%;
    left: 50%;
    margin-left: -20px;
    position: absolute;
}
.settings{
    width: 100%;
    height: 100vh;
    display: none;
    justify-content: center;
    align-items: center;
    background-image: url(settings_bcg.png);
    background-size: cover;
}
.main_settings{
    width: 80%;
    height: 80vh;
    display: flex;
    border: 6px solid red;
    border-radius: 20px;
}
.left_settings{
    width: 50%;
    height: 100%;
    border-top-left-radius: 15px;
    border-bottom-left-radius: 15px;
    border-right: 3px solid red;
    background-image: url(wood_bcg.jpg);
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
.right_settings{
    width: 50%;
    height: 100%;
    border-top-right-radius: 15px;
    border-bottom-right-radius: 15px;
    border-left: 3px solid red;
    background-image: url(wood_bcg.jpg);
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
.txt_settings{
    position: absolute;
    top: 1%;
    color: white;
    font-family: monospace;
    font-size: 60px;
}
.r_img{
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-image: url(r.gif);
    background-size: cover;
    position: absolute;
    bottom: 2%;
}
.txt2_settings{
    position: absolute;
    color: white;
    font-family: monospace;
    font-size: 60px;
    bottom: 1.5%;
    left: 36%;
}
.txt3_settings{
    position: absolute;
    color: white;
    font-family: monospace;
    font-size: 60px;
    bottom: 1.5%;
    left: 52.5%;
}
.player1_txt{
    position: absolute;
    top: 13%;
    color: white;
    font-family: monospace;
    font-size: 50px;
}
.row_name{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    justify-content: space-around;
}
.skin_txt{
    color: white;
    font-family: monospace;
    font-size: 50px;
    margin-top: 40px;
}
.name_txt{
    color: white;
    font-family: monospace;
    font-size: 50px;
}
.inp_settings{
    width: 300px;
    height: 45px;
    border-radius: 10px;
    padding: 5px 0;
    font-size: 30px;
    font-family: monospace;
}
.row_skin{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    justify-content: space-around;
    margin-top: 40px;
}
.aim_img{
    width: 100px;
    height: 100px;
    border-radius: 10px;
    transition: 0.3s;
}
.button_ready{
    width: 180px;
    height: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    border: 2px solid red;
    background-color: goldenrod;
    border-radius: 10px;
font-family: monospace;
font-size: 30px;
position: absolute;
bottom: 14%;
transition: 1s;
}
.button_ready:hover{
    background-color: red;
    transition: 1s;

}
.ready1{
    width: 50%;
    height: 100%;
    display: none;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
.boy_img{
    width: 500px;
    height: 600px;

}
.set{
    width: 70px;
    height: 70px;
    background-image: url(set.png);
    background-size: cover;
    position: absolute;
    top: 2%;
    right: 1%;
}
.menu{
    width: 600px;
    height: 300px;
    border: 5px solid rgb(182, 182, 182);
    border-radius: 10px;
    background-color: rgb(255, 211, 130);
    position: absolute;
    display: none;
    justify-content: center;
    align-items: center;
    justify-content: space-around;
    flex-direction: column;
    top: 8%;
    right: 5%;
}
.menu_row{
    width: 100%;
    display: flex;
    justify-content: space-around;
    align-items: center;
    color: white;
    font-family: monospace;
    font-size: 40px;
}
.btn_ok{
    width: 100px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    border-radius: 10px;
    border: 2px solid lawngreen;
    background-color: green;
    font-size: 30px;
}
.bcg_wrap{
    width: 135px;
    height: 90px;
    border: 1px solid black;
    border: 2px solid  rgb(182, 182, 182);
    border-radius: 10px;
}
.bcg1{
    background-image: url(bcg1.jpeg);
    background-size: cover;
}
.bcg2{
    background-image: url(bcg2.jpeg);
    background-size: cover;
}
.bcg3{
    background-image: url(bcg3.jpeg);
    background-size: cover;
}
.bcg4{
    background-image: url(bcg4.jpeg);
    background-size: cover;
}
.row_player{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
.player1_name{
    color: white;
    font-family: monospace;
    margin-bottom: 10px;
    font-size: 30px;
}
.player2_name{
    color: white;
    font-family: monospace;
    margin-bottom: 10px;
    font-size: 30px;
}
.how_menu{
    width: 600px;
    height: 390px;
    border: 5px solid rgb(182, 182, 182);
    border-radius: 10px;
    background-color: rgb(255, 211, 130);
    position: absolute;
    display: none;
    justify-content: center;
    align-items: center;
    justify-content: space-around;
    flex-direction: column;
    top: 8%;
    left: 5%;
    color: white;
    font-size: 30px;
    font-family: monospace;
}
.row_how{
 width: 100%;
 display: flex;
 justify-content: center;
 align-items: center;
 justify-content: space-around;
}
.wsad{
    width: 120px;
    height: 100px;
}
.space{
    width: 100px;
    height: 100px;
}
.arr{
    width: 130px;
    height: 100px;
}
.shift{
    width: 150px;
    height: 150px;
}
.btn_how{
    width: 70px;
    height: 70px;
    background-image: url(how.png);
    background-size: cover;
    position: absolute;
    top: 2%;
    left: 1%;
}
.pl_name{
    font-family: monospace;
    font-size: 45px;
    color: white;
    position: absolute;
}
.pl1_name{
    top: 1%;
    left: 25%;
}
.pl2_name{
    top: 1%;
    right: 25%;
}

