
body {
  font-family: 'Roboto', Arial, sans-serif;
  margin: 0;
  padding: 0;
  background: #0d1b2a;
  color: #ffffff;
}
header {
  background: #1b263b;
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
nav ul {
  list-style: none;
  display: flex;
  gap: 1rem;
}
nav ul li a {
  color: white;
  text-decoration: none;
}
#menuToggle {
  display: none;
}

.active a {
  color: #4FC3F7;
  font-weight: bold;
}
/*main {
    > * {
        flex: 1 1 50%;
        max-width: 50%;
    }
 
    flex-direction: row;
    justify-content: space-between;
    align-items: stretch;
    width: 100%;
    gap: 1rem;
  padding: 1rem;
}*/

main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    position: relative;
    height: 85vh;
    
    justify-content: center;
    align-items: center;
    color: #fff;
    
    background:url('https://images-assets.nasa.gov/image/PIA22088/PIA22088~medium.jpg') no-repeat center center/cover ;
    
    overflow: hidden;
    z-index: 1;
   
    
    

}
main::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.0); /* This darkens the image by ~50% */
  z-index: -1;
}



.big-font {
    font-size: 5rem;
    font-weight: bold;
    padding: 1rem;
    margin: 1rem;
}

.small-font {
    font-size: 1.1rem;
    
    padding: 1rem;
    margin: 1rem;
    color: #b9b9bb !important;
    line-height: 1.65em
    
    
}

.intro {
    align-items: end;
    display: flex;
    justify-content: flex-start;
    align-items: flex-end;
    height: 100%;
    margin-bottom: 5rem;
    
}

.remarks {
    height: 100%;
    padding: 10px;
    margin-left: 10px;
    
}
.title {
    padding-left: 1rem;
    
}

  ul {
    list-style: none;
    padding: 0;
    column-count: 2;
    column-gap: 20px;
    padding: 10px;
  }

  #itemList li {
    padding: 5px;
    border: 1px solid #ccc;
    margin-bottom: 8px;
    border-radius: 6px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(13, 28, 43,0.8);
  }

   .detail-btn {
      background: rgba(0,0,110,0.4);
      border: none;
      color: white;
      padding: 6px 12px;
      border-radius: 20px;
      cursor: pointer;
      z-index: 3;
      transition: background 0.3s;
      display: flex;
      align-items: center;
      gap: 1px;
    }

  .detail-btn:hover {
      background: rgba(110,0,0,0.7);
    }

    .detail-btn svg {
      width: 14px;
      height: 14px;
      fill: white;
    }

  .modal {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
  }

  .modal.hidden {
    display: none;
  }

  .modal-content {
    background: rgba(0,0,0,0.6);
    padding: 20px;
    width: 400px;
    border-radius: 8px;
    position: relative;
  }

  .close {
    position: absolute;
    top: 10px; right: 15px;
    font-size: 20px;
    color: red;
    cursor: pointer;
  }





