nav,
footer {
    background: #01204A;
    padding: 20px 0px;
    color: #fff;
}

.container {
    width: 1200px;
    margin: 0 auto;
}

.link_whats {
    text-decoration: none;
}

.btt_whats {
    background-color: #2CB742;
    color: #fff;
    font-size: 2rem;
    border-radius: 8px;
    padding: 10px 20px;
    margin-top: 20px;
    border: 1px solid #00610F;
    transition: 0.3s;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.btt_whats:hover {
    background-color: #00610F;
    border: 1px solid #2CB742;
    scale: 1.05;
}

.titulo {
    color: #2E2E2E;
    justify-self: center;
    font-size: 2rem;
    margin-top: 20px;
    margin-bottom: 40px;
}

.container>a {
    display: flex;
    justify-content: center;
}

.logo {
    width: 325px;
    height: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px
}

.logo img:nth-child(1) {
    width: 25%;
    object-fit: cover;
}

.logo img:nth-child(2) {
    width: 50%;
    object-fit: cover;
}

.grid_loto {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.item_list {
    box-shadow: 2px 2px 12px 3px rgba(0, 0, 0, 0.25);
    border-radius: 10px;
    height: 250px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    cursor: pointer;
    transition: 0.3s;
    position: relative;
}

.item_list img {
    object-fit: contain;
    max-height: 50%;
}

.item_list:hover {
    scale: 1.05;
}

.info-icon {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255, 255, 255, 0.9);
    color: #01206B;
    font-size: 18px;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    transition: background 0.3s, transform 0.2s;
}

.info-icon i {
    font-size: 20px;
}

.info-icon:hover {
    background: #ddd;
    transform: scale(1.1);
}

.mega {
    border: 2px solid #007030;
    background: linear-gradient(320deg, #007030 0%, #009F44 30%, #009F44 70%, #007030 100%);
}

.lotofacil {
    border: 2px solid #92256C;
    background: linear-gradient(320deg, #92256C 0%, #C2318F 30%, #C2318F 70%, #92256C 100%);
}

.quina {
    border: 2px solid #352863;
    background: linear-gradient(341deg, #352863 7.95%, #45308F 33.26%, #45308F 66.9%, #352863 92.05%);
}

.lotomania {
    border: 2px solid #BC7515;
    background: linear-gradient(341deg, #BC7515 7.95%, #FF9402 33.18%, #FF9402 66.82%, #BC7515 92.05%);
}

.timemania {
    border: 2px solid #D5C700;
    background: linear-gradient(341deg, #D5C700 7.95%, #FE0 33.18%, #FE0 66.82%, #D5C700 92.05%);
}

.dupla {
    border: 2px solid #A10F36;
    background: linear-gradient(341deg, #A10F36 7.95%, #BE0133 33.18%, #BE0133 66.82%, #A10F36 92.05%);
}

.sorte {
    border: 2px solid #B29325;
    background: linear-gradient(341deg, #B29325 7.95%, #D1AC2A 33.18%, #D1AC2A 66.82%, #B29325 92.05%);
}

footer p {
    font-family: Roboto;
    font-weight: 500;
    justify-self: center;
    text-align: center;
}

/* Estilo do Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    align-items: center;
    justify-content: center;
}

/* Conteúdo do Modal */
.modal-content {
    position: relative;
    background: white;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Imagem dentro do Modal */
.modal-content img {
    max-width: 100%;
    max-height: 90vh;
    border-radius: 5px;
}

/* Botão Fechar */
.close-modal {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    color: #c6c6c6;
}

.close-modal:hover {
    color: red;
}




@media (max-width: 1250px) {
    .grid_loto {
        grid-template-columns: repeat(3, 1fr);
    }

    .container {
        max-width: 800px;
    }

    .btt_whats {
        font-size: 1.5rem;
    }
}

@media (max-width: 800px) {
    .grid_loto {
        grid-template-columns: repeat(2, 1fr);
    }

    .container {
        width: 500px;
    }

    .item_list {
        height: 180px;
    }

    .item_list img {
        max-height: 50%;
    }

    .titulo {
        font-size: 1.75rem;
        margin-top: 30px;
        margin-bottom: 30px;
    }

    .logo {
        margin: 0 auto;
        justify-content: center;
    }
}

@media (max-width: 500px) {
    .container {
        max-width: 500px;
        width: 100%;
        margin: 0 auto;
        padding: 0 20px;
        box-sizing: border-box;
        display: grid;
        justify-content: center;
    }

    .btt_whats {
        font-size: 1.25rem;
        text-align: center;
    }

    .grid_loto {
        grid-template-columns: 1fr;
        gap: 20px;
        width: 250px;
        justify-self: center;
    }

    .logo {
        width: 300px;
    }

    .item_list {
        height: 150px;
    }

    .titulo {
        font-size: 1.25rem;
        text-align: center;
        margin: 20px auto;
    }

    .footer {
        font-size: 1rem;
    }
}