/* quicksand-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Quicksand';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/quicksand-v31-latin-regular.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       url('fonts/quicksand-v31-latin-regular.ttf') format('truetype'); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}

/* aboreto-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Aboreto';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/aboreto-v2-latin-regular.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       url('fonts/aboreto-v2-latin-regular.ttf') format('truetype'); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}


/*---mobile-------*/

body {
  margin: auto;
  transition-property: opacity;
  transition-duration: 3s;
  font-family: 'Quicksand', monospace;
  color: white;
  font-size: 16px;
  line-height: 1.5;
  background: #C5C5C5;
}

.main {
  background: #2C423F url("bg-resize/background-0.png");
  background-size: contain;
  padding: 2rem;
  height: auto;
  transition-property: opacity;
  position: relative;
  opacity: .9;
}

.cookie-popup {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.8); /* Dark semi-transparent background */
  color: white;
  text-align: center;
  padding: 15px 10px;
  box-shadow: 0px -2px 5px rgba(0, 0, 0, 0.5); /* Subtle shadow */
  z-index: 9999; /* Ensures it stays on top */
}

.cookie-popup button {
  background-color: #4CAF50; /* Green button */
  color: white;
  border: none;
  padding: 10px 20px;
  margin-left: 15px;
  cursor: pointer;
  border-radius: 5px;
}

.cookie-popup button:hover {
  background-color: #45a049; /* Slightly darker on hover */
}

h1 {
  font-family: 'Aboreto';
}

img {
  opacity: .15;
}

aside {
  display: none;
}

header {
  color: grey;
  font-size: 2.5rem;
  margin: 0 auto;
  text-align: center;
  transition: color 2s;
}

.entry {
  color: #c2501c;
}

.entry:hover {
  color: grey;
}

.entrybit:hover {
  color: #c2501c;
}

header h1 {
  margin: 0;
  line-height: 1;
}

header h3 {
  font-size: 1.7rem;
  margin: 0;
  display: none;
}

.mobile-only {
  display:block;
  font-size: 18px;
  padding: .5rem 0;
}

a {
  text-decoration: none;
  color: inherit;
}

a:hover {
  color: darkgrey;
}

/* 500px desktop onward --------------------------*/
@media (min-width: 500px) {
.main {
      width: 360px;
      margin: 0 auto;
}
}

/* 600px desktop onward --------------------------*/
@media (min-width: 600px) {
.main {
  margin: 0 auto;
}
}

/* 800px desktop onward --------------------------*/
/*@media (min-width: 800px) {
.main {
}
}*/

/* 1100px desktop onward --------------------------*/
@media (min-width: 1100px) {

body {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  font-size: 18px;
}

header {
  color: grey;
  font-size: 3rem;
  margin: 0 auto;
}

header h1 {
  margin: 0;
  line-height: 1;
}

header h3 {
  font-size: 1.7rem;
  margin: 0;
  display: block;
}

.mobile-only {
  display: none;
}

.main {
    width: 360px;
    margin: 4rem auto;
    transition-property: opacity;
    border-radius: 6px;
    height: auto;
    grid-column: 2/2;
    font-size: 1.3rem;
  }

aside {
  display: block;
  position: relative;
  font-size: 3rem;
  font-weight: bold;
  color: grey;
}

aside a {
  position: absolute;
  bottom: 0;
  right: 2rem;
  margin: 0;
}

aside a:hover {
  font-style: none;
  color: darkgrey;
}


}