*{
    box-sizing: border-box;
}

html{
    background-color: #84B8D9;
    text-align: center;
}

body{
    margin: 0;
}

h1{
    color: #084A59;
    font-family: 'Verdana', sans-serif;
    font-size: 375%;
}

h2{
    font-family: 'Monaco', monospace;
    color: #084A59;
    font-size: 140%;
}

p{
    font-family: 'Monaco', monospace;
    font-size: 20px;
    margin: 0px;
}

/*keeps other pages/elements hidden while viewing current one*/
.hidden{
    display: none;
}

/*transition and animation from start to game screen*/
.conceal{
    display: none;
}

.appear{
    opacity: 0;
    animation: appear 2s forwards;
    animation-delay: 0s;
}

@keyframes appear{
    from {opacity: 0;}
    to{opacity: 1;}
}

.playBtn{
    position: absolute;
    top: 55%;
    left: 50%;
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    border: 3px solid #72A684;
    border-radius: 10px;
    font-family: 'Monaco', monospace;
    font-size: 150%;
    padding: 1%;
    cursor: pointer;
} 

.playBtn:hover{
    -ms-transform: translate(-50%, -50%);
    transform: scale(1.05) translate(-50%, -50%);
    box-shadow: 0 0 15px 1px;
}

.choiceBtn{
    flex: 1 1 auto;
    background-color: transparent;
    border: transparent;
    padding: 0;
    border-radius: 20px;
    cursor: pointer;
}

.choiceBtn:hover{
    transform: scale(1.1);
    box-shadow: 0 0 15px 1px;
}

.choiceBtn:active{
    transform: scale(1.1) translateY(5px);
    box-shadow: 0 0 10px 1px;
}

.choiceBtn img{
    display: block;
    width: 100%;
}

.footer{
    position: fixed;
    bottom: 10px;
    left: 50%;
    transform: translate(-50%);
    color: #084A59;
}

#title{
    position: absolute;
    top: 30%;
    left: 50%;
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    width: 100%;
}

#skipBtn{
    position: fixed;
    top: 20px;
    right: 20px;
    width: 3%;
    cursor: pointer;
}

#choices{
    margin: 40px auto;
    width: 60%;
    display: flex;
    justify-content: center;
    gap: 10%;
}

#results{
    font-family: 'Monaco', monospace;
    font-size: 20px;
}

#scores{
    display: flex;
    margin: 20px auto;
    width: 60%;
    justify-content: center;
}

#player, #computer{
    border : 2px solid #567339; 
    font-family: 'Monaco', monospace;
    font-size: 20px;
    background-color: white;
}

#rounds{
    visibility: hidden;
}

#scores img{
    width: 50%;
}

#helpBtn{
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 3%;
    cursor: pointer;
}

#exitBtn{
    position: fixed;
    top: 20px;
    right: 20px;
    width: 3%;
    cursor: pointer;
}

#rulesImg{
    width: 15%;
}

#rules{
    display: flex;
    justify-content: center;
    gap: 5%;
}

#rules img{
    width: 80%;
}

#winnerDisplay img{
    width: 15%;
}


/* Large devices (laptops/desktops, 993px to 1200px) */
@media only screen and (max-width: 1200px) {
    h2{
        font-size: 125%;
    }
    p, #results{
        font-size: 18px;
    }
    #title{
        top: 29%;
    }
    #choices{
        width: 85%;
    }
    #scores img{
        width: 70%;
    }
    #skipBtn, #helpBtn, #exitBtn{
        width: 4%;
    }
    #rulesImg{
        width: 30%;
    }
    #winnerDisplay img{
        width: 25%;
    }
}

/* Medium devices (landscape tablets, 769px to 992px) */
@media only screen and (max-width: 992px) {
    h1{
        font-size: 310%;
    }
    p{
        width: 65%;
        margin: auto auto;
    }
    .playBtn{
        font-size: 175%;
        padding: 1.5%;
    } 
    #title{
        top: 25%;
    }
    #choices{
        gap: 5%;
    }
    #scores{
        width: 70%;
    }
    #rules{
        gap: 3%;
        margin: 0 1%;
    }
    #winnerDisplay{
        margin-top: 100px;
    }
}

/* Small devices (portrait tablets and large phones, 577px to 768px) */
@media only screen and (max-width: 768px) {
    h1{
        font-size: 280%;
    }
    p{
        width: 85%;
    }
    .playBtn{
        font-size: 190%;
        padding: 1.7%;
    } 
    #title{
        top: 23%;
    }
    #choices{
        gap: 3%;
    }
    #scores{
        width: 80%;
    }
    #skipBtn, #exitBtn{
        width: 5%;
        top: 10px;
        right: 10px;
    }
    #helpBtn{
        width: 5%;
        bottom: 10px;
        right: 10px;
    }
    #player, #computer{
        font-size: 17px;
    }
    #rulesImg{
        width: 60%;
    }
    #rules h2{
        font-size: 100%;
    }
    #winnerDisplay img{
        width: 30%;
    }
}

/* Extra small devices (phones, 576px and down) */
@media only screen and (max-width: 576px) {
    p, #results{
        font-size: 16px;
    }
    #title{
        top: 39.2%;
    }
    #skipBtn, #helpBtn, #exitBtn{
        width: 8%;
    }
    #rules h2{
        font-size: 120%;
    }
}




