@font-face {
  font-family: mona-sans;
  src: url(./font/Mona-Sans-Regular.ttf);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: mona-sans;
}

html,
body {
  height: 100%;
  width: 100%;
}

#main {
  width: 100%;
  min-height: 100vh;
  padding: 20px 20px;
  box-sizing: border-box;
  margin: 0 auto;
  max-width: 1600px;
}

#nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

#nav-left {
  display: flex;
  align-items: center;
  gap: 40px;
  flex: 1;
}

.nav-left svg {
  width: 89px;
}

.nav-center {
  display: flex;
  gap: 20px;
}

.nav-center a {
  text-decoration: none;
  font-size: 14px;
  color: #000;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-toggle {
  display: none;
  font-size: 24px;
  cursor: pointer;
}

.nav-right {
  display: flex;
  gap: 15px;
}

.nav-right button:nth-of-type(1) {
  background-color: transparent;
  border: none;
  font-weight: 600;
  font-size: 15px;
  white-space: nowrap;
}

.nav-right button:nth-of-type(2) {
  background-color: #000;
  border: none;
  color: #fff;
  border-radius: 50px;
  padding: 12px 18px;
  font-weight: 600;
  font-size: 15px;
  white-space: nowrap;
}

#hero {
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  margin: 20px 0;
  gap: 30px;
}

.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  order: 2;
}

.hero-left h1 {
  font-size: 36px;
  font-weight: 900;
  line-height: 1.2;
}

.hero-left p {
  font-size: 14px;
  line-height: 1.5;
}

.desktop-break {
  display: none;
}

.buttons {
  display: flex;
  gap: 20px;
  margin-top: 20px;
  align-items: center;
  flex-wrap: wrap;
}

.buttons .button {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  white-space: nowrap;
}

.buttons .button p {
  font-weight: 700;
}

.buttons svg {
  width: 19px;
}

.buttons .btn-1 {
  background-color: #3a3546;
  color: #fff;
  padding: 10px 16px;
  border-radius: 25px;
}

.hero-right {
  width: 100%;
  height: 300px;
  order: 1;
}

.hero-right>video {
  object-fit: cover;
  border-radius: 15px;
  width: 650px;
  height: 450px;
}

.search-btn {
  position: relative;
  margin-top: 10px;
}

.search-btn input {
  border: none;
  font-size: 15px;
  width: 100%;
  background-color: #f3f3f6;
  border-radius: 25px;
  padding: 16px 20px;
}

.search-btn input:hover {
  border: 1px solid #ec5e95;
  background-color: #fff;
}

.search-btn i {
  position: absolute;
  right: 10px;
  top: 10px;
  background-color: #ea4c89;
  border-radius: 50%;
  color: white;
  padding: 8px;
  font-size: 16px;
  cursor: pointer;
}

.popular {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 10px;
}

.popular h5 {
  font-size: 14px;
  white-space: nowrap;
}

.popular button {
  padding: 5px 12px;
  border: 1px solid #e7e7e9;
  border-radius: 25px;
  font-size: 12px;
  background-color: transparent;
  white-space: nowrap;
}

.hero-bottom {
  position: relative;
  width: 100%;
  background-color: #f8f8fc;
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 12px 15px;
  border-radius: 15px;
  margin: 20px 0;
  flex-wrap: wrap;
}

.hero-bottom button {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 10px 15px;
  border-radius: 25px;
  font-weight: 700;
  border: 1px solid #f3f3f6;
  white-space: nowrap;
  font-size: 14px;
}

.hero-bottom svg {
  color: #956bcd;
  width: 18px;
}

.hero-bottom .new-col {
  background-color: #ea4c89;
  color: #fff;
  padding: 3px 8px;
  border-radius: 25px;
  font-size: 10px;
  position: absolute;
  top: 1vw;
  left: 11.8vw;
  white-space: nowrap;
}

.hero-bottom h5 {
  color: #3a3546;
  font-weight: 100;
  font-size: 14px;
  line-height: 1.4;
}

.hero-new {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 20px 0;
  flex-wrap: wrap;
  gap: 15px;
}

.hero-new-left {
  flex: 1;
  min-width: 150px;
}

.hero-new select {
  width: 50%;
  border-radius: 8px;
  padding: 10px;
  border: 1px solid #e7e7e9e6;
  font-size: 14px;
}

.hero-new-center {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 5px 0;
  flex: 2;
}

.hero-new-center::-webkit-scrollbar {
  display: none;
}

.hero-new a {
  color: #000;
  font-size: 14px;
  text-decoration: none;
  font-weight: 700;
  white-space: nowrap;
}

.hero-new-right {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}

.hero-new-right button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 25px;
  border: 1px solid #e7e7e9e6;
  background-color: #f3f3f6;
  font-size: 14px;
  white-space: nowrap;
}

.hero-new-right button i {
  font-size: 16px;
}

.hero-new-bottom {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin: 20px 0;
}

