/* ========================================
   Függöny konténer
   ======================================== */
#curtain {
    position: fixed;
    inset: 0;
    z-index: 50;
    overflow: hidden;
}

/* ========================================
   FIX OVERLAY KÉP (függöny helyett)
   ======================================== */
.curtain-image {
    position: absolute;
    inset: 0;
    background-image: url('fuggony.jpg');
    background-size: contain;
    background-position: center;
    z-index: 100000;
    opacity: 1;
    transition: opacity 3s linear 0.2s; /* lassú, késleltetett egyenletes fade */
	background-repeat: no-repeat;
    background-color: black;
}

#curtain.open .curtain-image {
    opacity: 0;
}

/* ========================================
   Air blockok
   ======================================== */
.air-block {
    position: absolute;
    background-color: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    z-index: 100010;
    opacity: 1;
    transition: opacity 3s linear 0.2s, transform 3s linear 0.2s;
}
.air-block2 {
    position: absolute;
    background-color: transparent;
    display: flex;
    border-radius: 8px;
    z-index: 100010;
    opacity: 1;
    transition: opacity 3s linear 0.2s, transform 3s linear 0.2s;
}

.air-block.fade-out {
    opacity: 0;
    transform: scale(0.6);
}

#block22 {
    position: absolute;
    top: 8%;
    left: 5%;
}

#block22 img {
    width: 170px;
    height: auto;
    max-width: 100%;
	opacity: 0.9;
}

#block2 {
    position: absolute;
    top: 8%;
    left: 5%;
}

#block2 img {
    width: 170px;
    height: auto;
    max-width: 100%;
	opacity: 0.9;
}
#block1 {
    position: absolute;
    bottom: 5%;
    left: 50%;
	transform: translateX(-50%);
	width: 100%;
}

#block1 img {
    width: 328px;
    height: 112px;
    max-width: 100%;
	opacity: 0.5;
}

/* ========================================
   Középső tartalom
   ======================================== */
.curtain-center {
    position: absolute;
    z-index: 1000020;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #fff;
    text-align: center;
    background: transparent;
	bottom: 10%;
    left: 50%;
	transform: translateX(-50%);
	width: 100%;
}

.curtain-center.fade-out {
    opacity: 0;
    transform: scale(0.8);
}

/* Címek */
.curtain-center h1 {
    font-size: 22px;
    margin-bottom: -7px;
}
.curtain-center h2 {
    font-size: 13px;
    margin-bottom: 0;
}
.curtain-center h3 {
    font-size: 18px;
    margin: 5px 0 10px;
	    font-weight: 400;
}

/* Gombok */
.curtain-center button {
    padding: 7px 21px;
    font-size: 20px;
    cursor: pointer;
    background: rgba(167, 13, 42, 0.9);
    color: #fff;
    border: none;
    border-radius: 4px;
    transition: background 0.3s;
    /* Codex modositas kezdete: curtain gomb kek erintesi villanas eltavolitasa */ 
	-webkit-tap-highlight-color: transparent; /* Codex modositas vege: curtain gomb kek erintesi villanas eltavolitasa */
}

.curtain-center button:hover {
    background: #d71920;
}

#openCurtain2 {
    background: #555;
    color: #fff;
    border-radius: 8px;
    padding: 10px;
    font-size: 10px;
    cursor: pointer;
    transition: background 0.3s;
    margin-top: 15px;
}

#openCurtain2:hover {
    background: #777;
}

/* ========================================
   MOBIL
   ======================================== */
@media (max-width: 1280px) {
#block22 img { width: 150px; }
}
@media (max-width: 1024px) {
#block22 img { width: 140px; }
}
@media (max-width: 900px) {
#block22 img { width: 130px; }
}
@media (max-width: 800px) {
#block22 img { width: 110px; }
}
@media (max-width: 450px) {
#block22 img { 
width: 50%;
opacity: 1;
}
#block22 {
        top: 5%;
        left: 33%;
		max-width: unset;
}	

#block2 img { width: 150px; }
}
@media (max-width: 1024px) {
#block2 img { width: 140px; }
}
@media (max-width: 900px) {
#block2 img { width: 130px; }
}
@media (max-width: 800px) {
#block2 img { width: 110px; }
}
@media (max-width: 450px) {
#block2 img { 
width: 80px;
opacity: 0.5;
}
#block2 {
    top: 5%;
    left: 37%;
}
}

/* Codex modositas kezdete: landing fel-le animacio bekotese a fuggony utan */
.landing_section_in.landing_section_in_scroll_hint {
    animation: landing_section_in_scroll_hint_motion 3s ease-in-out 1;
    will-change: transform;
}

@keyframes landing_section_in_scroll_hint_motion {
    0% {
        transform: translateY(0);
    }
    35% {
        transform: translateY(-540px);
    }
    65% {
        transform: translateY(0);
    }
    82% {
        transform: translateY(-240px);
    }
    100% {
        transform: translateY(0);
    }
}
/* Codex modositas vege: landing fel-le animacio bekotese a fuggony utan */

/* Codex modositas kezdete: curtain kilepesi pozicio megtartasa */
.curtain-center.fade-out {
    transform: translateX(-50%) scale(0.8);
}
/* Codex modositas vege: curtain kilepesi pozicio megtartasa */

/* Codex modositas kezdete: age confirm logo es kartya kozos mobil elrendezese */
@media screen and (max-width: 700px) {
    #ageConfirmModal.age_confirm_overlay {
        flex-direction: column;
        align-items: center;
        justify-content: flex-end;
        gap: clamp(8px, 1.5vh, 16px);
        padding: 12px;
        padding-bottom: clamp(4vh, calc(38.9474vh - 223.663px), 12vh);
        padding-bottom: clamp(4dvh, calc(38.9474dvh - 223.663px), 12dvh);
    }

    #ageConfirmModal #block22 {
        position: static;
        top: auto;
        right: auto;
        bottom: auto;
        left: auto;
        flex: 1 1 auto;
        min-height: 0;
        width: 100%;
        align-items: flex-end;
        justify-content: center;
        margin-bottom: clamp(0px, calc(15.7895vh - 101.053px), 30px);
        margin-bottom: clamp(0px, calc(15.7895dvh - 101.053px), 30px);
        transform: none;
    }

    #ageConfirmModal #block22 img {
        display: block;
        width: auto;
        height: clamp(60px, 16vh, 150px);
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
        opacity: 1;
    }

    #ageConfirmModal .age_confirm_card {
        flex: 0 0 auto;
        max-height: none;
        overflow: visible;
    }
}
/* Codex modositas vege: age confirm logo es kartya kozos mobil elrendezese */
