.container0 {
    width: 500px;
    height: 500px;
    box-sizing: border-box;
    display: flex;
    border-radius: 20px; 
    flex-wrap: wrap; 
    overflow: hidden;
}

.container1{
top: 50%; left: 50%;
transform: translate(-50%, -50%); 
width: 500px; 
height: 500px; 
background: rgb(221, 221, 221); 
border-radius: 20px; 
position: absolute;
overflow: hidden;
}

.container3 {
width: 33.33%;
height: 33.33%;
border: 2px solid rgb(240, 240, 240);
justify-content: center;
cursor: pointer;
display: flex;
box-sizing: border-box;
margin: 0;
cursor: pointer;
overflow: hidden;
overflow-wrap:initial;
}

.modal {
    display: none; 
    position: fixed; 
    z-index: 1; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    overflow: auto; 
    background-color: rgba(0,0,0,0.4); 
}

.modal-content {
    background-color: #ffffff; 
    margin: 5% auto; 
    padding: 20px;
    border: 1px solid #888;
    top: 20%;
    left: 50%;
    width: 500px; 
    height: 700px;
    border-radius: 20px;
}

.modal-content2 {
    background-color: #fefefe; 
    margin: 12% auto; 
    padding: 20px;
    border: 1px solid #888;
    top: 20%;
    left: 50%;
    width: 800px; 
    height: 400px;
    border-radius: 20px;
}

.info-btn { /* Botões do canto superior esquerdo */
    background-color: #797979;
    color: #fff;
    border: none;
    padding: 12px 20px;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
}

