
@import url('https://fonts.googleapis.com/css2?family=Antonio:wght@400;700&display=swap');

/***************************** SYL + TOP LINK ***************************************************/

:root {
    --body-color: #ffffff;
    --body-background-color: #121213;
    --link-color: #ffff00;
    --link-hover-color: #ff0000;
    --font-header: 'Merriweather', serif;
    --font-body: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
}
body {
      width: 100%;
      padding: 0;
      margin: 0;
   color: var(--body-color);
   background-color: var(--body-background-color);
   letter-spacing: .05em;
   font-family:  var(--font-body);
}

a, a:visited {
 color: var(--link-color);
}
a:hover {
 color: var(--link-hover-color);
}
a:focus {
    outline: none;
    text-decoration: none;
  }

.container {
 display: grid;
 grid-template-rows: 50px auto;
}
.container-homelink {
 grid-row: 1 / 2;
 text-align: left;
}

.homelink {
 width: 50px;
 height: 20px;
 margin: 10px 10px 10px 10px;
 padding-bottom: 10px;
 padding-right: 10px;
 border-right: 1px solid #eeeeee;
 border-bottom: 1px solid #eeeeee;
 border-radius: 0px 0px 10px 0px;
}
.homelink a{
 text-decoration: none;
}
.homelink a:hover {
 text-decoration: underline;
}

/********************************************************************* GAME ************************************/


.game-container {
    grid-row: 2 / 3;
    height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.message-container {
    height: 30px;
}

.message-container p {
    background-color: #818384;
    border-radius: 10px;
    padding: 10px;
    margin: 0;  
}

.title-container {
    text-align: center;
    width: 510px;
    border-bottom: 1px solid #3a3a3c;
}

.tile-container {
    width: 330px;
    margin-bottom: 30px;
}

.key-container {
    width: 510px;
    display: flex;
    flex-wrap: wrap;
}
   
.key-container button {
    width: 43px;
    height: 58px;
    border-radius: 4px;
    border: none;
    background-color: #818384;
    margin: 4px;
}

.key-container button:nth-child(11) {
    margin-left: 30px;
}
.key-container button:nth-child(20),
.key-container button:nth-child(28) {
    width: 68px;
}

.tile-container div {
    display: flex;
}

.tile-container .tile {
    width: 62px;
    height: 62px;
    border: 2px solid #3a3a3c;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #ffffff;
    margin: 2px;
}


.grey-overlay {
    background-color: #3a3a3c !important;
    border: none !important;
}

.yellow-overlay {
    background-color: #b59f3a !important;
    border: none !important;
}

.green-overlay {
    background-color: #538d4e !important;
    border: none !important;
}


.tile.flip {
    animation: 0.5s linear flipping;
}

@keyframes flipping {
    0% {
        transform: rotateX(0deg);
    }
    50% {
        transform: rotateX(90deg);
    }
    100% {
        transform: rotateX(0deg);
    }
}






