.modal 
{
  display: none;
  position: fixed;
  z-index: 100;
  left: 0;
  top: 0;
  width: 100%;
  height: 100vh;
  overflow: auto;  
  background-color: rgba(0, 0, 0, 0.85);
}

.modal-content 
{
  position: relative;
  margin: auto;
  top: 2%;
  padding: 0;
  border: 2px solid #888;
  width: 90%;
  max-width: 400px;
  text-align: left;
}

.modal-header
{
  padding: 1% 4%;
  background-color: #1a1a1a;
  color: white;
}

.modal-body 
{
  background-color: black;
}

.modal-footer 
{
  padding: 1% 4%;
  background-color: #000000;
  color: white;  
}

.modal-image
{
  position: relative;
  width: 90%;
  margin: 5%;
}

.modal-item-buy
{
  font-size: 1.25em;
	font-weight: bold;
	color: #FAD792;
	margin: 0;
	margin-bottom: 0.8em;
}

.modal-store-logo
{
  width: 40%;  
  margin-bottom: 1.1em;
  display: block;
 }

.modal-item-title
{
	font-size: 1.25em;
	font-weight: bold;
	color: #FAD792;
	margin: 0;
	padding: .3em 0 .2em;
}

.modal-item-brand
{
	font-size: 1.1em;
	font-weight: bold;
	color: #ffffff;	
	margin: 0;
	padding: .1em 0 .2em;
}

.modal-show
{
  -webkit-animation-name: animate-show;
  -webkit-animation-duration: 0.5s;
  animation-name: animate-show;
  animation-duration: 0.5s
}

@-webkit-keyframes animate-show 
{
  from {opacity: 0} 
  to {opacity: 1}
}

@keyframes animate-show 
{
  from {opacity: 0}
  to {opacity: 1}
}

.modal-hide
{
  -webkit-animation-name: animate-hide;
  -webkit-animation-duration: 0.5s;
  animation-name: animate-hide;
  animation-duration: 0.5s
}

@-webkit-keyframes animate-hide 
{
  from {opacity: 1} 
  to {opacity: 0}
}

@keyframes animate-hide 
{
  from {opacity: 1}
  to {opacity: 0}
}

.close-modal 
{
  color: white;
  float: right;
  font-size: 3rem;
  font-weight: bold;
}

.close-modal:hover,
.close-modal:focus
{
  color: #000;
  text-decoration: none;
  cursor: pointer;
  transform: scale(1.5);
}

/* adjustments */
@media screen and (max-width: 65em) 
{
  .modal-content 
  {
    width: 90%;
    max-width: 600px;
    top: 4%;
  }
}

@media screen and (max-width: 50em) 
{
  .modal-content 
  {
    width: 90%;
    max-width: 600px;
    top: 4%;
  }
}

@media screen and (max-width: 25em)
{
  .modal-store-logo
  {
    width: 10em;
  }

  .modal-content 
  {
    width: 90%;
    max-width: 400px;
    top: 1%;
  }

  .modal-item-title
  {
    font-size: 1.1em;
    font-weight: normal;
  }
  
  .modal-item-brand
  {
    font-size: 1.0em;
    font-weight: normal;
  }  
}
