* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f9f9f9;
    color: #333;
    text-align: center;
}

header {
    padding: 20px;
}

nav {
    position: relative;
    width: 300px;
    margin: 10px auto 0;
    left: -360px;
}

nav a {
    color: #ccc;
    margin: 0 15px;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
}

nav a:hover {
    text-decoration: none;
    border-bottom: 2px solid #000;
}

nav a.grey:hover {
    text-decoration: none;
    border-bottom: 2px solid #ccc;
}

nav .brand {
    color: #333;
    font-weight: bold;
    font-size: 16px;
}

#logo-container {
    position: absolute;
    top: 166px;
    width: 96px;
    height: 115px;
    margin-left: -48px;
    left: 50%;
}

.intro {
    margin-top: 254px;
}

.intro h1 {
    font-size: 30px;
    margin-bottom: 30px;
}

.highlight {
    font-weight: normal;
}

.iphone-container {
    position: relative;
    margin: 90px auto 60px;
    width: 300px;
    height: 642px;
}

#iphoneX	{
    position: absolute;
	width: 300px;
    height: 642px;
	border: solid 3px #000000;
	border-radius: 15px;
}

#bar {
	position: absolute;
    left: 75px;
    width: 150px;
    height: 14px;
    background: #000000;
    border-radius: 0px 0px 20px 20px;
}

#speaker {
  position: absolute;
  left: 47px;
  width: 50px;
  height: 3px;
  background: #272727;
  border-radius: 20px;
  top: 3px;
}

#wake {
  position: absolute;
  left: 296px;
  width: 3px;
  height: 70px;
  background: #000000;
  border-radius: 0 20px 20px 0;
  top: 150px;
}

#mute, #vol-top, #vol-bottom {
  position: absolute;
  left: -5px;
  width: 3px;
  background: #000000;
  border-radius: 20px 0 0 20px;
}

#mute {
  height: 21px;
  top: 100px;
}

#vol-top, #vol-bottom {
  height: 45px;
}

#vol-top {
  top: 142px;
}

#vol-bottom {
  top: 199px;
}

img.iphone	{
	border-radius: 11px;
    max-width: 100%;
}

.download-button {
    background-color: #000000;
    color: #ffffff;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
    margin-bottom: 15px;
    width: 14%;
    height: 48px;
    font-weight: 100;
    letter-spacing: .5px;
}

.download-button.mac {
    background-color: #7a34ae;
    color: #ffffff;
}

.download-button:hover {
    background-color: #222222;
}

.download-button.mac:hover  {
    background-color: #9851cd;
}

.description {
    font-size: 22px;
    color: #a0a0a0;
    max-width: 567px;
    margin: 58px auto 87px;
    line-height: 1.8;
}

#buffer {
    display: block;
    position: relative;
    height: 200px;
}

.legal {
    width: 560px;
    text-align: left;
    position: relative;
    margin: 50px auto 100px;
}

.legal p {
    line-height: 1.5;
    margin-bottom: 20px;
}

.underline {
    text-decoration: underline;
}

/* Macbook */
.css-mb {
  max-width: 650px;
  min-width: 50px;
  margin: 50px auto 60px;
}

.css-mb div {
  box-sizing: border-box !important;
}

.css-mb .mb-display-position {
  width: 80%;
  margin: 0 auto;
}

.css-mb .mb-display {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 65.9442%;
  background: #373435;
  -webkit-border-top-left-radius:  3.5% 5.3075%;
      -moz-border-radius-topleft:  3.5% 5.3075%;
          border-top-left-radius:  3.5% 5.3075%;
  -webkit-border-top-right-radius: 3.5% 5.3075%;
      -moz-border-radius-toptight: 3.5% 5.3075%;
          border-top-right-radius: 3.5% 5.3075%;
}

.css-mb .mb-display:before {
  content: '';
  display: block;
  position: absolute;
  top: 3%;
  left: 50%;
  width: 1%;
  height: 1.5164%;
  margin-left: -0.5%;
  border-radius: 50%;
  background: #525252;
}

