/* Shebang Styles */

html, body {
  margin: 0;
  padding: 0;
  background-color:#111;
}

.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: #F5F2E9;
  padding: 10vh 10vw;
  min-height: 100vh;
  background-color: #111;
  font-family: 'Courier New', Courier, monospace;
  text-align: center;
}

/* Section avec image en fond */
.parallax {
  position: relative;   /* For button positioning */
  height: 100vh;
  background-attachment: absolute;
  background-position: center center;  /* Center horizontally and vertically */
  background-repeat: no-repeat;
  background-size: cover;
  background-color: transparent; /* no black overlay */
  z-index: 0;
}

/* version portrait (mobile) */
@media (max-aspect-ratio: 3/4) {
  .parallax {
    background-image: url("images/Shebang29.webp");
  }
}

/* version paysage (desktop / tablette) */
@media (min-aspect-ratio: 4/3) {
  .parallax {
    background-image: url("images/Shebang216.webp");
  }
}

/* Button inside parallax */
.parallax .main-button {
  position: absolute; 
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  padding:0.7rem 0.7rem;
  background-color: #5e6067;
  text-decoration: none;
  color: white;
  display: inline-block;
  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 */
}

.terminal-title{
 position: absolute;
  display: flex;
  flex-direction: column;
  justify-content: flex-start; /* texte s’empile du haut */
  pointer-events: none;
  box-sizing: border-box;
  color: #F5F2E9;
  font-family: 'Courier New', monospace;
  font-weight: bold;
  text-shadow:
    -1px -1px 0 black,
     1px -1px 0 black,
    -1px  1px 0 black,
     1px  1px 0 black;
  z-index: 10;
}

/* Texte overlay  */
.terminal-text {
 position: absolute;
  display: flex;
  flex-direction: column;
  justify-content: flex-start; /* texte s’empile du haut */
  pointer-events: none;
  box-sizing: border-box;
  color: #F5F2E9;
  font-family: 'Courier New', monospace;
  font-weight: bold;
  text-shadow:
    -1px -1px 0 black,
     1px -1px 0 black,
    -1px  1px 0 black,
     1px  1px 0 black;
  z-index: 10;
}

/* MOBILE */
@media (max-aspect-ratio: 3/4) {
  .terminal-title {
    top: 146.5vh;
    left: 30vw;
    transform: translate(-50%, -50%);
  }

  .terminal-text {
    top: 155vh;
    left: 35.5vw;
    transform: translate(-50%, -50%);
  }
}

/* DESKTOP */
@media (min-aspect-ratio: 4/3) {
  .terminal-title {
    top: 134vh;
    left: 43vw;
    transform: translate(-50%, -50%);
  }

  .terminal-text {
    top: 143vh;
    left: 41.5vw;
    transform: translate(-50%, -50%);
  }
}
