@font-face {
    font-family: 'sawarabi_gothicregular';
    src: url('../fonts/sawarabigothic/sawarabigothic-regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

:root {
  --dk-color: #5b3c5a;
  --mid-color: #fecee7;
  --lt-color: #ffecf6;
  --dkest-color: #1f0713;
  --blk-color: #000408;
  --accent: #3c0308;
}

* {
  margin: 0;
  padding: 0;
  font-family: 'sawarabi_gothicregular', Garamond;
  box-sizing: border-box;
}

body {
  background-color: var(--dk-color);
}

.container {
  width: 100%;
  min-height: 100vh;
  background-image: url(../backgrounds/index.png);
  background-repeat: repeat;
  background-attachment: fixed;
  background-size: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.img-gallery {
  width: 80%;
  margin: 100px auto 50px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  grid-gap: 30px;
}

.img-gallery img {
  width: 100%;
  cursor: pointer;
  object-fit: cover;
  object-position: center;
  aspect-ratio: 1 / 1;
  transition: transform .15s;
}

.img-gallery img:hover {
  transform: scale(1.1);
  border-radius: 20px;
  box-shadow: 0 16px 75px rgba(2, 5, 26, 0.5);
}

.full-img {
  width: 100%;
  height: 100vh;
  background: rgba(0,0,0,0.9);
  position: fixed;
  top: 0;
  left: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100;
}

.full-img img {
  width: 90%;
  max-width: 500px;
}

.full-img span {
  position: absolute;
  top: 5%;
  right: 5%;
  font-size: 30px;
  color: white;
  cursor: pointer;
}