/* Glare */
.css-mb .mb-display:after {
  content: '';
  display: none;
  position: absolute;
  right: 0.4%;
  top: 0.64%; 
  width: 62.5%;
  height: 100%;
  
  background: none; /* Hide the gradient on older browsers */
  background:    -moz-linear-gradient(55deg, rgba(0,0,0,0) 61%, rgba(255,255,255,0.05) 61%); /* FF3.6+ */
  background: -webkit-linear-gradient(36deg, rgba(0,0,0,0) 61%, rgba(255,255,255,0.05) 61%); /* Chrome10+ and Safari5.1+ compute the degree differently */
  background:      -o-linear-gradient(55deg, rgba(0,0,0,0) 61%, rgba(255,255,255,0.05) 61%); /* Opera 11.10+ */
  background:     -ms-linear-gradient(55deg, rgba(0,0,0,0) 61%, rgba(255,255,255,0.05) 61%); /* IE10+ */
  background:         linear-gradient(55deg, rgba(0,0,0,0) 61%, rgba(255,255,255,0.05) 61%);
  
  -webkit-border-top-right-radius: 5.3075%;
      -moz-border-radius-toptight: 5.3075%;
          border-top-right-radius: 5.3075%;
}

/* Only show glare, if the class is applied */
.css-mb.with-glare .mb-display:after { display: block; }

.css-mb .mb-screen-position {
  position: absolute;
  top: 6.5%;
  width: 93.2%;
  left: 3.4%;
  height: 0;
  margin: 0;
  padding-bottom: 58.25%; /* Ratio */
}

.css-mb .mb-screen {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  background: #4b4b4d; /* bg color if content is not big enough, or rendering is off */
}

/* Image on the screen */
.css-mb .mb-screen img {
  max-width: 100%;
  height: auto;
}

/* Macbook body */
.css-mb .mb-body {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 2.3%;
  background: #e6e7e8;
}

.css-mb .mb-body:before {
  content: '';
  display: block;
  position: absolute;
  top: 0;
  left: 50%;
  width: 14.0740%;
  height: 0;
  padding-bottom: 1.4814%;
  margin-left: -7.037%;
  background: #a9abae;
  
  -webkit-border-bottom-left-radius:  7.0370% 50%;
      -moz-border-radius-bottomleft:  7.0370% 50%;
          border-bottom-left-radius:  7.0370% 50%;
  
  -webkit-border-bottom-right-radius: 7.0370% 50%;
      -moz-border-radius-bottomtight: 7.0370% 50%;
          border-bottom-right-radius: 7.0370% 50%;  
}

/* Macbook bottom */
.css-mb .mb-bottom-cover {
  width: 100%;
  height: 0;
  padding-bottom: 0.7407%;
  background: #a9abae;
  
  -webkit-border-bottom-left-radius:  12% 600%;
      -moz-border-radius-bottomleft:  12% 600%;
          border-bottom-left-radius:  12% 600%;
  
  -webkit-border-bottom-right-radius: 12% 600%;
      -moz-border-radius-bottomtight: 12% 600%;
          border-bottom-right-radius: 12% 600%; 
}

/* Smartphones (portrait and landscape) */
@media only screen and (min-device-width : 320px) and (max-device-width : 480px) {

    nav {
        left: -80px;
    }

    .download-button {
        width: 51%;
    }

    .description {
        max-width: 80%;
        font-size: 18px;
    }

    .legal {
        width: 80%;
    }

}

/* Smartphones (landscape) */
@media only screen and (min-width : 321px) {

}

/* Smartphones (portrait) */
@media only screen and (max-width : 320px) {

}

@media only screen and (min-device-width: 375px) and (max-device-width: 667px) and (orientation : portrait) { 

}

@media only screen and (min-device-width: 375px) and (max-device-width: 667px) and (orientation : landscape) { 

}

@media only screen and (min-device-width: 414px) and (max-device-width: 736px) and (orientation : portrait) { 

}

@media only screen and (min-device-width: 414px) and (max-device-width: 736px) and (orientation : landscape) { 

}

@media only screen and (max-device-width: 640px), only screen and (max-device-width: 667px), only screen and (max-width: 480px){ 

}

@media only screen and (max-device-width: 640px), only screen and (max-device-width: 667px), only screen and (max-width: 480px) and (orientation : portrait){ 

}

@media only screen and (max-device-width: 640px), only screen and (max-device-width: 667px), only screen and (max-width: 480px) and (orientation : landscape){ 

}

/* iPads (portrait and landscape) */
@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) {

}

/* iPads (landscape) */
@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : landscape) {

}

/* iPads (portrait) */
@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : portrait) {

}

/* Desktops and laptops */
@media only screen and (min-width : 1224px) {

}

/* Large screens */
@media only screen and (min-width : 1824px) {

}

/* iPhone 4 */
@media only screen and (-webkit-min-device-pixel-ratio : 1.5), only screen and (min-device-pixel-ratio : 1.5) {

}

@media only screen and (-webkit-min-device-pixel-ratio: 2) {

}

@media only screen and (-webkit-min-device-pixel-ratio: 2) and (max-width: 1400px) {

}

@media only screen and (-webkit-min-device-pixel-ratio: 2) and (max-width: 600px) {

}