@font-face {
  font-family: BlueSky;
  src: url(BlueSky.woff);
}
.hamburger {
  display: none;
}
.nav-menu {
  font-size: 200%;
}
body {
  background-color: #87ceeb;
  font-family: BlueSky, verdana;
  font-size: 150%;
}
h1 {
  background-color: white;
  border-radius: 10px;
  color: skyblue;
  font-family: BlueSky, verdana;
  grid-column: 1;
  padding: min(2.5em, 4%);
  text-align: center;
}
h2 {
  background-color: white;
  border-radius: 10px;
  box-shadow: 2px 4px lightgrey;
  color: skyblue;
  grid-column: 1;
  padding: min(2.5em, 4%);
  text-align: center;
}
h3 {
  background-color: white;
  border-radius: 10px;
  box-shadow: 2px 4px lightgrey;
  color: skyblue;
  grid-column: 1;
  padding: min(2.5em, 4%);
  text-align: center;
}
p {
  background-color: white;
  border-radius: 10px;
  box-shadow: 2px 4px lightgrey;
  color: grey;
  grid-column: 1;
  margin: auto;
  max-width: 90%;
  padding: min(2.5em, 4%);
  text-align: center;
}
button {
  background-color: white;
  border-radius: 10px;
  box-shadow: 2px 4px lightgrey;
  color: #00a1e9;
  cursor: pointer;
  height: 20%;
  left: 1px;
  position: relative;
  transition: all 0.1s ease;
  width: 50%;
}
button:active {
  box-shadow: 0 0 0;
  transform: translate(2px, 4px);
}
#main-content {
  grid-column: 1;
  padding: min(2.5em, 4%);
}
nav {
  border-radius: 10px;
  color: #00a1e9;
  text-align: center;
}
footer {
  background-color: white;
  border-radius: 10px;
  box-shadow: 2px 4px lightgrey;
  color: white;
  grid-column: 1 / span 2;
  margin: none;
  padding: min(2.5em, 4%);
  text-align: center;
}
img {
  border-radius: 10px;
}
div {
  text-align: center;
}
.btn-img {
  animation-duration: 1s;
  animation-name: fadeSlideUp;
  animation-timing-function: ease-out;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  box-shadow: 4px 8px #659bb0;
  display: inline-block;
  margin: 25px;
  max-width: 45%;
  overflow: hidden;
  position: relative;
  transition: all 0.1s ease;
}
.btn-img img {
  display: block;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform-origin: center;
  transition: all 0.1s ease;
  width: 100%;
}
.btn-img:hover {
  transform: scale(1.05);
}
.btn-img:hover img {
  transform: scale(1.2);
}
.btn-img:active {
  box-shadow: 0 0 0;
  left: 4px;
  top: 8px;
}
.btn-container {
  display: flex;
  justify-content: center;
}
.btn-text {
  color: white;
  left: 50%;
  pointer-events: none;
  position: absolute;
  text-shadow: 2px 2px 4px black;
  top: 50%;
  transform: translate(-50%, -50%);
}
.new-page {
  background-color: white;
  border-radius: 10px;
  box-shadow: 2px 4px lightgrey;
  color: #00a1e9;
  cursor: pointer;
  display: flex;
  font-size: 200%;
  justify-content: center;
  margin: 10px;
  padding: min(2.5em, 4%);
  text-decoration: none;
  transition: all 0.1s ease;
}
.new-page:hover {
  scale: 1.05;
}
.new-page:active {
  box-shadow: 0 0 0;
  transform: translate(2px, 4px);
}
.nav-button {
  background-color: skyblue;
  border-radius: 20px;
  box-shadow: 2px 4px #00a1e9;
  color: white;
  cursor: pointer;
  display: inline-block;
  margin: 10px;
  text-decoration: none;
  transition: all 0.1s ease;
  width: 10%;
}
.nav-button:hover {
  scale: 1.05;
}
.nav-button:active {
  box-shadow: 0 0 0;
  transform: translate(2px, 4px);
}
#blog-nav {
  width: 100%;
  height: 100vh;
  border: 5px solid skyblue;
  border-radius: 10px;
  box-shadow: 2px 4px #00a1e9;
}
.blog-display {
  display: grid;
  grid-template-columns: auto auto auto;
  gap: 10px;
  grid-template-rows: 50vh;
}
.blog-page {
  background-color: white;
  border-radius: 10px;
  box-shadow: 2px 4px lightgrey;
  grid-column: auto;
  grid-row: auto;
  overflow: scroll;
  padding: min(10px, 5%)
}
.blog-title {
  color: #00a1e9;
  font-size: 200%;
}
.blog-text {
  background-color: transparent;
  border: none;
  box-shadow: none;
}
.blog-pagination {
  grid-column: 1 / span 3;
  padding: 5px;
  background-color: white;
  border-radius: 10px;    
  box-shadow: 2px 4px lightgrey;
}
@media (max-width: 900px) {
  .hamburger {
  background: none;
  border: none;
  color: #00a1e9;
  cursor: pointer;
  display: block;
  font-size: 2em;
  padding: 10px;
  }
  .nav-links {
  display: none;
  flex-direction: column;
  width: 100%;
  }
  .nav-links.open {
  display: flex;
  }
  #main-page,
  .nav-menu,
  .gallery,
  .info-page {
    font-size: 100%;
  }
  .page-title {
    font-size: 150%;
  }
  #main-page {
    display: block;
    grid-template-columns: unset;
    grid-template-rows: unset;
  }
  #home {
    grid-column: unset;
  }
  #main-content,
  #main-aside {
    grid-column: unset;
    padding: 10px;
  }
  header {
    padding: 15px 10px;
  }
  .nav-button {
    border-radius: 30px;
    box-shadow: 2px 4px #00a1e9;
    display: block;
    font-size: 1.1em;
    margin: 8px auto;
    padding: 12px 0;
    width: 80%;
  }
  nav {
    align-items: center;
    display: flex;
    flex-direction: column;
    gap: 5px;
  }
  main {
    margin: 10px;
  }
  h2, h3 {
    font-size: 1.3em;
    margin: 10px auto;
    max-width: 100%;
    padding: 15px 10px;
    width: auto;
  }
  p {
    font-size: 0.9em;
    margin: 10px auto;
    max-width: 100%;
    padding: 15px 10px;
    width: auto;
  }
  #about-page {
    font-size: 0.9em;
    max-width: 95%;
    padding: 15px 10px;
  }
  img {
    height: auto;
    max-width: 100%;
  }
  .logo {
    width: 60% !important;
  }
  .new-page {
    display: block;
    font-size: 1.2em;
    margin: 8px auto;
    padding: 15px 20px;
    width: 80%;
  }
  .btn-img {
    aspect-ratio: 16 / 9;
    display: block;
    margin: 15px auto;
    max-width: 90%;
  }
  .btn-container {
    align-items: center;
    flex-direction: column;
  }
  .btn-text {
    font-size: 1.2em;
  }
  aside {
    background-size: 40%;
    border: 2px solid lightgrey;
    grid-column: unset;
    height: auto;
    margin: 15px 10px;
    min-height: 200px;
    padding: 15px 10px;
  }
  .aside-img {
    width: 85%;
  }
  .aside-title {
    font-size: 0.9em;
    padding: 10px;
    width: 70%;
  }
  .aside-heading {
    font-size: 1.1em;
    width: 95%;
  } 
  .gallery-img {
    padding: 0 10px;
  }
  .gallery-img img {
    height: auto;
    width: 100% !important;
  }
  .img-desc {
    font-size: 0.85em;
    margin: 10px auto;
    max-width: 95%;
    padding: 12px;
  }
  .sale-marker {
    font-size: 0.8em;
    left: 15%;
    padding: min(0.625em, 2%);
    top: 5%;
    transform: translate(-50%, -50%) rotate(-15deg);
  }
  .breadcrumb {
    display: block;
    font-size: 0.8em;
    margin: 5px;
    padding: 8px 12px;
    text-align: center;
  }
  .breadcrumb .separator {
    margin: 0 3px;
  }
  .back-button {
    font-size: 0.9em;
    padding: 12px;
    width: 70%;
  }
  footer {
    margin-top: 15px;
    padding: 15px 10px;
  }
  footer p {
    box-shadow: none;
    font-size: 0.7em;
    max-width: 100%;
    padding: 10px;
  }
  .info-page main nav a {
    display: block;
    font-size: 1.2em;
    margin: 10px auto;
    padding: 15px;
    width: 80%;
  }
  h1, h2, h3, h4, p {
    width: auto !important;
  }
  aside {
    background-position: center 20%;
    background-size: 30%;
  }
}
@keyframes pulse {
  50% {
    transform: scale(1.1, 1.1);
  }
}
@keyframes fadeSlideUp {
  from {
    transform: translateY(5%);
  }
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
img[data-src] {
    background: #e0e0e0;
    opacity: 0;
    transition: opacity 0.5s ease;
}
img.loaded {
    opacity: 1;
}
.gallery-link {
    cursor: pointer;
    display: inline-block;
    position: relative;
}
.sale-marker {
  background-color: red;
  border-radius: 5px;
  color: white;
  font-family: verdana;
  left: 32.5%;
  padding: min(0.625em, 2%);
  pointer-events: none;
  position: absolute;
  top: 7.5%;
  transform: translate(-50%, -50%) rotate(-20deg);
}
.page-title {
  background-color: white;
  border-radius: 10px;
  color: #00a1e9;
  font-family: BlueSky, verdana;
  font-size: 250%;  
  padding: min(2.5em, 4%);
  text-align: center;
}
#about-page {
  background-color: white;
  border-radius: 10px;
  box-shadow: 2px 4px lightgrey;
  color: grey;
  font-family: BlueSky, verdana;
  margin: auto;
  max-width: 75%;
  padding: min(2.5em, 4%);
  text-align: center;
  width: auto;
}
.breadcrumb {
  background-color: white;
  border-radius: 10px;
  box-shadow: 2px 4px lightgrey;
  color:#00a1e9;
  display: inline-block;
  padding: 5px;
  text-align: left;
  text-decoration: none;
}