/* GLOBAL */

* {
  box-sizing: border-box;
}

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

html {
  height: 100%;
}

body {
  margin: 0;
  background-color: #fcfcfc;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 12px;
  font-weight: 400;
  line-height: 1;
  color: #202020;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* PUBLIC RECORD */

.content {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.info {
  position: absolute;
  bottom: 3.3%;
  left: 50%;
  transform: translate(-50%, -3%);
  z-index: 1;
  width: 23px;
}

.info svg {
  fill: #070707;
  transition: fill 0.2s ease;
}

.info svg:hover {
  fill: #464646;
}

.vertical-image {
  width: 500px;
  cursor: pointer;
}

.horizontal-image {
  width: 800px;
  cursor: pointer;
}

a {
  text-decoration: none;
  color: #000;
}

a:hover {
  color: #808080;
}

::selection {
  background-color: transparent;
  color: #a5c7c8;
}

/* POLLEN INDEX */

.pollen-index {
  padding: 15px;
  display: flex;
  justify-content: center;
  align-content: flex-start;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 7px;
}

.footer {
  height: 125px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pollen-image {
  width: 125px;
  cursor: pointer;
  touch-action: manipulation;
}

.PR {
  height: 100px;
}


/* POLLEN SLIDESHOW */

.modal {
  display: none;
  position: fixed;
  inset: 0;
  min-height: -webkit-fill-available;
  background-color: #dcdcdc;
  z-index: 9999;
  overflow: hidden;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
  touch-action: manipulation;
}

.modal-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 500px;
  object-fit: contain;
  pointer-events: none;
  z-index: 2;
}

.modal-index {
  position: fixed;
  top: 17px;
  right: 17px;
  font-size: 13px;
  z-index: 3;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.modal-index:hover {
  color: #a5c7c8;
}

.nav {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  z-index: 1;
}

.prev {
  flex: 1;
  cursor: w-resize;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.next {
  flex: 1;
  cursor: e-resize;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

@media (max-width: 500px) {
  .vertical-image,
  .horizontal-image {
    width: 100%;
  }

  .pollen-image {
    width: 100px;
  }

  .modal-content {
    max-width: 100vw;
  }

  .modal-index {
    top: 20px;
    right: 25px;
    font-size: 13px;
  }
}
