* {
  box-sizing: border-box;
}

a {
  text-decoration-thickness: 1px;
  text-underline-offset: 1px;
  color: inherit;
}

a:hover {
  color: darkgray;
}

a:visited {
  color: inherit;
}

html,
body,
main {
  width: 100%;
  height: 100%;
}

main {
  position: relative;
}

body {
  font-family: "Times New Roman", "Times New Roman", Times, serif;
  font-size: 22px;
  line-height: 1.2em;
  font-smooth: always;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: lightgray;
  padding: 1em;
}

.info {
  display: block;
  position: relative;
  max-width: 500px;
  z-index: 999;
  background: white;
  /* hyphens: auto; */
}

.info p {
  /* display: inline; */
  padding: 0.25em 0.5em;
  margin: 0;
}

/*=============================
BULLETIN
=============================*/

.bulletin {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
}

.post,
.info {
  -webkit-box-shadow: 6px 7px 34px -8px rgba(0, 0, 0, 0.75);
  -moz-box-shadow: 6px 7px 34px -8px rgba(0, 0, 0, 0.75);
  box-shadow: 6px 7px 34px -8px rgba(0, 0, 0, 0.75);
}

.post {
  display: block;
  position: absolute;
  transform-origin: center;
  opacity: 0;
  visibility: hidden;
  animation: fadeIn 0.6s ease forwards;
  pointer-events: none;
  z-index: 1;
}

.post img {
  display: block;
  max-width: 350px;
  max-height: 350px;
  object-fit: contain;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/*=============================
MEDIA QUERIES
=============================*/

@media only screen and (max-width: 720px) {
  body {
    font-size: 18px;
  }
  .info {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    width: 100%;
    margin: auto;
  }

  .post,
  .info {
    -webkit-box-shadow: 3px 5px 24px -8px rgba(0, 0, 0, 0.75);
    -moz-box-shadow: 3px 5px 24px -8px rgba(0, 0, 0, 0.75);
    box-shadow: 3px 5px 24px -8px rgba(0, 0, 0, 0.75);
  }

  .post img {
    max-width: 150px;
    max-height: 150px;
  }
}

@media only screen and (min-width: 1500px) {
  .post img {
    max-width: 450px;
    max-height: 450px;
  }
}
