/* stylesheet */

* {
  box-sizing: border-box;
}

body {
  max-width: 100%;
  margin: 0;
  padding: 0;
  font-family: 'Inter', 'Helvetica', 'Arial';
  font-weight: 200;
  text-transform: uppercase;
  line-height: 1;
  -webkit-text-size-adjust: 100%;
/*  background-color: lightgreen; */
}

body {
  --text-color: black;
  --hvr: #909090;
  --bkg-color: white;
  --pdd-mobile: 0px;
  --pdd-desktop: 0px;
}
body.dark-theme {
  --text-color: #dedede;
  --hvr: grey;
  --bkg-color: #121212;
  --pdd-mobile: 5px;
  --pdd-desktop: 5px;
}

@media (prefers-color-scheme: dark) {
  /* defaults to dark theme */
  body {
    --text-color: #dedede;
    --hvr: grey;
    --bkg-color: #121212;
    --pdd-mobile: 5px;
    --pdd-desktop: 5px;
  }
  body.light-theme {
    --text-color: black;
    --hvr: #909090;
    --bkg-color: white;
    --pdd-mobile: 0px;
    --pdd-desktop: 0px;
  }
}

body {
  background: var(--bkg-color);
}

h1, p, a, div {
  color: var(--text-color);
}

#main {
  position: absolute;
  min-height: -webkit-calc(100% - 100px);
  min-height:    -moz-calc(100% - 100px);
  min-height:         calc(100% - 100px);
  padding: 0;
  /*background-color: orange;*/
}

header {
  position: absolute;
  display: block;
}

h1 {
  margin-top: 0;
  margin-bottom: 20px;
  padding: 0;
}

#mainContainer {
  position: absolute;
  display: block;
  padding: 0;
  /*background-color: red;*/
}

#photoContainer {
  position: absolute;
  display: inline-block;
  left: 0;
  overflow: hidden;
  /*background-color: yellow;*/
}

figure {
  text-align: center;
  width: 100%;
  height: 100%;
  max-height: 1000px;
  margin: 0;
  padding: 0;
  /*background-color: green;*/
}

#navContainer {
  position: relative;
  display: block;
  top: 50px;
  width: 249px;
  margin: 0;
  padding: 0;
  /*background-color: lightblue;*/
}

a {
  padding: 0;
  margin: 0;
  text-decoration: none;
}

@media (hover: hover) and (pointer: fine) {
  a:hover {
    color: var(--hvr);
  }
}

img {
  max-width: 100%;
  max-height: 100%;
  background: #ededed;
}

/* navbar styles */
ul {
  margin: 0;
  padding: 0;
  list-style-type: none;
  font-size: 24px;
}

li {
  margin: 0;
  padding-top: 0;
  padding-bottom: 4px;
  padding-left: 0;
  padding-right: 0;
  font-size: 20px;
  font-weight: 200;
  letter-spacing: 0;
}

.left {
  float: left;
}

.right {
  float: right;
}

#navPhotos {
  overflow-y: scroll;
}

#navPhotos::-webkit-scrollbar {
  display: none;
}

#navPhotos li {
  float: none;
  font-size: 15px;
  letter-spacing: 0;
}

#navGalleries {
  display: none;
  overflow-y: scroll;
}

#navGalleries::-webkit-scrollbar {
  display: none;
}

#navGalleries li {
  float: none;
  padding-left: 10px;
  font-size: 15px;
  letter-spacing: 1px;
}

.photoMenu {
  font-size: 15px;
  padding-left: 10px;
  text-transform: capitalize;
  letter-spacing: 0;
}

.galleryMenu {
  font-size: 15px;
  text-transform: capitalize;
  letter-spacing: 0;
}

.resolution {
  display: none;
  margin-left: 15px;
  margin-bottom: 5px;
  font-size: 14px;
  font-weight: 300;
  font-style: italic;
  text-transform: lowercase;
}

#privacyLegalContact {
  font-size: 15px;
  text-transform: none;
}

#privacyContainer {
  display: none;
}

#legalContainer {
  display: none;
}

#contactContainer {
  display: none;
}

@media only screen and (max-width: 480px) {
  #main {
    position: relative;
    width: 295px;
    margin: 30px;
    margin-left: auto;
    margin-right: auto;
  }

  header {
    width: 299px;
  }

  h1 {
    font-size: 35px;
    letter-spacing: 3px;
  }

  #mainContainer {
    width: 295px;
    max-height: -webkit-calc(100% - 350px);
    max-height:    -moz-calc(100% - 350px);
    max-height:         calc(100% - 350px);
    margin-top: 110px;
  }

  #photoContainer {
    padding-bottom: 20px;
  }

  img {
    padding: var(--pdd-mobile);
  }

  #navContainer {
    width: 295px;
  }

  /* navbar styles */
  #navPhotos {
    max-height: -webkit-calc(100vh - 470px);
    max-height:    -moz-calc(100vh - 470px);
    max-height:         calc(100vh - 470px);
  }

  #navGalleries {
    max-height: -webkit-calc(100vh - 470px);
    max-height:    -moz-calc(100vh - 470px);
    max-height:         calc(100vh - 470px);
  }
}