/*

   .container {
      position: relative;
    }

    .learn-btn {
      background: #1e88e5;
      color: white;
      border: none;
      padding: 0.6em 1.2em;
      cursor: pointer;
      font-size: 1rem;
      border-radius: 6px;
      bottom: 0;
    }

    .method-list {
      position: absolute;
      bottom: 100%;
      right: 0;
      background: #222;
      border: 1px solid #444;
      border-radius: 6px;
      padding: 10px;
      margin-bottom: 8px;
      display: none;
      width: 300px;
    }

    .method-item {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 6px 4px;
      position: relative;
      border-bottom: 1px solid #333;
    }

    .method-item:last-child {
      border-bottom: none;
    }

    .info-icon {
      cursor: pointer;
      margin-left: 8px;
      font-size: 1rem;
      color: #ccc;
    }

    .tooltip {
      position: absolute;
      background: #333;
      color: #fff;
      padding: 12px;
      border-radius: 6px;
      width: 320px;
      display: none;
      z-index: 999;
      line-height: 1.5;
      font-size: 0.95rem;
      box-shadow: 0 0 10px rgba(0,0,0,0.5);
    }

    .tooltip::before {
      content: "";
      position: absolute;
      width: 0;
      height: 0;
      border-style: solid;
    }

    /* Top arrow *
    .tooltip.top::before {
      left: -12px;
      top: 10px;
      border-width: 6px 6px 6px 0;
      border-color: transparent #333 transparent transparent;
    }

    /* Bottom arrow *
    .tooltip.bottom::before {
      left: -12px;
      bottom: 10px;
      border-width: 6px 6px 6px 0;
      border-color: transparent #333 transparent transparent;
    }*/

    .container {
      position: relative;
    }

    .learn-btn {
      background: #083359;
      color: white;
      border: none;
      padding: 0.6em 1.2em;
      cursor: pointer;
      font-size: 1rem;
      border-radius: 6px;
    }

    .method-list {
      position: absolute;
      bottom: 100%;
      left: 0;
      background: #222;
      border: 1px solid #444;
      border-radius: 6px;
      padding: 10px;
      margin-bottom: 8px;
      display: none;
      width: 300px;
      z-index: 10;
      opacity: 0;
      transform: translateY(20px);
      transition: opacity 0.3s ease, transform 0.3s ease;
    }

    .method-list.show {
      display: block;
      opacity: 1;
      transform: translateY(0);
    }

    .method-item {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 6px 4px;
      position: relative;
      border-bottom: 1px solid #333;
    }

    .method-item:last-child {
      border-bottom: none;
    }

    .info-icon {
      cursor: pointer;
      margin-left: 8px;
      font-size: 1rem;
      color: #ccc;
    }

    .tooltip {
      position: absolute;
      background: #333;
      color: #fff;
      padding: 12px;
      border-radius: 6px;
      width: 340px;
      display: none;
      z-index: 999;
      line-height: 1.5;
      font-size: 0.95rem;
      box-shadow: 0 0 10px rgba(0,0,0,0.5);
      opacity: 0;
      transition: opacity 0.25s ease;
    }

    .tooltip.visible {
      display: block;
      opacity: 1;
    }

    .tooltip::before {
      content: "";
      position: absolute;
      left: -6px;
      width: 0;
      height: 0;
      border-style: solid;
      border-width: 6px 6px 6px 0;
      border-color: transparent #333 transparent transparent;
      transition: top 0.2s ease;
    }

    .tooltip .actions {
      margin-top: 10px;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .tooltip .actions button {
      padding: 4px 10px;
      font-size: 0.9rem;
      border: none;
      background: #1e88e5;
      color: #fff;
      border-radius: 4px;
      cursor: pointer;
    }

    .tooltip .actions a {
      color: #90caf9;
      font-size: 0.9rem;
      text-decoration: none;
    }


/*
  .container {
      position: relative;
    }

    .learn-btn {
      background: #1e88e5;
      color: white;
      border: none;
      padding: 0.6em 1.2em;
      cursor: pointer;
      font-size: 1rem;
      border-radius: 6px;
    }

    .method-list {
      position: absolute;
      bottom: 100%;
      left: 0;
      background: #222;
      border: 1px solid #444;
      border-radius: 6px;
      padding: 10px;
      margin-bottom: 8px;
      display: none;
      width: 300px;
      z-index: 10;
      opacity: 0;
      transform: translateY(20px);
      transition: opacity 0.3s ease, transform 0.3s ease;
    }

    .method-list.show {
      display: block;
      opacity: 1;
      transform: translateY(0);
    }

    .method-item {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 6px 4px;
      position: relative;
      border-bottom: 1px solid #333;
    }

    .method-item:last-child {
      border-bottom: none;
    }

    .info-icon {
      cursor: pointer;
      margin-left: 8px;
      font-size: 1rem;
      color: #ccc;
    }

    .tooltip {
      position: absolute;
      background: #333;
      color: #fff;
      padding: 12px;
      border-radius: 6px;
      width: 340px;
      display: none;
      z-index: 999;
      line-height: 1.5;
      font-size: 0.95rem;
      box-shadow: 0 0 10px rgba(0,0,0,0.5);
      opacity: 0;
      transition: opacity 0.25s ease;
    }

    .tooltip.visible {
      display: block;
      opacity: 1;
    }

    .tooltip::before {
      content: "";
      position: absolute;
      width: 0;
      height: 0;
      border-style: solid;
      border-width: 6px 6px 6px 0;
      border-color: transparent #333 transparent transparent;
      transition: top 0.2s ease;
      left: -6px;
    }

    .tooltip.top::before {
      left: -12px;
      top: 10px;
      border-width: 6px 6px 6px 0;
      border-color: transparent #333 transparent transparent;
    }

    .tooltip.bottom::before {
      left: -12px;
      bottom: 10px;
      border-width: 6px 6px 6px 0;
      border-color: transparent #333 transparent transparent;
    }

    .tooltip .actions {
      margin-top: 10px;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .tooltip .actions button {
      padding: 4px 10px;
      font-size: 0.9rem;
      border: none;
      background: #1e88e5;
      color: #fff;
      border-radius: 4px;
      cursor: pointer;
    }

    .tooltip .actions a {
      color: #90caf9;
      font-size: 0.9rem;
      text-decoration: none;
    }*/



    @media (max-width: 700px) {
       *, *::before, *::after {
  box-sizing: border-box;
}
  
  nav ul.show {
    display: flex;
  }
  #menuToggle {
    display: block;
    background: none;
    color: white;
    border: none;
    font-size: 2rem;
  }
      header {
        flex-direction: column;
        align-items: flex-start;
        padding: 0.5rem 1rem;
      }

      nav ul {
        flex-direction: column;
        gap: 0.5rem;
        width: 100%;
        padding-left: 0;
      }

      main {
        grid-template-columns: 1fr;
        height: auto;
        min-height: 80vh;
        padding: 0.5rem;
      }

      .big-font {
        font-size: 2.2rem;
        padding: 0.5rem;
        margin: 0.5rem 0;
      }

      .small-font {
        font-size: 1rem;
        padding: 0.5rem;
        margin: 0.5rem 0;
      }

      .intro {
        margin-bottom: 2rem;
        flex-direction: column;
        align-items: flex-start;
        height: auto;
      }

      .remarks {
        margin-left: 0;
        padding: 5px;
      }

      ul {
        column-count: 1;
        column-gap: 0;
        padding: 5px;
      }

      #itemList li {
        flex-direction: column;
        align-items: flex-start;
        font-size: 1rem;
        padding: 8px;
      }

      .modal-content {
        width: 95vw;
        min-width: 0;
        padding: 10px;
      }

      .method-list {
        width: 95vw;
        min-width: 0;
        left: 0;
        right: 0;
      }

      .tooltip {
        width: 95vw;
        min-width: 0;
        left: 0;
        right: 0;
      }
    }