body {
  font-family: Verdana, sans-serif;
  margin: 0;
}

* 
{
  box-sizing: border-box;
}

body
{
    --reso3:1;
}

@media (-webkit-device-pixel-ratio:1.1)
{
    body
    {
        --reso3:0.9090;
    }   
}

@media (-webkit-device-pixel-ratio:1.25)
{
    body
    {
        --reso3:0.8;
    }   
}

@media (-webkit-device-pixel-ratio:1.5)
{
    body
    {
        --reso3:0.66;
    }   
}

@media (-webkit-device-pixel-ratio:1.75)
{
    body
    {
        --reso3:0.5714;
    }   
}

@media (-webkit-device-pixel-ratio:2)
{
    body
    {
        --reso3:0.5;
    }   
}

@media (-webkit-device-pixel-ratio:2.5)
{
    body
    {
        --reso3:0.4;
    }   
}

@media (-webkit-device-pixel-ratio:3)
{
    body
    {
        --reso3:0.333;
    }   
}


@media (-webkit-device-pixel-ratio:0.5)
{
    body
    {
        --reso3:2;
    }   
}

/* Create four equal columns that floats next to eachother */
.column 
{

  display: flex;
  flex-direction: column;
  padding-left: 0px ;
  padding-right: 20px ;
  padding-top: 0px ;
  padding-bottom: 20px ;
  float: left;
  align-content : space-around;
  width: 33%;

}

.row
{
    display: flex;
    flex-wrap: wrap ;
    justify-content: space-around;
    align-content: space-between;

}





/* The Modal (background) */
.modal {

  width: 100vw;
  height: 100vh;
  display: none;
  position: fixed;
  z-index: 1;
  padding-top: 50px;
  left: 0;
  top: 0;
  overflow: auto;
  background-color: black;

}

/* Modal Content */
.modal-content {
  position: relative;
  background-color: /*#fefefe*/black;
  margin: auto;
  padding-left: 0px ;
  padding-right: 0px ;
  padding-top: 0px ;
  padding-bottom: 0px ;

  width:auto ;
  height:auto;
  max-width: calc(var(--reso3)*1400px);
  max-height: calc(var(--reso3)*900px);
}


/*.mySlides 
{
  /*width:auto;
  height:900px;
  max-width: 1200px;
  max-height: 900px;
}
*/

.mySlides img
{

  width: auto;
  max-width: calc(var(--reso3)*1400px);
  height: auto;
  max-height: calc(var(--reso3)*900px);
}



/* The Close Button */
.close {
  color: white;
  position: absolute;
  top: calc(var(--reso3)*10px);
  right: calc(var(--reso3)*25px);
  font-size: calc(var(--reso3)*35px);
  font-weight: bold;
}

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



/* Next & previous buttons */
.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -50px;
  color: white;
  font-weight: bold;
  font-size: 20px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
  -webkit-user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover,
.next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}



img.hover-shadow {
  transition: 0.3s;
}

.hover-shadow:hover {
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}