@media only screen and (min-width: 481px) and (max-width: 1024px) {
  #main {
    width: -webkit-calc(100% - 50px);
    width:    -moz-calc(100% - 50px);
    width:         calc(100% - 50px);
    margin: 25px;
    margin-top: 50px;
  }

  header {
    width: 199px;
  }

  h1 {
    font-size: 25px;
    letter-spacing: 1px;
  }

  #mainContainer {
    left: 225px;
    top: 40px;
    width: -webkit-calc(100% - 225px);
    width:    -moz-calc(100% - 225px);
    width:         calc(100% - 225px);
    height: 100%;
  }

  #photoContainer {
    width: 100%;
    height: 100%;
  }

  figure {
    max-height: 900px;
  }

  img {
    padding: var(--pdd-mobile);
  }

  #navContainer {
    top: 40px;
    width: 199px;
  }

  /* navbar styles */
  ul {
    font-size: 20px;
  }

  li {
    padding-bottom: 3px;
    font-size: 17px;
  }

  #navPhotos {
    max-height: -webkit-calc(100vh - 160px);
    max-height:    -moz-calc(100vh - 160px);
    max-height:         calc(100vh - 160px);
  }

  #navGalleries {
    max-height: -webkit-calc(100vh - 160px);
    max-height:    -moz-calc(100vh - 160px);
    max-height:         calc(100vh - 160px);
  }

  #navPhotos li {
    padding-left: 8px;
  }

  #navGalleries li {
    padding-left: 8px;
  }

  .photoMenu {
    font-size: 14px;
  }

  .galleryMenu {
    font-size: 14px;
  }

  .resolution {
    margin-left: 23px;
    margin-bottom: 4px;
    font-size: 13px;
  }

  #privacyLegalContact {
    font-size: 14px;
  }
}

@media only screen and (min-width: 1025px) {
  #main{
    width: -webkit-calc(100% - 100px);
    width:    -moz-calc(100% - 100px);
    width:         calc(100% - 100px);
    margin: 50px;
  }

  header {
    width: 249px;
  }

  h1 {
    font-size: 30px;
    letter-spacing: 2px;
  }

  #mainContainer {
    left: 300px;
    top: 50px;
    width: -webkit-calc(100% - 300px);
    width:    -moz-calc(100% - 300px);
    width:         calc(100% - 300px);
    height: -webkit-calc(100% - 10px);
    height:    -moz-calc(100% - 10px);
    height:         calc(100% - 10px);
  }

  #photoContainer {
    width: 100%;
    height: 100%;
  }

  img {
    padding: var(--pdd-desktop);
  }

  /*navbar styles*/
  #navPhotos {
    max-height: -webkit-calc(100vh - 180px);
    max-height:    -moz-calc(100vh - 180px);
    max-height:         calc(100vh - 180px);
  }

  #navGalleries {
    max-height: -webkit-calc(100vh - 180px);
    max-height:    -moz-calc(100vh - 180px);
    max-height:         calc(100vh - 180px);
  }
}

@media only screen and (min-width: 1280px) {
  figure {
    max-width: 1100px;
    max-height: 1100px;
  }

  img {
    padding: var(--pdd-desktop);
  }
}

@media only screen and (orientation: landscape) and (min-width: 481px) and (max-height: 480px) {
  #main {
    min-height: -webkit-calc(100% - 75px);
    min-height:    -moz-calc(100% - 75px);
    min-height:         calc(100% - 75px);
    margin: 15px;
  }

  #mainContainer {
    left: 225px;
    top: 40px;
    width: -webkit-calc(100% - 225px);
    width:    -moz-calc(100% - 225px);
    width:         calc(100% - 225px);
    height: 100%;
  }

  #photoContainer {
    width: 100%;
    height: 100%;
  }

  figure {
    max-width: 900px;
    max-height: 900px;
  }

  img {
    padding: var(--pdd-mobile);
  }

  /*navbar styles*/
  #navPhotos {
    max-height: -webkit-calc(100vh - 205px);
    max-height:    -moz-calc(100vh - 205px);
    max-height:         calc(100vh - 205px);
  }

  #navGalleries {
    max-height: -webkit-calc(100vh - 205px);
    max-height:    -moz-calc(100vh - 205px);
    max-height:         calc(100vh - 205px);
  }
}

@media only screen and (orientation: landscape) and (min-width: 1025px) and (max-height: 480px) {
  #mainContainer {
    left: 300px;
    top: 50px;
    width: -webkit-calc(100% - 275px);
    width:    -moz-calc(100% - 275px);
    width:         calc(100% - 275px);
  }

  img {
    padding: var(--pdd-mobile);
  }

  /*navbar styles*/
  #navPhotos {
    max-height: -webkit-calc(100vh - 215px);
    max-height:    -moz-calc(100vh - 215px);
    max-height:         calc(100vh - 215px);
  }

  #navGalleries {
    max-height: -webkit-calc(100vh - 215px);
    max-height:    -moz-calc(100vh - 215px);
    max-height:         calc(100vh - 215px);
  }
}

#resolutionPhoto {
  display: none;
}
