@import url('https://googleapis.com');
html, body {
  min-width: 320px;
  font-family: "Roboto", sans-serif;
  
  line-height: 1.5em;
    
  -webkit-text-size-adjust: none;
  -moz-text-size-adjust: none;
  -ms-text-size-adjust: none;
  
  overflow-anchor: none;
  overflow: hidden;
  
  -webkit-tap-highlight-color: transparent;  
}

#scroll-container {
  width: 100%;
  height: 100svh; 
  overflow-y: auto;
  scrollbar-gutter: stable both-edges;
}

@media (width <= 960px) {
  #scroll-container {
    scrollbar-width: none;
    scrollbar-gutter: default;
    -ms-overflow-style: none;
  }
  #scroll-container::-webkit-scrollbar {
    display: none;
  }
}

.no-select{
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

p {
  line-height: 1.5em;
  margin: 1rem 0;
}

a {
  overflow-wrap: anywhere;
  word-break: break-word;
  color: inherit;
  transition: color 0s;
}

@media (hover: hover) and (pointer: fine) {
  a:hover { color: blue; transition: color 0s; cursor: pointer !important; }
}

a:active {
  color: blue;
  transition: color 0s;
  cursor: pointer !important;
}

.content-container {
  max-width: 800px;
  margin: 0 auto;
}

.margins {
  margin: 12px;
  text-wrap: pretty;
  
  backface-visibility: hidden;
  perspective: 1000;
}

#photo-container {
  position: relative;
  width: 100%;
  height: 440px;
  background-color: rgb(192,192,192);
  background: url("/img/sandstorm.webp") rgb(192,192,192);
  background-position: center;
}

#clouds {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 50%;
}

#gallerybtn {
  display: flex;
  flex-direction: row;
  width: 100%;
  height: 3rem;
  gap: 1rem;
  
  align-items: center;
  background: white;
  border: 2px solid black;
  
  color: black;
  transition: color 0.01s;
  padding: 0 1rem;
  
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
}

.gallerybtn p {
  display: flex;
  
  align-items: center;
  text-align: left;
  text-wrap: nowrap;
  
  font-family: "Roboto Mono", sans-serif;
  overflow: hidden;
}


.stack{
  display: flex;
  flex-direction: column;
  
  gap: 1rem;
  width: 100%;
}

.wide {
  width: 100%;
  height: 48px;
  position: relative;
  
  overflow: hidden;
  background: white;
  font-size: 16px;
  
  text-align: left;
  text-decoration: none;
  color: black !important;
  border: 0;
  padding: 1rem;
  display: flex;
  flex-direction: row;
  gap: 1rem;
  align-items: center;
  cursor: pointer;
}


.wide:after{
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  border: 2px solid black;
  box-sizing: border-box;
  }

.wide svg {
  min-width: 24px;
  min-height: 24px;
  padding: 0;
  margin: 0;
  display: block;
}

.wide p{
  display: flex;
  font-family: "Roboto Mono", sans-serif;

  width: 100%;
  height: 36px;
  /*
  border: 2px solid black;
  */
  
  font-weight: 700;
  text-transform: uppercase;
  text-align: center;
  justify-content: left;
  align-items: center;
}

.no-wrap {
  white-space: nowrap;
  font-weight: 600;
}

.no-wrap svg {
  display: inline-block;
  margin-left: 4px;
}




#header-btn{
  position: relative;
  width: 100%;
  height: 48px;
  margin-bottom: 12px;
  padding: 0 1rem;

  display: flex;
  align-items: center;
  gap: 1rem;
  
  background: black;
  border: none;
  color: white;
  cursor: pointer;
  
  font-family: "Roboto Mono", sans-serif;
  
  font-weight: 700;
  text-transform: uppercase;
}

#header-btn p {
  line-height: 1;
  overflow: hidden;
  display: flex;
  align-items: baseline;
  text-align: left;
  
  font-family: 'Roboto Mono', sans-serif;
  font-size: 16px;
}

#grid {
  display: grid;
  gap: 4px;
  
  width: 100%;  

  grid-template-columns: 1fr 1fr 1fr;
}

#grid .thumb {
  max-width: 256px;
  width: 100%;
  height: 100%;
  display: block;
  overflow: hidden;
  border: 0;
  padding: 0;
  margin: 0;
  cursor: pointer;
  background: none;
}

#grid .thumb img {
  width: 100%;
  aspect-ratio: 1/1;
  height: auto;
  object-fit: cover;
  object-position: 50% 50%;
  display: block;
}

#grid .thumb.btn.contain img{
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
  cursor: zoom-in;
}

#description {
  border-top: 2px solid black;
  padding-top: 1rem;
  margin-top: 1rem;
}

#description p {
  margin: 0;
}

#description svg {
  vertical-align: middle;
}

.preview-container{
  position: relative;
  display: flex;
  width: 100%;
  background: black;
  justify-content: center;
}

.preview-container img{
  max-width:100%;
  aspect-ratio: 4/3;
}


.sep {
  width: 100%;
  height: 2px;
  background: black;
  margin: 1rem 0;
}

.video-container {
  margin-top: 1rem;
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  background: black;
  display: block;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: black;
  display: block;
}

#check { display: none; }

.grayscale #check{
  display: block;
}


.grayscale img, .grayscale iframe, .grayscale .vid-container {
  filter: grayscale(100%);
}

#overlay { 
  display: none; position: fixed; top:0; left:0; width:100%; height:100%; 
  background: white; justify-content:center; align-items:center; 
  cursor: zoom-out;
  z-index: 99999;
}

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