@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@200;400;700&display=swap");
main {
  max-width: 38rem;
  padding: 2rem;
  margin: auto;
}

body {
  color: #ffffff;
  font-family: "Montserrat";
  padding: 0;
  margin: 0;
}

@media screen and (max-width: 767px) {
  body {
    font-size: 11px; /* Adjust the font size for mobile devices */
  }
}

body::before {
  content: "";
  position: fixed;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: linear-gradient(-45deg, #632b18, #5c132d, #143b48, #114c40);
	background-size: 400% 400%;
	animation: gradient 15s ease infinite;
}

@keyframes gradient {
	0% {
		background-position: 0% 50%;
	}
	50% {
		background-position: 100% 50%;
	}
	100% {
		background-position: 0% 50%;
	}
}

section {
  display: grid;
  place-items: center;
  align-content: center;
  justify-content: space-around;
  min-height: 100vh;
}

p {
  margin: 2rem;
}

#subtitle {
  margin: 1rem;
}

#storytext {
  margin: 1rem 20rem 0rem 20rem; 
}

#copyright {
  margin: 1rem;
}

#listen {
  position: absolute;
  bottom: 10px;
}

#listen-text {
  margin-left: auto; margin-right: auto; width: 40em
}

@media screen and (max-width: 767px) {
  #storytext {
    margin: 1rem 3rem 0rem 3rem; 
  }
}

.hidden {
  opacity: 0;
  filter: blur(5px);
  transform: translateY(10%);
  transition: all 1.5s;
}

.show {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
}
/* Add a black background color to the top navigation */
.topnav {
  overflow: hidden;
  padding-top: 5px;
}

/* Style the links inside the navigation bar */
.topnav a {
  float: left;
  text-align: center;
  color: #f2f2f2;
  padding: 14px 16px;
  text-decoration: none;
}

.topnav-centered {
  display: flex;
  justify-content: center;
}

audio::-webkit-media-controls-panel {
  opacity: 70%;
}

.social-icons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 10px;
}
