*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: '-apple-system', 'BlinkMacSystemFont', 'Segoe UI', 'Roboto', sans-serif;
  text-decoration: none;
  list-style: none;
}
body{
  min-height: 100%;
  background:  rgb(32, 85, 85);

}
header{
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  background: white;
  height: 120px;
  box-shadow: 0 8px 10px rgb(18, 18, 44);
  padding: 5px 7%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 1000;

}
header .logo {
  font-weight: bolder;
  font-size: large;
  color: black;
}
header .logo img{
  width: 100px;
  height: 100px;
}
header .navbar ul {
   list-style: none;
}
header .navbar ul li{
  position: relative;
  float: left;
}
header .navbar ul li a{
  padding: 10px;
  color: black;
  display: block;
  border-radius: 5px;
}
header .navbar ul li a:hover{
  background: black;
  color: white;
}
header .navbar ul li ul{
  position: absolute;
  width: 200px;
  background-color: white;
  left: 0;
  display: none;
  
}
header .navbar ul li ul li {
  width: 100%;
  border-top: 1px solid gray;
}
 header .navbar ul li ul li ul{
  left: 200px;
  top: 0;
 }
 header .navbar ul li:hover >ul, 
 header .navbar ul li:focus-within{
  display: initial;
 }
 #sidebar-active{
  display: none;

 }

 .open-sidebar-button{ 
  display: none;
 }
  header svg{
    fill: black;
    cursor: pointer;

  }

  div.Intro {
    background: white;
    min-height: 400px;
    color: black;
    margin-left: 15%;
    margin-top:  15%;
    margin-right: 15%;
    border-radius: 20px;
    width: auto;
    padding: 10px 30px;
  }

  div.Intro h1{
    font-weight: bolder;
    color: black;
    margin-bottom: 30px;
    text-transform: uppercase;
  }

  .Intro h2{
    font-weight: bold;
    color: black;
    margin-bottom: 20px;
  }
  .Intro p{
    text-decoration: none;
    font-style: oblique;
  }
  .Intro h3{
    font-weight: bold;
    margin: 20px 0;
  }
  .Intro span{
    display: flex;
    margin: 10px 0 ;
  }
  div.Products{
    background: white;
    min-height: 400px;
    color: black;
    margin: 2% 15%;
    border-radius: 20px;
    width: auto;
    padding: 10px 30px;
  }
  .Products h2{
    font-weight: bold;
    color: black;
    margin: 2% 0;
  }

  .Products span{
    color: black;
    margin: 2% 0;
  }

  .Products h3{
    font-weight: bold;
    margin-top: 2%;
  }

  .Products h4{
    margin-top: 1%;
    margin-bottom: 0.25%;
    font-weight: bold;
  }
.Moto{
  min-height: 400px;
  background: white;
  color: black;
  margin:  0 15%;
  width: auto;
  padding: 10px 30px;
  border-radius: 20px;
}

.Moto h1{
  font-weight: bold;
  margin: 2% auto;

}
.Moto p span{
  font-weight: bold;
 
}
.Moto p{
  margin-top: 2%;
}

.footercontainer{
  min-height: 200px;
  background-color: black;
  color: white;
  margin-top: 15px;
  padding: 40px 30px 20px;
  
}
.socials{
display: flex;
justify-content: center;
}
.socials a{
  padding: 5px;
  margin: 10px;
  border-radius: 50%;
  background-color: white;
}

.socials a i{
  font-size: 2em;
  color: black;
  opacity: 0.9;
}
.socials a:hover{
background-color: black;
transition: 0.5s;
}
.socials a i:hover{
  color: white;
}


.footerNav {
  margin: 30px 0;
}

.footerNav ul{
  display: flex;
  justify-content: center;
}
.footerNav ul li a{

  color: white;
  margin: 5px;
  text-decoration: none;
  opacity: 0.7s;
  transition: 0.5s;
  padding: 5px;
  border-radius: 2px;
}
.footerNav ul li a:hover{
  background-color: white;
  color: black;
  transition: 0.5s;
}
.footerbottom{
  background-color: black;
  
  padding: 20px;
  text-align: center;
}
.footerbottom{
  color: white;
}


@media (max-width:600px){
    header{
      padding: 10px;
    }
    header svg{
      display: initial;
    }
    header .navbar{
      position: absolute;
      left: 0;
      top: 100%;
      right: 0;
      background: rgb(161, 188, 211);
      border-top: 1px solid gray;
      display: none;
    }
    header .navbar ul li{
      width: 100%;
    
    }
    header .navbar ul li ul{
      position: relative;
      width: 100%;
      left: 20px;
    }
    header .navbar ul li ul li{
      background:rgb(161, 188, 211);
      
    }
    header .navbar ul li ul li ul{
      width: 100%;
      left: 60px;
      
    }
    .open-sidebar-button{
      display: block;
    }
    #sidebar-active:checked~.navbar{
      display: initial;
    }
    header .logo{
      font-weight: bolder;
      font-size: 20px;
      color: black;
      margin-left: 0;
  }
  a.logo img{
      margin-left: 0;
      width: 70px;
      height: 70px;
  }
  .footerNav ul{
    flex-direction: column;

  }
  .footerNav ul li{
    width: 100%;
    text-align: center;
    margin: 10px;
  }
  }
  
  
    @media (max-width: 600px) {
    div.Intro {
        margin-top: 25%; /* Increase top margin on mobile */
        margin-left: 5%; /* Reduce side margins for better mobile view */
        margin-right: 5%;
        padding: 15px 20px; /* Adjust padding for mobile */
    }
}

@media (max-width: 600px) {
    div.Intro {
        margin-top: 30%; /* Even more space on very small screens */
        margin-left: 3%;
        margin-right: 3%;
        padding: 12px 15px;
    }
   div.Intro {
    background: white;
    min-height: 400px;
    color: black;
    margin-left: 5%;
    margin-top:  45%;
    margin-right: 5%;
    border-radius: 20px;
    width: auto;
    padding: 10px 30px;
  }
  
    
}