@import url('https://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,800italic,400,300,600,800');

body {
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  overflow: hidden;
  font-family: 'Open Sans', sans-serif;
}

body,
html {
  width: 100%;
  height: 100%;
  margin: 0;
}

hr {
  transform: scaleY(0.5);
}

.row {
  display: flex;
  flex-flow: row;
}

.row.main {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  align-items: stretch;
}

.row .col-fill {
  flex: 1 1 0;
}

.row .col-auto {
  flex: 0 0 auto;
}

.row .col-device {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.row .col-info {
  flex: 1 1 0;
  margin: 0 0.5em;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.row .col-info .tab-head {
  flex: 0 0 auto;
  padding: 5px;
  text-align: center;
}

.row .col-info .tab-head .button {
  background: #fff;
  border: 1px solid #18518D;
  color: #18518D;
  min-width: 10em;
  cursor: pointer;
  line-height: 1.5em;
  border-radius: 5px;
}

.row .col-info .tab-head .button.active {
  background: #18518D;
  border: 1px solid #18518D;
  color: #fff;
}

.row .col-info .frame {
  flex: 1 1 0;
  border: none;
}

.row .col-info h1,
.row .col-info p {
  font-weight: 300;
}

.row .col-info h4 {
  font-weight: 400;
}
@media screen and (max-width: 800px) {
  .col-info {
    display: none;
  }
}

.device-option {
  width: 3em;
  border: 1px solid #999;
  border-radius: 0.25em;
  margin: 10px 0;
  position: relative;
}

.device-option:first-child {
  margin-top: 10em;
}

.device-option input {
  position: absolute;
  visibility: hidden;
}

.device-option label {
  cursor: pointer;
  display: block;
  padding: 1em 0.5em;
}

.device-option label img {
  width: 2em;
}

.device-option input:checked~label {
  background: #18518D;
}

.demo-device {
  position: relative;
  width: 360px;
  margin: 0;
  border-radius: 55px;
  background: #111;
  box-shadow: 0 0 0 2px #aaa;
  z-index: 1000;
}

.demo-device .app-frame {
  background: #666;
  position: relative;
  border: none;
  margin: 0;
  padding: 0;
  display: block;
  width: 360px;
  height: 580px;
  overflow: hidden;
}

.ios .demo-device {
  padding: 100px 30px;
}

.ios .demo-device:after {
  content: '';
  position: absolute;
  width: 60px;
  height: 60px;
  left: 50%;
  margin-left: -30px;
  bottom: 20px;
  border-radius: 100%;
  box-sizing: border-box;
  border: 5px solid #333;
  background: #222;
}

.ios .demo-device:before {
  content: '';
  width: 60px;
  height: 10px;
  border-radius: 10px;
  position: absolute;
  left: 50%;
  margin-left: -30px;
  background: #333;
  top: 50px;
}

.android .demo-device {
  padding: 60px 30px 120px;
  background: #222;
}

.android .demo-device:after {
  content: '';
  position: absolute;
  color: #fff;
  width: 360px;
  height: 40px;
  background: #000 url("../images/android-bar.png") no-repeat center center;
  font-size: 2em;
  text-align: center;
}

.android .demo-device:before {
  content: '';
  width: 90px;
  height: 10px;
  border-radius: 10px;
  position: absolute;
  left: 50%;
  top: 0;
  margin-left: -45px;
  background: #333;
}
@media screen and (max-height: 800px) {
  .demo-device .app-frame {
    height: 448px;
  }

  .ios .demo-device {
    padding: 80px 30px;
  }

  .ios .demo-device:after {
    width: 50px;
    height: 50px;
    margin-left: -25px;
  }

  .android .demo-device {
    padding: 60px 30px 90px;
  }
}