body {
  font-size: 18px;
  color: #876863;
  background-color: black;
  background-image: url(https://somethinghappened.neocities.org/cobwebs/webss.jpg);
  background-repeat: no-repeat;
  background-size: 1200px auto; 
  background-position: center 50px;
  font-family: "Garamond", "Times New Roman", "Georgia";
}

@font-face {
  font-family: "Berkshire Swash";
  src: url("https://somethinghappened.neocities.org/fonts/berkshireswash-regular.ttf") format("truetype");
}

.page {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr; /* left, center, right */
  grid-template-rows: auto auto auto auto auto; /*header row, add more rows?*/
  gap: 20px;
  max-width: 1290px;
  margin: 0 auto;
}

.heading {
  grid-column: 1 / span 3; /* full width */
  grid-row: 1;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  /*text-align: center;*/
  gap: 75px; /*space between webs*/
  margin: 50px 0;
  margin-bottom: 20px;
}

.heading h1 {
  font-family: 'Berkshire Swash', cursive;
  font-size: 68px;
  color: #876863;
  margin-bottom: 0px;
}

.intro {
  grid-column: 1 / span 3; /* full width like heading */
  grid-row: 2;             /*directly below the heading*/
  text-align: center;
  font-size: 22px;
  margin-top: -15px;     /*control spacing*/
  padding-top: 0;
  padding-bottom: 20px;
}

.intro p {
  font-size: 22px;
  margin: 0; /*kills default spacing*/
}

.cobweb {
  width: 75px;
  height: auto;
  transform: translateY(10px); /*height for webs to override*/
}

.left {
  grid-column: 1;
  grid-row: 3;
}

.center {
  grid-column: 2;
  grid-row: 3;
}

.right {
  grid-column: 3;
  grid-row: 3;
}


.cobweb {
  width: 75px;
  height: auto;
  margin: 10px 0;
}

.musicbox, .movie-box, .conspiracy, .weird-box {
  background-color: #000;
  border-radius: 25px;
  padding: 10px;
  margin: 20px 0;
  color: #afa9af;
  text-align: center;
}

.ad1 img {
  max-width: 100%;
  height: auto;
}


.dropdown-container {
  position: relative;
  display: inline-block;
}

.dropdown {
  display: none;
  position: absolute;
  top: 50%; 
  right: 100%;
  margin-top: -10px;
  padding: 0;
  list-style: none;
  background: black;
  border: 1px solid #aaa;
  border-radius: 6px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
  width: max-content;
  z-index: 999;
  transform: translateY(-50%);
}

.dropdown-container:hover .dropdown {
  display: block;
}

.dropdown li {
  border-bottom: 1px solid #ccc;
}
.dropdown li:last-child {
  border-bottom: none;
}
.dropdown a {
  display: block;
  padding: 8px 12px;
  text-decoration: none;
  color: #0096C7;
}
.dropdown a:hover {
  background: #ddd;
}

/* Credit toggle */
.credit {
  margin-top: 20px;
  text-align: center;
}

.credit-label {
  cursor: pointer;
  font-size: 22px;
  font-family: 'Berkshire Swash', cursive;
  color: #876863;
  text-decoration: underline;
}

.creditlist-container {
  position: relative;
  display: inline-block;
}

.creditlist {
  display: none;
  top: 50%;
  right: 100%;
  margin-top: 10px;
  border: 1px solid #876863;
  border-radius: 15px;
  background-color: #000000;
  color: #876863;
  width: max-content;
}

#credit-toggle:checked ~ .creditlist {
  display: block;
}

.creditlist ul {
  list-style-type: none;
  padding: 10px;
}

.creditlist li {
  padding: 5px 0;
}

.center {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.weird-box {
  display: block;
  background-color: #0000000;
  color: #ffffff;
  grid-column: 2;
  grid-row: 5;
  width: 300px;
  height: auto;
  text-align: center;
  margin-top: 650px;

}

