.iphone-x {
    position: relative;
    margin: 40px auto;
    width: 305px;
    height: 704px;
    /*    width: 350px;
    height: 740px;
    width: 305px;
    height: 660px;*/
    background-color: #d4d4d4;
    background-image: linear-gradient(60deg, #ae5f36 1%, #ae5f36 100%);
    border-radius: 40px;
    box-shadow: 0px 0px 0px 11px #1f1f1f, 0px 0px 0px 13px #191919, 0px 0px 0px 20px #111;
}

.iphone-x .top-green {
    width: 100%;
    height: 38px;
    background: #e4e4e4c7;
    z-index: 1;
    padding-left: 5px;
    border-radius: 38px 38px 0px 0px;
}

.iphone-x:before,
.iphone-x:after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.iphone-x:after {
    bottom: 7px;
    width: 140px;
    height: 4px;
    background-color: #f2f2f2;
    border-radius: 10px;
    z-index: 9;
}

.iphone-x:before {
    top: 0px;
    width: 56%;
    height: 30px;
    background-color: #1f1f1f;
    border-radius: 0px 0px 40px 40px;
    z-index: 99;
}

.iphone-x i,
.iphone-x b,
.iphone-x s,
.iphone-x span {
    position: absolute;
    display: block;
    color: transparent;
}

.iphone-x i {
    top: 0px;
    left: 50%;
    transform: translate(-50%, 6px);
    height: 8px;
    width: 15%;
    background-color: #101010;
    border-radius: 8px;
    box-shadow: inset 0px -3px 3px 0px rgba(255, 255, 255, 0.2);
    z-index: 99;
}

.iphone-x b {
    left: 10%;
    top: 0px;
    transform: translate(180px, 4px);
    width: 12px;
    height: 12px;
    background-color: #101010;
    border-radius: 12px;
    box-shadow: inset 0px -3px 2px 0px rgba(255, 255, 255, 0.2);
    z-index: 99;
}

.iphone-x b:after {
    content: '';
    position: absolute;
    background-color: #2d4d76;
    width: 6px;
    height: 6px;
    top: 2px;
    left: 2px;
    top: 3px;
    left: 3px;
    display: block;
    border-radius: 4px;
    box-shadow: inset 0px -2px 2px rgba(0, 0, 0, 0.5);
    z-index: 999;
}

.iphone-x s {
    top: 50px;
    color: #fff;
    text-align: center;
    text-decoration: none;
    width: 100%;
    font-size: 70px;
    font-weight: 100;
    padding-top: 60px;
}


/* .iphone-x span {
    bottom: 50px;
    width: 40px;
    height: 40px;
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    left: 30px;
  }*/


/* .iphone-x span + span {
    left: auto;
    right: 30px;
  }*/

@media (min-width: 576px) {}

@media (max-width: 576px) {
    .iphone-x {
        /*width: 100%;
        height: 740px;*/
        /*width: 305px;
        height: 660px;*/
    }
}

@media (max-width: 576px) and (orientation: portrait) {
    .iphone-x b {
        left: 5%;
    }
}

@media (max-width: 576px) and (orientation: landscape) {}