*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body{
    /* background-color:rgb(26, 24, 44) ; */
    color: #ffffff;
    position: relative;
    background-image: url("img.jpg");
    background-size: cover;
    background-repeat: no-repeat;

}
.nav-bar{
    height: 5rem;
    width: 100%;
    display: flex;
    background-color: #12141c96;
    
}
  .nav-logo{
    height: 5rem;
    text-align: center;
    display: flex;
    align-items: center;
    font-size: 26px;
    margin-left: 80px;
    color: rgb(255, 145, 1);
   cursor: pointer;

}
.items{
    overflow: hidden;
    display: flex;
    align-items: center;
    margin-left: 100px;
}
.items a{
    font-size: 24px;
    color: white;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    
  }
.dropdown{
    overflow: hidden;
}
.dropdown .dropbtn {
    font-size: 24px;  
    border: none;
    outline: none;
    color: white;
    padding: 14px 16px;
    background-color: transparent;
    font-family: inherit;
    margin: 0;
  }
  .li{
    margin-left: 75px;
    border-radius: 5px;
    background: linear-gradient(to left, transparent 50%, rgb(241, 138, 3) 50%) right;
    background-size: 201%;
    transition: .5s ease-out;
  }
  .items a:hover, .dropdown:hover .dropbtn {
    background-position: left;
  }
  .dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    margin-left:0px;
    
  }
  
.dropdown-content a {
    float: none;
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
    border-radius: 5px;
  }
  .dropdown-content a:hover {
    background-color: #ddd;
  }
  
  .dropdown:hover .dropdown-content {
    display: block;
  }

  /* search */

  .nav-search{
    height: 3rem;
    width: 20%;
    display: flex;
    float: right;
    margin-top: 16px;
    align-items: center;
    position: absolute;
    margin-left: 85rem;

  }
  .search-btn{
    height: 3rem;
    width: 100%;
    padding-left: 35px;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
    border: none;
    outline: none;
    font-size: 18px;
    
  }
  .search-icon{
    background-color: rgb(255, 145, 0);
    height: 3rem;
    width: 60px;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;

  }
  .img{
    height: 2rem;
    width: 40px;
  }

  /* container */
  .slider {
    height: 500px;
    width: 900px;
    margin: auto;
    overflow: hidden;
    position: relative;
    border: 20px solid #ffffff;
    margin-top: 200px;
  }
  .slides {
    display: flex;
    height: 500px;
    width: 900px;
    transition: transform 0.5s ease-in-out;
    
    margin: auto;
  
  }
 
  .slides img {
    width: 100%;
    flex-shrink: 0;
   
  }
  
  .navigation {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    height: 50px;
    display: flex;
    justify-content: space-between;
  }
  .navigation button {
    
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
  }
  .arow{
    height: 30px;
    width: 20px;
    

  }

  /* Tablet view (max-width: 1024px) */
@media (max-width: 1024px) {
  .nav-bar {
    flex-wrap: wrap;
    justify-content: center;
    height: auto;
    padding: 10px;
  }

  .nav-logo {
    margin-left: 0;
    justify-content: center;
    width: 100%;
  }

  .items {
    margin-left: 0;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
  }

  .li {
    margin-left: 20px;
    margin-top: 10px;
  }

  .nav-search {
    position: static;
    margin: 10px auto;
    width: 80%;
    justify-content: center;
  }

  .slider {
    width: 90%;
    height: auto;
  }

  .slides {
    width: 100%;
    height: auto;
  }

  .slides img {
    height: auto;
  }
}

/* Phone view (max-width: 600px) */
@media (max-width: 600px) {
  .nav-bar {
    flex-direction: column;
    align-items: center;
  }

  .nav-logo {
    font-size: 22px;
  }

  .items {
    flex-direction: column;
    align-items: center;
    margin-left: 0;
  }

  .li {
    margin-left: 0;
    margin-top: 8px;
    font-size: 18px;
  }

  .dropdown .dropbtn {
    font-size: 18px;
  }

  .nav-search {
    width: 90%;
    margin: 10px auto;
  }

  .search-btn {
    font-size: 16px;
  }

  .slider {
    width: 100%;
    height: auto;
    margin-top: 100px;
    border-width: 10px;
  }

  .slides {
    height: auto;
  }

  .slides img {
    width: 100%;
    height: auto;
  }

  .arow {
    width: 20px;
    height: 20px;
  }
}

  
  