@font-face {
    font-family: 'AttributeText';
    src: url('../assets/fonts/AttributeText.woff2') format('woff2'),
        url('../assets/fonts/AttributeText.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
  }
  @font-face {
    font-family: 'AttributeText-Black';
    src: url('../assets/fonts/AttributeText-Black.woff2') format('woff2'),
        url('../assets/fonts/AttributeText-Black.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
  }
  @font-face {
    font-family: 'AttributeText-Bold';
    src: url('../assets/fonts/AttributeText-Bold.woff2') format('woff2'),
        url('../assets/fonts/AttributeText-Bold.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
  }
  
  @font-face {
    font-family: 'AttributeText-Light';
    src: url('../assets/fonts/AttributeText-Light.woff2') format('woff2'),
        url('../assets/fonts/AttributeText-Light.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
  }

  @font-face {
    font-family: 'Pixelify-Sans';
    src: url('../assets/fonts/Pixelify-Sans.woff2') format('woff2'),
        url('../assets/fonts/Pixelify-Sans.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
  }


  

  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Courier New', monospace;
    background: #000;
    color: #0f0;
    overflow-x: hidden;
    height: 100%;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
    overflow:hidden;
}

body::-webkit-scrollbar {
    display: none; /* Chrome, Safari */
}
.image-sequence-text {
    opacity: 0;
    transition: opacity 1s ease;
    font-family: "Pixelify Sans", sans-serif;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.1); }
}

/* Betöltő képernyő */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.loading-text {
    margin-bottom: 20px;
    font-size: 1.2rem;
    color: #0f0;
}

.loading-bar {
    width: 200px;
    height: 2px;
    background: #333;
    position: relative;
}

.loading-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: #0f0;
    animation: loading 2s forwards;
}

@keyframes loading {
    to { width: 100%; }
}

/* Bevezető animáció */
.intro-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #000;
    z-index: 9998;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 1s ease;
}

.intro-animation.visible {
    opacity: 1;
}

#matrixCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.5;
}

.matrix-text {
    position: relative;
    z-index: 2;
    font-size: 1.8rem;
    text-align: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid #0f0;
}

.typing-line {
    border-right: 2px solid #0f0;
    animation: blink 0.7s infinite;
}

@keyframes blink {
    0%, 100% { border-color: #0f0; }
    50% { border-color: transparent; }
}

/* Képsorozat */
.image-sequence-container {
    position: relative;
    height: 100vh; /* Changed from 800vh to 100vh since we're not scrolling */
}

.image-sequence {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.image-sequence img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.image-sequence img.active {
    opacity: 1;
}

/* Végső állapot */
.final-state {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 50;
    display: none;
}

.final-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.floating-btn img {
    width: 180px;

}
/* Lebegő gombok */
.floating-btn {
    position: absolute;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s;
    opacity: 0;
    color: white;
    font-size: 1.2rem;
    text-decoration: none;
    font-weight: bold;
    transform: scale(0.5);
}

.floating-btn:hover {
    transform: scale(1.1);
}

.floating-btn.left {
    left: 10%;
    top: 50%;
    border-color: #00f;
    color: #00f;
}


.floating-btn.right {
    right: 10%;
    top: 50%;
    border-color: #f00;
    color: #f00;
}

.floating-btn.visible {
    opacity: 1;
    transform: scale(1);
    animation: popIn 0.5s ease-out forwards;
}

@keyframes popIn {
    0% { transform: scale(0.5); opacity: 0; }
    70% { transform: scale(1.1); opacity: 1; }
    100% { transform: scale(1); opacity: 1; }
}

/* Fejléc */
.main-header {
    position: fixed;
    top: -100px;
    left: 0;
    width: 100%;
    padding: 15px 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 100;
    transition: top 0.5s ease, opacity 1s ease;
    display: flex;
    justify-content: center;
    border-bottom: 1px solid #0f0;
    opacity: 0;
}

.main-header.visible {
    top: 0;
    opacity: 1;
}

.header-container {
    width: 100%;
    max-width: 1000px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 20px;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: #0f0;
}

.main-nav ul {
    display: flex;
    list-style: none;
}

.main-nav li {
    margin-left: 20px;
}

.main-nav a {
    color: #0f0;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s;
}

.main-nav a:hover {
    color: #fff;
}

/* Tartalom */
.content {
    padding: 100px 20px;
    min-height: 100vh;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1s, transform 1s;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 60;
}

.content.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Reszponzív */
@media (max-width: 768px) {
    .matrix-text {
        font-size: 1.4rem;
        width: 90%;
    }
    
    .floating-btn {
        width: 80px;
        height: 80px;
        font-size: 1rem;
    }
    
    .floating-btn.left {
        left: 10%;
    }
    
    .floating-btn.right {
        right: 10%;
    }
    
    .header-container {
        flex-direction: column;
    }
    
    .logo {
        margin-bottom: 10px;
    }
    
    .main-nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .main-nav li {
        margin: 0 10px;
    }
}
.image-sequence-text {
    position: fixed;
    top: 125px;
    width: 100%;
    text-align: center;
    color: #0f0;
    z-index: 10;
    pointer-events: none;
    font-family: 'AttributeText-Light';
}





/* Responsive */
@media (max-width: 768px) {
    .bottom-blocks {
        flex-direction: column;
        height: auto;
    }

    .block {
        padding: 40px 20px;
    }

    .main-nav ul {
        padding: 0 2%;
        flex-wrap: wrap;
    }

    .main-header li img {
        height: 40px;
    }
}

@media (max-width: 480px) {
    .main-header li img {
        height: 30px;
    }
}

/* Base styles for h1, h2, h3, and p */

h1 {
  font-size: clamp(24px, 5vw, 72px); /* 72px @ 3840px, 24px @ mobil */
  font-family: 'AttributeText-Black';
}

h2 {
  font-size: clamp(18px, 3.5vw, 48px);  /* 48px @ 3840px, 18px @ mobil */
  font-family: 'AttributeText-Light';
  font-weight: 200;
}

h3 {
  font-size: clamp(14px, 2.5vw, 36px); /* 36px @ 3840px, 14px @ mobil */
  font-weight: 200;
}

p {
  font-size: 13px;
}

/* Media Queries for specific breakpoints */
@media (max-width: 736px) {
  h1 {
      font-size: 24px;
  }
  h2 {
      font-size: 18px;
  }
  h3 {
      font-size: 14px;
  }
  p {
      font-size: 12px;
  }

}

@media (min-width: 737px) and (max-width: 1080px) {
  h1 {
      font-size: 28px;
  }
  h2 {
      font-size: 22px;
  }
  h3 {
      font-size: 18px;
  }
  p {
      font-size: 14px;
  }

}

@media (min-width: 1081px) and (max-width: 1920px) {

  h1 {
      font-size: 40px;
  }
  h2 {
      font-size: 30px;
  }
  h3 {
      font-size: 24px;
  }
  p {
      font-size: 16px;
  }

}

@media (min-width: 1921px) and (max-width: 3840px) {

  h1 {
      font-size: 56px;
  }
  h2 {
      font-size: 42px;
  }
  h3 {
      font-size: 26px;
  }
  p {
      font-size: 18px;
  }
}

@media (min-width: 3841px) {
  h1 {
      font-size: 72px;
  }
  h2 {
      font-size: 48px;
  }
  h3 {
      font-size: 32px;
  }
  p {
      font-size: 20px;
  }


}