html {
  color: #cccccc;
}

body {
  background-color: #222628;
}

div#content {
  background-color: #33383a;
  margin: 0 auto 2em auto;
  line-height: 1.3em;
  font-size: 12pt;
  font-family: Nunito, sans-serif;
  padding: 0.5em 2em;
  box-shadow: 0 10px 20px #000000;
}

div#header {
  width: 70%;
  margin: auto;
}

@font-face {
    font-family: "Nunito";
    src: url(../fonts/Nunito-Light.ttf);
}

@font-face {
    font-family: "Nunito Medium";
    src: url(../fonts/Nunito-Medium.ttf);
}

@media screen {
  div#content {
    width: 40em;
  }
}

@media only screen 
and (min-device-width : 375px) 
and (max-device-width : 812px)
and (-webkit-device-pixel-ratio : 3) {
  div#content {
    width: auto;
    margin: 0 2em;
  }

  div#header {
    width: 90%;
  }

  .full .close, .full .previous, .full .next {
    font-size: 24pt !important;
  }  
  .full .previous, .full .next {
    width: 3em;
    height: 3em;
    line-height: 3em;
  }
}

@media only screen 
and (device-width : 414px) 
and (device-height : 896px) 
and (-webkit-device-pixel-ratio : 3) {
  div#content {
    width: auto;
    margin: 0 2em;
  }

  div#header {
    width: 90%;
  }

  .full .close, .full .previous, .full .next {
    font-size: 24pt !important;
  }  
  .full .previous, .full .next {
    width: 3em;
    height: 3em;
    line-height: 3em;
  }
}

@media only screen 
and (min-device-width : 375px) 
and (max-device-width : 667px) {
  div#content {
    width: auto;
    margin: 0 2em;
  }

  div#header {
    width: 90%;
  }

  .full .previous, .full .next {
    width: 3em;
    height: 3em;
    line-height: 3em;
  }
}

@media only screen 
and (device-width : 414px) 
and (device-height : 896px) 
and (-webkit-device-pixel-ratio : 2) {
  div#content {
    width: auto;
    margin: 0 2em;
  }

  div#header {
    width: 90%;
  }
  
  .full .previous, .full .next {
    width: 3em;
    height: 3em;
    line-height: 3em;
  }
}

div#logo {
  text-align: center;
}

div#logo img {
  width: 30%;
  box-shadow: 0px 0px 15px 5px #666a6e;
  margin: 2em 0 1em 0;
}

img#anim {
  width: 100%;
}

div#header p {
  text-align: center;
}

a, strong {
  color: #ffffff;
  font-family: "Nunito Medium", sans-serif;
  font-weight: normal;
}

h1 {
  text-align: center;
  color: #ffffff;
  clear: both;
  font-size: 18pt;
  padding-top: 1em;
}

a:link, a:visited, a:active, a:hover {
  color: #cccccc;
}

li {
  padding-top: 0.25em;
  padding-bottom: 0.25em;
}

p img {
  vertical-align: middle;
  border-radius: 8px;
  box-shadow: 0 0 16px #333;
}

.gallery {
  display: grid;
  grid-column-gap: 8px;
  grid-row-gap: 8px;
  grid-template-columns: repeat(auto-fill, minmax(20%, 1fr));
}
.gallery .content {
  padding: 4px;
}
.gallery .previous {
  display: none;
}
.gallery .next {
  display: none;
}
.gallery .close {
  display: none;
}
.gallery img {
  max-width: 100%;
  border-radius: 8px;
  box-shadow: 0 0 16px #333;
}
.gallery img:hover {
  box-shadow: 0 0 32px #333;
}
.gallery .gallery-item {
  transition: grid-row-start 300ms linear;
  transition: transform 300ms ease;
  transition: all 0.5s ease;
  cursor: pointer;
}
.gallery .gallery-item:hover {
  transform: scale(1.025);
}
.full {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}
.full .previous, .full .next, .full .close {
  display: block;
  user-select: none;
  position: fixed;
  font-family: "Nunito Medium", sans-serif;
  font-size: 16pt;
  z-index: 10;
  background-color: black;
  border-radius: 8px;
  text-align: center;
}
.full .previous, .full .next {
  top: 50%;
  transform: translate(0, -50%);
  width: 2em;
  height: 2em;
  line-height: 2em;
}
.full .previous {
  left: 1em;
}
.full .next {
  right: 1em;
}
.full .close {
  right: 1em;
  top: 1em;
  width: 1.5em;
  height: 1.5em;
  line-height: 1.5em;
}
.full .content {
  user-select: none;
  background-color: rgba(0,0,0,0.75) !important;
  height: 100%;
  width: 100%;
  display: grid;
}
.full .content img {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 90%;
  max-height: 90%;
  margin: auto;
}