:root {
  --boxsize: 5.386vw;
  --gridsize: 50vw;
  --buttonBackgroundColor: rgb(118, 117, 117);
  --buttonTextColor: white;
  --buttonHoverColor: rgb(36, 214, 36);
}

@font-face {
    font-family: "excalifont";
    src: url("fonts/Excalifont-Regular.woff2") format("woff2");
    font-weight: normal;
    font-style: normal;
}



.display {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    flex-direction: column;
}

nav {
    display: flex;
    justify-content: center;
}

nav a {
    padding: 2vh;
}

p {
    text-align: center;
}

.grid {
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  aspect-ratio: 1 / 1;
  width: min(80vmin, 750px);
  border: 4px solid black;
  background-color: black;
  gap: 1px;
}

.row {
  background-color: whitesmoke;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: excalifont;
  font-size: 4vh;
  color: rgb(44, 44, 215);
}

.row:hover {
  background-color: rgb(234, 233, 233);
  cursor: pointer;
}

.rowSet {
    background-color: whitesmoke;
    font-family: monospace;
    display:flex;
    align-items:center;
    justify-content: center;
    text-align: center;
    font-size: 4.5vh;
    color: black;
}

.sidenav {
    position: fixed;
    height: 100%;
    width: 17vh;
    z-index: 1;
    top: 0;
    left: 0;
    background-color: whitesmoke;
    border-right: 1px solid whitesmoke;
    align-items: flex-start;
    justify-content: center;
    flex-wrap: wrap;
    display: flex;
}

.sudoBtn {
    font-family: monospace;
    border-radius: 4px;
    background-color: var(--buttonBackgroundColor);
    border: 1px solid var(--buttonBackgroundColor);
    color: var(--buttonTextColor);
    font-size: 2vh;
    height: 3vh;
    transition: transform 0.1s;
}

.sudoBtn:hover {
    cursor: pointer;
    color: var(--buttonHoverColor);
    transform: scale(1.1);
}

.howToPlay {
    background-color: whitesmoke;
    border: 1px solid whitesmoke;
    height: 45vh;
    font-family: monospace;
    width: 100vh;
    text-align: center;
    font-size: 3vh;
    padding: 1rem;
    border-radius: 25px;
}

.howToHr{
    opacity: 0%;
}

.backBtn {
    height: 5vh;
    width: 7vh;
    font-family: monospace;
    background-color: whitesmoke;
    border-radius: 10px;
    font-size: 2.4vh;
    transition: transform 0.1s;
    
}

.backBtn:hover {
    background-color: rgb(215, 215, 215);
    transform: scale(1.1);
    cursor: pointer;
    
}

.sudoBody {
    background-color: rgb(230, 230, 230);
}

.sudoP {
    font-family: monospace;
    text-decoration:underline;
    padding: 5px;
    width: 6vh;
    font-size: 1.5vh;
    border: 1px solid gray;
    border-radius: 4px;
    background-color: gray;
    font-weight: bold;
    color: white;
}

.mapBtn {
    height: 20px;
    width: 140px;
    border-radius: 5px;
    border: 1px solid var(--buttonBackgroundColor);
    background-color: var(--buttonBackgroundColor);
    color: var(--buttonTextColor);
    transition: height 0.1s;
}

.mapBtn:hover {
    height: 28px;
    width: 148px;
    color: var(--buttonHoverColor);
    cursor: pointer;
}

.indexBody {
    background-color: whitesmoke;
}

.indexH1 {
    font-family: monospace;
    font-size: 4vh;
}

.indexH2 {
    font-family: monospace;
    font-size: 3vh;
    text-align: center;
}

.indexP{
    font-family: monospace;
    font-size: 2.2vh;
}

.navlink {
    text-decoration: none;
    color:rgb(0, 0, 0);
    font-size: 3vh;
    font-family: monospace;
}

.navlink:hover {
    color: rgb(24, 167, 24);
    text-decoration: underline;
}

.playNow{
    font-family: monospace;
    text-decoration: none;
    color: black;
    border: 1px solid rgb(215, 215, 215);
    padding: 10px;
    border-radius: 25px;
    background-color: rgb(215, 215, 215);
    font-weight: bold;
    font-size: 1.9vh;
    transition: font-size 0.1s;
}

.playNow:hover {
    font-family: monospace;
    text-decoration: none;
    color: black;
    border: 1px solid rgb(179, 179, 179);
    padding: 10px;
    border-radius: 25px;
    background-color: rgb(179, 179, 179);
    font-weight: bold;
    font-size: 2.3vh;
}

.indexHr{
    width: 80%;
    
}

.disclaimer{
    color: black;
    font-family: monospace;
    display: none;
}



@keyframes textAnim {
    from {opacity: 0%;}
    to {opacity: 100%;}
}

@keyframes hrAnim {
    from {width: 0%; opacity: 0%;}
    to {width: 80%; opacity: 100%;}
}

.infoHr{
    width: 0%;
    animation-name: hrAnim;
    animation-duration: 2s;
    animation-delay: 6s;
    animation-fill-mode: forwards;
    
}

.infoH1{
    font-family: monospace;
    animation-name: textAnim;
    animation-duration: 5s;
    font-size: 3vh;
}

.infoH2{
    font-family: monospace;
    opacity: 0%;
    animation-name: textAnim;
    animation-duration: 5s;
    animation-delay: 3s;
    animation-fill-mode: forwards;
    font-size: 2.5vh;
}

.infoP{
    font-family: monospace;
    font-size: 15px;
    animation-name: textAnim;
    animation-duration: 5s;
    animation-delay: 6s;
    animation-fill-mode: forwards;
    opacity: 0%;
    font-size: 2vh;
}

.infoP2{
    font-family: monospace;
    font-size: 15px;
    animation-name: textAnim;
    animation-duration: 5s;
    animation-delay: 9s;
    animation-fill-mode: forwards;
    opacity: 0%;
    font-size: 2vh;
}

.infoLink{
    text-decoration: none;
    color:rgb(0, 0, 0);
    font-size: 20px;
    font-family: monospace;
    animation-name: textAnim;
    animation-duration: 5s;
    animation-delay: 11s;
    animation-fill-mode: forwards;
    opacity: 0%;
    font-size: 2.7vh;
}

.infoLink:hover{
    color: rgb(24, 167, 24);
    text-decoration: underline;
}

.sudoPic{
    height: 40vh;
    animation-name: textAnim;
    animation-duration: 5s;

}

.frame{
    border-radius: 10px;
    height: 60vh;
    width: 40vh;
}

@media screen and (max-width: 400px){
    .sidenav{
        display: none;
    }

    .disclaimer{
        display: inline;
    }
}