/* General Reset */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Trebuchet MS', sans-serif; background: #000; color: #f4f4f4; }
a { text-decoration: none; color: inherit; }




/* Header */
header {
  text-align: center;
  padding: 1.5rem;
}
h1 {
  font-size: 2.5rem;
  text-shadow: 0 0 10px #ff6600;
    font-family: "Creepster", system-ui;
  font-weight: 400;
  font-style: normal;
}
.subtitle {
  font-style: italic;
  font-size: 1.2rem;
  color: #ccc;
  margin:0 auto;
  max-height:40px;
}

/* Homepage Haunted House */
.homepage .haunted-house {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 2rem;
  position: relative;
  background:#000;
  width:60%;
  margin:0 auto;
}

.attic {
padding-top:30px;
}


.windows {
  display: flex;
  justify-content: space-between;
  width: 600px;
  margin-bottom: 2rem;
  padding-top:50px;
}



.window {
  width: 60px;
  height: 80px;
  background: #222;
  text-align:center;
  font-size:.7rem;
  border: 3px solid #444;
  box-shadow: inset 0 0 10px #000;
}

.door-wrapper {
  display: flex;
  justify-content: center;
}
.front-door {
  display: block;
  width: 120px;
  height: 180px;
  background: #2c1b0f;
  border: 5px solid #000;
  margin-left:180px;
  margin-right:180px;
  border-radius: 4px;
  text-align: center;
  line-height: 180px;
  font-size: 1.3rem;
  font-weight: bold;
  color: #ff6600;
  text-shadow: 0 0 8px #000;
  animation: glow 2s infinite alternate;
}
@keyframes glow {
  from { box-shadow: 0 0 10px #ff6600; }
  to { box-shadow: 0 0 25px #ff3300; }
}

/*  Fog  */
.fog {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 700px;
  background: url('foggy.png');
  background-size: cover;
  pointer-events: none
}


/* Door Room Layout */

.doorroom .hallway {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.door-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* always 2 doors per row */
  gap: 2rem;
  max-width: 700px;
  width: 90%;
  margin: 0 auto;
}

/* Door style */
.door {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 200px; /* stay tall like a door */
  background: linear-gradient(to bottom, #3c2f2f, #1a0d0d);
  border: 4px solid #000;
  border-radius: 5px;
  font-size: 1rem;
  font-weight: bold;
  color: #eee;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
}

/* "Door knob" */
.door::after {
  content: "";
  position: absolute;
  right: 10px;
  top: 50%;
  width: 12px;
  height: 12px;
  background: gold;
  border-radius: 50%;
  transform: translateY(-50%);
}

/* Hover: subtle spooky effect, but keep door shape */
.door:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(255, 200, 100, 0.4);
}


/* Hover effect: creak open */
.door:hover {
  transform: rotateY(-15deg) scale(1.05);
  box-shadow: 5px 5px 15px rgba(0,0,0,0.7);
}

/* Other pages */

.dancers {
	text-align:center;
	width:100%;
}


.dancers img {
	padding-top:20px;
	height:175px;
}


/* Responsive */

@media (max-width: 1440px) {
	.windows,  .homepage .haunted-house {
	width: 90%;
}

.front-door { margin-left:50px;
  margin-right:50px; }

.fog { height: 700px; }
}

@media (max-width: 1350px) {
.fog { height: 650px; }
}

@media (max-width: 1200px) {
.fog { height: 600px; }
}


@media (max-width: 1050px) {
.fog { height: 500px; }
}


@media (max-width: 600px) {
  h1 { font-size: 1.8rem; }
  .front-door { width: 100px; height: 150px; line-height: 150px; }
  
  .door {
  width: 75px;
  height: 120px; /* stay tall like a door */
  border: 2px solid #000;
  border-radius: 3px;
}
  .subtitle {font-size:.8rem; margin-bottom:20px;}
  .door-grid {gap: 1rem;}
  
  .door.jukebox::before {
  font-size: 2rem;
}


}
