/* defaults */

body {
  font-family: sans-serif;
  margin: 32px;
}

a {
  text-decoration: none;
  color: none;
  font-size: 16px;
}

p {
  margin: 0;
}

h1, h2 {
  margin: 0;
}

.Page {
  max-width: 960px;
  margin: auto;
}

.Link {
  cursor: pointer;
}

.Logo {
  line-height: 0.9;
}

.Header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #eee;
  padding-bottom: 32px;
  margin-bottom: 32px;
}

.Header h1 {
  font-size: 24px;
}

@media (max-width: 300px) {
  .Header h1 {
    font-size: 24px;
  }
}

.GridOfPosts {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
}

.GridImage {
  width: 300px;
  height: 300px;
  object-fit:contain;
  border: 1px solid #eee;
  margin-top: 30px;
  cursor: pointer;
  flex-grow: 1;
  margin: 8px;
}

.PostImage {
  display: block;
  margin: auto;
  max-width: 700px;
  height: auto;
}

.AboutSection h2 {
  font-size: 22px;
  margin: 32px 0;
}

.AboutSection p {
  font-size: 16px;
  line-height: 1.2;
}

.ButtonLink {
  margin: 8px;
  background-color: white;
  border: none;
  font-size: 16px;
}

@media (max-width: 560px) {
  .Navigation {
    position: fixed;
    left: 32px;
    right: 32px;
    bottom: 32px;
    display: flex;
    justify-content: center;
  }
  .PostImage {
    max-width: 100%;
  }
}

@media (max-width: 770px) {
  .PostImage {
    max-width: 100%;
  }
}