* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    /*overflow: hidden;*/ /* Megakadályozza a dupla scrollbar megjelenését */
    font-family: Arial, sans-serif;
    scroll-behavior: smooth; /* Görgetés animáció */

    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;   

    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;    
  
}

body {
    background-color: #ffffff;  
}

.container {
    display: flex;
    flex-direction: column;
    height: 100vh;
    scroll-snap-type: y mandatory;
    overflow-y: auto; /* Csak a főböngésző scrollja maradjon */

    /*margin-top: 60px; */ /* Hely a fixált menü miatt */
}

.section {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    scroll-snap-align: start;
    width: 100%;
}

.section-video {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    scroll-snap-align: start;
    width: 100%;
    background-color: #000000;
    justify-content: center;
    align-items: center;    
    background-image: url('video/space.jpg');
    background-size: 70%;
    background-repeat: repeat;
}


video {
    max-height: 100%;
    max-width: 100%;
}

.content {
    width: 100%;
}

.a {
    flex: 2; /* 2/3 arány */
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: visible;
    position: relative;
}

.a img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.b {
    flex: 1; /* 1/3 arány */
    padding: 20px;
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 1;
}

.b p {
    max-width: 80%;
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.b button {
    padding: 10px 20px;
    /*margin-bottom: 120px;*/
    /*margin-bottom: env(safe-area-inset-bottom, 120px);*/
    font-size: 1rem;
    border: none;
    background-color: #08D57F;
    color: #000000;
    cursor: pointer;
    font-family: "Orbitron", sans-serif;
    font-weight: 500;
}

@media (max-width: 768px) {
  .b button {
    margin-bottom: 50px;
  }
  .b {
    padding-bottom: 50px;
  }
}


.b button:hover {
    background-color: #08D57F;
}

h1 {
    text-align: left;
    font-family: "Orbitron", sans-serif;
    font-weight: 800;
    font-size: 3rem;
}

/* --- FEJLÉC (MENÜ) --- */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    /*background-color: rgba(0, 0, 0, 0.8);*/
    padding: 15px 20px;
    z-index: 1000;
}

.logo {
    transition: opacity 0.5s ease, transform 0.5s ease;
    background-image: url('img/kd-circle.svg');
    background-repeat: no-repeat;
    width: 48px;
    height: 48px;

}

.logo.hidden {
    opacity: 0;
    transform: scale(0.9);
}

/* NAVIGÁCIÓ */
nav {
    flex-grow: 1;
    text-align: right;
}

.menu {
    list-style: none;
    display: none;
    flex-direction: column;
    background-color: #ffffff;
    position: absolute;
    top: 60px;
    right: 0;
    width: 260px;
    text-align: left;
    padding: 10px;
}

.menu li {
    margin: 5px;
    /*padding: 0px 10px 0px 10px;*/
}

.menu li a {
    text-decoration: none;
    color: #000000;
    font-size: 1rem;
    transition: color 0.3s;
    font-family: "Orbitron", sans-serif;
    font-weight: 500; 

    display: flex;
    align-items: center;
    gap: 15px;
}

.menu li a:hover {
    color: #08D57F;
}

.menu li.menu-group {
    background-color: #e0e0e0;
    margin: 0px;
    border: solid 5px #e0e0e0;
}

.menu li.menu-group a {
    color: #000000;
}

.menu li.menu-group a:hover {
    color: #08D57F;
}

.menu.open {
    display: flex;
}

.hamburger {
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.hamburger div {
    width: 24px;
    height: 4px;
    background-color: rgb(31, 31, 31);
    margin: 3px 0;
}

nav a {
    color: #ffffff;
    text-decoration: none;
}

nav a.active {
    color: #08D57F;
}

nav a.inactive {
    color: #808080;
    pointer-events: none;
}

/*
@media (hover: none){
    .parallax-img {
        width: 100%;
        height: auto;
        transform: translateY(0);
        transition: transform 0.1s ease-out;
    }
}
*/

.parallax-img {
    position: absolute;
    z-index: -1;
}

.my_icon {
    width: 24px;
}

