* {
    text-decoration: none;
    color: black;
    margin: 0;
    padding: 0;
}

body {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    padding: 20px;
    justify-content: space-evenly;
    background-color: #85FFBD;
    background-image: linear-gradient(45deg, #85FFBD 0%, #FFFB7D 100%);
    gap: 2.5rem;
}

nav{
    margin-top: 3.125rem;
}

ul{
    display: flex;
    flex-direction: column;
    list-style: none;
    gap: 1.25rem;
}

nav ul li{
    padding: 1.25rem;
    background-color: rgb(15, 209, 167);
    color: rgb(255, 255, 255);
    font-size: 1.8rem;
    font-family: monospace;
    font-weight: bolder;
    text-shadow: 2px 2px 0px rgb(16, 94, 57);
    box-shadow: 6px 6px 0px rgb(0, 95, 59);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.2s;
    -webkit-user-select: none; /* Safari */        
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* IE10+/Edge */
    user-select: none; /* Standard */
}

nav ul li:hover{
    box-shadow: 8px 8px 0px rgb(0, 95, 59);
    text-shadow: 3px 3px 0px rgb(16, 94, 57);
    background-color: rgb(34, 237, 173) !important;
    color: rgb(246, 255, 209);
}

.game_win{
    margin-top: 1.25rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}

.title{
    text-align: center;
    margin-right: 2.5rem;
    font-size: 4rem;
    font-family:system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    color: rgb(255, 246, 237);
    text-shadow: 5px 5px 0px rgb(255, 170, 43),
                 10px 10px 0px rgb(234, 148, 18);
    transition: all 0.2s;
}

.title:hover{
    text-shadow: 6px 6px 0px rgb(255, 170, 43),
                 12px 12px 0px rgb(234, 148, 18);
}
    
.main {
    max-width: 700px;
    margin-top: 2.5rem;
    margin-bottom: 1.25rem;
    padding: 2.5rem;
    background-color: rgb(246, 255, 209);
    border-radius: 1rem;
    box-shadow: 0px 0px 15px rgb(255, 248, 232);
    margin-right: 2.5rem;
}

.container{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.container .content{
    flex: 1 auto;
    width: 4.375rem;
    height: 4.375rem;
    background-color: rgb(179, 116, 255);
    color: rgb(255, 255, 255);
    font-size: 2rem;
    font-family: monospace;
    font-weight: bolder;
    text-shadow: 3px 3px 0px rgb(16, 94, 57);
    box-shadow: 4px 4px 0px rgb(107, 0, 128);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.2s;
    -webkit-user-select: none; /* Safari */        
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* IE10+/Edge */
    user-select: none; /* Standard */
}

.container .content:hover{
    box-shadow: 6px 6px 0px rgb(107, 0, 128);
    text-shadow: 4px 4px 0px rgb(16, 94, 57);
    background-color: rgb(23, 196, 104) !important;
    color: rgb(255, 244, 197);
}

.overlay{
    /* display: none; */
    position: fixed;
    width: 100%; /* Full width (cover the whole page) */
    height: 100%; /* Full height (cover the whole page) */
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: none;
    justify-content: center;
    align-items: center;
    width: 100vw;
    height: 100vh;
    background-color:rgba(51, 255, 139, 0.8);
}

.info_win{
    position: fixed;
    max-width: 500px;
    background-color: rgba(255, 239, 186, 0.9);
    padding: 1.875rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    display: none;
    box-shadow: 4px 4px 0px rgb(244, 171, 81),
                8px 8px 0px rgb(217, 151, 71);
}

.info_text{
    font-size: 2rem;
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: bold;
    color: rgb(255, 149, 43);
}

.close{
    width: 6.25rem;
    height: 3.125rem;
    margin-bottom: 1.25rem;
    margin-right: 1.25rem;
    align-self: end;
    border: none;
    background-color: rgb(179, 116, 255);
    color: rgb(255, 255, 255);
    font-size: 1.5rem;
    font-family: monospace;
    font-weight: bolder;
    text-shadow: 3px 3px 0px rgb(16, 94, 57);
    box-shadow: 4px 4px 0px rgb(107, 0, 128);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.2s;
    -webkit-user-select: none; /* Safari */        
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* IE10+/Edge */
    user-select: none; /* Standard */
}

.close:hover{
    box-shadow: 6px 6px 0px rgb(107, 0, 128);
    text-shadow: 4px 4px 0px rgb(16, 94, 57);
    background-color: rgb(219, 160, 255) !important;
    color: rgb(255, 244, 197);
}

.close:active{
    background-color: rgb(208, 136, 47);
}

@media screen and (max-width: 600px) {
    /* .container .content{
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    } */
    html{
        font-size: 12px;
    }
}
  