@charset "utf-8";
/* CSS Document */
* {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	vertical-align: baseline;
	outline: none;
	font-size-adjust: none;
	-webkit-text-size-adjust: none;
	-moz-text-size-adjust: none;
	-ms-text-size-adjust: none;
	-webkit-tap-highlight-color: rgba(0,0,0,0);
    -webkit-font-smoothing: subpixel-antialiased!important;
    -webkit-transform: translate3d(1,1,1);
    transform:translate3d(1,1,1);    
    text-rendering: auto;
    -webkit-font-smoothing: subpixel-antialiased;
    -moz-osx-font-smoothing: grayscale;
}

*:focus {outline: none;}
*,*:after,*:before {	
    box-sizing: border-box;	
    padding: 0;	
    margin: 0;
}

*{
    font-family:'Roboto', sans-serif;
}
body {
  background-image: url("https://idmenu.fr/web/pizza-pierrot/img/qr-code-telephone-pour-restaurant.jpg");
  background-size: cover;
  background-position: center;
}

#main {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
		box-shadow: 0 0 280px rgba(0,0,0,0.5);
}

.mobile {
	height: calc(var(--phone-height) * 1/4);
	width: calc(var(--phone-width) * 1/4);
	transform: scale(var(--phone-scale));
	padding: var(--phone-border);
	background-color: var(--phone-color);
	box-shadow: 0 0 80px rgba(0,0,0,0.5);
	border-radius: var(--phone-radius);
}

.iphone-x {
  position: relative;
  margin: 40px auto;
  width: 425px;
  height: 805px;
  border-radius: 40px;
  background-color: #1f1f1f;
  box-shadow: 0 0 0 11px #1f1f1f, 0 0 0 13px #191919, 0 0 0 20px #111, 8px 8px 40px #000;
  overflow: hidden;

  &:before,
  &:after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }
  &:after {
    bottom: 7px;
    width: 140px;
    height: 4px;
    background-color: #f2f2f2;
    border-radius: 10px;
  }
  &:before {
    top: -4px;
    width: 56%;
    height: 25px;
    background-color: #1f1f1f;
    border-radius: 0 0 40px 40px;
  }
  .speaker {
    position: absolute;
    top: -4px;
    left: 50%;
    z-index: 2;
    transform: translate(-50%, 6px);
    height: 8px;
    width: 15%;
    background-color: #101010;
    border-radius: 8px;
    box-shadow: inset 0 -3px 3px 0 rgba(256, 256, 256, 0.2);
  }

  .camera {
    position: absolute;
    left: 10%;
    top: -4px;
    z-index: 3;
    transform: translate(180px, 4px);
    width: 12px;
    height: 12px;
    background-color: #101010;
    border-radius: 12px;
    box-shadow: inset 0 -3px 2px 0 rgba(256, 256, 256, 0.2);

    &:after {
      content: '';
      position: absolute;
      background-color: #2d4d76;
      width: 6px;
      height: 6px;
      top: 3px;
      left: 3px;
      display: block;
      border-radius: 4px;
      box-shadow: inset 0 -2px 2px rgba(0, 0, 0, 0.5);
    }
  }
}
@media all and (max-width:430px){
  .iphone-x {
    position: relative;
    margin: 0;
    width: 100%;
    height: auto;
    border-radius: 0;
    background-color: transparent;
    box-shadow: none;
  }
  iframe {
    width: 100%;
  }
}