* {
  list-style: none;
  text-decoration: none;
  color: inherit;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  cursor: url(./img/빵시얼-removebg-preview-smallsize.png), auto;
}

.mm {
  position: relative;
  display: inline-block;
}

.mm::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px; /* 텍스트와 밑줄 간격 */
  width: 100%;
  height: 3px; /* 밑줄 두께 */
  background: linear-gradient(
    to right,
    red,
    orange,
    yellow,
    green,
    blue,
    indigo,
    violet
  );
}
figure.video {
  position: fixed;
  width: 100%;
  height: 100%;
}

figure.video video {
  width: 100%;
  min-width: 1680px;
}
header {
  position: fixed;
  height: 100%;
  width: 800px;
  left: -750px;
  top: 0;
  background-image: linear-gradient(
    90deg,
    rgba(255, 0, 0, 1) 0%,
    rgba(245, 255, 68, 1) 100%
  );
  transform: skewX(-40deg);
}
header h1 {
  position: absolute;
  right: 0;
  top: 30px;
  width: 300px;
  transform: skewX(40deg);
}

/* 부모 header를 skew 해서 nav를 왼쪽에서 오른쪽으로 위치하기 위해 */
nav {
  position: absolute;
  right: 0;
  top: 100px;
  width: 200px;
}
/* a는 inline 요소에서 width:100% 아니다, hover 시에 전체영역에 배경색이 적용이 안되가 때문에 */
nav a {
  display: block;
  font-size: 18px;
}
/*부모 a의 영역이 hover skew 되어 있어 좋은데 글자까지 기울어져서 b태그로 쌓았는데 
inline요소는 transform 적용이 안됨*/
nav b {
  display: block;
  transform: skewX(40deg);
  font-weight: normal;
}
li.main-menu {
  position: relative;
}

/* 메인 메뉴에 있는 a 값만[서브 메뉴에 a는 제외] > 되서 쎃다ㅋ */
li.main-menu > a {
  padding: 11px;
  text-align: center;
}
li.main-menu:hover > a {
  transition: 0.3s ease-in-out;
  background: #ff0000;
  color: #fff;
  font-weight: bold;
}
ul.sub-menu {
  position: absolute;
  width: 100%;
  background: rgba(255, 255, 255, 0.5);
  left: 202px;
  top: 0;
  display: none;
}
li.main-menu:hover ul.sub-menu {
  display: block;
}
ul.sub-menu li a {
  padding: 5px 10px 5px 20px;
}
ul.sub-menu li:hover a {
  background: #0084ff;
  color: #fff;
  padding: 5px;
}
.btn {
  position: absolute;
  bottom: 10px;
  left: -30px;
  font-size: 100px;
  color: #fff;
  width: 250px;
  height: 100px;
  transform: skewX(40deg);
  transition: 0.35s;
}
.btn i {
  position: absolute;
  animation: btn-ani 1.5s infinite;
}
.btn i:nth-child(1) {
  animation-delay: 0s;
}
.btn i:nth-child(2) {
  animation-delay: 0.5s;
}
.btn i:nth-child(3) {
  animation-delay: 1.5s;
}
@keyframes btn-ani {
  from {
    opacity: 0;
    left: 0;
    transform: scale(0.7);
  }
  to {
    opacity: 1;
    left: 140px;
    transform: scale(0.9);
  }
}
.item {
  position: absolute;
  left: -40%;
  bottom: 15%;
  animation: jello-vertical 2s infinite;
}
.item img {
  transform: skewX(40deg);
}

@keyframes jello-vertical {
  0% {
    transform: scale3d(1, 1, 1);
  }
  30% {
    transform: scale3d(0.75, 1.25, 1);
  }
  40% {
    transform: scale3d(1.25, 0.75, 1);
  }
  50% {
    transform: scale3d(0.85, 1.15, 1);
  }
  65% {
    transform: scale3d(1.05, 0.95, 1);
  }
  75% {
    transform: scale3d(0.95, 1.05, 1);
  }
  100% {
    transform: scale3d(1, 1, 1);
  }
}
aside {
  position: fixed;
  right: -750px;
  bottom: 0;
  width: 800px;
  height: 100%;
  background-image: linear-gradient(
    90deg,
    rgba(255, 0, 0, 1) 0%,
    rgba(255, 156, 82, 1) 15%,
    rgba(245, 255, 68, 1) 41%,
    rgba(0, 194, 42, 1) 47%,
    rgba(54, 135, 255, 1) 65%,
    rgba(112, 118, 181, 1) 81%,
    rgba(160, 35, 255, 1) 100%
  );
  transform: skewX(-40deg);
  transition: 0.35s;
  cursor: pointer;
}
.brand {
  position: absolute;
  left: 100%;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 68, 255, 0.2);
  transition: 0.35s;
}
aside:hover {
  right: -600px;
}
aside:hover .brand {
  left: 5%;
}
aside:hover .brand ul li {
  transform: translateX(0px);
}
.brand ul {
  position: absolute;
  bottom: 40px;
  left: 60px;
}
figure.banner {
  padding: 0px 25px 0px 25px;
  text-align: center;
  overflow: hidden;
}
.brand ul li {
  transition: 0.3s;
  transform: translateX(600px);
}
.brand ul li img {
  vertical-align: top;
  height: 100px;
  transform: skewX(40deg) scale(1.5);
}
.brand h3 {
  color: white;
  transform: skewX(40deg);
  padding: 10px;
}
aside:hover .item {
  opacity: 0;
}
aside:hover .btn {
  left: 100%;
}
aside:hover .brand ul li:nth-child(1) {
  transition-delay: 0.5s;
}
aside:hover .brand ul li:nth-child(2) {
  transition-delay: 0.8s;
}
aside:hover .brand ul li:nth-child(3) {
  transition-delay: 1s;
}
