* {
  margin: 0;
  padding: 0;
}
	
body {
  overflow-x: hidden;
}

#animation-wrapper {
  position: relative;
  width: 100vw;
  height: 80vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #5fadc7;
  z-index: 91;
}

#boxes-container {
  position: relative;
  width: 100vw;
  height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.box {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.box img {
  width: 100%;
  height: 100%;
  border: none;
  margin-bottom: -2px;
}

#box-left {
  transform: translateX(-100vw) translateY(50vh) scale(1.5);
  z-index: 2;
}

#box-up {
  transform: translateY(100vh) scale(3);
  z-index: 3;
}

#box-right {
  transform: translateX(100vw) translateY(50vh) scale(1.5);
  z-index: 1;
}

@media only screen 
and (min-device-width : 375px) 
and (max-device-width : 812px) {

#animation-wrapper {
  overflow: hidden;
  margin-bottom: -2px;
  border: none;
}
}

@media only screen 
and (min-device-width : 375px) 
and (max-device-width : 812px)
and (orientation: portrait) {

#boxes-container {
  width: 180vw;
  margin-bottom: -2px;
  border: none;
}

.box {
  width: 180vw;
  height: 80vh;
}
}

@media only screen 
and (min-device-width : 375px) 
and (max-device-width : 812px)
and (orientation: landscape) {

#animation-wrapper {
    height: 100vh;
}

#boxes-container {
  height: 100vh;
}

.box {
  height: 100vh;
}
}