@charset "utf-8";
body,
main {
  box-sizing: border-box;
  height: 100%;
}
body {
  background-color: rgb(var(--white_color), 1);
  background-image:
    linear-gradient(90deg, rgb(var(--accent_color), 0.5) 1px, transparent 1px),
    linear-gradient(rgb(var(--accent_color), 0.5) 1px, transparent 1px);
  background-position: 10px 10px;
  background-size: 25px 25px;
  background-attachment: fixed;
}
#main {
  box-sizing: border-box;
  overflow: hidden;
  width: 100%;
  height: 100%;
}
.container {
  height: 100%;
  display: flex;
}
h1 {
  text-align: center;
  font-size: 3rem;
  overflow: hidden;
  margin: -1.5rem 0 0;
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
}
.back_btn {
  position: fixed;
  top: 1rem;
  left: 1rem;
  background-color: rgb(var(--black_color), 1);
  padding: 0.5rem 1rem;
  color: rgb(var(--white_color), 1);
}
@scope (.tag_wrapper) {
  :scope {
    width: 100%;
    position: fixed;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 3rem;
    z-index: 80;
    font-weight: bold;
    gap: 1rem;
  }
  .tag_list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  input[type="checkbox"] {
    appearance: none;
  }
  label {
    transition: 0.2s ease;
    cursor: pointer;
  }
  label:has(input[type="checkbox"]:checked) {
    border: 1px solid #8b98a5;
    background-color: rgb(var(--black_color), 1);
    color: rgb(var(--white_color), 1);
  }
  .tag_item {
    display: inline-block;
    box-sizing: border-box;
    padding: 0.1rem 0.5rem;
    font-size: 0.9rem;
    border: 1px solid rgb(var(--black_color), 1);
    background-color: rgb(var(--white_color), 1);
  }
}
@scope (.gallery_wrapper) {
  :scope {
    width: 100%;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    padding: 1rem 0rem;
    margin: 0 0 0 auto;
    position: relative;
    z-index: 2;
    gap: 0;
    margin-top: 8rem;
  }
  .gallery_item {
    display: block;
    width: 100%;
    border: 1px solid rgb(var(--black_color), 1);
    background-color: rgb(var(--white_color), 1);
    aspect-ratio: 16/9;
    box-sizing: border-box;
    overflow: hidden;
    position: relative;
  }
  .image_container {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
  }
  .text_container{
    position: absolute;
    z-index: 90;
    width: 100%;
    right: -.5rem;
    bottom: .5rem;
  }
  .tag_list {
    display: flex;
  }
  .tag_list li {
    display: block;
    width: fit-content;
    padding: .2rem .8rem;
    background-color: rgb(var(--black_color), 1);
    color: rgb(var(--white_color), 1);
    border-radius: 1rem;
    font-size: .8rem;
  }
}