/* Global Reset and Defaults */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body, html {
  height: 100%;
  font-family: 'Courier New', Courier, monospace;
  color: white;
  background-size: cover;
  background-repeat: no-repeat;
  text-decoration: none;
}


/* Consolidated and uniform button styles */

.main-button,
.main-button:visited,
.main-button:hover,
.main-button:active {
 position: fixed;
  bottom: 35px;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.4rem 0.4rem;
  background-color: #5e6067;
  text-decoration: none;
  color: white;
  display: inline-block;
  border: none;
  font-size: 1rem;
  font-family: 'Courier New', Courier, monospace;
  cursor: pointer;
  border-radius: 4px;
  transition: background-color 0.3s ease;
  z-index: 1;
}

.main-button:hover {
  background-color: white;
  color: #111111;
}

/* Responsive text size */
@media (max-width: 768px) {
  .main-button {
    font-size: 0.9rem;
    padding: 0.6rem 1rem;
  }
}

@media (max-width: 480px) {
  .main-button {
    font-size: 0.8rem;
    padding: 0.5rem 0.9rem;
  }
}


/* Title Section */
.title {
  text-align: center;
  margin: 1.5rem auto;
  padding: 1rem;
}

/* Content Section */
.content {
  max-width: 700px;
  margin: 1rem auto;
  padding: 2rem;
  text-align: center;
}

/* Car Image */
.car {
  width: 25%;
  height: auto;
  position: absolute;
  padding: 3%;
  bottom: 40px;
}

/* Terminal Page Styles */
.terminal-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem;
  max-width: 700px;
  margin: 0 auto;
}

.logo-terminal {
  width: 60px;
  margin-bottom: 2rem;
}

.terminal {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
  max-width: 700px;
}

.line {
  white-space: nowrap;
  font-size: 1.1rem;
  color: white;
}

a {
  color: white;
  text-decoration: none;
}

a:visited {
  color:#c17d80;
}

a:hover {
  text-decoration: underline;
}


/* Manifesto, Needles, Touch - Share same background */
body.manifesto,
body.needles,
body.touch {
  background-image: url("images/blackkraft.jpg");
}
body.shebang, html {
  height: 100%;
  font-family: sans-serif;
  background-color: #111;
}

/* Read Me Details */
details {
  margin-top: 2rem;
  padding: 1rem;
  background-color: #111;
  color: #e0e0e0;
  border: 1px dashed #555;
  font-family: monospace;
  font-size: 0.95rem;
  line-height: 1.6;
  max-width: 600px;
}

details summary {
  cursor: pointer;
  font-weight: bold;
  color: #f5f5f5;
  margin-bottom: 0.5rem;
}

details[open] {
  animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Shebang Styles */
.logo-link {
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 1000;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.logo-link.visible {
  opacity: 1;
}

.logo {
  width: 40px;
  height: auto;
}
/* Contenu à lire */
.content {
  color: white;
  padding: 10vh 10vw;
  min-height: 100vh;
  background-color: #111;
  font-family: 'Courier New', Courier, monospace;
}

/* Section avec image en fond */
.parallax {
  position: relative;   /* For button positioning */
  background-image: url('images/Shebang6.jpg');
  height: 100vh;
  background-attachment: fixed;
  background-position: center center;  /* Center horizontally and vertically */
  background-repeat: no-repeat;
  background-size: cover;
  background-color: transparent; /* no black overlay */
  z-index: 0;
}

/* Button inside parallax */
.parallax .main-button {
  position: absolute;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.4rem 0.4rem;
  background-color: #5e6067;
  text-decoration: none;
  color: white;
  display: inline-block;
  border: none;
  font-size: 1rem;
  font-family: 'Courier New', Courier, monospace;
  cursor: pointer;
  border-radius: 4px;
  transition: background-color 0.3s ease;
  z-index: 1;
}

a.main-button:hover {
  background-color: #9a9ca7;
  text-decoration: none;  /* reaffirmed */
}

/* Style Page */
body.style {
  background-color: #d9c5b9;
  color: #2e2e2e;
  font-family: system-ui, serif;
  font-size: 4vw;
  line-height: 1.5;
}

.home {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 5vw;
  text-align: center;
}

.hero-image {
  max-width: 90vw;
  height: auto;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  margin-bottom: 1.5em;
}

footer {
  margin-top: 2rem;
  text-align: center;
  font-size: 3.5vw;
}

.sky-link {
  text-decoration: none;
  font-size: 4vw;
  color: #3a2f2f;
  background: rgba(255, 255, 255, 0.6);
  padding: 0.8em 1.2em;
  border-radius: 8px;
  transition: background 0.3s ease;
  display: inline-block;
}

.sky-link:hover {
  background: rgba(255, 255, 255, 0.9);
}

@media (orientation: landscape) and (max-height: 500px) {
  body {
    font-size: 2.5vw;
  }

  .sky-link {
    font-size: 3vw;
  }
}
