main {
  position: relative;
}

main .carousel {
  position: relative;
  width: 100vw;
  overflow: hidden;
}

main .carousel .list {
  display: flex;
  position: relative;
  transition: all .2s ease-in-out; /* for carousel */
}

main .carousel .list div {
  width: 100vw;
  flex-shrink: 0;
}

main .carousel .list div img {
  max-width: 100%;
  height: auto;
}

main .carousel .show-cards {
  position: absolute;
  display: flex;
  flex-direction: column;
  font-size: 96px;
  width: 100%;
  top: calc(50% - 150px);
  height: 300px;
  justify-content: space-between;
  color: #d9d9d9;
}

main .carousel .show-cards .card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  font-family: 'Jomhuria';
  margin: 0 auto;
  padding: 0 12px;
  border: 5px solid;
}

main .carousel .dots {
  display: flex;
  justify-content: center;
  gap: 12px;
}

main .carousel .dots button {
  display: block;
  border-radius: 12px;
  width: 24px;
  height: 24px;
  font-size: 0;
  background: #d9d9d9;
  border: 0;
  outline: none;
  cursor: pointer;
}

main .carousel .dots .active button {
  background: #232323;
}

.cards {
  display: flex;
  height: 150px;
  width: 1440px;
  font-family: "Inter";
  font-size: 20px;
  background: #fff;
  position: absolute;
  bottom: -80px;
  margin-left: calc(50% - 720px);
}

.cards div {
  display: flex;
  align-items: center;
  padding: 0 24px;
  flex: 1;
  border: 1px solid #232323;
}

/* media */
@media (max-width: 960px) {
  main .cards {
    display: none;
  }

  main .carousel .show-cards  {
    height: 200px;
    top: calc(50% - 100px);
  }

  main .carousel .show-cards .card {
    font-size: 24px;
  }

  main .carousel .show-cards .dots {
    gap: 20px;
  }


}