﻿/* If you like this, be sure to ❤️ it. */
.wrapper {
  height: 100vh;
  /* This part is important for centering the content */
  display: flex;
  align-items: center;
  justify-content: center;
  /* End center */
  background: -webkit-linear-gradient(to right, #834d9b, #d04ed6);
  background: linear-gradient(to right, #834d9b, #d04ed6);
}



.modal {
  visibility: hidden;
  opacity: 0;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, .7);
  transition: all .4s;
    z-index: 3000;
    width: auto;
    
}

.modal:target, .modal.visible {
  visibility: visible;
  opacity: 1;
}

.modal__content {
  border-radius: 0px;
  position: relative;
  width: 500px;
  max-width: 90%;
  background: #fff;
  padding: 20px 10px 20px 20px;
    border: 0px solid #470;
    box-shadow: 2px 2px 4px rgba(0,0,0,0.1)
}

.modal__content img {width: 490px}

.modal__close {
  position: absolute;
  top: 10px;
  right: 10px;
  color: var(--red);
  text-decoration: none;
    font-size: 2em;
    
}

.modal__close:hover  {text-decoration: none}


/********************************************general mobile settings**********************************************************/
@media all and (max-width: 64em), only screen and (-webkit-min-device-pixel-ratio: 2) and (max-width: 1024px), only screen and (min--moz-device-pixel-ratio: 2) and (max-width: 1024px), only screen and (-o-min-device-pixel-ratio: 2/1) and (max-width: 1024px), only screen and (min-device-pixel-ratio: 2) and (max-width: 1024px), only screen and (min-resolution: 192dpi) and (max-width: 1024px), only screen and (min-resolution: 2dppx) and (max-width: 1024px) {
    
 .wrapper {
  height: 100vh;
  /* This part is important for centering the content */
  display: flex;
  align-items: center;
  justify-content: center;
  /* End center */
  background: -webkit-linear-gradient(to right, #834d9b, #d04ed6);
  background: linear-gradient(to right, #834d9b, #d04ed6);
}

.modal {
  visibility: hidden;
  opacity: 0;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, .7);
  transition: all .4s;
    z-index: 3000;
    width: auto;
    
}

.modal:target {
  visibility: visible;
  opacity: 1;
}

.modal__content {
  border-radius: 0px;
  position: relative;
  width: 90vw;
  max-width: 90%;
  background: #fff;
  padding: 20px 10px 20px 20px;
    border: 0px solid #470;
    box-shadow: 2px 2px 4px rgba(0,0,0,0.1)
}

.modal__content img {width: 100%}

.modal__close {
  position: absolute;
  top: 10px;
  right: 10px;
  color: var(--red);
  text-decoration: none;
    font-size: 2em;
    
}   
    
    
    
    
}


