/* General styling for the page */

@import url('https://fonts.googleapis.com/css2?family=Orbitron&family=Prompt:wght@200&display=swap');

h1 {
    font-family: 'Orbitron', sans-serif;
    text-align: center;
    padding: 10px;
}

body {
    font-family: 'Prompt', sans-serif;
    background: #e1e1e1;
}

body > p {
    width: 75%;
    text-align: center;
    margin: auto;
    padding: 10px;
}

a {
    text-decoration: none;
    color: black;
}

/* Choose area styling */

#button-container {
    display: flex;
    justify-content: center;
    margin: auto;
}

#start-button, #quit-button, #reset-button {
    margin: 5px;
    display: inline-block;
}

#start, #quit, #reset {
    cursor: pointer;
}

#rule-button {
    margin: 5px;
    display: inline-block;
    cursor: pointer;
}

#rules {
    background-color: #F0F0F0;
    border: 1px solid #808080;
    font-size: 14px;
    border-radius: 3px;
    text-decoration: none;
    font-family: sans-serif;
    padding: 2px 6px;
}

#choose-area, #game-area, #score-area {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin: 20px 0 20px 0;
}

.selection {
    text-align: center;
    margin: auto;
    width: 170px;
}

#rock {
    background: url(../images/Rock.png) no-repeat center center;
    background-size: cover;
    height: 160px;
    width: 160px;
    margin: 5px;
    border-radius: 80px;
    border: none;
    cursor: pointer;
}

#rock:hover {
    border: 5px solid #7F3333;
}

#paper {
    background: url(../images/Paper.png) no-repeat center center;
    background-size: cover;
    height: 160px;
    width: 160px;
    margin: 5px;
    border-radius: 80px;
    border: none;
    cursor: pointer;
}

#paper:hover {
    border: 5px solid #f49536;
}

#scissors {
    background: url(../images/Scissors.png) no-repeat center center;
    background-size: cover;
    height: 160px;
    width: 160px;
    margin: 5px;
    border-radius: 80px;
    border: none;
    cursor: pointer;
}

#scissors:hover {
    border: 5px solid #16537E;
}

#lizard {
    background: url(../images/Lizard.png) no-repeat center center;
    background-size: cover;
    height: 160px;
    width: 160px;
    margin: 5px;
    border-radius: 80px;
    border: none;
    cursor: pointer;
}

#lizard:hover {
    border: 5px solid #38761D;
}

#spock {
    background: url(../images/Spock.png) no-repeat center center;
    background-size: cover;
    height: 160px;
    width: 160px;
    margin: 5px;
    border-radius: 80px;
    border: none;
    cursor: pointer;
}

#spock:hover {
    border: 5px solid #6FA8DC;
}

/* Game area syling */

#result {
    display: flex;
    justify-content: center;
}

#result > p {
    text-align: center;
    height: auto;
    width: 500px;
    border: 2px solid black;
    border-radius: 5px;
    padding: 10px;
}

.game-container > p {
    text-align: center;
    margin: 0;
}

#player-image {
    border: 2px solid black;
    border-radius: 80px;
    margin: 0 10px 0 10px;
    height: 160px;
    width: 160px;
}

#computer-image {
    display: flex;
    flex-wrap: wrap;
    align-content: center;
    justify-content: center;
    border: 2px solid black;
    border-radius: 80px;
    margin: 0 10px 0 10px;
    height: 160px;
    width: 160px;
}

/* Score counter styling */

.score {
    margin: 0 5px 0 20px;
}

/* rules page styling */

#diagram {
    text-align: center;
}

/* screen size styling for less than 550px break-point */

@media screen and (max-width: 550px) {

    body > p {
        width: 75%;
    }

    .selection {
        width: 100px;
    }

    #rock {
        height: 100px;
        width: 100px;
        border-radius: 50px;
    }
    
    #paper {
        height: 100px;
        width: 100px;
        border-radius: 50px;
    }
    
    #scissors {
        height: 100px;
        width: 100px;
        border-radius: 50px;
    }
    
    #lizard {
        height: 100px;
        width: 100px;
        border-radius: 50px;
    }
    
    #spock {
        height: 100px;
        width: 100px;
        border-radius: 50px;
    }

    #result > p {
        width: 90%;
    }

    #player-image {
        height: 100px;
        width: 100px;
    }
    
    #computer-image {
        height: 100px;
        width: 100px;
    }
}