@media screen and (min-width: 426px) and (max-width: 768px) {
  main{
    overflow-x: hidden;
    background-color: hsl(240, 100%, 5%);
    color: white;
  }

  .hlt-ctn{
    width: 100%;
    height: 100px;
  }

  .hlt-img{
    background-image: url(/assets/images/search.jpeg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100% 100%;
    width: 100%;
    height: 100%;
    display: flex;
    padding: 0 20px;
  }

  .hlt-img h1{
    color: rgb(0, 0, 128);
    align-self: center;
    font-size: 4vw;
  }

  .main-2{
    padding: 30px 40px 50px;
  }

  .search-ctn{
    width: 100%;
    height: auto;
  }

  .search-wrapper{
    display: flex;
    flex-wrap: nowrap;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-bottom: 50px;
  }

  .search-wrapper h2{
    color: gainsboro;
  }

  .searchform-2{
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    width: 80vw;
    height: 50px;
    position: relative;
  }

  .searchform-2 > svg{
    position: absolute;
    left: 5px;
  }

  .searchinput-2{
    padding: 10px 10px 10px 45px;
    border: none;
    border-radius: 10px 0 0 10px;
    outline: none;
    flex: 1;
    height: 100%;
    font-size: 16px;
  }

  .searchform-2 button{
    padding: 10px 30px;
    color: white;
    background-color: rgb(0, 0, 180);
    border: none;
    border-radius: 0 10px 10px 0;
    height: 100%;
    cursor: pointer;
  }

  .searchform-2 button:hover{
    background-color: #4c00ff;
  }

  .item {
    padding: 15px;
    border: 1px solid #ddd;
    margin-bottom: 15px;
    border-radius: 5px;
  }

  .item a{
    color: #f4eeff;
  }

  .item a:hover{
    color: blue;
  }

  .highlight {
    background-color: rgb(0, 0, 255);
    color: ghostwhite;
  }
  .query-display {
    font-size: 18px;
    margin-bottom: 10px;
    color: gainsboro;
  }
  .results-count {
    color: gainsboro;
    margin-bottom: 20px;
  }
  .pagination {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    flex-wrap: nowrap;
  }
  .pagination button {
    padding: 5px 10px;
    background: #f0f0f0;
    color: #333;
    border: 1px solid #ddd;
    min-width: 40px;
    cursor: pointer;
    border-radius: 3px;
    font-weight: bolder;
  }
  .pagination button.active {
    background: blue;
    color: white;
  }
  .pagination button:hover:not(.active) {
    background: rgb(0, 0, 139);
    color: white;
  }

  /* .dft-faqs-ctn{
    margin: 40px 0 100px;
    justify-self: center;
  }

  .dft-faqs-wrap ul{
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 50px;
  }

  .dft-faqs-wrap li{
    border-radius: 10px;
    border: 1px solid gainsboro;
    background-color: rgba(0, 0, 54, 0.651);
  }

  .dft-faqs-item{
    padding: 20px 50px;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 10px;
    align-items: center;
  }

  .dft-faqs-item h3{
    color: rgb(233, 233, 255);
  }

  .img-ctn{
    width: 200px;
    height: 200px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100% 100%;
  }

  .img-1{
    background-image: url(/assets/images/website.png);
  }

  .img-2{
    background-image: url(/assets/images/website.png);
  }

  .img-3{
    background-image: url(/assets/images/website.png);
  }

  .img-4{
    background-image: url(/assets/images/website.png);
  }

  .img-5{
    background-image: url(/assets/images/website.png);
  }

  .img-6{
    background-image: url(/assets/images/website.png);
  }

  .dft-faqs-item a{
    text-decoration: none;
    padding: 10px 30px;
    background-color: #4c00ff;
    color: white;
    border-radius: 5px;
  }

  .dft-faqs-item a:hover{
    text-decoration: underline;
    background-color: #007bff;
  } */

  .faqs-ctn{
    margin-top: 40px;
  }

  .faqs-ctn h2{
    margin-bottom: 30px;
  }

  .faqs-ctn ul{
    list-style: none;
  }

  .faqs-ctn li{
    position: relative;
  }

  .faqs-item{
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    position: relative;
    padding: 15px;
    cursor: pointer;
  }

  .faqs-item:hover{
    text-decoration: 2px underline rgb(190, 190, 209);
  }

  .line-up, .line-down{
    width: 100%;
    height: 1px;
    background-color: gray;
    position: absolute;
  }

  .line-up{
    top: 0;
  }

  .line-down{
    bottom: 0;
  }

  .faqs-item h4{
   color: rgb(190, 190, 209);
  }

  .answer-ctn{
    padding: 15px;
    display: none;
    color: gainsboro;
  }

  .show{
    display: block;
  }

  .rotate{
    transform: rotate(90deg) ;
  }

  .more-info{
    margin-top: 50px;
  }

  .more-info h3{
    margin-bottom: 5px;
    color: rgb(0, 0, 255);
  }

  .more-info p{
    color: rgb(240, 240, 240);
  }

  .more-info a{
    color: rgb(0, 0, 255);
  }

  .more-info a:hover{
    color: rgb(0, 0, 153);
  }
}