body {
    justify-content: center;
    justify-items: center;
    margin: 0px;
    padding: 0px;
    background-image: url(../assets/img/natureza\ 4.jpg);
    background-repeat: no-repeat;
    background-image: cover;
    background-size: cover;
}

header{
    margin-top: 0px;
    justify-content: center;
    padding: 0px;
    backdrop-filter: blur(20px);
    flex-direction: row;
}

.fases{
    display: flex;
    justify-content: space-around;
}

.fases a{
    width: 100%;
    padding: 40px;
    backdrop-filter: blur(10px);
    text-decoration: none;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    color: black;
}

.fases a:hover{
    transition: 0.5s;
    background-color: rgb(0, 160, 0);
}

.resto{
    padding-top: 30px;
}

#gameArea {
    
    border-radius: 10px;
    margin: 50px;
    max-width: auto;
    margin: auto;
    text-align: center;
    color: rgb(0, 0, 0);
    flex-wrap: nowrap;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.tudo {
    border-radius: 20px;
    padding: 50px;
    backdrop-filter: blur(10px);
}

.topo {
    font-family: Arial, Helvetica, sans-serif;
    text-align: center;
    color: white;
}

.puzzle-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex-wrap: nowrap;
}

.card {
    width: 120px;
    height: 120px;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    transition: 0.3s;
}

.card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.card:hover {
    transform: scale(1.05);
}

.next {
    padding: 30px;
    margin: 20px;
    padding: 30px;
    border: none;
    border-radius: 12px;
    background: #00c853;
    color: white;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s;
}

.next:hover {
    background: #00e676;
    transform: scale(1.05);
}

#hud {
    font-family: Arial, Helvetica, sans-serif;
    justify-items: center;
    margin: 30px;
    border-radius: 0px;
    padding: 15px;
    background: #ffffff;
    border: 4px solid;


    border-image: linear-gradient(45deg,
            #00ff00,
            #6dfd49,
            #1b9e30,
            #00a000,
            #abff92,
            #ffffff) 1;

    animation: rgbBorder 3s linear infinite;
}

.container .content {
    width: 100%;
    height: 100%;
    background: #111;
    border-radius: 17px;
}


    @keyframes rgbBorder {
        0% {
            filter: hue-rotate(0deg);
        }

        100% {
            filter: hue-rotate(360deg);
        }
    }