/* https://maxrugen.com */

/*
 * Globals
 */
 @media print {
  .container {
    width: auto;
  }
} 

html {
  height:100vh;
}
body {
  position:fixed;
  width: 100vw;
}
/*
* Background
*/
.background {
  width: 100%;
  height: 100vh;
  display: block;
}
.background::after {
  content: "";
  background: url(../img/bg.png);
  background-size: cover;
  opacity: 0.94;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  position: absolute;
  z-index: -1;
}
/* Links */
a,
a:focus,
a:hover {
  color: #fff;
}
/*
 * Base structure
 */
body {
  display: -ms-flexbox;
  display: flex;
  color: #fff;
  text-shadow: 0 .05rem .1rem rgba(0, 0, 0, .5);
}
.body2 {
  margin-top: 20%;
}
/*
 * Header
 */
.masthead {
  margin-bottom: 2rem;
}
.masthead-brand {
  margin-bottom: 0;
}
.nav-masthead .nav-link {
  padding: .25rem 0;
  font-weight: 700;
  color: rgba(255, 255, 255, .5);
  background-color: transparent;
  border-bottom: .25rem solid transparent;
}
.nav-masthead .nav-link:hover,
.nav-masthead .nav-link:focus {
  border-bottom-color: rgba(255, 255, 255, .25);
}
.nav-masthead .nav-link + .nav-link {
  margin-left: 1rem;
}
.nav-masthead .active {
  color: #fff;
  border-bottom-color: #fff;
}
@media (min-width: 48em) {
  .masthead-brand {
    float: left;
  }
  .nav-masthead {
    float: right;
  }
}
/*
 * Cover
 */
.cover {
  padding: 0 1.5rem;
}
.cover .btn-lg {
  padding: .75rem 1.25rem;
  font-weight: 700;
}
.cover-heading {
  font-size: 100px;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: bold;
}


/*
 * Footer
 */
.mastfoot, .footer-links {
  color: rgba(255, 255, 255, 0.95);
}

/* Mobile phones */

/*
* MOBILE BACKGROUND
*/
/* iPhone 6, 6S, 7, 8 */
@media only screen
and (min-width:375px) and (max-height:677px) {
  .background::after {
    content: "";
    background: url(../img/66s78.png);
    opacity: 1;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    position: absolute;
    z-index: -1;   
  }
}
/* iPhone 6+, 6S+, 7+, 8+ */
@media only screen 
    and (device-width : 414px) 
    and (device-height : 736px) 
    and (-webkit-device-pixel-ratio : 3) {
  .background::after {
    content: "";
    background: url(../img/xs.png);
    opacity: 1;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    position: absolute;
    z-index: -1;   
  }
}

/* iPhone XR */
@media only screen
and (device-height: 414px)
and (device-width: 896px)
and (-webkit-device-pixel-ratio: 2) {
  
}

/* iPhone 3@ Pixels */
@media only screen
and (-webkit-device-pixel-ratio: 3) {
  .background::after {
    content: "";
    background: url(../img/3x.png);
    background-size: cover;
    opacity: 0.94;
    top: 0;
    left: -8%;
    bottom: 0;
    right: 0;
    position: absolute;
    z-index: -1;
  }
}

/* iPhone X, XS, XS Max*/
@media only screen
and (min-device-height: 740px)
and (max-device-height: 900px)
and (-webkit-device-pixel-ratio: 3) {
  .background::after {
    content: "";
    background: url(../img/xs.png);
    background-size: cover;
    opacity: 0.94;
    top: 0;
    left: -18%;
    bottom: 0;
    right: 0;
    position: absolute;
    z-index: -1;
  }
}

/* iPad */
/* Landscape */
@media only screen 
and (min-device-width : 768px) 
and (max-device-width : 1024px)
and (orientation : landscape) {
  .background::after {
    content: "";
    background: url(../img/bg.png);
    background-size: cover;
    opacity: 0.94;
    top: 0;
    left: -8%;
    bottom: 0;
    right: 0;
    position: absolute;
    z-index: -1;
  }
}
/* Portrait */
@media only screen 
and (min-device-width : 768px) 
and (max-device-width : 1024px) 
and (orientation : portrait) {
  .background::after {
    content: "";
    background: url(../img/bg.png);
    background-size: cover;
    opacity: 0.94;
    top: 0;
    left: -50%;
    bottom: 0;
    right: 0;
    position: absolute;
    z-index: -1;
  }
  .cover {
    margin-top: 35%
  }
  .cover-heading {
    font-size: 80px;
  }
}

@media only screen and (max-width: 767px) {
  body {
    position:fixed;
  }
  .cover, .cover-container {
    width: 100%
  }
  .cover-heading {
    margin-top: 50%;
    font-size: 38px;
    width:100%;
  }
  .logo-image {
    width:18%;
    height:auto;
    margin-bottom: 50%;
  }
  footer {
    font-size: 12px;
  }
}
