*{
    margin: 0;
}
.game{
    height: 100vh;
    display: flex;
    justify-content: center;
    background-image: url(../img/background2.jpeg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.content{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1em;
    margin-top: 1em;
}

.nickname{
    display: flex;
    font-size: 2em;
    color: white;
}
.nicknameInput{
    background-color: rgba(255, 255, 255,0.9);
    font-size: 1em;
    color: black;
    text-shadow: 1px 1px 2px white;
}

.nicknameInput:focus{
    outline: none;
}
.difficultyTitle{
    font-size: 2em;
    color: white;
    text-align: center;
}
.buttonsDifficulty{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3em;
}

.buttonLevel{
    display: flex;
    padding: 0.4em;
    font-size: 1.9em;
    border:0.3em solid #d4d4b1;
    color: #d4d4b1;
}

.buttonLevel:hover{
    cursor: pointer;
    background-color: #d4d4b1;
    color: black;
}

.box-colors {
    flex-direction: column;
    align-content: center;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
    gap: 1.5em;
    display: none;
  }

.boxSelection {
    display: flex;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    align-items: center;
}

#containerColors{
    width: 100wh;
    height: auto;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    gap: 1.2em;
}

.box {
    height: 3em;
    width: 3em;
    border: 0.2em solid black;
    border-radius: 50%;
    box-shadow: 0em 0em 0.4em rgba(0, 0, 0, 0.237);
}

input[type="color"] {
    display: flex;
    justify-content: center;
    width: 1em;
    height: 1em;
    padding: 0;
    border: none;
    cursor: pointer;
}
  
input[type="color"]:focus {
    outline: none;
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.7);
}

.text-colors{
    color: white;
}

#buttonPlay{
    padding: 0.4em;
    font-size: 3em;
    border:0.3em solid #d4d4b1;
    color: #d4d4b1;
    text-decoration: none;
}
#buttonPlay:hover{
    cursor: pointer;
    background-color: #d4d4b1;
    color: black;
}


@media(max-width: 1000px){
    .content{
        gap: 1em;
    }
    .nickname,.difficultyTitle,.nicknameInput::placeholder{
        font-size: 1em;
    }
    .buttonLevel{
        padding: 0.2em;
        font-size: 0.9em;
    }
    #buttonPlay{
        font-size: 1.5em;
    }
}

@media(max-width: 768px){
    .nicknameInput{
        font-size: 1em;
        text-align: center;

    }
    .buttonsDifficulty{
        gap: 1em;
        font-size: 0.7em;
    }
    #containerColors{
        font-size: 0.33em;
        gap: 0.2em;
    }
    
}

