@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,400;0,500;0,600;0,800;0,900;1,700&display=swap');

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', sans-serif;
}

main,
body {
    background-color: #232323;
    color: white;
}

/* Header Starts */
header {
    text-align: center;
    background-color: #232323;
}

h1 {
    text-transform: uppercase;
    font-size: 1.5rem;
    font-weight: 400;
    padding: 0.7em 0;
}

/* Header Ends */

/* Navbar Starts */

nav {
    background-color: #ff4444;
    width: 100%;
}

nav ul {
    align-items: center;
    justify-content: space-evenly;
    list-style: none;
    height: 2.2em;
    padding: 0 2em;
}

nav li,
button {
    background: none;
    border: none;
    outline: none;
    text-transform: uppercase;
    padding: 0.5em;
    margin: 0 2px;
}

#colDisplay {
    font-weight: 500;
    font-size: 3rem;
    display: block;
}

#message {
    color: black;
    font-weight: bold;
}

/* Navbar Ends */

/* General Styles */
.container {
    max-width: 620px;
    margin: 0 auto;
    width: 100%;
    /* border: 1px solid; */
}

.flex {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
}

.wrap {
    flex-wrap: wrap;
}

/* General Styles Ends */

/* Game Board */

.square {
    min-width: 100px;
    min-height: 100px;
    width: 150px;
    height: 130px;
    background-color: purple;
    margin: 1.66%;
    border-radius: 1em;
    transition: background-color 350ms ease;
}



.flex+.start {
    align-self: flex-end;
    display: inline-block;
}

.flex+.end {
    display: inline-block;
    align-self: flex-start;
}

.selected {
    background-color: #232323;
    color: white;
    height: 100%;
}

.board {
    padding-top: 10px;
    align-items: center;
}