:root {
  --h1-textcolor: rgb(0, 0, 0);
  --h2-textcolor: whitesmoke;
  --hover-fontsize: 21px;
  --hover-textcolor: rgb(255, 72, 0);
  --hover-textshadow:  1px 1px 2px rgb(147, 146, 146);
  --link-color: rgb(255, 255, 255);
  --link-visitedcolor: rgb(93, 254, 0); 
  --image-dropshadow: drop-shadow(2px 2px 2px rgb(148, 148, 148)) brightness(105%);
}

/* this includes the paddings and border in the width/height defined */
html {
  height: 100%;
}

* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  scrollbar-color: whitesmoke black;
  font-family: "Zen Kaku Gothic New", sans-serif;
}

body {
  background-image: url(../images/backgrounds/stars_drawn.gif);
  background-size: cover;
  overflow-x: hidden;
  min-height: 100%;
}

.title-return-wrap {
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  align-items: center;
}

.grid-gallery {
  display: grid;
  margin: 0 3rem 0 3rem;
  padding: 1rem;
  grid-template-columns: repeat(2, minmax(200px, 1fr));
  grid-gap: 50px;
  align-items: center;
  justify-items:center;
}

.grid-gallery img {
  scale: 100%;
  width: 100%;
  height: 100%;
  border: 3px solid whitesmoke;
  filter: var(--image-dropshadow);
}

header {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  text-align: center;
  line-height: 1.8em;
  border: whitesmoke 3px solid;
  border-radius: 20px;
  filter: var(--image-dropshadow);
  background-color: whitesmoke;
  margin: 3.8rem;
}

header img {
  height: 80px; 
  width: auto;
}

.title {
  text-transform: uppercase;
}

.lb-button img {
  object-fit: contain;
  height: 25px;
}

h1 {
  text-shadow: 1px 1px 2px rgb(147, 146, 146);
  color: var(--h1-textcolor);
  font-size: 1.5rem;
  font-weight: bold;
  letter-spacing: .05rem;
  text-decoration: underline;
  font-style: italic;
}

/* HOVER */
header img:hover {
  transform: scale(1.1);
  filter: var(--image-dropshadow);
  cursor: url(../images/favicons-pixels/googlyeyes.gif), auto;
}

.grid-gallery img:hover {
  cursor: url(../images/favicons-pixels/googlyeyes.gif), auto;
}

/* hover text code snippet taken from ribo.zone's free resources! check them out here: https://ribo.zone/free/snippets/ */
.imgtxt {
  width: fit-content;
  height: fit-content;
  display: inline-block;
  position: relative;
}

.imgtxt span {
  opacity: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  text-align: center;
  transform: translate(-50%, -50%);
  z-index: 2;
  font-size: var(--hover-fontsize);
  font-weight: bold;
  text-transform: uppercase;
  color: var(--hover-textcolor);
  filter: drop-shadow(2px 2px 2px rgb(33, 33, 33));
}

.imgtxt:hover span, .imgtxt:focus span {
  opacity: 1;
  cursor: url(../images/favicons-pixels/googlyeyes.gif), auto;
}

.imgtxt:hover img, .imgtxt:focus img {
  transform: scale(1.1);
  filter: brightness(160%);
  cursor: url(../images/favicons-pixels/googlyeyes.gif), auto;
}

a:link {
  color: var(--link-color);
}

a:visited {
  color: var(--link-visitedcolor);
}

@media (max-width: 768px) {
  
  header {
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .title {
    padding: .5rem;
  }

  .lb-button {
    padding: .5rem;
  }

  h1 {
    font-size: 20px;
  }

  .grid-gallery {
    grid-template-columns: 1fr;
    grid-gap: 10px;
  }

  .grid-gallery img{
    width: 60vw;
    height: auto;
  }

}
