    /* The Modal (background) */
.modal {
  margin-top: 3%;
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  padding-top: 100px; /* 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.4); /* Black w/ opacity */
}

/* Modal Content */
.modal-content {
  background-color: #fefefe;
  margin: auto;
  padding: 20px;
  border: 1px solid #888;
  width: 50%;
}

/* The Close Button */
.close {
  color: #aaaaaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}


@media (max-width: 850px) {
  .modal-content{
    width: 70%;
  }
  .modal-content img{
    width: 400px;
  }
}
@media (max-width: 600px) {
  .modal-content{
    width: 90%;
  }
  .modal-content img{
    width: 250px;
  }
}

/* counter 
------------------------------------------ */
#counter {
  width: 90%;
  color: white;
  text-align: center;
  margin: 18px auto 0;
}
#counter p{
  font: 62px/1em "montserrat-bold", sans-serif;
  display: block;
  padding: 12px 0 30px;
  min-width: 25%;
}

#counter span {
  font: 62px/1em "montserrat-bold", sans-serif;
  display: block;
  padding: 12px 0 30px;
  min-width: 25%;
  float: left;
}

#counter span em {
  font: 11px/18px "montserrat-regular", sans-serif;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-top: 3px;
  display: block;
  color: red;
  /*color: rgba(255, 255, 255, 0.6);*/
}

@media only screen and (max-width:900px) {
  #counter {
    width: 92%;
  }

  #counter span {
    font: 58px/1em "montserrat-bold", sans-serif;
  }

}

@media only screen and (max-width:768px) {
  #counter {
    width: 100%;
  }

  #counter span {
    font: 52px/1em "montserrat-bold", sans-serif;
  }

}

@media only screen and (max-width:600px) {
  #counter {
    margin-bottom: 24px;
  }

  #counter span {
    font: 48px/1em "montserrat-bold", sans-serif;
  }

}

@media only screen and (max-width:500px) {
  #counter {
    margin-bottom: 12px;
  }

  #counter span {
    font: 37px/1em "montserrat-bold", sans-serif;
  }

  #counter span em {
    font: 9px/18px "montserrat-regular", sans-serif;
    letter-spacing: 1.5px;
  }

}

@media only screen and (max-width:400px) {
  #counter span {
    font: 31px/1em "montserrat-bold", sans-serif;
  }

  #counter span em {
    font: 8px/18px "montserrat-regular", sans-serif;
    letter-spacing: 1px;
  }

}
