/* FONT */

@font-face {
    font-family: 'Inter';
    src: url("./assets/fonts/Inter-Regular.ttf");
    font-weight: 400;
}

/* ALL */

* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

/* BODY */

body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100vh;
    margin: 0 auto;
    max-width: 1920px;
    font-family: 'Inter';
    font-size: 16px;
}

/* MAIN */

.startGameWindow {
    display: none;
    width: 290px;
    top: 120px;
    background-color: rgba(204, 102, 0, 0.8);
    position: absolute;
    top: 50%;
    left: 50%;
    margin-left: -150px;
    margin-top: -110px;
    padding-top: 50px;
    padding-bottom: 50px;
    text-align: center;
    border-radius: 5px;
    color: white;
    font-size: 2em;
}

.td {
	border:  2px solid #CCCC00;
	height:  100px;
	width:  100px;
	text-align:  center;
	vertical-align:  middle;
	font-size:  70px;
	cursor: pointer;
}

.table {
    display: block;
	border-collapse: collapse;
	position: absolute;
	top: 50%;
    left: 50%;
	margin-left: -155px;
    margin-top: -170px;
}

.table tr:first-child td {
	border-top: 0;
}

.table tr:last-child td {
	border-bottom: 0;
}

.table tr td:first-child {
	border-left: 0;
}

.table tr td:last-child {
	border-right: 0;
}

.tic, .toe, .replay {
    width: 50px;
    height: 30px;
    cursor: pointer;
    position: relative;
    color: white;
    font-weight: bold;
    text-decoration: none;
    text-shadow: -1px -1px #000;
    user-select: none;
    outline: none;
    background-color: #000;
    background-image: linear-gradient(45deg, rgba(100,255,255,.0) 30%, rgba(255,255,255,.8), rgba(255,255,255,.0) 70%);
    background-repeat: no-repeat;
    background-size: 200% 100%, auto;
    background-position: 200% 0, 0 0;
    box-shadow: rgba(0,0,0,.3) 0 2px 5px;
    border-radius: 10px;
}

.tic:active, .toe:active, .replay:active {
    top: 1px;
    box-shadow: none;
}

.tic:hover, .toe:hover, .replay:hover {
    transition: .5s linear;
    background-position: -200% 0, 0 0;
}

.endgame {
  display: none;
  width: 290px;
  top: 120px;
  background-color: rgba(204, 102, 0, 0.8);
  position: absolute;
  top: 50%;
  left: 50%;
  margin-left: -150px;
  margin-top: -110px;
  padding-top: 50px;
  padding-bottom: 50px;
  text-align: center;
  border-radius: 5px;
  color: white;
  font-size: 1.9em;
}

#tableResult {
    display: block;
	border-collapse: collapse;
    align-items: center;
    position: absolute;
    top: 50%;
    left: 75%;;
    margin-top: -155px;
}

#tableResult > tr > td {
    border:  2px solid #CCCC00;
    color:rgba(204, 102, 0, 0.8);
    border-collapse: collapse;
    text-align: center;
    width: 75px;
    color: #000;
}

/* FOOTER */

.footer-container {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 1920px;
    height: 60px;
    color: #000000;
}

.footer-container-copy {
    color: #000000;
    padding: 0px 10px 0px 20px;
}

.footer-container-year {
    color: #000000;
    padding: 0px 10px;
}

.footer-container-github {
    padding: 0px 10px;
    text-decoration: none;
    color: #000000;
    transition: 0.3s;
}

.footer-container-github:hover {
    color: #bdae82;
}

.footer-container-rss {
    margin-left: auto;
}

.footer-container-rss-image {
    height: 50px;
    padding: 0px 20px;
    filter: invert(76%) sepia(15%) saturate(638%) hue-rotate(7deg) brightness(92%) contrast(87%);
    transition: 0.3s;
}

.footer-container-rss-image:hover {
    filter: invert(26%) sepia(15%) saturate(638%) hue-rotate(7deg) brightness(92%) contrast(87%);
}