body  { padding-top: 0px; font-family: 'Arial' }

#header {
  height: 30%;
  width: 100%;
  background-image: url("../img/phantom_logo_white.jpg");
  background-size: 30% 100%;
  background-repeat: no-repeat;
  background-position: center center;
  margin: 2% auto 0% auto;
}

#header_textpart {
  width: 100%;
  text-align: center;
  margin: 0% auto 0% auto;
}

#header_subtext{
  padding: 5px;
  color: #292D36;
  display: inline-block;
  margin: 0% auto 0% auto;
}

.unselectable {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

#download{
  width: 100%;
  margin: 3% auto 3% auto;
}

#btn-download{
  border: 1px solid #292D36;
  margin: auto;
  width: 20%;
  height: 6%;
  background: #ccc url(../img/button_download_windows.jpg);
  background-size: 100% 100%;
  background-repeat: no-repeat;
  display: block;
  -webkit-transition-duration: 0.4s;
  transition-duration: 0.4s;
  cursor: pointer;
}

#btn-download:hover {
  opacity: 0.5;
}

#image_preview{
  width : 50%;
  margin: 0 auto 2% auto;
}

#myImg{
  width: 100%;
  height: 50%;
  margin: auto;
  display: block;
  border: 1px solid #292D36;
}

/* Style the Image Used to Trigger the Modal */
#myImg {
  border-radius: 5px;
  cursor: pointer;
  transition: 0.5s;
}

#myImg:hover {opacity: 0.4;}

/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  padding-top: 50px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
}

/* Modal Content (Image) */
.modal-content {
  margin: auto;
  display: block;
  width: 110%;
  max-width: 1130px;
  height: 110%;
  max-height: 666px;
}

/* Caption of Modal Image (Image Text) - Same Width as the Image */
#caption {
  margin: auto;
  display: block;
  width: 100%;
  max-width: 1130px;
  height: 100%;
  max-height: 666px;
  text-align: center;
  color: #ccc;
  padding: 10px 0;
  height: 150px;
}

/* Add Animation - Zoom in the Modal */
.modal-content, #caption { 
  animation-name: zoom;
  animation-duration: 0.5s;
}

@keyframes zoom {
  from {transform:scale(0)} 
  to {transform:scale(1)}
}

/* The Close Button */
.closemodal {
  position: absolute;
  top: 0px;
  right: 15px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.5s;
}

.closemodal:hover,
.closemodal:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}

#footer {
  width: 100%;
  text-align: center;
} 

/* ----------- iPad 3 and 4 ----------- */
/* Portrait and Landscape */
@media only screen and (min-width: 768px) and (max-width: 1024px) {

  #header {
    width: 100%;
    height: 20%;
    background-size: 20% 100%;
  }

  #btn-download{
    margin: auto;
    width: 30%;
    height: 6%;
  }

  #image_preview{
    width : 75%;
    height: 50%;
    margin: 0 auto 2% auto;
  }
  
  #myImg{
    width: 100%;
    height: 100%;
    margin: auto;
    display: block;
  } 
  .modal-content {
    height: 85%;
    width: 85%;
  }
}

/* ----------- Between ----------- */
@media screen and (min-width: 481px) and (max-width: 767px) {

  #header {
    width: 100%;
    height: 30%;
    background-size: 65% 100%;
  }

  #btn-download{
    margin: auto;
    width: 40%;
    height: 7%;
  }

  #image_preview{
    width : 75%;
    height: 55%;
    margin: 0 auto 2% auto;
  }
  
  #myImg{
    width: 100%;
    height: 100%;
    margin: auto;
    display: block;
  }
  .modal-content {
    width: 85%;
    height: 75%;
  } 
} 
  
/* ----------- Smartphone ----------- */
@media screen and (min-width: 320px) and (max-width: 480px) {

  #header {
    width: 100%;
    height: 20%;
    background-size: 75% 100%;
  }

  #btn-download{
    margin: auto;
    width: 50%;
    height: 6%;
  }

  #image_preview{
    width: 85%;
    height: 40%;
    margin: 0 auto 3% auto;
  }
  
  #myImg{
    width: 100%;
    height: 100%;
    margin: auto;
    display: block;
  }
  .modal-content {
    height: 50%;
    width: 95%;
  }
} 