html {
    background: url(spacee.jpg);
  }
  
  body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f0f0f0;
    background: url(spacee.jpg);
  }
  /* Add this to the existing CSS code */

/* Mobile devices (max-width: 480px) */
@media only screen and (max-width: 480px) {
    .brand {
      font-size: 24px;
      margin-left: 16px;
    }
  
    .container {
      flex-direction: column;
    }
  
    .item {
      width: 100%;
      margin: 12px;
    }
  
    .price {
      font-size: 20px;
    }
  
    button {
      height: 48px;
      width: 100%;
    }
  }
  
  /* Tablets (max-width: 768px) */
  @media only screen and (max-width: 768px) {
    .brand {
      font-size: 28px;
      margin-left: 24px;
    }
  
    .container {
      flex-direction: column;
    }
  
    .item {
      width: 100%;
      margin: 16px;
    }
  
    .price {
      font-size: 24px;
    }
  
    button {
      height: 56px;
      width: 100%;
    }
  }
  
  /* Desktops (min-width: 1024px) */
  @media only screen and (min-width: 1024px) {
    .brand {
      font-size: 32px;
      margin-left: 32px;
    }
  
    .container {
      flex-direction: row;
      flex-wrap: wrap;
      justify-content: space-around;
    }
  
    .item {
      width: 300px;
      margin: 20px;
    }
  
    .price {
      font-size: 28px;
    }
  
    button {
      height: 40px;
      width: 80px;
    }
  }
  
  /* Added media query for mobile devices */
  @media screen and (max-width: 768px) {
    .brand {
      font-size: 24px;
      margin-left: 16px;
    }
  
    .container {
      flex-direction: column;
    }
  
    .item {
      width: 100%;
      margin: 12px;
    }
  
    .price {
      font-size: 20px;
    }
  
    button {
      height: 48px;
      width: 100%;
    }
  }
  
  /* Existing styles */
  .brand {
    margin: auto;
    padding: auto;
    height: 50px;
    width: 300px;
    margin-top: 2px;
    font-size: 40px;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    color: white;
  }
  
  h3 {
    font-size: 28px;
    color: white;
  }
  
  .container {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    justify-content: space-around;
    background: url(spacee.jpg);
  }
  
  .item {
    width: 300px;
    margin: 20px;
    padding: 15px;
    background-color: #ffffff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s ease-in-out;
    justify-content: space-evenly;
    background: url(space.jpg);
    background-repeat: repeat;
    background-size: 100%;
    box-shadow: 1px 1px 14px 2px rgb(39, 38, 38), -1px -1px 14px 2px rgb(39, 38, 38);
  }
  
  .item:hover {
    transform: scale(1.03);
    background: url(bg.avif);
  }
  
  .item img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
  }
  
  .price {
    color: rgb(255, 255, 255);
    font-weight: bold;
    font-size: 28px;
  }
  
  #item-details {
    display: none;
  }
  
  .i {
    width: 100px;
    height: 300px;
  }
  
  .i:hover {
    transform: scale(1.5);
    transition-duration: 0.6s;
    transition-timing-function: ease-in-out;
  }
  
  .footer {
    align-items: center;
    text-align: center;
    justify-content: center;
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    font-size: 30px;
  }
  
  button {
    background-color: rgb(255, 0, 0);
    border: 2px solid rgb(255, 0, 0);
    border-radius: 20px;
    text-decoration: none;
    color: white;
    font-size: 18px;
    height: 40px;
    width: 80px;
    font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
      
  }
  .links{
      text-decoration: none;
      color: white;
  }
  @import url('https://fonts.googleapis.com/css?family=Roboto');
  body{
      margin: 0;
       padding: 0;
       font-family: 'Roboto', sans-serif;
  }
   .navigation {
       height: 55px;
       font-size: 20px;
       font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
       /* background: linear-gradient( #000000,rgb(111, 111, 111),rgb(173, 173, 173),rgb(111, 111, 111),black); */
  }
   .brand {
       position: absolute;
       padding-left: 20px;
       float: left;
       line-height: 55px;
       text-transform: uppercase;
       font-size: 1.4em;
  }
   .brand a, .brand a:visited {
       color: #ffffff;
       text-decoration: none;
  }
   .nav-container {
       max-width: 1000px;
       margin: 0 auto;
  }
   nav {
       float: right;
  }
   nav ul {
       list-style: none;
       margin: 0;
       padding: 0;
  }
   nav ul li {
       float: left;
       position: relative;
  }
   nav ul li a,nav ul li a:visited {
       display: block;
       padding: 0 20px;
       line-height: 55px;
       color: #fff;
       background: #262626 ;
       text-decoration: none;
  }
   nav ul li a{
       background: transparent;
       color: #FFF;
  }
   nav ul li a:hover, nav ul li a:visited:hover {
       background: #2581DC;
       color: #ffffff;
  }
   .navbar-dropdown li a{
       background: #2581DC;
  }
   nav ul li a:not(:only-child):after, nav ul li a:visited:not(:only-child):after {
       padding-left: 4px;
       content: ' \025BE';
  }
   nav ul li ul li {
       min-width: 190px;
  }
   nav ul li ul li a {
       padding: 15px;
       line-height: 20px;
  }
   .navbar-dropdown {
       position: absolute;
       display: none;
       z-index: 1;
       background: #fff;
       box-shadow: 0 0 35px 0 rgba(0,0,0,0.25);
  }
  /* Mobile navigation */
   .nav-mobile {
       display: none;
       position: absolute;
       top: 0;
       right: 0;
       background: transparent;
       height: 55px;
       width: 70px;
  }
   @media only screen and (max-width: 800px) {
       .nav-mobile {
           display: block;
      }
       nav {
           width: 100%;
           padding: 55px 0 15px;
      }
       nav ul {
           display: none;
      }
       nav ul li {
           float: none;
      }
       nav ul li a {
           padding: 15px;
           line-height: 20px;
           background: #262626;
      }
       nav ul li ul li a {
           padding-left: 30px;
      }
       .navbar-dropdown {
           position: static;
  }
   @media screen and (min-width:800px) {
       .nav-list {
           display: block !important;
      }
  }
   #navbarToggle {
       position: absolute;
       top: 0;
       right: 0;
       padding: 10px;
       font-size: 24px;
       cursor: pointer;
  }
   .navbar-dropdown a {
       color: #2581DC !important;
  }
   .navbar-dropdown a:hover {
       background: #f2f2f2;
       color: #2581DC !important;
  }
  
  @media (max-width: 768px) {
       .nav-list {
           display: none;
      }
       .nav-mobile {
           display: block;
      }
  }
  @media (max-width: 1024px) {
       .navbar-dropdown li a {
           padding: 15px 10px;
      }
  }
  </style>
  
  <div class="navigation">
      <div class="nav-container">
          <a href="#" class="brand">Company Name</a>
          <div id="navbarToggle">
              <span></span>
              <span></span>
              <span></span>
          </div>
          <nav>
              <ul class="nav-list">
                  <li><a href="#">Home</a></li>
                  <li><a href="#">About</a></li>
                  <li><a href="#">Services</a></li>
                  <li><a href="#">Contact</a></li>
              </ul>
          </nav>
      </div>
  </div>
  <script>
  document.getElementById('navbarToggle').addEventListener('click', function() {
      document.querySelector('.nav-list').classList.toggle('active');
  });
  </script>