/* html {
    -webkit-transform: scale(.75, .75);
    transform: scale(.75, .75);
} */

body {
    /* max-height: 1000px; */
    height: 100%;
    overflow: hidden;
    margin-top: 45px;
    margin-bottom: 45px;
    margin-right: 45px;
    margin-left: 45px;
    cursor: default;
}

header {
    display: flex;
    height: 60px;
    justify-content: space-between;
}

nav {
    display: flex;
    justify-content: space-between;
    width: 100%;
    gap: 22.5px;
}

#logo {
    padding: 6px;
    font-family: Nunito;
    font-weight: bold;
    font-size: 52.5px;
    -webkit-border-radius: 750px; 
    border-radius: 750px;
    text-align: center;
    background-color: olive;
    color: tomato;
    width: 337.5px;
    transition: background-image .25s ease;
}

#logo > a {
    color: tomato;
}

a  {
    text-decoration: none;
}

#logo:hover {
    background-image: linear-gradient(rgb(34, 34, 97), tomato);
}

#logo:hover > a {
    color: white;
    cursor: pointer;
}

.game:hover {
    color: white;
    cursor: pointer;
    background-color: rgba(80, 80, 80, 0.364);
}

.game-tools {
    display: flex;
    justify-content: space-evenly;
    width: 337.5px;
}

.game {
    font-family: Nunito;
    font-weight: 700;
    font-size: 18px;
    width: 102.75px;
    -webkit-border-radius: 37.5px;
    border-radius: 37.5px;
    border: none;
    background-color: rgba(169, 169, 169, 0.364);
    color: olive;
    height: 37.5px;
    align-self: center;
    padding: 7.5px;
    transition: all .25s ease;
}

#start-game {
    height: 100%;
    width: 60%;
    position: relative;
}

.links-container {
    display: flex;
    align-content: center;
}

.links {
    align-self: center;
    margin: 10px;
}

.logolinks {
    height: 35px;
}

.game-util {
    display: flex;
    flex-direction: column;
    min-width: 300px;
    margin-left: 45px;
    -webkit-border-radius: 52.5px;
    border-radius: 52.5px;
    justify-content: center;
}

#score-sign {
    color: olive;
    font-size: 30px;
    font-family: Nunito;
    font-weight: bold;
    align-self: center;
    margin-bottom: 5px;
    margin-top: 5px;
}

#score-board  {
    width: 75%;
    align-self: center;
    margin-bottom: 5px;
    text-align: center;
}

tr {
    display: flex;
    justify-content: space-evenly;
}

.player {
    width: 50%;
}

.computer {
    width: 50%;
}

#player-1-score, #player-2-score {
    width: 50%;
}

td {
    font-family: Nunito;
    color: olive;
    font-size: 12px;
    font-weight: 600;
    text-align: center;
    padding-bottom: 2px;
}

main {
    display: flex;
    margin-top: 45px;
}

.video-container {
    position: relative;
    width: 100%;
    -webkit-border-radius: 75px;
    border-radius: 75px;
    overflow: hidden;
}

.card-container {
    position: absolute;
    width: 107.25px;
    height: 150px;
    margin: 60px
}

.card {
    position: absolute;
    width: 100%;
    height: 100%;
    transition: all .35s ease-in-out;
}

.card.rock {
    transform: rotate(-35deg) scale(1.3);
}

.card.paper {
    transform: rotate(-140deg) scale(1.6);
}

.card.scissors {
    transform: rotate(-280deg) scale(1.9);
}

.card.shoot {
    transform: rotate(-360deg) scale(1);
}

#stream-overlay {
    position: absolute;
    left: -100px;
    -webkit-transform: scale(-1, 1);
    transform: scale(-1, 1);
}

#game-ani {
    position: absolute;
}

#handpose-require {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: .25;
}

p#handpose-require-text {
    color: tomato;
    font-size: 52px;
    font-weight: bold;
    font-family: Nunito;
    align-self: center;
    position: absolute;
    left: calc(50% - 331.0235px);
    top: calc(50% - 26px);
}

.side-info {
    font-size: 22.5px;
    font-family: Lato;
    font-weight: 200;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-width: 300px;
    margin-left: 45px;
}

#history {
    background-color: rgba(169, 169, 169, 0.364);
    margin-bottom: 22.5px;
    height: 112.5px;
    -webkit-border-radius: 32.5px;
    border-radius: 32.5px;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 300px;
}

.history-heading { 
    margin-top: 10px;
    margin-bottom: 7px;
}

#history > p {
    color: olive;
    margin-left: 15px;
    margin-right: 15px;
    font-size: x-small;
    font-weight: normal;
    text-align: justify;
}

#history > p > a {
    color: olive;
}

i {
    font-style: italic;
}

.hand-graphic-list-heading, .history-heading {
    font-family: Nunito;
    color: olive;
    font-size: 40px;
    font-weight: bold;
}

#graphics {
    height: 450px;
    display: flex;
    flex-direction: column;
    -webkit-border-radius: 52.5px;
    border-radius: 52.5px;
    justify-content: space-around;
    transition: all .25s ease;
}

#graphics > * {
    margin-right: 7.5px;
}

#graphics:hover {
    background-color: rgba(169, 169, 169, 0.364);
}

#graphics:hover *:not(class[hand-graphic-list-heading]) {
    color: olive;
}

.hand-graphic {
    margin-left: 7.5px;
    -webkit-border-radius: 40px;
    border-radius: 40px;
    height: 86.25px;
    width: 86.25px;
    transition: all .25s ease;
}

.hand-graphic:hover {
    cursor: pointer;
    filter: brightness(115%) saturate(3);
    -webkit-transform: scale(2.1);
    transform: scale(2.1);
    opacity: .65;
}

.hand-graphic-list-dir {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: left;
}

.hand-graphic-list {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
}

.hand-graphic-heading {
    color: white;
    max-width: 165px;
    text-align: center;
    font-size: 30px;
    margin-bottom: 9px;
    font-weight: 900;
    transition: color .25s ease;
}

.hand-graphic-text {
    margin-left: 10px;
    color: olive;
    font-weight: bold;
    width: 160px;
    font-size: 12px;
}

.links:hover, #history-link:hover {
    cursor: pointer;
}