.titolo {
    width: 100%;
    padding: 20px;
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 700;
    font-size: 22px;
    line-height: 18px;
    /* identical to box height, or 82% */
    letter-spacing: -0.02em;
    color: #ffffff;
    text-shadow: 0px 0px 10px black;
}

.settings {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 20px;
    box-sizing: border-box;
}

.mywrapper {
    background-image: url(../img/bg.png);
    background-size: cover;
    padding-bottom: 20px;
}

.opt-background {
    width: 245px;
    height: 103px;
    background: #10c6c0b8;
    text-align: center;
    display: flex;
    flex-direction: column;
    border-radius: 10px;
    font-weight: 800;
}

.opt-title {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 700;
    font-size: 15px;
    line-height: 18px;
    text-align: center;
    letter-spacing: -0.02em;
    color: #ffffff;
    margin-top: 14px;
    margin-bottom: 19px;
    text-shadow: 0px 0px 5px black;
}

.opt-select {
    width: 207px;
    height: 40px;
    background: #FFFFFF;
    box-shadow: 0px 1px 4px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    margin: 0px auto;
    padding: 0px 20px;
    /* normale */
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 500;
    font-size: 14px;
    line-height: 16px;
    /* identical to box height, or 114% */
    letter-spacing: -0.02em;
    color: #0E6B98;
}

.checkbox {
    width: 76px;
    height: 31px;
    margin: 0px auto;
    cursor: pointer;
}

.avviabtn {
    border: 2px solid white;
    width: 207px;
    height: 40px;
    background: #3a00e0;
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 700;
    font-size: 15px;
    line-height: 40px;
    display: flex;
    align-items: center;
    color: #FFFFFF;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
}

.playicon {
    width: 14px;
}

.gioco {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    border-top: 1px solid #0C6895;
    border-bottom: 1px solid #0C6895;
    padding: 20px;
    box-sizing: border-box;
}

.restart {
    width: 100%;
    margin: 10px auto;
}

.restartbtn {
    width: 207px;
    height: 30px;
    background: #dab680;
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 700;
    font-size: 12px;
    line-height: 30px;
    display: flex;
    align-items: center;
    color: #FFFFFF;
    margin: 0px auto 0px 20px;
    justify-content: center;
    cursor: pointer;
    gap: 10px;
}

.innergame {
    display: flex;
    flex-direction: row;
    gap: 10px;
    padding: 20px;
    box-sizing: border-box;
}

.letterewrapper,
.tempowrapper,
.categoriewrapper {
    width: 321px;
    height: 450px;
    background-color: #ddf7ff5e;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-radius: 10px;
    padding-bottom: 10px;
    gap: 5px;
}

.spinbuttoncontainer,
.letterbuttoncontainer,
.categoriebuttoncontainer {
    display: flex;
    gap: 10px;
    flex-direction: column;
}

.lettercontainer,
.categoriecontainer {
    padding: 20px;
    box-sizing: border-box;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    justify-content: center;
}

.lettera {
    border: 4px solid #000000;
    width: 40px;
    height: 40px;
    background: #34455b;
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 500;
    font-size: 26px;
    line-height: 40px;
    color: #ffffff;
    cursor: pointer;
    text-align: center;
}

.spinbtn {
    width: 207px;
    height: 40px;
    background: #3a00e0;
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 700;
    font-size: 15px;
    line-height: 40px;
    display: flex;
    align-items: center;
    color: #ffffff;
    margin: 0px auto;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
}

.remainingletters,
.gamestatus,
.remainingcategories {
    background-color: #0d9183;
    color: white;
    text-shadow: 0px 0px 10px black;
    font-size: 14px;
    text-align: center;
    font-weight: 500;
    line-height: 26px;
    height: 52px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.tempocontainer {
    width: 102px;
    min-height: 102px;
    background-color: #2d364ba8;
    font-size: 40px;
    line-height: 102px;
    text-align: center;
    font-weight: 700;
    margin: 20px auto 0px auto;
    border-radius: 50%;
    border: 1px solid lightgray;
    box-shadow: inset 0px 0px 4px lightgrey;
    cursor: pointer;
    border: 4px solid #000000;
    color: white;
}

.recapcontainer {
    width: 204px;
    height: 250px;
    border-radius: 10px;
    background-color: #2d364ba8;
    font-size: 16px;
    margin: 0px auto 10px auto;
    padding: 10px;
    box-sizing: border-box;
    line-height: 26px;
    /* border: 4px solid #3a00e0; */
    font-weight: 700;
    color: white;
    text-shadow: 1px -1px 3px black;
}


.categoria {
    width: 100px;
    height: 100px;
    border: 1px solid lightgrey;
    border-radius: 10px;
    border: 4px solid #000000;
}


.categoriecontainer {
    justify-content: center;
}

.selected {
    background-color: lightgreen;

}

.unselected {
    opacity: 0.5;
}

.lowbuttons {
    width: 100%;
    display: flex;
    justify-content: flex-end;
    gap: 20px;
    margin-top: 10px;
    padding-right: 20px;
    box-sizing: border-box;
}

.stampainpdf {
    background-color: red;
}

.unselected {
    opacity: 0.3;
}

.letteraselected {
    background-color: #0049a3;
    font-weight: 800;
    border: 4px solid yellow;
}

.istruzioni {
    padding: 0px 20px 20px 20px;
    box-sizing: border-box;
    font-family: poppins;
    color: white;
    text-shadow: 1px 1px 5px black;
}

@media screen and (max-width: 450px) {
    .settings {
        justify-content: center;
    }

    .lowbuttons {
        flex-direction: column;
        align-content: center;
        flex-wrap: wrap;
        padding-right: 0px;

    }

    .innergame {
        flex-direction: column;
        align-items: center;
    }

    .letterewrapper,
    .tempowrapper {
        height: unset;
    }

    .lettera {
        width: 23px;
        height: 23px;
        font-size: 14px;
        line-height: 23px;
    }

    .categoriewrapper {
        display: none;
    }

    .remainingletters {
        color: rgb(0, 0, 0);
        font-size: 10px;
        text-align: center;
        font-weight: 500;
        line-height: 16px;
        height: 30px;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .restartbtn {
        margin: 0px auto;
    }

    .recapcontainer {
        height: 150px;
        font-size: 12px;
    }
}