@font-face {
    font-family: mozzcheese;
    src: url(../fonts/Mozzarella\ Cheese.otf);
}

html {
    font-family: mozzcheese, Arial, Helvetica, sans-serif;
    background-color: #b6c885;
}

body {
    font-size: 18px;
}

.header {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: x-large;
    font-weight: 800;
    color: #582f0e;
}

.title {
    display: flex;
    text-align: center;
}

#player-btns, #reset-button {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 20px 10px 20px 10px;
}
#reset {
    font-size: 1.4em;
    border-color: #688548;
    background-color: #c25a7e;
    color: #b6c885;
    font-weight: 500;
    padding: 5px 10px;
    border-radius: 10px;
    border-width: 1px;
}


#player-btns > button {
    padding: 10px 16px;
    border-radius: 10px;
    border-width: 1px;
    border-color: #c2c5aa;
    font-size: 1.45em;
    font-weight: 500;
    background-color: #656d4a;
    color: #c2c5aa;
}

#player-btns > button.active {
    border-color: #688548;
    background-color: #c25a7e;
    color: #b6c885;
    font-weight: 600;
}

#player-header,
#computer-header {
    color: #79253f;
    text-align: center;
    font-size: 1.875em;
}

#choice-box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35%;
    height: 120px;
    margin: auto;
    background-color: #962e4d;
    color: #e5bac7;
    border-radius: 6px;
    font-size: 1.4em;
}

    .loader {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: flex;
        align-items: end;
    justify-content: end;
    margin:10px auto;
    position: relative;
    color: #FFF;
    box-sizing: border-box;
    animation: animloader 1s linear infinite alternate;
}

@keyframes animloader {
  0% {
    box-shadow: -38px -12px ,  -14px 0,  14px 0, 38px 0;
  }
  33% {
    box-shadow: -38px 0px, -14px -12px,  14px 0, 38px 0;
  }
  66% {
    box-shadow: -38px 0px , -14px 0, 14px -12px, 38px 0;
  }
  100% {
    box-shadow: -38px 0 , -14px 0, 14px 0 , 38px -12px;
  }
    }


/* Score Table */

#score-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 24px auto;
}

table {
    border-collapse: collapse;
    border: 2px solid #333d29;
    font-size: 0.95rem;
    letter-spacing: 1px;
    min-width: 320px;
}

caption {
    caption-side: bottom;
    padding: 10px;
    font-weight: bold;
    color: #582f0e;
}

thead,
tfoot {
    background-color: #c2c5aa;
}

th,
td {
    border: 1px solid #333d29;
    padding: 10px 18px;
    text-align: center;
}

tbody th {
    text-align: left;
    font-weight: 600;
    color: #333d29;
}

tbody > tr:nth-of-type(odd) {
    background-color: #e8edda;
}

tbody > tr:nth-of-type(even) {
    background-color: #f5f7ef;
}

tfoot th {
    text-align: right;
}

tfoot td {
    font-weight: bold;
}

#winner-box {
    background-color: #962e4d;
    color: #e5bac7;
    font-weight: bold;
    font-size: 1.05em;
}

#footer {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    padding: 10px 10px 10px 10px;
    background-color: #79253f;
    width: 100%;
    color: #c2c5aa;   
  
    
}
a:link {
    color:#b6c885
}
a:visited {
    color:#79253f;
}
a:active, a:hover {
    color:#e5bac7
}

/* Keyboard focus indicators */
button:focus-visible {
    outline: 3px solid #e5bac7;
    outline-offset: 3px;
}

a:focus-visible {
    outline: 3px solid #e5bac7;
    outline-offset: 2px;
    border-radius: 2px;
}