    body {
      font-family: Inter, Arial;
      background: #f5f7fb;
      margin: 0;
      color: #111
    }
    nav{
      width: 100%;
      /* background-color: red; */
      display: flex;
      justify-content: space-between;
      align-items: center;
      /* padding: 2px 10px; */
    }
    nav h1{
      margin-left: 10px;
      /* font-family: 'Courier New', Courier, monospace; */
      font-family: "Orbitron", sans-serif;
      font-size: 30px;
    }
    ul{
      list-style: none;
      display: flex;
      margin-right: 10px;
    }

    .search-bar{
      width: 300px;
      background-color: rgb(235, 235, 235);
      display: flex;
      align-items: center;
      border-radius: 10px;
      padding:8px;
      margin:0 15px;
    }
    .search-bar input{
      width: 100%;
      border: 0;
      outline: 0;
      background: transparent;
      font-size: 14px ;
    }

    ul li img{
      height: 35px;
      width: 35px;
      /* background-color: green; */
      /* border: 1px solid black; */
      /* border-radius: 20px; */
      margin: 0 5px;
    }

    .categories {
      display: flex;
      justify-content: center;
      gap: 10px;
      margin-bottom: 20px;
      flex-wrap: wrap;
      margin: 15px 0;
      padding: 5px 10px;
      /* background: red; */
    }
    
    .categories button {
      padding: 8px 16px;
      border: none;
      border-radius: 20px;
      background-color: rgb(235, 235, 235);
      cursor: pointer;
      font-size: 14px;
    }

    .grid {
      margin: 20px 0 0;
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
      gap: 15px;
      padding: 0 20px 40px
    }

    .card {
      background: #fff;
      border-radius: 10px;
      padding: 12px;
      box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
      cursor: pointer
    }

    .card-img {
      width: 100%;
      height: 140px;
      background: #eaeef5;
      border-radius: 8px;
      margin-bottom: 10px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #888
    }

    .card h3 {
      margin: 0;
      font-size: 16px;
    }

    .card p {
      margin: 5px 0 0;
      font-size: 12px;
      color: #666
    }

    .overlay {
      position: fixed;
      inset: 0;
      background: rgba(0, 0, 0, 0.5);
      display: none;
      align-items: center;
      justify-content: center
    }

    .modal {
      width: 600px;
      max-width: 90%;
      background: #fff;
      border-radius: 12px;
      padding: 20px;
      position: relative;
      max-height: 90vh;
      overflow: auto
    }

    .modal::-webkit-scrollbar {
      width: 6px;
    }

    .modal h2{
      margin-bottom: 5px;
    }

    .modal h4{
      color: gray;
      font-size: 14px;
      font-style: italic;
      margin-top: 8px;
      margin-bottom: 5px;
    }
    #modaltool{
      opacity: 0;
      display: none;
    }
    .close {
      position: absolute;
      top: 10px;
      right: 10px;
      font-size: 30px;
      cursor: pointer;
      background-color: rgb(0, 0, 0);
      color: white;
      padding: 3px 10px;
      border: 5px solid white;
      border-radius: 20px;
    }

    .image {
      /* height: 100%; */
      width: 100%;
      aspect-ratio: 4/2;
      background: #eaeef5;
      border-radius: 8px;
      margin-bottom: 15px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #888
    }

    .meta {
      color: #777;
      font-size: 13px;
      margin-bottom: 10px
    }

    hr {
      border: none;
      border-top: 1px solid #eee;
      margin: 15px 0
    }

    .box {
      background: #f7f9fc;
      padding: 12px;
      border-radius: 8px;
      white-space: pre-wrap
    }

    .actions {
      margin-top: 15px;
      display: flex;
      gap: 10px
    }

    .btn {
      padding: 10px 14px;
      border: none;
      border-radius: 8px;
      cursor: pointer
    }
    .genimg{
      background-color: black;
      color: white;
    }

    .primary {
      background: #2c7be5;
      color: #fff
    }

    .secondary {
      background: #eef3ff
    }

    .note {
      margin-top: 12px;
      font-size: 14px;
      color: #444;
      display: none
    }

    footer {
      text-align: center;
      padding: 20px;
      color: #777;
      font-size: 13px
    }

    @media screen and (max-width:750px){
      nav{
        flex-direction: column;
      }
      ul li{
        position: absolute;
        top: 5px;
      }
      .menu{
        right: 10px;
      }
      .h{
        left:10px;
      }
    }