@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;1,100;1,200;1,300;1,400;1,500;1,600;1,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200');

html {
  font-family: "IBM Plex Mono", ui-monospace,monospace;
  font-size: 0.85rem;
  font-weight: 300;
  color: #ababab;
  margin-left: 4vw;
  margin-right: 4vw;
  height: 100%;
  background-color: #000000;
}

body {
  height: 90%;
  overflow: hidden;
  margin-bottom: 15vh;
  position: relative;
}

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

.material-symbols-outlined {
    font-variation-settings:
    'FILL' 0,
    'wght' 200,
    'GRAD' -25,
    'opsz' 24;
    font-size: 1.25rem;
    vertical-align: bottom; /* Adjust the vertical alignment */
}

.header_main {
  width: 15vw;
  height: 100%;
  margin-top: 5vh;
  display: flex;
  flex-direction: column-reverse;
  text-align: start;
  z-index: -10;
}

.header_main_mobile {
  display: none;
}

.grid-view {
  display: none;
  position: absolute;
  top: 0; /* Align grid-view with the top of the viewport */
  left: 0; /* Align grid-view with the left of the viewport */
  right: 0; /* Align grid-view with the right of the viewport */
  bottom: 0; /* Align grid-view with the bottom of the viewport */
  z-index: 50;
  overflow-y: auto; /* Enable vertical scrolling */
  grid-template-columns: repeat(auto-fit, minmax(20vw, 1fr));
  gap: 20px;
  padding: 1rem; /* Add padding for better layout */
  box-sizing: border-box; /* Ensure padding does not affect the width and height */
  margin-left: 5vw;
  scrollbar-width: none;
  -ms-overflow-style: none;
  align-items: center;

  -webkit-user-select: none; /* Safari */
  -ms-user-select: none; /* IE 10 and IE 11 */
  user-select: none; /* Standard syntax */
}

.grid-view img {
  width: 100%;
  height: auto;
  object-fit: contain;
  pointer-events: none;

}

.grid-view::-webkit-scrollbar {
  width: 0; /* Remove scrollbar width */
  height: 0; /* Remove scrollbar height */
}

.flex_child {
  flex-grow: 0.1;
  display: flex;
  align-items: flex-end;
}

.image_gallery_click {
  position: absolute;
  display: flex;
  align-items: center;
  flex-direction: column;
  height: 100%;
  width: 100%;
  z-index: 50;
  margin-left: 4vw;
  margin-right: 4vw;
  -webkit-user-select: none; /* Safari */
  -ms-user-select: none; /* IE 10 and IE 11 */
  user-select: none; /* Standard syntax */
}

.gallery {
  height: 100%;
  width: 100%;
  object-fit: scale-down;
  pointer-events: none;
}

/* desktop small */
@media only screen and (max-width: 1500px) and (orientation: landscape) {
  .image_gallery_click {
    width: 90%;
    margin-left: 8vw;
    margin-right: 8vw;
  }

}

/* iphone se */
@media only screen and (max-height: 700px) and (orientation: portrait) {
  .header_main {
    display: none;
  }

  .header_main_mobile {
    display: flex !important;
    width: auto;
    height: 100%;
    margin-top: 5vh;
    flex-direction: row;
    text-align: start;
    align-items: flex-end;
    justify-content: space-between;
  }

  .header_main_mobile_left {
    display: flex;
    flex-direction: column-reverse;
    position: relative;
    z-index: 100;
  }

  .image_gallery_click {
    margin: 0;
    height: 80%;
    z-index: 50;
  }

  .grid-view {
    overflow: scroll;
    height: 80%;
    margin: 0;
  }

  .header_main_mobile_right {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

}

/* iphone 12 pro */
@media only screen and (min-height:701px) and (orientation: portrait){
  .header_main {
    display: none;
  }

  .header_main_mobile {
    display: flex !important;
    width: auto;
    height: 100%;
    margin-top: 5vh;
    flex-direction: row;
    text-align: start;
    align-items: flex-end;
    justify-content: space-between;
  }

  .header_main_mobile_left {
    display: flex;
    flex-direction: column-reverse;
    position: relative;
    z-index: 100;
  }

  .image_gallery_click {
    margin: 0;
    height: 90%;
    z-index: 50;
  }

  .grid-view {
    overflow: scroll;
    height: 80%;
    margin: 0;
  }

  .header_main_mobile_right {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
}
