/* כללי */
body, html {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', sans-serif;
    direction: rtl;
    scroll-behavior: smooth;
    background-color: #000;
  }
  
  .btn {
    margin-right: 50px;
    gap: 15px;
    background-color: rgb(49, 49, 49);
    padding: 10px 20px 10px 20px;
    color: white;
    text-decoration: none;
    font-size: 25px;
    border-radius: 5px;
    box-shadow: 0px 0px 5px black;
  }

  nav.main-nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 999;
    padding: 1rem;
    text-align: center;
    box-shadow: 0 0 10px #ffedcb;
  }
  
  nav.main-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 2rem;
  }
  
  nav.main-nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    
  }
  
  nav.main-nav ul li a:hover {
    text-shadow: 0 0 5px #fff, 0 0 10px #ffcc70;
  }
  
  section.layer {
    height: 100vh;
    width: 100vw;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    box-sizing: border-box;
    color: white;
    transition: all 1s ease-in-out;
    position: relative;
    background-size: cover;
    background-position: center;
  }
  
  section.layer::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
  }
  
  .content {
    max-width: 1000px;
    position: relative;
    z-index: 2;
    animation: fadein 2s ease forwards;
    margin-top: 3rem;
    border-radius: 12px;
  }
  
  .content h1 {
    font-size: 4.0rem;
    margin-bottom: 1rem;
    text-shadow: 0px 0px 2px black;
  }
  
  .content p {
    font-size: 2.0rem;
    line-height: 2.4rem;
    opacity: 0.95;
    text-shadow: 0 0 5px #fff;
  }
  
  @keyframes fadein {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
  }
  
  /* שכבה 1: המסכה החיצונית */
  .outer-mask {
    background-image: url('Outside.png');
    background-size: cover;
  }
  
  /* שכבה 2: האגו */
  .ego {
    background-image: url('Ego.jpg');
    background-size: cover;
  }
  
  /* שכבה 3: הפחדים */
  .fears {
    background-image: url('Fears.jpg');
    animation: tremble 2s infinite ease-in-out;
    background-size: cover;
  }

    /* שכבה 3: הפחדים */
    .exit-entry {
        background-image: url('Exit.jpg');
        animation: tremble 2s infinite ease-in-out;
        background-size: cover;
      }
  
  @keyframes tremble {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-1px); }
    75% { transform: translateX(1px); }
  }
  
  /* שכבה 4: הזכרונות */
  .memories {
    background-image: url('Memories.jpg');
    background-size: cover;
  }
  
  /* שכבה 5: האני האמיתי */
  .true-self {
    background-image: url('True-Self.jpg');
    background-size: contain;
    filter: brightness(0.9);
  }
  
  /* גלילה חלקה */
  html {
    scroll-snap-type: y mandatory;
  }
  
  section {
    scroll-snap-align: start;
  }

  .new-size {
    font-size: 40px !important;
  }
  
  #entry-screen {
    background: black url('background.jpeg') center center / cover no-repeat;
    position: fixed;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    color: white;
}

.entry-container {
    text-align: center;
    background-color: rgba(0,0,0,0.2);
    padding: 30px;
    border-radius: 12px;
}

.entry-buttons button {
    margin: 10px;
    padding: 10px 20px;
    font-size: 1.2rem;
    background: #222;
    color: #fff;
    border: 1px solid #fff;
    cursor: pointer;
    transition: background 0.3s;
}

.entry-buttons button:hover {
    background: #444;
}
