*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}


body{
    font-family: vazir;
}

.Banner {
    width: 100%;
    height: 600px;
    position: relative;
    overflow: hidden;
    background-image: url("../img/m.png");
    background-position: left;
    background-size: cover;
}

button {
  all: unset;
  width: 100px;
  height: 30px;
  font-size: 16px;
  background: transparent;
  border: none;
  position: relative;
  color: #f0f0f0;
  cursor: pointer;
  z-index: 1;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
}

button::after,
button::before {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  z-index: -99999;
  transition: all .4s;
}

button::before {
  transform: translate(0%, 0%);
  width: 100%;
  height: 100%;
  background: #46A693;
  border-radius: 10px;
}

button::after {
  transform: translate(10px, 10px);
  width: 35px;
  height: 35px;
  background: #ffffff15;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border-radius: 50px;
}

button:hover::before {
  transform: translate(5%, 20%);
  width: 110%;
  height: 110%;
}

button:hover::after {
  border-radius: 10px;
  transform: translate(0, 0);
  width: 100%;
  height: 100%;
}

button:active::after {
  transition: 0s;
  transform: translate(0, 5%);
}

 .banner .carousel-container {
    width: 500px;
    height: 500px;
    border-radius: 50%;
    overflow: hidden;
    position: absolute;
    top: 20px;
    right: 20px;
}

.carousel {
    width: 100%;
    height: 100%;
    position: relative;
}

.carousel img {
    position: absolute;
    width: 600px;
    height: 600px;
    object-fit: cover;
    border-radius: 50%;
    top: -140px;
    left: 0;
    opacity: 0;
    transform: translateX(100%) translateY(0);
    transition: transform 1s ease-in-out, opacity 1s ease-in-out;
}

.carousel img.active {
    opacity: 1;
    transform: translateX(0) translateY(0);
}

.carousel img.exit {
    opacity: 0;
    transform: translateX(-50px) translateY(-150px) scale(0.8);
}
