@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap");

@font-face {
  font-family: "GeneralSans-VariableItalic";
  src: url("../fonts/GeneralSans-VariableItalic.woff2") format("woff2"),
    url("../fonts/GeneralSans-VariableItalic.woff") format("woff"),
    url("../fonts/GeneralSans-VariableItalic.ttf") format("truetype");
  font-weight: 200 700;
  font-display: swap;
  font-style: italic;
}
@media (prefers-reduced-motion: reduce) {
  .imgArchive:hover,
  .videoArchive:hover {
    animation: none;
  }
}
*,
html,
body {
  margin: 0px;
  padding: 0px;
  font-family: "Inter";
}
h1 {
  margin-inline-start: 0px;
  margin-inline-end: 0px;
}

.heroHome {
  margin: 16px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: baseline;
}
.intro {
  font-family: "Inter";
  font-size: 1.5rem;
  letter-spacing: -1px;
}
.devBy {
  font-size: 1.5rem;
  letter-spacing: -1px;
}
.wrapLinks {
  display: flex;
  flex-direction: row;
  align-items: baseline;
  justify-content: start;
  gap: 16px;
}
.modalTitle {
  font-family: "Inter";
  font-size: 1.5rem;
  letter-spacing: -1px;
}
.modalInfo {
  display: flex;
  flex-direction: column;
  gap: 128px;
}
.modalTime,
.modalPlace {
  font-family: "Inter";
  font-size: 1rem;
  letter-spacing: -1px;
}
.modalIntro {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.modalMeta {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.modalDescription {
  font-family: "Inter";
  font-size: 1.5rem;
  letter-spacing: -1px;
  font-weight: 400;
}
.gridArchive {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
  margin: 16px;
  margin-top: 128px;
  grid-auto-flow: dense;
}
.wrapFile {
  grid-column: span 1;
  display: flex;
  justify-content: center;
  align-items: center;
}
.imgArchive,
.videoArchive {
  width: 100%;
  height: auto;
  background-color: transparent;
  cursor: pointer;
}

/* only on hover */
.imgArchive:hover,
.videoArchive:hover {
  filter: drop-shadow(0 0 4px hsla(0, 0%, 0%, 0.7));
}
.modalMedia img:hover,
.modalMedia video:hover {
  filter: drop-shadow(0 0 4px hsla(0, 0%, 0%, 0.7));
}
.archiveModal {
  position: fixed;
  top: -16px;
  left: 0px;
  width: calc(100% - 32px);
  height: calc(100dvh - 32px);
  background-color: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(8px);
  display: none;
  z-index: 1000000;
  padding: 16px;
  justify-content: space-between;
}

.is-open {
  display: flex;
}
.modalMedia {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}
.modalMedia img,
.modalMedia video {
  max-width: 100%;
  max-height: 100%;
  height: auto;
  width: auto;
  object-fit: cover;
}
.wrapBtnsModal button {
  min-width: 64px;
  min-height: 64px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2rem;
  border-radius: 0px;
  border: solid black 2px;
  background-color: white;
  color: rgb(0, 0, 0);
  cursor: pointer;
  box-sizing: border-box;
}
.wrapBtnsModal button:hover {
  background-color: rgb(0, 0, 0);
  color: white;
}
.wrapBtnsModal {
  display: flex;
  flex-direction: row;
  justify-content: start;
  gap: 4px;
}
.wrapBtnsNav {
  display: flex;
  flex-direction: row;
  justify-content: start;
  gap: 4px;
  width: 100%;
}
.wrapBtnsNav button {
  width: 100%;
}
.modalClose:hover {
  background-color: red !important;
}
.wrapRight {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 360px;
  max-width: 360px;
  margin-left: 128px;
}
@media screen and (max-width: 1500px) {
  .wrapFile {
    grid-column: span 2;
  }
}
@media screen and (max-width: 768px) {
  .wrapFile {
    grid-column: span 1;
  }
  .heroHome {
    flex-direction: column-reverse;
    gap: 16px;
  }
  .gridArchive {
    grid-template-columns: repeat(3, 1fr);
    margin-top: 64px;
  }
  .archiveModal {
    flex-direction: column;
    gap: 32px;
    justify-content: start;
  }
  .wrapRight {
    margin-left: 0px;
    height: 100%;
    justify-content: space-between;
    min-width: unset;
    max-width: none;
    width: 100%;
    margin-bottom: 16px;
  }
  .modalMedia {
    max-height: 35svh;
    min-height: 35svh;
  }
  .wrapBtnsModal {
    justify-content: space-between;
    width: 100%;
  }
  .wrapBtnsNav {
    width: 100%;
  }
  .modalInfo {
    gap: 32px;
  }
  .modalMeta {
    gap: 0px;
  }
  .modalTitle {
    font-size: 1.25rem;
    letter-spacing: -1px;
  }
  .modalDescription {
    font-size: 1.25rem;
  }
  .archiveModal {
    height: 100dvh;
    padding-bottom: 0px;
  }
}
