*{
    margin:0;
    padding: 0;
    box-sizing: border-box;
}
body{
    font-family:-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    display: flex;
    flex-direction: column;
    text-align: center;
    /* background: url('https://wallpaperaccess.com/full/5580296.png') no-repeat center center/ cover; */
    background-color: rgb(0, 166, 255);
    height: 100vh;
    padding: 1em;
    
}
.heading-container{
    margin-top: .7em;
    line-height: 2em;
}
.heading-container > h1{
    font-size: 2rem;
}

/* button{
    width: 50%;
    height: 10vh;
    margin: 1.5em 0em 2em 0em;
    background-color: green;
    font-weight: bold;
    font-size: 1.6rem;
    border-radius: 10px;
    box-shadow: 0 0 5px rgb(5, 95, 11);
    transition: .3s;
    position:relative;

    cursor: pointer;
}
button:hover{
    background-color:white;
    color: green;
    box-shadow: 0 0 20px rgb(5, 95, 11);
} */
.screen-container{
    display: flex;
    margin-top: .8em;
    flex-direction: column;
}
.screen-container .player-1{
    /* flex-basis: 50%; */
    /* border: 1px solid white; */
    height: 20vh;
    margin-bottom: 5px;
    
}
.screen-container .player-1 >h3{
    color: white;
    font-size: 2rem;
}
.random-p1{
    font-size: 2rem;
    margin-top: .4em;
    color: yellow;
}
.screen-container .player-2{
    /* flex-basis: 50%; */
    height: 45vh;
    /* border: 1px solid white; */
}
.img{
    display: flex;
    justify-content: center;
    text-align: center;
}
img{
    width: 29%;
    height: 35vh;
    margin: 7px;
    padding:5px;
    border-radius: 15px;
    box-shadow: 0 0 5px rgb(136, 51, 153);
}
img:hover{
    box-shadow: 0 0 30px purple;
}
.screen-container .player-2 >h3{
    color: white;
    font-size: 2rem;
}
.random-p2{
    font-size: 3.6rem;
    /* margin-top: 1.2em; */
    color: yellow;

}
.result{
    font-size: 2rem;
    font-weight: 700;
    color: rgb(104, 0, 0);
}
.again{
    font-size: 2rem;
    font-weight: 700;
    color: rgb(0, 104, 36);
    visibility: hidden;
}
.start1{
    /* visibility: hidden; */
}
.start2{
    /* visibility: hidden; */
}

/* mediaquery */
@media only screen and (min-width:450px) and (max-width:700px){
    
    .heading-container > h1{
        font-size: 2rem;
        margin-bottom: .4em ;
        /* coglor:red; */
    }
    .heading-container > button{
        width: 15%;
    }
    .screen-container .player-1{
        /* flex-basis: 50%; */
        /* border: 1px solid white; */
        height: 20vh;  
        /* margin-bottom: 5px;   */
    
    }
    .screen-container .player-2{
        /* flex-basis: 50%; */
        /* border: 1px solid white; */
        height: 40vh;
    }
    .result{
        margin-top: .1em;
        font-size: 3rem;   
    }
}

@media (max-width:449px){
    img{
        width: 32%;
        height: 21vh;
        margin: 7px;
        padding:5px;
        border-radius: 15px;
        box-shadow: 0 0 5px rgb(136, 51, 153);
    }
    .screen-container .player-1{
        /* flex-basis: 50%; */
        /* border: 1px solid white; */
        height: 18vh;
        margin-bottom: 10px;
        
    }
    .random-p1{
        font-size: 1.4rem;
        /* margin-top: .4em; */
        margin-bottom: .4em;
        color: yellow;
    }
    .screen-container .player-1 > h3{
        margin-top: 17px;
    }
    .screen-container .player-2 > h3{
        color: white;
        font-size: 2rem;
        margin-top: 5px;
        margin-bottom: 15px;
    }
    .screen-container .player-2{
        /* flex-basis: 50%; */
        height: 40vh;
        /* border: 1px solid white; */
    }
}