

body,html {

    padding: 0px;
  margin: 0px;
         image-rendering: pixelated;

  height: 100vh;
  overflow-x: auto;
  /* Allow horizontal scroll */
  overflow-y: hidden;
  /* Hide vertical scroll */

  
 


}

 ::-webkit-scrollbar {
 background:none;  

}


button{
  background:transparent;
  border:transparent;
  margin:20px;
  font-size:1em;
  color:black;
}

button.toggled{
  color:white;
  font-weight:600;
}
button:hover{
  cursor:vertical-text	;
}

a{
  text-decoration:none;
  color:black;
}
a:visited{
  text-decoration:none;
  color:black;
}
img{
/*    width: 100%;
  height: auto;
    margin: 0;
  padding: 0; */
   vertical-align: top;
/*   object-fit: contain; */
  display:block;
}


header{
    font-family: circus;
max-width:500px;
  padding:100px 100px 0px 100px;
}

header p{
  font-size:2em;
  font-weight:800;
}
header:hover{
  cursor:vertical-text	;
}
h1{
  display:none;
}
gallery{

  margin:-10px 10px -10px 10px;
  display:grid;
  grid-gap: 10px;
  grid-template-columns: repeat(auto-fill,minmax(500px,1fr));
grid-auto-flow: column;
grid-auto-columns: minmax(500px,1fr);
   
}

gallery div:nth-child(n){
   object-fit: contain;
  box-sizing: border-box;
       min-width:500px;
  min-height: 1100px;
  z-index: 1;
}



#txt {

  position: fixed;
    font-family: "Times Now";
  color: rgba(0, 0, 0, 0.8);
  pointer-events: none;
  width: 100vw;
  height: 100vh;
  top: 0;
  left: 0;
  z-index: 99999999;
  overflow: hidden;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}
#txt span {
  font-size: 4.6rem;
  display: inline-block;
  margin: 0 auto;
  max-height: 95vh;
  width: 95vw;
  line-height: 85%;
  letter-spacing: -2px;
  z-index: 2;
  text-overflow: ellipsis;
  object-fit: contain;
  word-break: keep-all;
}

.txt {

  position: fixed;
    font-family: "Times Now";
  color: rgba(0, 0, 0, 0.8);
  pointer-events: none;
  width: 100vw;
  height: 100vh;
  top: 0;
  left: 0;
  z-index: 99999999;
  overflow: hidden;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}
.txt span {
  font-size: 4.6rem;
  display: inline-block;
  margin: 0 auto;
  max-height: 95vh;
  width: 95vw;
  line-height: 85%;
  letter-spacing: -2px;
  z-index: 2;
  text-overflow: ellipsis;
  object-fit: contain;
  word-break: keep-all;
}
#txt img {
  object-fit: contain;
  height: auto;
  max-height: 92.5vh;
  max-width: 100%;
  box-sizing: border-box;
  z-index: 1;
}

#txt.toggled{
  color:white;
}