@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap");

body {
  font-family: "Roboto", sans-serif;
}

div.center {
  margin: auto;
  padding: 2vw;
}

div.gallery {
  border-radius: 25px;
  background-color: #1f2435;
  box-shadow: 0px 0px 25px rgb(0, 0, 0, 0.1);
  margin: 0.5vw;
  opacity: 80%;
  transition: 0.3s;
}

div.gallery:hover,
div.gallery:focus {
  opacity: 100%;
  background-color: #2b324b;
}

div.gallery img {
  border-radius: 25px 25px 0px 0px;
  width: 100%;
  height: auto;
  box-shadow: 0px 0px 25px rgb(0, 0, 0, 0.5);
}

div.desc {
  padding: 15px;
  text-align: center;
  font-size: 1.5em;
  color: #dfeef2;
  line-height: 1em;
}

div.desc p {
  font-size: 0.5em;
  text-align: left;
}

* {
  box-sizing: border-box;
}

.responsive {
  padding: 0 6px;
  float: left;
  width: 24.99999%;
}

h1 {
  text-align: center;
  font-size: 3em;
  line-height: 1vh;
}

p {
  text-align: center;
  font-size: 1em;
  line-height: 1vh;
}

span.resulution {
  position: absolute;
  margin-left: 1vw;
  margin-top: 0.5vw;
  color: white;
  text-shadow: 0px 0px 20px #000000;
  opacity: 80%;
}

.credit {
  background-color: #2b324b;
  color: #dfeef2;
  font-weight: 300;
  font-size: 0.8em;
  border-radius: 10px 0px 0px 0px;
  position: fixed;
  bottom: 0;
  right: 0;
  opacity: 50%;
  box-shadow: 0px 0px 25px rgb(0, 0, 0, 0.5);
  padding-top: 0.2vw;
  padding-bottom: 0.2vw;
  padding-left: 0.5vw;
  padding-right: 0.5vw;
}

.clearfix:after {
  content: "";
  display: table;
  clear: both;
}

.button {
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 1vw;
  left: 1vw;
}

button {
  background-color: #dfeef2; /* Green */
  border: 2px solid #dfeef2;
  color: black;
  padding: 10px 20px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 1em;
  border-radius: 15px;
  transition-duration: 0.4s;
}

button:hover,
button:focus {
  background-color: rgba(0, 0, 0, 0);
  color: #dfeef2;
}

/* The Modal (background) */
.modal {
  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;
  border-radius: 25px;
  margin: auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
  -webkit-animation-name: animatetop;
  -webkit-animation-duration: 0.4s;
  animation-name: animatetop;
  animation-duration: 0.4s;
}

/* Add Animation */
@-webkit-keyframes animatetop {
  from {
    top: -300px;
    opacity: 0;
  }
  to {
    top: 0;
    opacity: 1;
  }
}

@keyframes animatetop {
  from {
    top: -300px;
    opacity: 0;
  }
  to {
    top: 0;
    opacity: 1;
  }
}

/* The Close Button */
.close {
  color: #aaaaaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  transition: 0.3s;
}

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

@media only screen and (min-resolution: 117dpi) and (max-resolution: 119dpi),
  only screen and (min-resolution: 131dpi) and (max-resolution: 133dpi),
  only screen and (min-resolution: 145dpi) and (max-resolution: 154dpi),
  only screen and (min-resolution: 162dpi) and (max-resolution: 164dpi),
  only screen and (max-width: 1100px) {
  .responsive {
    width: 100%;
    font-size: 2em;
    margin-bottom: 2vh;
    opacity: 100%;
  }
  .download {
    display: none;
  }
  h1 {
    line-height: 6vh;
  }
  div.desc {
    font-size: 1em;
  }
  div.desc p {
    font-size: 0.5em;
  }
}
