.material-success{
  min-height:100vh;
  background:
    radial-gradient(circle at 50% 18%, rgba(34,211,204,.16), transparent 34%),
    linear-gradient(180deg,#f9fefe 0%,#eefbfb 55%,#e5f7f8 100%);
  color:#082b31;
}

.material-success__main{
  width:min(100%,430px);
  min-height:100vh;
  margin:0 auto;
  padding:54px 26px 42px;
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
}

.material-success__check{
  width:92px;
  height:92px;
  border-radius:50%;
  display:grid;
  place-items:center;

  background:#ffffff;

  color:#12bfb7;

  font-size:54px;
  font-weight:900;

  border:2px solid rgba(18,191,183,.25);

  box-shadow:
      0 18px 45px rgba(18,191,183,.18);

  margin-bottom:34px;

  animation:successPop .7s ease both;
}

.material-success__road{
  position:relative;
  width:100%;
  height:190px;
  margin-bottom:36px;
  overflow:hidden;
}

.material-success__road::after{
  content:"";
  position:absolute;
  left:10%;
  right:10%;
  bottom:30px;
  height:5px;
  border-radius:999px;
  background:linear-gradient(90deg,transparent,#18d6cb,transparent);
  box-shadow:0 0 28px rgba(24,214,203,.75);
}

.material-success__truck{
  position:absolute;
  left:50%;
  bottom:42px;
  width:210px;
  height:92px;
  transform:translateX(-50%);
  animation:truckDriveInOut 2.6s ease-in-out forwards;
}

.material-success__box{
  position:absolute;
  left:0;
  top:6px;
  width:138px;
  height:70px;
  border-radius:10px 8px 8px 10px;
  background:linear-gradient(135deg,#f8f8f8,#d7e1e2);
  box-shadow:0 18px 35px rgba(0,0,0,.35);
}

.material-success__cab{
  position:absolute;
  right:8px;
  top:24px;
  width:70px;
  height:52px;
  border-radius:10px 24px 10px 8px;
  background:linear-gradient(135deg,#ffffff,#d7e1e2);
  box-shadow:0 18px 35px rgba(0,0,0,.35);
}

.material-success__cab::after{
  content:"";
  position:absolute;
  right:13px;
  top:10px;
  width:26px;
  height:18px;
  border-radius:5px;
  background:#083236;
}

.material-success__wheel{
  position:absolute;
  bottom:0;
  width:26px;
  height:26px;
  border-radius:50%;
  background:#081517;
  border:5px solid #aeb9bb;
}

.material-success__wheel.wheel-left{
  left:38px;
}

.material-success__wheel.wheel-right{
  right:38px;
}

.material-success__content h1{
  margin:18px 0 10px;
  font-size:42px;
  font-weight:900;
  line-height:1.15;
  color:#082b31;
}

.material-success__content p{
  margin:12px 0 24px;
  font-size:20px;
  line-height:1.5;
  font-weight:500;
  color:#567378;
}

.material-success__divider{
  display:flex;
  align-items:center;
  gap:16px;
  margin:8px 0 28px;
  color:#18d6cb;
  font-size:24px;
}

.material-success__divider span{
  width:100px;
  height:1px;
  background:linear-gradient(90deg,transparent,#18d6cb);
}

.material-success__divider span:last-child{
  background:linear-gradient(90deg,#18d6cb,transparent);
}

.material-success__content h2{
  margin:0;
  font-size:24px;
  font-weight:700;
  color:#1e4248;
  font-style:italic;
}

.material-success__content h3{
  margin:6px 0 34px;
  font-size:30px;
  font-weight:900;
  color:#0fb5ac;
  font-style:italic;
}

.material-success__button{
  width:100%;
  min-height:72px;
  border:none;
  border-radius:24px;
  background:#18d6cb;
  color:#031b1f;
  font-size:22px;
  font-weight:900;
  cursor:pointer;
  box-shadow:0 22px 50px rgba(24,214,203,.28);
  transition:.25s;
}

.material-success__button:hover{
  transform:translateY(-2px);
}

@keyframes truckDriveInOut{

  0%{
    opacity:0;
    transform:translateX(-180%);
  }

  35%{
    opacity:1;
    transform:translateX(-50%);
  }

  65%{
    opacity:1;
    transform:translateX(-50%);
  }

  100%{
    opacity:0;
    transform:translateX(180%);
  }

}

@keyframes successPop{

  from{
    opacity:0;
    transform:scale(.65);
  }

  to{
    opacity:1;
    transform:scale(1);
  }

}