.hero-new-bottom .card {
  position: relative;
  width: 100%;
  height: 200px;
  border-radius: 8px;
  overflow: hidden;
}

.hero-new-bottom .card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: bottom;
}

.hero-new-bottom .card-bottom {
  position: absolute;
  width: 100%;
  height: 40%;
  background: linear-gradient(transparent, #111);
  bottom: -40%;
  transition: all ease 0.3s;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 15px;
}

.hero-new-bottom .card:hover .card-bottom {
  bottom: 0;
}

.card-bottom h4 {
  color: #fff;
  font-size: 14px;
}

.card-bottom h5 {
  color: #fff;
  font-size: 14px;
}

.clickers {
  display: flex;
  gap: 8px;
}

.clickers i {
  background-color: #fff;
  border-radius: 50%;
  padding: 8px;
  color: #000;
  cursor: pointer;
  font-size: 14px;
}

.info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
}

.name {
  display: flex;
  align-items: center;
  gap: 8px;
}

.name img {
  height: 30px;
  width: 30px;
  object-fit: cover;
  border-radius: 50%;
}

.name h5 {
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 120px;
}

.pro {
  background-color: #ccc;
  font-size: 10px;
  padding: 4px 6px;
  border-radius: 4px;
  transition: all ease 0.3s;
  white-space: nowrap;
}

.pro:hover {
  background-color: #000;
}

.pro h5 {
  color: #fff;
  font-weight: 900;
  font-size: 10px;
}

.counts {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

.counts i {
  font-size: 13px;
  color: #9e9ea7;
  display: flex;
  align-items: center;
  gap: 4px;
}

.bottom-btn {
  margin-top: 30px;
  text-align: center;
}

.bottom-btn button {
  background-color: #000;
  color: #fff;
  padding: 12px 30px;
  border-radius: 25px;
  border: none;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
}

.bottom-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
  box-sizing: border-box;
  flex-wrap: wrap;
  gap: 20px;
}

.bottom-nav .bottom-nav-left svg {
  width: 89px;
  height: auto;
}

.bottom-nav-center {
  display: flex;
  align-items: center;
  gap: 30px;
  overflow-x: auto;
  padding: 10px 0;
}

.bottom-nav-center::-webkit-scrollbar {
  display: none;
}

.bottom-nav-center a {
  text-decoration: none;
  font-size: 14px;
  color: #000;
  font-weight: 800;
  white-space: nowrap;
}

.bottom-nav-right {
  display: flex;
  gap: 15px;
  align-items: center;
}

.bottom-nav-right i {
  font-size: 22px;
}

.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
  box-sizing: border-box;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-left {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}

.footer-left h5 {
  color: #6e6d7a;
  font-weight: 400;
  font-size: 14px;
  white-space: nowrap;
}

.footer-left a {
  text-decoration: none;
  color: #6e6d7a;
  font-size: 14px;
  white-space: nowrap;
}

.footer-right {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-right a {
  text-decoration: none;
  color: #6e6d7a;
  font-size: 14px;
  white-space: nowrap;
}

#scrolling {
  display: flex;
  overflow: hidden;
}

#scrolling .card {
  height: 170px;
  width: 230px;
  margin-top: 40px;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  font-size: 15px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-shrink: 0;
}

#scrolling .card img {
  height: 80%;
  width: 100%;
  object-fit: cover;
}

#scrolling .card p {
  font-weight: 700;
}

#scrolling .all-cards {
  display: flex;
  gap: 25px;
  flex-shrink: 0;
  animation: scrl 30s linear 0s infinite;
  margin-right: 25px;
}

@keyframes scrl {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(calc(-100% - 25px));
  }
}

@media (min-width: 768px) {
  #main {
    padding: 20px 30px;
  }

  #nav-left {
    gap: 50px;
  }

  .nav-center {
    gap: 30px;
  }

  .hero-left h1 {
    font-size: 42px;
    margin-top: 30px;
  }

  .hero-right {
    height: 400px;
  }

  .hero-new-bottom {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  }

  .hero-new-bottom .card {
    height: 220px;
  }

  .hero-bottom .new-col {
    top: 2vw;
    left: 22.5vw;
  }

  .bottom-nav {
    flex-wrap: wrap;
    gap: 25px;
    padding: 0 25px;
  }

  .bottom-nav-center {
    gap: 35px;
    order: 3;
    width: 100%;
    justify-content: center;
    margin-top: 15px;
  }

  .bottom-nav-center a {
    font-size: 14px;
  }

  .bottom-nav-right {
    gap: 15px;
  }

  .footer {
    flex-wrap: wrap;
    gap: 25px;
    padding: 0 25px;
  }

  .footer-left {
    gap: 25px;
  }

  .footer-right {
    gap: 25px;
  }

  #scrolling .card {
    height: 160px;
    width: 210px;
    margin-top: 35px;
    border-radius: 9px;
    font-size: 14px;
  }

  #scrolling .all-cards {
    gap: 20px;
    margin-right: 20px;
    animation: scrl-tablet 28s linear 0s infinite;
  }

  @keyframes scrl-tablet {
    from {
      transform: translateX(0);
    }

    to {
      transform: translateX(calc(-100% - 20px));
    }
  }
}

