* {
  margin: 0;
  padding: 0;
}

body {
  overflow: hidden;
}

.widthwrap {
  position: absolute;
  left: 50%;
  top: 50%;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  width: 600px;
  background: #d6d6d6;
  height: 50vh;
  -webkit-box-shadow: 0 0 30px 3px #000;
          box-shadow: 0 0 30px 3px #000;
  -webkit-transition: 1s cubic-bezier(0.77, 0, 0.18, 1);
  transition: 1s cubic-bezier(0.77, 0, 0.18, 1);
}

.widthwrap:hover {
  width: 700px;
  background: #a1a1a1;
  -webkit-box-shadow: 0 0 30px 3px rgba(0, 0, 0, 0.3);
          box-shadow: 0 0 30px 3px rgba(0, 0, 0, 0.3);
}

.widthwrap:hover .elem {
  width: 400px;
  -webkit-box-shadow: 0 0 30px 3px #000000;
          box-shadow: 0 0 30px 3px #000000;
  -webkit-transition-delay: 0.5s;
          transition-delay: 0.5s;
}

.widthwrap:hover .elem .elem2 {
  height: 30vh;
  -webkit-transition-delay: 1.2s;
          transition-delay: 1.2s;
}

.widthwrap:hover .elem .elem2 .picwrapper {
  height: 18vh;
  -webkit-transition-delay: 1.2s;
          transition-delay: 1.2s;
}

.widthwrap .elem {
  position: absolute;
  left: 50%;
  top: 50%;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  width: 500px;
  height: 40vh;
  background: #000000;
  -webkit-box-shadow: 0 0 30px 3px #00000042;
          box-shadow: 0 0 30px 3px #00000042;
  -webkit-transition: 1s cubic-bezier(0.77, 0, 0.18, 1) 0.5s;
  transition: 1s cubic-bezier(0.77, 0, 0.18, 1) 0.5s;
}

.widthwrap .elem .elem2 {
  position: absolute;
  left: 50%;
  top: 50%;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  width: 300px;
  height: 20vh;
  background: #ffffff;
  -webkit-box-shadow: inset 0 5px 15px #0000006b;
          box-shadow: inset 0 5px 15px #0000006b;
  -webkit-transition: 1s cubic-bezier(0.77, 0, 0.18, 1) 1.2s;
  transition: 1s cubic-bezier(0.77, 0, 0.18, 1) 1.2s;
}

.widthwrap .elem .elem2 .picwrapper {
  position: absolute;
  left: 50%;
  top: 50%;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  width: 250px;
  height: 0vh;
  background-size: 250px 10vh;
  background-position: center center;
  background-image: url(../img/babycat.jpg);
  overflow: hidden;
  background-size: cover;
  -webkit-transition: 1s cubic-bezier(0.77, 0, 0.18, 1) 1.2s;
  transition: 1s cubic-bezier(0.77, 0, 0.18, 1) 1.2s;
}
/*# sourceMappingURL=ueb1.css.map */