body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: #f5f5f5;
    color: #222;
}

header {
    background: #ffffff;
    padding: 15px;
    display: flex;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.nav-buttons a {
    padding: 10px 15px;
    background: #007bff;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-size: 14px;
}

@media (max-width: 480px) {
    .nav-buttons a {
        padding: 8px 10px;   /* padding menor, principalmente horizontal */
        font-size: 12px;     /* fonte menor para caber lado a lado */
        background: #007bff; /* mantém o mesmo azul */
    }
}

main {
    padding: 20px;
}

.page {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    max-width: 800px;
    margin: auto;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

h1, h2 {
    color: #333;
}

audio {
    margin-top: 15px;
    width: 100%;
}

.exercise-box {
    background: #eef5ff;
    padding: 15px;
    border-radius: 10px;
    margin-top: 20px;
}

.exercise-options button {
    display: block;
    width: 100%;
    padding: 12px;
    margin-top: 10px;
    background: #007bff;
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}

.exercise-options button:hover {
    background: #005fcc;
}

#exercise-result {
    margin-top: 15px;
    font-weight: bold;
}

.image-gallery {
    margin-top: 25px;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.image-gallery img {
    width: 48%;
    border-radius: 10px;
}

/* Responsivo */
@media (max-width: 600px) {
    .image-gallery img {
        width: 100%;
    }
}

/* ---------------------------------------------
      SIMPLE PRESENT — PÁGINA 2 (BLOCO PRINCIPAL)
---------------------------------------------- */

.simple-present-detailed {
    background: #f2f2f2;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
    max-width: 800px;
    margin: 30px auto;
    line-height: 1.6;
}

h2 {
   color: #333;
}

h3 {
   
    color: #444;
}

p {
    
    color: #333;
   
}

ul {
    color: #333;
}

ul li {
    color: #333;
}

                         /* RESPONSIVO — CORRIGIDO simple-present-detailed */

@media (max-width: 600px) {
    main {
    padding: 20px;
    }

    .page {
        background: #fff;
        padding: 20px;
        border-radius: 12px;
        max-width: 800px;
        margin: auto;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    }

    h2 {
        color: #333;
    }

    h3 {
        color: #333;
    }
}


/* ---------------------------------------------
                PÁGINA 2 Simple Present Explicação rápida 
---------------------------------------------- */

.english-content {
    background: #f2f2f2;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
    max-width: 800px;
    margin: 30px auto;
    line-height: 1.6;
}

h2 {
    margin-top: 0;
    text-align: center;
    font-size: 24px;
    color: #333;
}

.english-content p {
    font-size: 16px;
    color: #444;
}

.english-content ul {
    margin: 15px 0;
    padding-left: 20px;
}

.english-content ul li {
    margin-bottom: 8px;
    font-size: 16px;
}

          /* Responsivo english-contentPÁGINA 2 Simple Present Explicação rápida */

@media (max-width: 768px) {
    main {
    padding: 20px;
    }

    .page {
        background: #fff;
        padding: 20px;
        border-radius: 12px;
        max-width: 800px;
        margin: auto;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    }

    .english-content h2 {
        font-size: 20px;
    }

    .english-content p,
    .english-content ul li {
        font-size: 15px;
    }
}


                    /* ---------------------------------------------
                        SIMPLE PAST — PÁGINA 3 (BLOCO PRINCIPAL)
                    ---------------------------------------------- */

.simple-past-detailed {
    background: #f2f2f2;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
    max-width: 800px;
    margin: 30px auto;
    line-height: 1.6;
}

.simple-past-detailed h2 {
    text-align: center;
    margin-bottom: 15px;
    color: #333;
}

.simple-past-detailed h3 {
    margin-top: 18px;
    margin-bottom: 10px;
    color: #444;
}

.simple-past-detailed p {
    line-height: 1.6;
    color: #333;
    margin-bottom: 12px;
}

.simple-past-detailed ul {
    padding-left: 20px;
    margin-bottom: 15px;
}

.simple-past-detailed ul li {
    margin-bottom: 6px;
    color: #222;
}

.audio-note {
    font-style: italic;
    margin-top: 10px;
    color: #555;
    text-align: center;
}

             /* RESPONSIVO SIMPLE PAST — PÁGINA 3 (BLOCO PRINCIPAL) */

@media (max-width: 600px) {
    main {
    padding: 20px;
    }

    .page {
        background: #fff;
        padding: 20px;
        border-radius: 12px;
        max-width: 800px;
        margin: auto;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    }

    h1{
    color: #333;
    text-align: center;
}

    h2 {
        color: #333;
    }

    h3 {
        color: #333;
    }
}

/* ---------------------------------------------
                 MODAL DE IMAGEM
---------------------------------------------- */

.img-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background: rgba(0,0,0,0.8);
    padding-top: 40px;
}

.img-modal img {
    display: block;
    margin: auto;
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
    box-shadow: 0 0 20px #000;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 25px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.close-modal:hover {
    color: #ff4d4d;
}
