#wrap {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #000000;
  z-index: 300;
}
#wwrap {
  display: block;
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  right: 0.5rem;
  bottom: 0.5rem;
  z-index: 310;
  background-image: url(../images/background.jpg);
  background-attachment: fixed;
  background-size: cover;
  border-top: solid 1px #6E6E6E;
  border-bottom: solid 1px #6E6E6E;
}
.wgal {
  display: block;
  position: absolute;
  top: 2rem;
  left: 1rem;
  right: 1rem;
  bottom: 0.5rem;
  border-top: solid 2px #5ECFFF;
  z-index: 320;
  mix-blend-mode: lighten;
}
.desk-container * {
  box-sizing: border-box;
}
.desk-container {
  display: flex;
  overflow: hidden;
  height: 50%;
  width: 100%;
}
.desk {
  position: relative;
  flex: 0.5;
  margin: 1rem 0.5rem;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 3rem;
  border-left: solid 4px #000000;
  border-right: solid 4px #ffffff;
  cursor: pointer;
  filter: grayscale(0.8);
  transition: flex 0.7s cubic-bezier(0.05, 0.6, 0.4, 0.9);
}
.desk div {
  display: block;
  position: absolute;
  bottom: 2rem;
  left: 2rem;
  right: 2rem;
  margin: 0;
  padding: 0.2rem 0;
  font-family: 'Roboto Condensed';
  font-weight: bold;
  font-size: 150%;
  color: #ffffff;
  text-shadow: 1px 0 12px #000000, 2px 1px 0 #000000;
  opacity: 0;
  transition: opacity 0s ease-in 0s;
}
.desk.active {
  flex: 5;
  filter: grayscale(0);
}
.desk.active div {
  opacity: 1;
  transition: opacity 0.3s ease-in 0.4s;
}
.desk-mosaic {
  display: block;
  position: relative;
  height: 50%;
  width: 100%;
}
.dlft {
  pointer-events: all;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 8rem;
  bottom: 0rem;
  background: linear-gradient(-90deg, rgba(0, 0, 0, 0.0) 0%, rgba(0, 0, 0, 0.5) 50%);
  z-index: 360;
  cursor: pointer;
}
.ar-l {
  display: block;
  position: absolute;
  bottom: 0.5rem;
  left: 0;
  width: 8rem;
  height: 1rem; 
  background: linear-gradient(-90deg, rgba(255, 255, 255, 0.0) 0%, rgba(255, 255, 255, 1.0) 50%);
  clip-path: polygon(10% 87%, 10% 100%, 0 62%, 100% 62%, 100% 70%, 5% 70%);
  z-index: 370;
}
.drht {
  pointer-events: all;
  display: block;
  position: absolute;
  top: 0;
  right: 0;
  width: 8rem;
  bottom: 4rem;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.0) 0%, rgba(0, 0, 0, 0.5) 50%);
  z-index: 360;
  cursor: pointer;
}
.ar-r {
  display: block;
  position: absolute;
  top: 0.5rem;
  right: 0;
  width: 8rem;
  height: 1rem;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.0) 0%, rgba(255, 255, 255, 1.0) 50%);
  clip-path: polygon(95% 30%, 90% 10%, 90% 0, 100% 38%, 0 38%, 0 30%);
  z-index: 370;
}
.dmve {
  pointer-events: all;
  display: block;
  position: absolute;
  right: 0;
  width: 8rem;
  bottom: 0rem;
  height: 4rem;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.0) 0%, rgba(0, 0, 0, 0.5) 50%);
  z-index: 360;
  cursor: pointer;
}
.gl-a {
  display: block;
  position: absolute;
  right: 0;
  width: 2rem;
  bottom: 0rem;
  height: 1rem;
  z-index: 370;
}
.dcen {
  pointer-events: none;
  display: block;
  position: absolute;
  top: 1rem;
  left: 0;
  right: 0;
  bottom: 1rem;
  overflow: hidden;
  white-space: nowrap;
  z-index: 350;
 }
.dcen-photo {
  pointer-events: all;
  display: block;
  position: absolute;
  border-radius: 300px;
  border-top: solid 4px #ffffff;
  border-left: solid 1px #ffffff;
  border-right: solid 1px #ffffff;
  border-bottom: solid 4px #ffffff;
  box-shadow: inset 10px 0px 15px #000000, inset 0px 0px 30px #000000, 10px 0px 30px #000000;
  cursor: pointer;
}
#curtain {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(2,0,61,0.93);
  z-index: 600;
}
#picture {
  pointer-events: none;
  display: block;
  position: absolute;
  top: 1rem;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  background-image: none;
  overflow: hidden;
  z-index: 610;
}
.picview {
  pointer-events: all;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: none;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center center;
  overflow: hidden;
  z-index: 620;
}
.prht {
  pointer-events: all;
  display: block;
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  width: 8rem;
  bottom: 5rem;
  z-index: 660;
  cursor: pointer;
}
.plft {
  pointer-events: all;
  display: block;
  position: absolute;
  top: 5rem;
  left: 0.5rem;
  width: 8rem;
  bottom: 0.5rem;
  z-index: 660;
  cursor: pointer;
}
.pcls {
  pointer-events: all;
  display: block;
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  width: 8rem;
  height: 3.5rem;
  font-size: 120%;
  z-index: 670;
  cursor: pointer;
}
.pcls:active {
  color: #B70000;
}
.pdnl {
  pointer-events: all;
  display: block;
  position: absolute;
  bottom: 0.5rem;
  right: 0.5rem;
  width: 8rem;
  height: 3.5rem;
  text-align: right;
  line-height: 5rem;
  font-size: 120%;
  z-index: 670;
  cursor: pointer;
}
.pdnl:active {
  color: #B70000;
}
.pname {
  display: block;
  position: absolute;
  padding: 0.5rem 1rem;
  bottom: 0.5rem;
  left: 9rem;
  right: 9rem;
  height: auto;
  background: linear-gradient(90deg, rgba(23,116,147,0.0) 0%, rgba(27,48,144,0.50) 30%, rgba(27,48,144,0.50) 70%, rgba(23,116,147,0.0) 100%);
  text-align: center;
  text-shadow: 1px 0 12px #000000, 2px 1px 0 #000000;
  z-index: 680;
}

@media screen and (max-width: 480px) {
  .desk-container {
    position: relative;
  }
  .desk {
    width: 10%;
    position: relative;
    height: 18%;
    top: 0;
    border: 4px solid #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2), 0 16px 20px rgba(0, 0, 0, 0.2);
    flex: 1;
  }
  .desk.active {
    flex: 1;
    width: 100%;
    position: absolute;
    height: 80%;
    left: 0;
    margin: 40px 0 0;
    z-index: -1;
    box-shadow: none;
  }
  .drht {
    width: 20%;
  }
  .dlft {
    width: 20%;
  }
  .prht {
    width: 20%;
  }
  .plft {
    width: 20%;
  }
}