@charset "UFT-8";

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  color: rgba(255, 255, 255, 1);

  font-size: 2rem;
}
body {
  height: auto;
  background-color: #2b2b2b;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.box {
  width: 100%;
  min-height: 50vh;

  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.curved {
  background-color: #fffa4e;
}
.curved .shadow {
  width: 500px;
  height: 200px;
  position: relative;
  z-index: 2;
}
.curved .shadow div {
  width: 100%;
  height: 100%;
  background-color: #4ac4ff;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  border: 10px solid #fff;
  position: absolute;
  z-index: 2;
}

.curved .shadow::before,
.curved .shadow::after {
  content: "";
  position: absolute;
  bottom: 30px;
  width: 70%;
  height: 70%;
  background-color: #000;
  filter: blur(15px);
  opacity: 0.5;
  z-index: 1;
}

.curved .shadow::after {
  left: 4%;
  transform-origin: right;
  transform: skewY(-7.5deg);
}

.curved .shadow::before {
  right: 4%;
  transform-origin: left;
  transform: skewY(7.5deg);
}


.colored {
  background-color: #0000ff;
}
.colored .shadow {
  width: 500px;
  height: 200px;
  background-color: #ff4370;

  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  position: relative;
}

.colored .shadow::before {
  content: "";
  position: absolute;
  left: 5%;
  right: 5%;
  bottom: -15px;
  height: 40px;
  background-color: #ff4370;
  border-radius: 50%;
  filter: blur(20px);
}

/* .colored .shadow::after {
  content: "";
  position: absolute;
  left: 5%;
  right: 5%;
  bottom: -15px;
  height: 40px;
  background-color: #ff4370;
  border-radius: 50%;
  filter: blur(40px);
} */



.gradient .shadow {
  width: 500px;
  height: 200px;
  background: linear-gradient(0deg, #000, #262626);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  position: relative;
}
.gradient .shadow::after,
.gradient .shadow::before {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  background: linear-gradient(45deg, #fb0094, #0000ff, #00ff00, #ffff00, #ff0000, #fb0094, #0000ff, #00ff00, #ffff00, #ff0000);
  background-size: 400%;
  z-index: -1;
  width: calc(100% + 4px);
  height: calc(100% + 4px);
  animation: animate 20s linear infinite;
}
.gradient .shadow::after {
  filter: blur(20px);
}

@keyframes animate {
  0% { background-position: 0 0;}
  50% { background-position: 300% 0;}
  100% { background-position: 0 0;}
}