* {
  box-sizing: border-box;
}

body {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100vh;
  min-width: 300px;
  background: rgb(191, 236, 250);
  cursor: default;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen,
    Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 5%;
  background: rgb(30, 30, 30);
  border-bottom: solid 2px white;
  width: 100%;
  font-weight: bolder;
  color: white;
}

h1 {
  font-size: calc(20px + 0.5vw);
  margin-right: 0.5rem;
}

.gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  gap: 2.5rem;
  padding: 2rem;
}

.gallery div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1.25rem;
}

.gallery a {
  color: black;
  font-size: calc(10px + 0.5vmax);
  font-weight: bolder;
}

.gallery a:hover {
  color: black;
  text-decoration: underline;
}

img {
  width: 100%;
  height: 100%;
  max-width: 320px;
  border-radius: 10px;
  pointer-events: none;
}

a {
  display: flex;
  align-items: center;
  text-decoration: none;
  font-size: calc(12px + 0.5vw);
  color: white;
}

.gallery img {
  height: 90%;
}

.gallery a {
  height: 10%;
  text-wrap: wrap;
  max-width: 320px;
  text-align: center;
}

.github-mark {
  max-width: 35px;
  pointer-events: all;
  background-color: white;
  border: solid 2px white;
  border-radius: 50%;
  margin-left: 0.5rem;
}

a:hover .github-mark {
  background-color: rgb(191, 236, 250);
  border-color: rgb(191, 236, 250);
}

a:hover {
  color: rgb(191, 236, 250);
}
