@import url('https://fonts.googleapis.com/css?family=Titan+One&display=swap');

:root {
  --black: #000000;
  --white: #ffffff;
  --darkGrey: #222222;
  --grey: #444444;
  --coral: #E57996;
  --blue: #32ABE1;
  --green: #42B883;
  --red: #FF4B4B;
  --burgundy: #800020;
  --teal : #008080;
  --defaultFontFamily: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Arial, Noto Sans, sans-serif;
}

body {
  font-family: var(--defaultFontFamily);
  background: var(--black);
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--white);
  height: 100vh;
  padding-top: 1px;
  overflow: hidden;
}

h1 {
  color: var(--white);
  font-family: 'Titan One', var(--defaultFontFamily);
  font-size: 16px;
  text-shadow: 0 1px 3px rgba(255, 255, 255, 0.1);
  margin-bottom: 10px;
  text-align: center;
}

h1 span {
  color: var(--teal);
}

#game {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.controls {
  margin: 5px 0;
}

#board {
  display: grid;
  grid-template-columns: repeat(3, 50px);
  grid-gap: 5px;
}

#status {
  font-size: 18px;
  margin: 5px 0;
  text-align: center;
  background: var(--darkGrey);
  color: var(--white);
  max-width: 260px;
  padding: 0.5rem;
  border-top: 3px solid var(--teal);
  border-radius: 5px;
}

#status.you-won {
  color: var(--green);
  border-top: 3px solid var(--green);
  font-weight: bold;
}

#status.you-won::before,
#status.you-won::after {
  content: '🎉';
  margin: 0 5px;
}

.square {
  background: var(--darkGrey);
  border: 1px solid var(--grey);
  box-shadow: 0 2px 4px rgba(255, 255, 255, 0.1);
  border-radius: 5px;
  width: 50px;
  height: 50px;
  font-size: 24px;
  font-weight: bold;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--white);
}

.square.X {
  color: var(--teal);
}

/* .square.O {
  color: var(--coral);
} */

.hover {
  background: var(--blue);
  border-color: var(--white);
  cursor: pointer;
}

.hover.O {
  color: white;
}

#newGameBtn{
  color: white;
  background-color: var(--teal);
  border: 1px solid var(--white);
  display: inline-block;
  font-weight: 400;
  text-align: center;
  padding: .25rem .5rem;
  margin: 3px 10px 15px 10px; /*top, right, bottom, left */
  font-size: 0.9rem;
  border-radius: .25rem;
  align-items: center;

}

#answer-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  width: 100%;
  text-align: center;
  justify-content: center;
  align-items: center;
}

.btn {
  color: white;
  background-color: var(--teal);
  border: 1px solid var(--white);
  display: inline-block;
  font-weight: 400;
  text-align: center;
  padding: 1rem 1rem;
  margin: 5px 10px 15px 10px; /*top, right, bottom, left */
  font-size: 0.9rem;
  border-radius: .25rem;
  align-items: center;
  left: 50%;
}

.btn:hover {
  background-color: var(--teal);
  border: 1px solid var(--teal);
  cursor: pointer;
}

#question-text {
  text-align: center;
  margin-bottom: 5px;
  font-size: 1.2rem;
  white-space: normal;
}



canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  pointer-events: none;
}

a,
a:link,
a:visited {
	color: var(--teal);
}
