body {
    margin:0;
    padding:0;
    overflow: hidden;
    font-family: arial, helvetica;
}
.grid {
    background-color: #d8bfd8;
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}
.grid img {
    position: absolute;
    bottom: -410px;
    width: 1400px;
    left: 50%;
    transform: translateX(-50%);
}
.logo {
    position: absolute;
    height: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-100%,-50%);
    z-index: 1;
}
.videos {
    transform: rotate(-45deg) skew(15deg, 15deg);
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 2;
    display: none;
}
.videos .item {
    height: 150px;
    box-shadow: -20px 20px 0px #00000011;
    opacity: .9;
    position: absolute;
}
video.item:first-child {bottom:40%;left:30px;}
video.item:nth-child(2) {bottom:25%;right:60px;}
video.item:nth-child(3) {bottom:70%;left:250px;height:100px;}
video.item:nth-child(4) {bottom:50%;right:180px;height:100px;;}
.plain {
    position: absolute;
    width: 380px;
    height: 680px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 20px;
    overflow: hidden;
    background-color: #d8bfd8;
    /* background-image: url(https://hakim.ma/images/logo.svg); */
    background-size: 50% auto;
    background-repeat: no-repeat;
    background-position: center;
    z-index: 3;
}
.plain .content {
    opacity: 0;
}
.xd {
    position: absolute;
    width: 380px;
    height: 680px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 20px rgba(135, 18, 179, 0.3);
    border-radius: 20px;
    z-index: 4;
}
.footer-bar {
    background-color: #8712B3;
    height: 10px;
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    top: auto;
    z-index: 0;
}
.sidemenu {
    position: absolute;
    width: auto;
    height: 30px;
    line-height: 30px;
    right: 36px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    opacity: .5;
    z-index: 5;
    transition: all 0.1s ease-in;
}
.sidemenu:hover {
    transform: scale(1.3);
    transform-origin: 92% 218%;
    opacity: 1;
}
.sidemenu p {
    line-height: inherit;
    height: inherit;
    margin: 0;
    display: inline-block;
    vertical-align: middle;
    font-size: small;
}
.sidemenu img, .sidemenu span {
    height: 80%;
    vertical-align: middle;
    margin-left: 7px;
}
.prototype-screen {
    position: absolute;
    z-index: 9;
    width: 860px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    border-radius: 5px;
    box-shadow: 0 0 90px #00000077;
    padding: 20px;
    border: 1px solid #8712B3;
    background-color: #e4e4e4;
    cursor: pointer;
}
.sidemenu.that-face {
    margin-top: -68px;
    text-align: right;
}
.sidemenu.that-face:hover > #help {
    opacity: 1;
}
#help {
    height: 140px;
    position: absolute;
    right: 100%;
    transform: translate(-50%,-30%);
    box-shadow: 2px 2px 0px #00000022;
    border-radius: 5px;
    transition-delay: .5s;
    transition: all 0.1s ease-out 0s;
    opacity: 0;
}
#help:before {
    content:"\A";
    width: 0;
    height: 0;
    border-top: 20px solid transparent;
    border-bottom: 20px solid transparent;
    border-left: 20px solid #ffffff;
    position: absolute;
    left: -15px;
}
.sidemenu.color1 {
    margin-top: -30px;
    line-height: 1em;
    text-align: right;
}
.sidemenu.color1 .color{
    width: 24px;
    height: 24px;
    line-height: 100%;
    vertical-align: baseline;
    display: inline-block;
    background-color: #5D445D;
    border-radius: 100%;
}
.applyColor1 .xd, .applyColor1 .logo {
    mix-blend-mode: luminosity;
}
p.modifier {
    display: none;
}
.applyColor1 .color1 p {
    display: none;
}
.applyColor1 .color1 .color {
    background-color: #00ff00;
}
.applyColor1 .modifier {
    display: inline-block !important;
}
.show-screen {
    display: none;
}
.mobile {
    width: 100%;
    position: absolute;
    z-index: 9;
    top: 0;
    left: 0;
    display: none;
}
.mobile-logo {
    width: 40%;
    margin: 30px 0 60px 0;
}
.mobile .item {
    text-align: center;
}
.mobile .item img {
    width: 95%;
    user-select: none;
    margin: 0 auto;
    margin-top: 50px;
    display: block;
}
@media (max-width: 629px) {
    body {
        overflow: auto;
    }
    .xd,.plain {
        width: 100%;
        height: 100%;
        background-color: #fff;
        border-radius: 0;
        box-shadow: 0 0;
        display: none;
    }
    .mobile {
        display: block;
        overflow-x: hidden;
    }
    .grid,.logo,.sidemenu {
        display: none;
    }
    .videos {
        display: none !important;
    }
}
@media (min-width: 629px) and (max-height: 680px) {
    .xd {
        height: 100%;
        background-color: #fff;
        border-radius: 0;
    }
}