/** Bar  3 menu **/
.bar1,
.bar2,
.bar3 {
	width: 25px;
	height: 4px;
	border-radius:3px;
	background: #fff;
	margin: 5px 0;
	transition: 0.3s;
}

.change .bar1 {
	-webkit-transform: rotate(-405deg) translate(-8px, 5px);
	transform: rotate(-405deg) translate(-8px, 5px);
}

.change .bar2 {
	opacity: 0;
}

.change .bar3 {
	-webkit-transform: rotate(405deg) translate(-8px, -5px);
	transform: rotate(405deg) translate(-8px, -5px);
}

.box1{
	width:10px;
	height:10px;
	background-color:#242C6B;
	position:relative;
	animation-name:runningbox1;
	animation-duration:3s;
	animation-iteration-count:infinite;
}
.box2{
	width:10px;
	height:10px;
	background-color:#223E67;
	position:relative;
	animation-name:runningbox2;
	animation-duration:3s;
	animation-iteration-count:infinite;
}

@keyframes runningbox1{
	0% {left:20px;top:0px;}
	25% {left:30px;top:0px;}
	50% {left:40px;top:0px;}
	75% {left:50px;top:0px;}
	100% {left:60px;top:0px;}
}

@keyframes runningbox2{
	0% {left:0px;top:0px;}
	25% {left:10px;top:0px;}
	50% {left:20px;top:0px;}
	75% {left:30px;top:0px;}
	100% {left:40px;top:0px;}
}

.preview {
	overflow: hidden;
	
	.device {
	  position: relative;
	  width: 680px;
	  height: 400px;
	  margin: 0 auto;
	  border: 1px solid #999;
	  
	  &,
	  &:after,
	  iframe {
		transition: all 0.5s ease;
	  }
	  
	  iframe {
		transform: scale(0.5);
		border-radius: 1em;
	  }
	  
	  &:after {
		content: ' ';
		background-color: #444;
		position: absolute;
	  }
	}
	  
	.device-desktop {
	  width: 680px;
	  height: 400px;
	  padding: 1em  1em 5em;
	  border-radius: 1em;
  
	  &:after {
		width: 3em;
		height: 3em;
		bottom: 1em;
		left: 47.5%;
		border-radius: 100em;
	  }
	  
	  iframe {
		width: 1360px;
		height: 800px;
	  }
  
	}
	  
	.device-tablet-p {
	  width: 384px;
	  height: 512px;
	  padding: 1em 1em 3em;
	  border-radius: 1em;
  
	  &:after {
		width: 1.5em;
		height: 1.5em;
		bottom: .75em;
		left: 47%;
		border-radius: 100em;
	  }
  
	  iframe {
		width: 768px;
		height: 1024px;
	  }
  
	}
	  
	.device-tablet-l {
	  width: 512px;
	  height: 384px;
	  padding: 1em 3em 1em 1em;
	  border-radius: 1em;
  
	  &:after {
		width: 1.5em;
		height: 1.5em;
		left: 93.5%;
		bottom: 47%;
		border-radius: 100em;
	  }
  
	  iframe {
		width: 1024px;
		height: 768px;
	  }
  
	}
	
	.device-mobile-p,
	.device-mobile-l {
	  
	   iframe {
		transform: scale(0.75);
	   }
	  
	}
	  
	.device-mobile-p {
	  width: 240px;
	  height: 420px;
	  padding: 1em 1em 3em;
	  border-radius: 1em;
  
	  &:after {
		width: 2em;
		height: 2em;
		bottom: .5em;
		left: 45%;
		border-radius: 100em;
	  }
  
	  iframe {
		width: 320px;
		height: 560px;
	  }
  
	}
	  
	.device-mobile-l {
	  width: 420px;
	  height: 240px;
	  padding: 1em 3em 1em 1em;
	  border-radius: 1em;
  
	  &:after {
		width: 2em;
		height: 2em;
		left: 91.5%;
		bottom: 45%;
		border-radius: 100em;
	  }
  
	  iframe {
		width: 560px;
		height: 320px;
	  }
  
	}
  
	iframe {
	  margin: 0;
	  border: 0;
	  transform-origin: 0 0;
	}
  
  }
  
  
  .devices {
	list-style: none;
	width: 100%;
	text-align: center;
	border-bottom: 1px solid #eee;
	margin: 0 0 2rem;
	padding: 0;
	
	& > li {
	  display: inline-block;
	  line-height: 2em;
	  margin: 0 1em 0 0;
	}
	
  }
