/* Customize container to make a narrower page */
.container {
    max-width: 730px;
}

/* Font for website logo/banner */
@font-face {
    font-family: Pixeloid;
    src: url(PixeloidSans-mLxMm.ttf);
}

/* Use for website logo/banner */
h1 {
    font-family: Pixeloid;
    font-weight: bolder;
    background-color: black;
    color: #E08200;
    text-align: center;
}

/* Use for title inside Tic-Tac-Toe scoreboard */
h3 {
    font-size: 24px;
    font-weight: 600;
    margin-top: unset;
    text-align: center;
}

h4 {
    padding: 3px;
    margin-top: 2px;
    margin-bottom: 2px;
}

h5 {
    margin-bottom: 2px;
}

.well {
    margin-bottom: 10px;
}

/* Strip default inherited formatting from links */
a, 
a:hover, 
a:active, 
a:focus,
a:visited {
    all: unset;
    cursor: pointer;
}

/* These were supplied by Bootstrap to make the footer work */
html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 48px; /* The value must be equal or greater than footer height */
}

.footer {
    position: absolute;
    bottom: 0px;
    width: 100%;
    height: 32px; /* Set the fixed height of the footer here */
    background-color: #f5f5f5;
    color: #E08200;
    text-align: center;
    padding-top: 6px;
}

.footer-link,
.footer-link:visited {
    color: #E08200;
}

.footer-link:hover, 
.footer-link:active, 
.footer-link:focus {
    font-weight: 500;
}

/* menu for the index page */
.col-md-12 {
    display: flex;
    flex-direction: column;
}

.menu-item,
.menu-item:visited {
    padding: 10px 20px;
    background-color: #f0ad4e;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    margin-bottom: 16px;
    cursor: pointer;
    text-align: center;
}

.menu-item:hover,
.menu-item:focus,
.menu-item:active {
    padding: 10px 20px;
    background-color: #E08200;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    margin-bottom: 16px;
    cursor: pointer;
    text-align: center;
}

/* tic-tac-pro game board elements */
.scoreboard {
    background-color: #2AAEEB;
    height: 485px;
    border-radius: 12px;
    padding: 16px;
    width: fit-content;
    margin: auto;
}

.scoreboard-text-bubble {
    background-color: #C0DDEB;
    border-radius: 3px;
    padding: 3px;
    padding-left: 12px;
    margin-bottom: 8px;
}

.btn-left {
    text-align: left;
}

.btn-right {
    text-align: right;
}

.btn-blue {
    background-color: #4D7385;
    border-color: #4D7385;
    color: white;
}

.btn-blue:hover,
.btn-blue:focus,
.btn-blue:active {
    background-color: #404C52;
    border-color: #404C52;
    color: white;
}

.grid-container {
    display:grid;
    width: 255px;
    grid-template-columns: repeat(3, 1fr);
    gap: 3px;
    background-color: #2A3033;
    padding: 5px;
    margin-top: 16px;
    margin-bottom: 16px;
}

.tile,
.tile-inactive {
    background-color: white;
    aspect-ratio: 1/1;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;    
    font-size: xx-large;
}

.tile:hover, 
.tile:active {
    background-color: #EB2A44;
}

.team-a {
    background-color: #EB2A44;
}

.team-b {
    background-color: #EBE32A;
}