*{
    box-sizing: border-box;
}
body{
    margin: 0;
    padding: 0;
    font: 1em 'Song Myung', serif;;
    color: #4c4b48;
    text-align: center;
    display: flex;
    flex-flow: column;
    justify-content: center;
    align-items: center;
    background-color: #ebe0cc;
}
main{
    position: relative;
    margin: 5vh;
    width: 90vw;
    height: 90vh;
    border-radius: 2%;
    display: flex;
    flex-flow: column;
    justify-content: center;
    align-items: center;
    background-color: #fffaf0;
}
.box{
    width: 95vw;
    display: flex;
    flex-flow: column;
    justify-content: center;
    align-items: center;
}
#box1,#box2,#box3{
    margin: 30px;
}
hr{
    width: 65vw;
    border: solid 1.5px #ebe0cc;
}
#title{
    font-size: 5em;
    font-weight: bold;
}
#round,#result{
    height: 1.5em;
    font-size: 1.5em 
}
.scores *{
    margin: 10px 10px; 
    font-size: 5em;
}
#result{
    position: relative;
    width: 60vw;
}
#result div{
    display: inline-block;
    width: 105px;
    text-align: center;
}
#ply,#ai{
    position: absolute;
    top: -113px;
}
#ply{
    left: 0px;
}
#ai{
    right: 0px;
}
.buttons{
    display: flex;
    justify-content: center;
    align-content: center;
    align-items: center;
}
.buttons button{
    margin: 30px;
    width: 20vw;
    height: 30vh;
    border: none;
    background: floralwhite;
    background-repeat: no-repeat;
    background-size: 200px;
    background-position: center;
    transition: 0.2s;
    cursor: pointer;
    opacity: 0.7;
}
.buttons button:focus{
    outline:0;
}
#rock{
    background-image: url("https://d30y9cdsu7xlg0.cloudfront.net/png/477918-200.png");
}
#paper{
    background-image: url("https://d30y9cdsu7xlg0.cloudfront.net/png/477922-200.png");
    
}
#scissors{
    background-image: url("https://d30y9cdsu7xlg0.cloudfront.net/png/477919-200.png");
}
#rock:hover,#paper:hover,#scissors:hover{
    width: 25vw;
    background-size: 230px;
    opacity: 0.8;
}
#rock:active,#paper:active,#scissors:active{
    background-size: 200px;
}
.reset{
    display: none;
    position: absolute;
    bottom: -18px;
    left: -16px;
    width: 80px;
    height: 80px;
    border: none;
    background: #00000000;
    background-image: url('https://d30y9cdsu7xlg0.cloudfront.net/png/446387-200.png');
    background-repeat: no-repeat;
    background-size: 35px;
    background-position: center;
    transition: 0.2s;
    opacity: 0.6;
}
.reset:hover{
    background-size: 50px;
    bottom: -16px;
    left: -15px;
}
.reset:focus{
    outline:0;
}
.reset:active{
    opacity: 0.8;
    background-size: 40px;  
}
#biggerResetButton{
    background-size: 100px;
    bottom: -16px;
    left: -15px;
}
.githubicon{
    background-image: url("https://image.flaticon.com/icons/png/512/3/3641.png");
    background-size: 30px;
    background-repeat: no-repeat;
    width: 40px;
    height: 40px;
    position: absolute;
    right: 10px;
    bottom: 5px;
    opacity: 0.7;
}
.githubicon:hover{
    opacity: 1.0;
}
.githubicon:active{
    background-size: 40px;
    right: 15px;
    bottom: 10px;
}