@import url(http://fonts.googleapis.com/css?family=Roboto:400,100,100italic,300,300italic,400italic,500,500italic,700,700italic,900italic,900);

* {
  font-family: 'Roboto';
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

html {
  height: 100%;
  background-color: black;
}

body {
  display: flex;
  flex-direction: column;
  height: 100%;
}

header, h1, section, footer {
  padding: 1em 20%;
}

a, a:link, a:visited, a:hover {
  text-decoration: none;
  color: inherit;
}

section, .pure {
  color: black;
  background-color: white;
}


.light, .main.hoverable {
  color: #818c60;
  background-color: white;
}


.main, .main.hoverable:hover, .light.hoverable:hover {
  color: white;
  background-color: #818c60;
}


.secondary1, .secondary2.hoverable:hover {
  color: black;
  background-color: #c6ca9d;
}


.secondary2, .secondary1.hoverable:hover {
  color: black;
  background-color: #d9eb73;
}


.accent1, .accent2.hoverable:hover {
  color: white;
  background-color: #9fae91;
}


.accent2, .accent1.hoverable:hover {
  color: black;
  background-color: #d3dfcc;
}

header {
  height: 9em;
  display: flex;
}

header>a {
  display: inline-block;
  height: 100%;
}

.logo {
  height: 100%;
  width: 100%;
  border-radius: 10%;
}

nav {
  display: inline-flex;
  height: 100%;
  flex: 1;
  flex-wrap: wrap;
  justify-content: space-evenly;
  align-items: center;
  text-transform: uppercase;
}

nav button {
  height: 4em;
  border: none;
  text-transform: uppercase;
  font-size: inherit;
}

nav button a {
  padding: 2em;
}

.main-menu {
  display: none;
}

.menu {
  position: relative;
}

.sub-menu {
  padding-left: 2em;
}

.menu-elements {
  display: none;
  position: absolute;
  border: 1px solid black;
  min-width: 20em;
  z-index: 1;
}

.menu-elements a {
  display: block;
  padding: 1em;
  border-width: 1px;
  border-color: black;
  border-bottom-style: solid;
}

.menu-elements a:last-child {
  border: none;
}

.menu:hover .menu-elements, .menu:active .menu-elements, .menu:focus .menu-elements {
  display: block;
}

.banner {
  width: 100%;
  height: 16em;
  object-fit: cover;
}

.product {
  display: flex;
  flex-wrap: wrap;
  gap: 1em;
  justify-content: flex-start;
  align-items: center;
  list-style: none;
  height: 100%;
}

.product li {
  display: block;
  width: 280px;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.product li img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.product li .legend {
  text-align: center;
  padding: 1em 2em;
}

.step-links {
  opacity: 50%;
}

.filters a, .pagination a {
  padding: .5em;
  border-radius: 50%;
}

.filters {
  padding: 0;
  margin: 0;
  position: fixed;
  top: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  text-align: center;
  background-color: transparent;
}

.comparison {
  width: 50%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  position: relative;
}

.comparison img {
  height: auto;
  width: 100%;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
}

.old {
  right: 0;
}

#slider {
  width: 50%;
  height: 2em;
  margin: 1px auto 0;
  display: block;
  appearance: none;
}

#slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 2em;
  height: 2em;
  background: #9fae91;
  cursor: pointer;
}

#slider::-moz-range-thumb {
  appearance: none;
  width: 2em;
  height: 2em;
  background: #9fae91;
  cursor: pointer;
}

.gallery {
  display: flex;
  flex-flow: row wrap;
  justify-content: space-evenly;
  align-content: space-around;
  gap: 1em;
  margin-top: 2em;
}

.gallery img {
  border: 1px solid silver;
  padding: 5px;
  width: 200px;
}

#modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease;
}

.modal-content {
  position: relative;
  width: 90%;
  height: auto;
  max-width: 90%;
  max-height: 90%;
  border-radius: 5px;
  overflow: hidden;
  object-fit: contain;
  animation: zoomIn 0.5s;
}

@keyframes zoomIn {
  from {transform: scale(0.6);}
  to {transform: scale(1);}
}

#modal.show {
  display: flex;
  opacity: 1;
}

#modal .close {
  position: absolute;
  top: .1em;
  right: .3em;
  color: #ffffff;
  font-size: 4em;
  font-weight: bold;
  cursor: pointer;
  transition: transform 0.3s;
}

#modal .left {
  position: absolute;
  top: 50%;
  left: .3em;
  color: #ffffff;
  font-size: 4em;
  font-weight: bold;
  cursor: pointer;
  transition: transform 0.3s;
}

#modal .right {
  position: absolute;
  top: 50%;
  right: .3em;
  color: #ffffff;
  font-size: 4em;
  font-weight: bold;
  cursor: pointer;
  transition: transform 0.3s;
}

#modal .caption {
  position: absolute;
  bottom: 15px;
  width: 100%;
  text-align: center;
  color: #ffffff;
  font-size: 24px;
}

.filler {
  flex-grow: 1;
}

footer {
  color: white;
  background-color: black;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1em;
}

footer svg {
  width: 4em;
  height: 4em;
}

.background {
  fill: black;
  stroke: black;
}

.instagram {
  fill: white;
}

@media (prefers-color-scheme: dark) {
.pure {
  color: white;
  background-color: black;
}


.light, .main.hoverable {
  color: #818c60;
  background-color: black;
}


.main, .main.hoverable:hover, .light.hoverable:hover {
  color: black;
  background-color: #818c60;
}


.secondary1, .secondary2.hoverable:hover {
  color: white;
  background-color: #9fae91;
}


.secondary2, .secondary1.hoverable:hover {
  color: black;
  background-color: #d3dfcc;
}


.accent1, .accent2.hoverable:hover {
  color: black;
  background-color: #c6ca9d;
}


.accent2, .accent1.hoverable:hover {
  color: black;
  background-color: #d9eb73;
}

.menu-elements, .menu-elements a {
  border-color: white;
}
}

@media screen and (max-width: 992px) {
nav {
  display: inline-flex;
  height: 100%;
  flex: 1;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  text-transform: uppercase;
  position: relative;
}

.main-menu {
  display: block;
  width: 80%;
}

.main-menu button {
  width: 100%;
}

.main-menu button span {
  padding: 2em;
}

.menu-elements, .sub-menu {
  padding-left: 2em;
  position: static;
}

.menu {
  display: none;
  position: absolute;
  top: 0;
  left: 10%;
}

.menu button, .menu-elements {
  display: block;
  border: 1px solid black;
  min-width: 20em;
  z-index: 1;
}

.menu button a {
  display: block;
  padding: 1em;
  border: none;
}

.menu-elements a {
  display: block;
  padding: 1em;
  border-width: 1px;
  border-color: black;
  border-bottom-style: solid;
}

.menu-elements a:last-child {
  border: none;
}

.menu-elements {
  border-top: none;
}
}
