/* CSS is how you can add style to your website, such as colors, fonts, and positioning of your
   HTML content. To learn how to do something, just try searching Google for questions like
   "how to change link color." */

h1 {
  text-align: center;

}


p {
  text-align: center;
}

body {
  margin: 0;
  background-image: url("curtains.jpg");
  background-size: cover;     
  background-position: center;   
  background-attachment: fixed; 
  background-repeat: no-repeat;
  color: #fff;
  font-family: "Lucida Console","Courier New",monospace;
}


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

.wrap {
  max-width: 1100px;
  margin: 50px auto;
  padding: 40px;
  position: relative;
  z-index: 10;
border-radius: 15px;
  background: #0e0017; 
  border: 10px solid #a352d9; 
  
box-shadow:
  0 0 0 4px #f7b2cf,
  0 0 30px rgba(140, 0, 200, 0.5);

}

.banner img {
  width: 600px; 
  height: auto;
  filter: drop-shadow(0 0 12px rgba(255,255,255,0.6));
}




/* 2-column layout */
.layout{
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 16px;
  align-items: baseline;
}

.main, .side{
  display:flex;
  flex-direction:column;
  gap:16px;
}


.panel {
  border: 2px solid #300000;
  background: #ffd9e9;   
  color: #240017;           
  padding: 14px;
    border-radius: 12px;
}

/* panel title bars */
.panel h2{
  margin: 0 0 10px 0;
  padding: 6px 10px;
  text-transform: lowercase;
  font-size: 14px;
}



.gif-grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.wide-grid{
  display:flex;
  flex-direction:column;
  gap: 10px;
}



/* links */
a{ color:#7a00ff; }
a:hover{ text-decoration: underline; }

/* mobile: stack sidebar under main */
@media (max-width: 900px){
  .layout{ grid-template-columns: 1fr; }
  .img-grid{ grid-template-columns: repeat(2, 1fr); }
  .gif-grid{ grid-template-columns: repeat(2, 1fr); }
}

.side-text {
  position: fixed;
  top: 70%;
  transform: translateY(-60%);
  width: 500px;
  text-align: left;
  color: white;
  pointer-events: none;
}

.side-text.left {
  left: 0;
}

.side-text.right {
  right: 0;
}

.side-text {
  z-index: 0;
}



