* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html,
body {
  height: 100%;
  width: 100%;
  background-color: black;
}

@font-face {
  font-family: "Font Awesome 6 Free Regular";
  src: url("https://db.onlinewebfonts.com/t/df9ece6de7432b6e5aea5dff440257c0.eot");
  src: url("https://db.onlinewebfonts.com/t/df9ece6de7432b6e5aea5dff440257c0.eot?#iefix")
      format("embedded-opentype"),
    url("https://db.onlinewebfonts.com/t/df9ece6de7432b6e5aea5dff440257c0.woff2")
      format("woff2"),
    url("https://db.onlinewebfonts.com/t/df9ece6de7432b6e5aea5dff440257c0.woff")
      format("woff"),
    url("https://db.onlinewebfonts.com/t/df9ece6de7432b6e5aea5dff440257c0.ttf")
      format("truetype"),
    url("https://db.onlinewebfonts.com/t/df9ece6de7432b6e5aea5dff440257c0.svg#Font Awesome 6 Free Regular")
      format("svg");
}

.bai-jamjuree-regular {
  font-family: "Bai Jamjuree", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.istok-web-regular {
  font-family: "Istok Web", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.mobilenavbar {
  display: none;
  flex-direction: column;
  height: fit-content;
  width: 100%;
  padding: 20px 40px;
  font-family: "Bai Jamjuree", sans-serif;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 10;
  backdrop-filter: blur(8px);
  justify-content: space-between;
}

.mobilenavbar .logoblock {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mobilenavbar .logoblock .img {
  font-size: 2.8rem;
  background: linear-gradient(150.174deg, #7700ff 40%, #dd5e5e 90%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.mobilenavbar .logoblock i {
  font-size: 2.1rem;
  color: white;
  cursor: pointer;
}

.mobilenavbar .mobilesubnav {
  display: flex;
  flex-direction: column;
  gap: 25px;
  padding: 120px 0;
}

.mobilenavbar .mobilesubnav a {
  color: white;
  text-decoration: none;
  font-size: 2.6rem;
}

.mobilenavbar a {
  font-size: 1.5rem;
}

.no-scroll {
  overflow: hidden;
}

.designmain {
  height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  font-family: "Bai Jamjuree", sans-serif;
  background-color: black;
  color: white;
  position: relative;
}

.designmain .navbar {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgb(36, 36, 36);
  padding: 15px 50px;
}

.designmain .navbar i {
  font-size: 1.4rem;
  display: none;
  cursor: pointer;
}

.designmain .navbar .img {
  font-size: 2.1rem;
  background: linear-gradient(150.174deg, #7700ff 40%, #dd5e5e 90%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.designmain .navbar .subnav {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-left: 40px;
}
.designmain .navbar .subnav a {
  text-decoration: none;
  color: grey;
  font-size: 1rem;
}
.designmain .navbar span {
  font-size: 1.1rem;
}

.designmain .navbar .subnav a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 10%;
  width: 0%;
  background-color: white;
  transition: all linear 0.26s;
  border-radius: 50%;
}

.designmain .navbar .subnav a:hover::after {
  width: 100%;
  transition: all ease 0.5s;
}

.designmain .navbar a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 10%;
  width: 0%;
  background-color: white;
  transition: all linear 0.26s;
  border-radius: 50%;
}

.designmain .navbar a:hover::after {
  width: 100%;
  transition: all ease 0.5s;
}

.designmain .page {
  width: 100%;
  display: flex;
  flex-direction: column;
  /* background-image: url(""); */
}
.designmain .page .searchbox {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 50px 50px 20px 50px;
}
.designmain .page .searchbox .liveweb {
  display: flex;
  align-items: center;
  gap: 12px;
}
.designmain .page .searchbox .liveweb i {
  font-size: 1.4rem;
  color: #63f;
}
.designmain .page .searchbox .liveweb span {
  color: #a6a6a6;
  font-size: 1.3rem;
}

.designmain .page .webdesignseries {
  height: 475px;
  padding-top: 45px;
  padding-left: 45px;
  display: flex;
  width: 100%;
  align-items: center;
  gap: 20px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.designmain .page .webdesignseries::-webkit-scrollbar {
  display: none;
}

.card {
  min-width: 330px;
  width: 330px;
  border-radius: 20px;
  background-color: rgb(30, 30, 30);
  padding: 5px;
  overflow: hidden;
  box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 20px 0px;
  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.card:hover {
  transform: scale(1.05);
}

.card .top-section {
  position: relative;
  height: 300px;
  border-radius: 15px;
  display: flex;
  flex-direction: column;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

.card .top-section .border {
  border-bottom-right-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 30px;
  width: 130px;
  background: white;
  /* background: #1b233d; */
  background-color: rgb(30, 30, 30);
  position: relative;
  /* transform: skew(-40deg); */
  box-shadow: -10px -10px 0 0 rgb(30, 30, 30);
  color: #63f;
}

.card .top-section .border::before {
  content: "";
  position: absolute;
  width: 15px;
  height: 15px;
  top: 0;
  right: -15px;
  /* background: rgba(255, 255, 255, 0); */
  background-color: rgb(30, 30, 30, 0);
  border-top-left-radius: 10px;
  box-shadow: -5px -5px 0 2px rgb(30, 30, 30);
}

.card .top-section::before {
  content: "";
  position: absolute;
  top: 30px;
  left: 0;
  /* background: rgba(255, 255, 255, 0); */
  background-color: rgb(30, 30, 30);
  border-bottom-right-radius: 20px;
  height: 15px;
  width: 15px;
  border-top-left-radius: 15px;
  box-shadow: -5px -5px 0 2px rgb(30, 30, 30);
}

.card .bottom-section {
  margin-top: 15px;
  padding: 10px 5px;
}

.card .bottom-section .title {
  display: block;
  font-size: 17px;
  font-weight: bolder;
  color: white;
  text-align: center;
  letter-spacing: 2px;
}

.imgshow {
  overflow: hidden;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  position: absolute;
  top: 0;
  left: 0;
  backdrop-filter: blur(5px);
  display: none;
  align-items: center;
  justify-content: center;
}
.imgshow .imgcard {
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.imgshow .imgcard .img {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  width: 700px;
  height: 400px;
}
.imgshow .imgcard h2 {
  color: white;
  width: 100%;
  font-family: "Font Awesome 6 Free Regular";
  font-size: 1.4rem;
  text-align: center;
  letter-spacing: 5px;
}

.imgshow .imgcard i {
  font-size: 3rem;
  color: white;
  position: absolute;
  top: 60px;
  right: 60px;
  cursor: pointer;
}

@media (max-width: 1440px) {
  .designmain .navbar .img {
    font-size: 2rem;
  }
  .designmain .navbar .subnav {
    gap: 9px;
    padding-left: 50px;
  }
  .designmain .navbar .subnav a {
    font-size: 0.99rem;
  }
  .designmain .navbar span {
    font-size: 1rem;
  }
  .designmain .page .searchbox {
    padding: 50px 50px 20px 50px;
  }
  .designmain .page .searchbox .liveweb {
    gap: 10px;
  }
  .designmain .page .searchbox .liveweb i {
    font-size: 1.3rem;
  }
  .designmain .page .searchbox .liveweb h2 {
    font-size: 1.2rem;
  }
  .designmain .page .webdesignseries {
    height: 475px;
  }

  .imgshow .imgcard i {
    font-size: 2.8rem;
    top: 40px;
    right: 50px;
  }
}

@media (max-width: 1280px) {
  .designmain .navbar .img {
    font-size: 1.8rem;
  }
  .designmain .navbar .subnav {
    gap: 8px;
    padding-left: 60px;
  }
  .designmain .navbar .subnav a {
    font-size: 0.89rem;
  }
  .designmain .navbar span {
    font-size: 0.93rem;
  }
  .designmain .page .searchbox {
    padding: 50px 50px 25px 50px;
  }
  .designmain .page .searchbox .liveweb i {
    font-size: 1.2rem;
  }
  .designmain .page .searchbox .liveweb h2 {
    font-size: 1.1rem;
  }

  .card {
    min-width: 320px;
    width: 320px;
  }
  .imgshow .imgcard h2 {
    font-size: 1.35rem;
  }

  .imgshow .imgcard i {
    font-size: 2.7rem;
    top: 30px;
    right: 30px;
  }

}

@media (max-width: 1150px) {
  .designmain .navbar .img {
    font-size: 1.8rem;
  }
  .designmain .navbar .subnav {
    gap: 8px;
  }
  .designmain .navbar .subnav a {
    font-size: 0.89rem;
  }
  .designmain .navbar span {
    font-size: 0.9rem;
  }
  .designmain .page .searchbox {
    padding: 50px 50px 22px 50px;
  }
  .designmain .page .searchbox .liveweb i {
    font-size: 1.1rem;
  }
  .designmain .page .searchbox .liveweb h2 {
    font-size: 1rem;
  }

  .card {
    min-width: 310px;
    width: 310px;
  }

  .imgshow .imgcard h2 {
    font-size: 1.3rem;
  }

  .imgshow .imgcard i {
    font-size: 2.5rem;
    top: 20px;
    right: 20px;
  }
}

@media (max-width: 940px) {
  .designmain .navbar .img {
    font-size: 1.8rem;
  }
  .designmain .navbar .subnav {
    display: none;
  }
  .designmain .navbar span {
    display: none;
  }
}

@media (max-width: 768px) {
  .mobilenavbar {
    display: none;
  }
  .designmain .navbar i {
    font-size: 1.4rem;
    display: flex;
    color: white;
  }

  .designmain .navbar .subnav {
    gap: 8px;
  }
  .designmain .page .searchbox {
    padding: 50px 30px 22px 30px;
  }

  .designmain .page .webdesignseries {
    padding-left: 20px;
  }

  .card {
    min-width: 300px;
    width: 300px;
  }

  .imgshow .imgcard .img {
    width: 580px;
    height: 340px;
  }
  .imgshow .imgcard i {
    font-size: 2.1rem;
    top: 10px;
    right: 10px;
  }

}

@media (max-width: 610px) {
  /* .mobilenavbar .logoblock .img {
    font-size: 2.7rem;
  }

  .mobilenavbar .logoblock i {
    font-size: 2.3rem;
  }

  .mobilenavbar .mobilesubnav {
    gap: 35px;
  }

  .mobilenavbar .mobilesubnav a {
    font-size: 2.6rem;
  }

  .mobilenavbar a {
    font-size: 1.4rem;
  } */

  .mobilenavbar {
    padding: 20px 25px 47px 25px;
  }

  .mobilenavbar .logoblock .img {
    font-size: 2.7rem;
  }

  .mobilenavbar .logoblock i {
    font-size: 2.3rem;
  }

  .mobilenavbar .mobilesubnav {
    gap: 35px;
    padding: 100px 0;
  }

  .mobilenavbar .mobilesubnav a {
    font-size: 2.5rem;
  }

  .mobilenavbar a {
    font-size: 1.3rem;
  }

  .designmain .page .searchbox {
    padding: 50px 10px 22px 30px;
  }

  .card {
    min-width: 300px;
    width: 300px;
  }
}

@media (max-width: 550px) {
  /* .mobilenavbar{
    padding: 20px 25px 25px 25px ;
  }

  .mobilenavbar .logoblock .img{
    font-size: 2.6rem;
   }
   
   .mobilenavbar .logoblock i{
     font-size: 2.5rem;
   }
   
   .mobilenavbar .mobilesubnav{
     gap: 38px;
   }
   
   .mobilenavbar .mobilesubnav a{
     font-size: 2.4rem;
   }
   
   .mobilenavbar a{
     font-size: 1.4rem;
   } */
  .mobilenavbar .logoblock .img {
    font-size: 2.6rem;
  }

  .mobilenavbar .logoblock i {
    font-size: 2.5rem;
  }

  .mobilenavbar .mobilesubnav {
    gap: 40px;
    padding: 110px 0;
  }

  .mobilenavbar .mobilesubnav a {
    font-size: 2.4rem;
  }

  .mobilenavbar a {
    font-size: 1.4rem;
  }

  .designmain .navbar {
    padding: 15px 20px;
  }

  .designmain .page .searchbox {
    padding: 50px 10px 30px 20px;
  }

  .designmain .page .searchbox .liveweb h2 {
    font-size: 1.5rem;
  }

  .card {
    min-width: 300px;
    width: 300px;
  
  }


  .imgshow .imgcard .img {
    width: 490px;
    height: 285px;
  }

  .imgshow .imgcard i {
    font-size: 2rem;
  }

}

@media (max-width: 470px) {
  .mobilenavbar .logoblock .img {
    font-size: 2.3rem;
  }

  .mobilenavbar .logoblock i {
    font-size: 2rem;
  }

  .mobilenavbar .mobilesubnav a {
    font-size: 2.3rem;
  }

  .mobilenavbar a {
    font-size: 1.4rem;
  }

  .designmain .page .searchbox {
    padding: 50px 10px 30px 20px;
  }

  .designmain .page .webdesignseries {
    padding-left: 15px;
    gap: 13px;
  }

  .designmain .page .searchbox .liveweb {
    gap: 5px;
  }

  .designmain .page .searchbox .liveweb h2 {
    font-size: 1.4rem;
  }

  
  .imgshow .imgcard .img {
    width: 400px;
    height: 230px;
  }
}
@media (max-width : 380px) {
  .imgshow .imgcard .img {
    width: 345px;
    height: 205px;
  }
}