*{
    margin: 0px;
}

html, body {
    background-color: black;
    background-repeat: no-repeat;
    height: 100%;
    width: 100%;
}


h1 {
    color: aqua;
}

img {
    margin: 700px;
    border-radius: 20px;
    margin: 0px;
}
#img{
    margin: 50px;
}
#imga{
    margin: 50px;
}
#imgb{
    margin: 50px;
}

body {
    font-family: Arial, sans-serif;
    background-size: cover;
    margin: 0;
    padding: 0;
    background-color: black;
    color: aqua;
    
}
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
    width: 95%;
    margin-left: 30px;
    margin-bottom: 10px;
    background-color: black;
    box-shadow: #0a0a0a;
    border-bottom: solid white 1px;
    position: fixed;
    z-index: 100;
}
h1 {
    font-family: serif;
    font-size: large;
    font-weight: bold;
    font-style: italic;
    font-variant: small-caps;
    font-kerning: auto;
    -webkit-flow-into: inherit;
    animation: bounce 0.6s ease-in-out;
}

@keyframes bounce {
    0% {
        opacity: 0;
        transform: translateY(-20px);

    }
    100%  {
        opacity: 1;
        transform: translateY(0);

    }
}
#logo img {
    height: 50px;
    animation: bounce 0.5s ease-in-out;
}
#nav-links {
    list-style: none;
    display: flex;
    float: left;
    align-items: center;
    justify-content: center;
    animation: bounce 0.7s ease-in-out;
}
#nav-links li {
    margin: 0 15px;
    color: aqua;
    animation: bounce 0.7s ease-in-out;
}
#nav-links a {
    text-decoration: none;
    color: aqua;
    animation: bounce 0.8s ease-in-out;
}
#menu-icon {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

.slider {
      width: 100%;
      overflow: hidden;
      position: relative;
    }

    .slides {
      display: flex;
      width: 400%;
      animation: slide 80s infinite linear;
    }

    .slide {
      display: flex;
      justify-content: space-around;
      align-items: center;
      width: 100%;
      
    }

    .slide img {
      width: 180px;
      height: 250px;
      border-radius: 80px;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    }

    @keyframes slide {
      0%   { transform: translateX(0%); }
      25%  { transform: translateX(-100%); }
      50%  { transform: translateX(-200%); }
      75%  { transform: translateX(-300%); }
      100% { transform: translateX(0%); }
    }

 
.search-container {
    position: relative;
    width: 200px;
    animation: bounce 0.8s ease-in-out;
}
#searchBox {
    width: 90%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin-right: 20px;
    animation: bounce 0.9s ease-in-out;
}
.popup {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: aqua;
    color: black;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    max-height: 200px;
    overflow-y: auto;
}
.popup div {
    padding: 10px;
    cursor: pointer;
}
.popup div:hover {
    background-color: #0b64eb;
}



li {
    display: flex;
    align-items: center;
    float: left;
    padding: 5px;
}
.scroll-container {
    display: flex;
    overflow-x: auto;
    white-space: nowrap;
    gap: 10px;
    padding: 10px;
    scroll-behavior: smooth;
    max-width: 100%;
    
}



/* mobile view*/
@media screen and (max-width: 768px) {
  body {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
    background-color: black;
  }

  #menu-icon {
    display: block;
  }

  #nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 70px;
    right: 0;
    width: 100%;
    background-color: black;
    padding: 10px 0;
  }

  #nav-links.active {
    display: flex;
  }

  #nav-links li {
    text-align: center;
    padding: 10px 0;
  }

  .navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
    margin: 0;
    padding: 0 10px;
    background-color: black;
    border-bottom: 1px solid white;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
  }

  h1 {
    color: #0ff;
    font-size: 20px;
    text-align: center;
    font-weight: bold;
    font-family: serif;
    font-variant: small-caps;
    font-style: italic;
    white-space: nowrap;
    animation: bounce 0.8s ease-in-out;
    margin: 0;
    padding: 0;
  }

  h2 {
    color: aqua;
    margin-top: 30px;
    font-size: 18px;
    text-align: center;
  }

  li {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
    float: none;
  }

  .first,
  .second,
  .third,
  .fourth,
  .fifth {
    background-color: black;
    width: 100%;
    height: auto;
    padding: 20px 10px;
    box-sizing: border-box;
  }

  #ruslaan,
  #stree,
  #img,
  #imga,
  #imgb,
  #imgc,
  #imgd,
  #imge,
  #imgf {
    margin: 20px auto;
    display: block;
    width: 90%;
    border-radius: 20px;
  }

  img {
    width: 100%;
    height: auto;
    border-radius: 10px;
  }

  .search-container {
    position: relative;
    width: 90%;
    margin: 20px auto;
    animation: bounce 0.8s ease-in-out;
  }

  #searchBox {
    width: 80%;
    padding: 8px;
    margin-left: 9px;
    border: 1px solid #ccc;
    border-radius: 5px;
    animation: bounce 0.9s ease-in-out;
  }

  .popup {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: aqua;
    color: black;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    max-height: 200px;
    overflow-y: auto;
  }

  .popup div {
    padding: 10px;
    cursor: pointer;
  }

  .popup div:hover {
    background-color: #0b64eb;
  }

  #logo img {
    height: 35px;
    animation: bounce 0.9s ease-in-out;
    margin-left: 10px;
  }
}
