/* fonts */
@font-face {
  font-family: Baskerville;
  src: url('assets/fonts/Libre_Baskerville/LibreBaskerville-Regular.woff2') format('woff2'),
}

@font-face {
  font-family: Baskerville;
  src: url('assets/fonts/Libre_Baskerville/LibreBaskerville-Bold.woff2') format('woff2');
  font-weight: 700;
}

@font-face {
  font-family: Baskerville;
  src: url('assets/fonts/Libre_Baskerville/LibreBaskerville-Italic.woff2') format('woff2');
  font-style: italic;
}

/* links */
a:link {
  color: lawngreen;
}

a:visited {
  color: lightgreen;
}

a:hover {
  color: darkgreen;
  text-decoration: underline;
}

a:active {
  color: green;
}

/* styles */

body {
  font-family: Baskerville;
  margin: auto;
  margin-bottom: 3em;
  padding-top: 1em;
  width: 80%;
  background-color: lightblue;
  text-align: center;
}

.did-you-know {
  margin: auto;
  margin-bottom: 2em;
  background-color: hotpink;
  border-radius: 0.5em;
  padding-bottom: 1em;
  padding-top: 0.5em;
  width: 50%;
}

.noise-background {
  background-image: url('assets/img/noise/melt11.png');
  animation: noiseAnimation 5s linear infinite;
}

@keyframes noiseAnimation {
    0% { background-position: 0 0; }
    100% { background-position: 100px 100px; } /* Adjust values for desired movement */
}

main {
  background-color: transparent;
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  grid-template-rows: auto 1fr auto;
  grid-template-areas: 
    "header header header"
    "sidebar-left content sidebar-right"
    "footer footer footer";
  gap: 10px;
  color: white;
  box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.5);
}

.header {
  grid-area: header;
  padding: 20px;
  border: 8px solid;
  border-image: linear-gradient(45deg, turquoise, greenyellow) 1;
  background-color: darkslategrey;
}
.sidebar-left {
  grid-area: sidebar-left;
  padding: 20px;
  border: 8px solid;
  border-image: linear-gradient(45deg, turquoise, greenyellow) 1;
  background-color: darkslategrey;
}
.content {
  grid-area: content;
  display: block;
  padding: 2em;
  border: 8px solid;
  border-image: linear-gradient(45deg, turquoise, greenyellow) 1;
  background-color: darkslategrey;
}
.sidebar-right {
  grid-area: sidebar-right;
  padding: 20px;
  border: 8px solid;
  border-image: linear-gradient(45deg, turquoise, greenyellow) 1;
  background-color: darkslategrey;
}
.footer {
  grid-area: footer;
  display: flex;
  gap: 1em;
  padding: 20px;
  text-align: center;
  border: 8px solid;
  border-image: linear-gradient(45deg, turquoise, greenyellow) 1;
  background-color: darkslategrey;
}

