
     /* We are stopping user from 
        printing our webpage */
        @media print {

            html,
            body {

                /* Hide the whole page */
                display: none;
            }
        }

        body {
  font-family: 'Poppins', 'Segoe UI Emoji', 'Apple Color Emoji', 'Noto Color Emoji', sans-serif;
}


    
    /* Police Poppins via Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap');

body {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  color: #222;
  background-color: #fff;
  margin: 0;
  padding: 0;
}

strong{
    color: #007acc;
}

main {
  max-width: 900px;
  margin: auto;
  padding: 1rem;
}

h1, h2, h3 {
  font-weight: 600;
  color: #1a1a1a;
}

 h1, h2, h3 {
      font-weight: 600;
      color: #1a1a1a;
    }

    h1 {
      font-size: 1.8rem;
      text-align: center;
      color: #007acc;
      margin-top: 2rem;
      border: 1px solid grey;
      padding: 2px;
      background-color: #ecebeb;
    }

    h2 {
      font-size: 1.4rem;
      border-left: 4px solid #4CAF50;
      padding-left: 0.6rem;
      background-color: #4CAF50;
      color: white;
      padding-top: 5px;
      padding-bottom: 5px;
      margin-top: 50px;
    }

    section h2 {
      margin-top: 50px;
      color: white;
    }

    h3 {
      font-size: 1.2rem;
      color: #4CAF50;
      margin-top: 1.5rem;
    }

    h3 strong{
      color: #4CAF50;
    }
    
        h4 {
      color: #4CAF50;
      font-weight: bold;
    }

ul {
  padding-left: 1.5rem;
  margin-top: 1rem;
  margin-bottom: 1rem;
}

li {
  margin-bottom: 0.5rem;
}

strong[translate=\"no\"] {
  font-weight: bold;
  color: #007acc;
}

em {
  font-style: italic;
  color: #555;
}

@media (max-width: 600px) {
  body {
    font-size: 0.95rem;
    padding: 0.5rem;
  }

  h1 {
    font-size: 1.5rem;
  }

  h2 {
    font-size: 1.2rem;
  }

  h3 {
    font-size: 1.1rem;
  }

  main {
    padding: 0.5rem;
  }
}


ul li {
  list-style: none;
}


    .card-box {
      border: 1px solid #ddd;
      border-radius: 8px;
      padding: 1rem;
      margin-bottom: 2rem;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
      background-color: #fff;
    }


    
    table {
      width: 100%;
      border-collapse: collapse;
      margin: 1rem 0;
    }

    table, th, td {
      border: 1px solid #ccc;
      padding: 0.5rem;
      text-align: center;
    }

    table th {
      background-color: #f2f2f2;
    }

  details{
    margin-bottom: 25px;
  }

  #myTable tr td img{
    margin-left: 5px;
    width: 13px;
  }


  .examples p {
  margin: 0.5em 0;
  font-style: italic;
}


/* frenhc lesson */
.learn-french-index {
    background: url('https://i.ibb.co/BH3jRdqB/Apcenglish-home02.jpg') center/cover no-repeat;
    color: white;
    text-shadow: 0 0 10px black;
    padding: 100px 20px;
    text-align: center;
}


    .learn-french-index h1 {
      font-size: 1.8rem;
      text-align: center;
      color: white;
      margin-top: 2rem;
      margin-bottom: 5rem;
      border: none;
      padding: 2px;
      background-color: transparent;
    }

    .learn-french-index p{
      background-color: #222;
      padding: 3px;
    }


    /* Visual Timeline Section*/
     .timeline-container {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin: 30px 0;
      font-family: Arial, sans-serif;
    }
    .timeline-block {
      text-align: center;
      flex: 1;
      position: relative;
    }
    .timeline-block::after {
      content: "";
      position: absolute;
      top: 50%;
      right: -50%;
      width: 100%;
      height: 4px;
      background-color: #888;
      z-index: -1;
    }
    .timeline-block:last-child::after {
      display: none;
    }
    .simple-tense {
      background-color: #e0f7fa;
      padding: 8px;
      border-radius: 8px;
      margin-bottom: 6px;
    }
    .compound-tense {
      background-color: #ffe0b2;
      padding: 8px;
      border-radius: 8px;
    }


    .vert{
      color: green;
    }

    .drop-me{
      margin-top: 50px;
      background-color: #ecebeb;
      color: #007acc;
    }

    tr img{
      cursor: pointer;
    }

  .highlight {
    background-color: yellow;
    font-weight: bold;
    transition: background-color 0.3s ease;
  }

    /* Only affects THIS table */
    #vowels-table .highlight {
      background-color:  yellow;
      font-weight: 600;
      transition: background-color 0.25s ease;
      -webkit-transition: background-color 0.25s ease;
      -moz-transition: background-color 0.25s ease;
      -ms-transition: background-color 0.25s ease;
      -o-transition: background-color 0.25s ease;
}
    #vowels-table tbody tr {
      cursor: pointer;
    }

        #ai-ei-table .highlight {
      background-color: yellow;  
      font-weight: 600;
      transition: background-color 0.25s ease;
    }
    #ai-ei-table tbody tr {
      cursor: pointer;
    }

        /* Local style (no conflict with other sections) */
    #pronouns-table .highlight {
      background-color: yellow;
      font-weight: 600;
      transition: background-color 0.25s ease;
    }
    #pronouns-table tbody tr { cursor: pointer; }



    /* Exercises fonts */
    #exercise {
    font-size: 24px; /* Question plus grande */
    font-weight: bold;
    margin: 20px 0;
  }

  #answer {
    font-size: 20px;
    padding: 8px;
    width: 60%;
  }

  #submitBtn, #nextBtn {
    font-size: 18px;
    padding: 10px 20px;
    margin-top: 10px;
  }

  #feedback {
    font-size: 18px;
    margin-top: 15px;
  }

  #score {
    font-size: 20px;
    font-weight: bold;
    margin-top: 20px;
  }

  /* -------------------------------- */
   .question {
    font-size: 22px;
    margin-bottom: 15px;
    font-weight: bold;
  }

  .options button {
    display: block;
    width: 100%;
    max-width: 300px;
    margin: 8px auto;
    padding: 12px;
    font-size: 18px;
    border-radius: 8px;
    cursor: pointer;
    border: 1px solid #ccc;
    transition: background 0.3s;
  }

  .options button:hover {
    background: #f0f0f0;
  }

  .feedback {
    font-size: 20px;
    margin-top: 10px;
    font-weight: bold;
  }

  .score-board {
    margin-top: 15px;
    font-size: 18px;
    font-style: italic;
  }

  .next-btn {
    margin-top: 15px;
    padding: 10px 20px;
    font-size: 18px;
    border-radius: 8px;
    cursor: pointer;
    border: none;
    background: #007bff;
    color: white;
  }

  .next-btn:hover {
    background: #0056b3;
  }