@media screen and (min-width: 1024px) {
  .noDesktop {
    display: none;
  }
  
  
  
  
  /****************************************************************************************
   * NAVBAR                                                                               *
   ****************************************************************************************/
  #navBar {
    position: absolute;
    top: 0;
    width: 100%;
    display: flex;
    text-transform: uppercase;
    background-color: var(--darkGreen);
  }
  #navBar a {
    color: white;
    padding: 8px 12px;
    font-size: 28px;
  }
  #navBar a:hover {
    text-decoration: none;
    border-top: 1px solid white;
    border-bottom: 1px solid white;
  }
  #navBar .active {
    border-top: 1px solid white;
    border-bottom: 1px solid white;
  }
  #navBar #navLinks {
    display: flex;
    justify-content: start;
    list-style: none;
    width: 80%;
    padding: 12px 20px 20px 20px;
  }
  #navBar #navLinks li {
    margin-right: 20px;
  }
  #navBar #navSocials {
    display: flex;
    justify-content: end;
    list-style: none;
    width: 20%;
    padding: 12px 20px 20px 20px;
  }
  #navBar #navSocials li {
    margin-left: 20px;
  }
  
  
  
  
  /****************************************************************************************
   * FOOTER                                                                               *
   ****************************************************************************************/
  footer {
    background-color: var(--darkGreen);
    margin-top: 150px;
    padding: 150px 20px 20px 20px;
    color: white;
    font-size: 20px;
  }
  footer a {
    font-size: 20px;
    color: white;
    text-decoration: underline;
  }
  footer a:hover {
    text-decoration: none;
    color: var(--lightGreen);
  }
  footer h2 {
    font-family: 'Caveat', sans-serif;
    font-size: 82px;
    line-height: 1;
    margin-bottom: 20px;
    font-weight: 400;
  }
  /* Footer: Newsletter form */
  footer #newsletterForm {
    width: 700px;
    margin: 150px auto;
    padding: 40px;
    border-radius: 10px;
    background-color: #00FF0033;
    text-align: center;
  }
  footer #newsletterForm form {
    margin-top: 20px;
  }
  footer #newsletterForm form input[type="email"],
  footer #newsletterForm form button {
    width: 100%;
    height: 50px;
    text-align: center;
    font-size: 24px;
    font-weight: 500;
    background-color: var(--green);
    color: white;
    border: none;
    border-radius: 5px;
  }
  footer #newsletterForm form input[type="email"]::placeholder {
    color:white;
  }
  footer #newsletterForm form button {
    cursor: pointer;
  }
  footer #newsletterForm form button:hover {
    background-color: var(--lightGreen);
  }
  footer #newsletterForm form>div {
    margin: 20px 10px;
    display: flex;
    gap: 20px;
    align-items: center;
  }
  footer #newsletterForm form>div>input[type="checkbox"] {
    width: 68px;
    height: 68px;
    accent-color: var(--lightGreen);
  }
  footer #newsletterForm form>div>label,
  footer #newsletterForm form>div>label>a {
    font-size: 20px;
    text-align: start;
  }
  footer #codexSections {
    padding: 150px 40px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
  footer #codexSections article {
    display: flex;
    gap: 20px;
    align-items: center;
    margin-bottom: 20px;
  }
  footer #codexSections article img {
    width: 30%;
    height: auto;
  }
  footer #codexSections article div {
    width: 70%;
  }
  footer #legalSections {
    padding: 150px 0 0 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }
  footer #legalSections #copyright {
    text-align: start;
  }
  footer #legalSections #email {
    text-align: center;
  }
  footer #legalSections #legalPages {
    text-align: right;
  }
  /* Footer: Back to top CTA */
  #toTopCta {
    position: fixed;
    bottom: 10px;
    right: 10px;
    color: white;
    background-color: var(--green);
    font-size: 32px;
    border-radius: 50%;
    padding: 5px 12px;
  }
  #toTopCta:hover {
    color: var(--green);
    background-color: var(--lightGreen);
  }




  /****************************************************************************************
   * INDEX PAGE                                                                           *
   ****************************************************************************************/
  /* Index: Intro */
  #index #intro {
    width: 900px;
    margin: 150px auto;
    text-align: center;
  }
  #index #intro h1 {
    font-size: 120px;
    font-weight: 500;
    margin-bottom: 20px;
    color: var(--darkGreen);
  }
  #index #intro img {
    width: 300px;
    height: 300px;
    margin: 0 auto 20px auto;
  }
  #index #intro p {
    font-size: 24px;
    margin-top: 20px;
  }
  #index #intro a {
    font-size: 24px;
  }
  #index #intro ul {
    list-style: none;
    padding: 0;
  }
  /* Index: Blog sections */
  #index section {
    margin: 150px 20px;
    text-align: center;
  }
  #index section header {
    margin-bottom: 40px;
  }
  #index section header h2 {
    font-size: 75px;
    font-weight: 400;
    margin-bottom: 12px;
  }
  #index section header p {
    font-size: 24px;
  }
  #index section div {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
  }
  #index section div article {
    margin-bottom: 40px;
  }
  #index section div article img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    object-position: center;
    margin-bottom: 6px;
    border-radius: 6px;
  }
  #index section div article h3 {
    font-size: 26px;
  }
  #index section div article p {
    font-size: 18px;
  }
  #index section div article p>a {
    font-size: 20px;
    text-decoration: underline;
  }
  #index section div article p>a:hover {
    color: var(--green);
    text-decoration: none;
  }
  #index section div article>a:hover {
    text-decoration: none;
  }




  /****************************************************************************************
   * CODEX PAGES                                                                          *
   ****************************************************************************************/
  #codex {
    width: 900px;
    margin: 150px auto;
  }
  #codex header {
    width: 900px;
    /*margin: 150px auto;*/
    text-align: center;
  }
  #codex header h1 {
    font-size: 120px;
    font-weight: 500;
    margin-bottom: 20px;
    color: var(--darkGreen);
  }
  #codex header img {
    width: 300px;
    height: 300px;
    margin: 0 auto 20px auto;
  }
  #codex header p {
    font-size: 24px;
    margin-top: 20px;
  }
  #codex ol {
    list-style: decimal;
    margin-left: 1.5em;
  }
  #codex li h2,
  #codex li h3,
  #codex li h4,
  #codex li h5 {
    display: inline;
  }
  li:has(h2),
  li>h2 {
    font-size: 48px;
    font-weight: 500;
    margin-top: 60px;
  }
  li:has(h3),
  li>h3,
  li:has(a),
  li>a {
    font-size: 20px;
    font-weight: 400;
    margin-top: 6px;
  }




  /****************************************************************************************
   * CODEX ARTICLE PAGES                                                                  *
   ****************************************************************************************/
  #codex-article article {
    max-width: 800px;
    margin: 150px auto;
  }
  #codex-article article header h1 {
    font-size: 120px;
    text-align: center;
    margin-bottom: 60px;
    font-weight: 400;
  }
  #codex-article article section h2 {
    font-size: 48px;
    font-weight: 500;
    margin-top: 60px;
  }
  #codex-article article section p {
    font-size: 20px;
    margin-top: 12px;
  }
  #codex-article article section ul {
    margin-left: 20px;
    font-size: 20px;
  }




  /****************************************************************************************
   * 404 PAGE                                                                             *
   ****************************************************************************************/
  #p404 {
    height: 100vh;
    width: 100%;
    align-items: center;
    justify-items: center;
    align-content: center;
    justify-content: center;
    text-align: center;
  }
  #p404 h1 {
    font-size: 102px;
    font-weight: 500;
    margin-bottom: 40px;
    color: var(--darkGreen);
  }
  #p404 p {
    font-size: 26px;
  }




  /****************************************************************************************
   * POLICY PAGES                                                                         *
   ****************************************************************************************/
  #policy {
    margin: 150px auto;
    max-width: 900px;
  }
  #policy h1 {
    font-size: 56px;
  }
  #policy h2 {
    font-size: 32px;
    margin-top: 40px;
  }
  #policy a {
    text-decoration: underline;
  }
  #policy a:hover {
    color: var(--green);
    text-decoration: none;
  }
  #policy ul {
    margin-left: 20px;
  }
  }