.degradePQNVERM{
    width: 47.74px; 
    height: 47.74px; 
    left: 8.63px; top: 8.63px; 
    position: absolute; 
    opacity: 0.80; 
    background: linear-gradient(0deg, #d751514f 0%, #b64444 100%), linear-gradient(180deg, rgba(0, 0, 0, 0.20) 0%, rgba(255, 255, 255, 0.20) 74%); 
    border-radius: 9999px

}

.PQNVERM{
    cursor: pointer; 
    width: 65px; 
    height: 65px;
    position: relative; 
    background: #DD3636; 
    border-radius: 9999px
}

.degradeMEDVERM{
    width: 69.62px; 
    height: 69.62px;
    left: 12.58px; 
    top: 12.58px; 
    position: absolute; 
    opacity: 0.80; 
    background: linear-gradient(0deg, #d751514f 0%, #b64444 100%), linear-gradient(180deg, rgba(0, 0, 0, 0.20) 0%, rgba(255, 255, 255, 0.20) 74%); 
    border-radius: 9999px
}

.MEDVERM{
    cursor: pointer; 
    width: 94.79px; 
    height: 94.79px;position: relative;
    background: #DD3636; 
    border-radius: 9999px
}

.degradeGRDVERM{
    width: 83px; 
    height: 83px; 
    left: 15px; 
    top: 15px; 
    position: absolute; 
    opacity: 0.80; 
    background: linear-gradient(0deg, #d751514f 0%, #b64444 100%), linear-gradient(180deg, rgba(0, 0, 0, 0.20) 0%, rgba(255, 255, 255, 0.20) 74%);
    border-radius: 9999px
}

.GRDVERM{
    cursor: pointer; 
    width: 113px; 
    height: 113px;
    position: relative;
    background-color: #DD3636; 
    border-radius: 9999px
}

.degradePQNAZUL{
    width: 47.74px; 
    height: 47.74px; 
    left: 8.63px; 
    top: 8.63px; 
    position: absolute; 
    opacity: 0.80; 
    background: linear-gradient(0deg, rgb(115, 140, 231) 0%, rgb(67, 96, 201) 100%), linear-gradient(180deg, rgba(0, 0, 0, 0.20) 0%, rgba(255, 255, 255, 0.20) 74%); 
    border-radius: 9999px
}

.PQNAZUL{
    cursor: pointer; 
    width: 65px; 
    height: 65px;
    position: relative; 
    background: #5979EC; 
    border-radius: 9999px
}

.degradeMEDAZUL{
    width: 69.62px; 
    height: 69.62px;
    left: 12.58px; 
    top: 12.58px; 
    position: absolute; 
    opacity: 0.80; 
    background: linear-gradient(0deg, rgb(115, 140, 231) 0%, rgb(67, 96, 201) 100%), linear-gradient(180deg, rgba(0, 0, 0, 0.20) 0%, rgba(255, 255, 255, 0.20) 74%); 
    border-radius: 9999px
}

.MEDAZUL{
    cursor: pointer; 
    width: 94.79px; 
    height: 94.79px;position: relative;
    background: #5979EC; 
    border-radius: 9999px
}

.degradeGRDAZUL{
    width: 83px; 
    height: 83px; 
    left: 14%; 
    top:  14%; 
    position: absolute; 
    opacity: 0.80; 
    background: linear-gradient(0deg, rgb(115, 140, 231) 0%, rgb(67, 96, 201) 100%), linear-gradient(180deg, rgba(0, 0, 0, 0.20) 0%, rgba(255, 255, 255, 0.20) 74%); 
    border-radius: 9999px
}

.GRDAZUL{
    cursor: pointer; 
    width: 113px; 
    height: 113px;
    position: relative;
    background: #5979EC; 
    border-radius: 9999px
}

.titulo{
    left: 39%;
    top: 8%;
    font-size: 60px;
    position: absolute;
    font-family: Candara;
    font-style: italic;
    color: rgb(88, 88, 88);
}

.restart{
    width: 90px; 
    height: 60px; 
    left: 47.5%; 
    top: 80%; 
    position:absolute; 
    border-radius: 20px;
    text-align: center;
    color: white;
    cursor: pointer; 
    justify-content:center; 
    font-size: 55px;
    background: #4dcc73
}

.trofeu{
    left:37% ;position: fixed;
    font-size: 380px
    ;font-family: Arial, Helvetica, sans-serif;
}

.close{
    width: 90px; height: 60px; left: 44.5%; top: 8%; position:relative; border-radius: 20px;text-align: center;color: white;
            cursor: pointer; justify-content:center; font-size:45px ;background: #d82626;
}

@media screen and (max-width: 1537px) {
.modal-content2,
.PQNVERM, .MEDVERM, .restart, .trofeu,
.GRDVERM, .PQNAZUL, .MEDAZUL,
.GRDAZUL, .titulo,.info-btn {
transform: scale(0.75);        
}

.titulo{
top: 8%;
left: 36%;
}

.container1,.container0{
left: 50%;
top: 50%;
height: 350px;
width: 350px;
}

.close{
    width: 90px;
    height: 60px;
    left: 45.5%;
    top:8%;
}

.modal-content {
    background-color: #ffffff; 
    margin: 5% auto; 
    padding: 10px;
    border: 1px solid #888;
    top: 20%;
    left: 50%;
    width: 400px; 
    height: 600px;
    border-radius: 20px;
    text-align: center;
}

.trofeu{
    left: 33.5%;
}
}

@media screen and (max-width: 1400px) {
.modal-content2, .trofeu,
.PQNVERM, .MEDVERM, .restart,
.GRDVERM, .PQNAZUL, .MEDAZUL,
.GRDAZUL, .titulo,.info-btn {
transform: scale(0.65);        
}

.titulo{
top: 8%;
left: 35%;
}

.info-btn{
font-size: 20px;
}

.container1,.container0{
left: 50%;
top: 50%;
height: 350px;
width: 350px;
}

.close{
    width: 90px;
    height: 60px;
    left: 46.5%;
    top:8%;
}

.trofeu{
    left: 30.5%;
    top:9%;
    transform: scale(0.7);
}

.modal-content {
    background-color: #ffffff; 
    margin: 5% auto; 
    padding: 10px;
    border: 1px solid #888;
    top: 20%;
    left: 50%;
    width: 400px; 
    height: 500px;
    border-radius: 20px;
    text-align: center;
}

}
