/** code by webdevtrick ( https://webdevtrick.com ) **/
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background-blend-mode: overlay;
}
.bundle {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
}
.bundle .inside-link {
  text-decoration: none;
  color: #333;
  font-size: 1.5rem;
  font-family: 'Aldrich', sans-serif;
  padding: 1% 0.1rem;
  font-weight: bold;
  transition: all 300ms ease;
  position: relative;
  display: block;
}

.bundle .inside-link:hover:after {
  transform: scaleX(4);
}

.btn-link {
  display: flex;
  height: 100%;
  width: 100%;
  flex: 1 1 auto;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  color: #272727;
  font-size: 50px;
  font-weight: bold;
  letter-spacing: 3px;
  font-family: 'Aldrich', sans-serif;
  position: relative;
}
.btn-link:before {
  content: '';
  position: absolute;
  display: block;
  width: 3px;
  height: calc(50% - 60px);
  transform-origin: bottom;
  transition: all 300ms ease;
  transform: scaleY(0);
  background: #272727;
  bottom: 20px;
  left: 50%;
  margin-left: -2px;
  opacity: 1;
}
.btn-link:hover:before {
	transform: scaleY(1);
}
.menu {
  height: 100vh;
  width: 100vw;
  display: grid;
  overflow-y: auto;
  grid-template-columns: 50% 50%;
  grid-template-rows: 100%;
}
.maiin-menu {
  opacity: 0;
  transition: all 200ms ease;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1 1 auto;
}
.maiin-menu .items {
  position: absolute;
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  mix-blend-mode: overlay;
  transform-origin: center;
  transform: scale(2);
  transition: all 2000ms ease-out;
  z-index: 1;
}
.maiin-menu .content {
  display: flex;
  flex: 1 1 auto;
  justify-content: center;
  align-items: center;
  height: 100%;
  width: 100%;
  position: relative;
  z-index: 2;
  opacity: 0;
  transition: all 300ms ease;
}
.maiin-menu:first-child {
  background-color: #272727;
}
.maiin-menu:first-child .btn-link {
  color: #eee;
}
.maiin-menu:first-child .btn-link:before {
  background: #ccc;
}
.maiin-menu:nth-child(2) {
  background-color: #FF4848;
}
.maiin-menu:nth-child(1) {
  transition-delay: 50ms;
  transform-origin: bottom;
  transform: scaleY(0);
}
.maiin-menu:nth-child(1) .items {
  background-image:url('14833990393_057a2802d4_c.jpg');
}
.maiin-menu:nth-child(1) .content {
  transition-delay: 0ms;
}
.toggle-switch .maiin-menu:nth-child(1) {
  transition-delay: 200ms;
}
.toggle-switch .maiin-menu:nth-child(1) .content {
  transition-delay: 700ms;
}
.maiin-menu:nth-child(2) {
  transition-delay: 100ms;
  transform-origin: left;
  transform: scaleX(0);
}
.maiin-menu:nth-child(2) .items {
  background-image:url('pexels-pixabay-40568.jpg');
}
.maiin-menu:nth-child(2) .content {
  transition-delay: 50ms;
}
.toggle-switch .maiin-menu:nth-child(2) {
  transition-delay: 400ms;
}
.toggle-switch .maiin-menu:nth-child(2) .content {
  transition-delay: 900ms;
}
.toggle-switch .maiin-menu {
  transform: scale(1);
  opacity: 1;
  transition: all 400ms ease;
}
.toggle-switch .maiin-menu .items {
  transform: scale(1);
}
.toggle-switch .maiin-menu .content {
  opacity: 1;
}
.toggle-switch .maiin-menu:hover .items {
          transform: scale(1.2);
}

@media (min-width: 800px) {
  .menu {
    grid-template-columns: 100%;
    grid-template-rows: 50% 50%;
  }
  .bundle .inside-link {
    font-size: 3rem;
  }
}
@media (min-width: 1200px) {
  .menu {
    grid-template-columns: 50% 50%;
    grid-template-rows: 100%;
  }
}