
body {
  font-family: Arial, sans-serif;
}
p {
  color: #ffffff; /* Changes all paragraph text to red */
}

h2 {
  color: #ffffff;
}

h1 {
  font-size: 2.5rem;
}

.center-img {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 50%; /* Optional: adjusts the image size so it doesn't overflow */
}

.bottom-hover-text {
  position: fixed;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  font-family: monospace;
  font-size: 14px;
  background-color: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 5px 15px;
  border-radius: 4px;
  z-index: 9999;
}

/* Hide the hidden text by default */
.bottom-hover-text .hidden-text {
  display: none;
}

/* When hovering over the container, hide default text and show hidden text */
.bottom-hover-text:hover .default-text {
  display: none;
}

.bottom-hover-text:hover .hidden-text {
  display: inline;
}


body {
  background-image: url('schoolentrance.jpeg');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  background-attachment: fixed;
}


/* Container framing the visual novel screen */
.vn-container {
  position: relative;
  width: 100%;
  max-width: 800px;
  height: 450px;
  margin: 20px auto;
  background: #2a2a2a; /* Fallback color. You can use background-image later */
  border: 4px solid #fff;
  border-radius: 8px;
  overflow: hidden;
  font-family: 'Courier New', Courier, monospace; /* Change to your aesthetic */
  cursor: pointer;
  user-select: none;
}

/* Wrapper to position the text box area at the bottom */
.vn-textbox-wrapper {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  z-index: 10;
}
/* The Name Tag Box */
.vn-namebox {
  display: inline-block;
  background: rgba(0, 0, 0, 0.85);
  color: #ffde59; /* Custom name color */
  padding: 5px 15px;
  font-weight: bold;
  font-size: 1.1rem;
  border: 2px solid #fff;
  border-bottom: none;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
}

/* The Main Dialogue Text Box */
.vn-textbox {
  background: rgba(0, 0, 0, 0.75); /* Semi-transparent black background */
  color: #ffffff;
  border: 2px solid #ffffff;
  border-radius: 0 5px 5px 5px;
  padding: 15px 20px;
  height: 90px;
  position: relative;
}

.vn-textbox p {
  margin: 0;
  line-height: 1.4;
  font-size: 1rem;
}

/* Blinking/Bouncing Next Arrow */
.vn-arrow {
  position: absolute;
  bottom: 10px;
  right: 15px;
  color: #fff;
  font-size: 0.8rem;
  animation: bounce 0.8s infinite alternate;
}

@keyframes bounce {
  from { transform: translateY(0); }
  to { transform: translateY(3px); }
}