@media (min-width: 1024px) {
  #main {
    padding: 20px 40px;
  }

  #hero {
    flex-direction: row;
    margin: 0 40px;
    gap: 150px;
  }

  .hero-left {
    order: 1;
    flex: 1;
  }

  .hero-right {
    order: 2;
    width: 650px;
    height: 550px;
    margin-top: 20px;
    flex: 1;
  }

  .hero-left h1 {
    font-size: 48px;
  }

  .desktop-break {
    display: inline;
  }

  .buttons {
    gap: 50px;
    margin-top: 30px;
  }

  .hero-bottom {
    margin: 0 30px;
    gap: 40px;
    padding: 10px 20px;
  }

  .hero-bottom .new-col {
    position: absolute;
    top: 1vw;
    left: 11.8vw;
  }

  .hero-new {
    margin: 30px;
  }

  .hero-new-center {
    gap: 40px;
  }

  .hero-new a {
    font-size: 15px;
  }

  .hero-new-bottom {
    margin: 20px 40px;
    gap: 40px;
  }

  .hero-new-bottom .card {
    width: 300px;
    height: 250px;
  }

  .bottom-nav {
    flex-wrap: nowrap;
    gap: 0;
    padding: 0 40px;
  }

  .bottom-nav-center {
    gap: 40px;
    order: 0;
    width: auto;
    justify-content: flex-start;
    margin-top: 0;
  }

  .footer {
    flex-wrap: nowrap;
    gap: 0;
    padding: 0 40px;
  }

  .footer-left {
    gap: 30px;
  }

  .footer-right {
    gap: 30px;
  }

  #scrolling .card {
    height: 170px;
    width: 230px;
    margin-top: 40px;
    border-radius: 10px;
    font-size: 15px;
  }

  #scrolling .all-cards {
    gap: 25px;
    margin-right: 25px;
    animation: scrl 30s linear 0s infinite;
  }

  @keyframes scrl {
    from {
      transform: translateX(0);
    }

    to {
      transform: translateX(calc(-100% - 25px));
    }
  }
}

@media (max-width: 767px) {
  .nav-center {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .nav-right {
    display: none;
  }

  #nav-left {
    justify-content: space-between;
    width: 100%;
  }

  .hero-left h1 {
    font-size: 32px;
  }

  .hero-left p {
    font-size: 13px;
  }

  .hero-right>video {
    width: 100%;
    height: 100%;
  }

  .buttons {
    gap: 15px;
  }

  .buttons .button {
    font-size: 11px;
  }

  .search-btn input {
    padding: 14px 18px;
    font-size: 10px;
  }

  .search-btn i {
    top: 4px;
    right: 5px;
  }

  .popular h5 {
    font-size: 13px;
  }

  .popular button {
    font-size: 11px;
    padding: 4px 10px;
  }

  .hero-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .hero-new {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-new-left,
  .hero-new-right {
    width: 100%;
  }

  .hero-new-right {
    justify-content: flex-start;
  }

  .hero-new-center {
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
  }

  .hero-new-bottom {
    grid-template-columns: 1fr;
  }
  .hero-bottom .new-col {
    top: 5vw;
    left: 41.5vw;
  }
  .bottom-nav {
    flex-direction: column;
    align-items: center;
    margin: 30px auto;
    gap: 20px;
    padding: 0 15px;
  }

  .bottom-nav-center {
    gap: 25px;
    width: 100%;
    overflow-x: auto;
    padding: 10px 0;
    justify-content: center;
  }

  .bottom-nav-center::-webkit-scrollbar {
    display: none;
  }

  .bottom-nav-center a {
    font-size: 13px;
    white-space: nowrap;
  }

  .bottom-nav-right {
    width: 100%;
    justify-content: center;
    gap: 15px;
  }

  .bottom-nav-right i {
    font-size: 20px;
  }

  .footer {
    flex-direction: column;
    align-items: center;
    margin: 30px auto;
    gap: 20px;
    padding: 0 15px;
  }

  .footer-left {
    gap: 20px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
  }

  .footer-left h5 {
    font-size: 14px;
  }

  .footer-left a {
    font-size: 14px;
    white-space: nowrap;
  }

  .footer-right {
    gap: 20px;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }

  .footer-right a {
    font-size: 14px;
    white-space: nowrap;
  }

  #scrolling .card {
    height: 140px;
    width: 180px;
    margin-top: 30px;
    border-radius: 8px;
    font-size: 13px;
  }

  #scrolling .all-cards {
    gap: 15px;
    margin-right: 15px;
    animation: scrl-mobile 25s linear 0s infinite;
  }

  @keyframes scrl-mobile {
    from {
      transform: translateX(0);
    }

    to {
      transform: translateX(calc(-100% - 15px));
    }
  }

}