
/* 
=====================================
Purpose: tic-tac-toe game css file

By: BigBBazz

Date created: 22/02/2023

Latest edit date:
=====================================
*/

/* * {
    box-sizing: border-box ;
    border: 1px solid red;
} */

html, body {
    margin: 0px;
    background-color: mistyrose;
}

header {
    text-align: center;
    font-weight: bold;
    font-size: 50px;
    padding: 10px;
    font-family: "Bradley Hand", Courier, monospace;
}

.setup-title {
    text-align: center;
    height: 60px;
    margin: 0 auto;
    font-family: "Lucida Console", Courier, monospace;
}

.setup-interface {
    text-align: center;
}

.readyToPlay {
    text-align: center;
    height: 80px;
    margin: 0;
    background-color: coral;
    border: none;
    color: black;
    padding: 15px 32px;
    border-radius: 10%;
    font-size: 20px;
    font-family: "Lucida Console", Courier, monospace;
}
  
  .readyToPlay:hover {
    box-shadow: 0 12px 16px 0 rgba(0,0,0,0.24), 0 17px 50px 0 rgba(0,0,0,0.19);
    font-family: "Lucida Console", Courier, monospace;
  }

.setup-parent {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    height: 800px;
    padding: 0 5% 5% 5%;
    margin: auto;
    transition-delay: 250ms; 
    transition-property: height;
    max-width:1500px;
}

.material-icons {
    width: 30%;
    max-width:1500px;
    height: 35%;
    transition-property: height;
}


  /* ------------------------------------------------------------- */


.grid-parent {
    display: flex;
    flex-wrap: wrap;
    justify-content:center;
    height: 700px;
    margin: auto;
    transition-delay: 250ms;
    max-width:1500px;
    transition-property: height;
}

.grid-child {
    font-size: 0;
    padding: 5px;
    border: solid yellow 5px;
    background-color: lightgrey;
    width: 30%;
    max-width:1500px;
    transition-property: height;
}

.defaultGrid {
    font-size: 0;
    background-color: lightgrey;
    width: 30%;
}

/* ------------------------------------------------------------- */

.tracking-interface {
    display: flex;
    flex-wrap:nowrap;
    justify-content: center;
    margin: auto;
    flex-direction: column;

}

.message {
    width: 20%;
    font-size: 20px;
    text-align: center;
    margin: auto;
    font-family: "Lucida Console", Courier, monospace;
}

.rounds {
    width: 20%;
    font-size: 20px;
    text-align: center;
    margin: auto;
    font-family: "Bradley Hand", Courier, monospace;
    font-size: 40px;
}

/* ------------------------------------------------------------- */

.players {
    height: 150px;
    padding: 40px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: auto;
}

.player1image {
    width: 10%;
    visibility: visible;
    padding: 0px;
    border: 0px;
}

.player2image {
    width: 10%;
    visibility: visible;
    padding: 0px;
    border: 0px;
}

.winTracker {
    width: 10%;
    font-size: 20px;
    text-align: center;
    align-self: center;
    margin: 0px;
    font-family: "Lucida Console", Courier, monospace;
}

/* ------------------------------------------------------------- */

.endButtons {
    height: 5%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: auto;
    padding: 0%;
}

.playAgain {
    width: 20%;
    font-size: 20px;
    margin: auto;
    visibility: hidden;
    background-color: coral;
    border: none;
    color: black;
    padding: 15px 32px;
    text-align: center;
    border-radius: 10%;
    border-radius: 10px;
    font-family: "Lucida Console", Courier, monospace;
}

.playAgain:hover {
    box-shadow: 0 12px 16px 0 rgba(0,0,0,0.24), 0 17px 50px 0 rgba(0,0,0,0.19);
  }

.reset {
    width: 20%;
    font-size: 20px;
    margin: auto;
    visibility: hidden;
    background-color: coral;
    border: none;
    color: black;
    padding: 15px 32px;
    text-align: center;
    border-radius: 10px;
    font-family: "Lucida Console", Courier, monospace;
}

.reset:hover {
    box-shadow: 0 12px 16px 0 rgba(0,0,0,0.24), 0 17px 50px 0 rgba(0,0,0,0.19);
  }

/* ------------------------------------------------------------- */

.feet {
    transition-property: height;
    font-family: "Lucida Console", Courier, monospace;
    padding-left: 10px;
}

.hide {
    height: 0px;
    border: 0px;
    padding: 0px;
    font-size: 0px;
    transition-timing-function: ease-in-out;
    transition-duration: 2s;
    transition-property: height, font-size;
}