/* Alap stílusok */
body {
    background-color: #000;
    color: white;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* Navigációs sáv */
.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 50px 20px;
}


.navhover .underline {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: white;
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform 0.3s ease-in-out;
}

.nav img {
    max-height: 40px;
}

.nav-link {
    text-decoration: none;
    color: white;
    font-weight: light;
    text-transform: uppercase;
    margin-left: 20px;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #ddd;
}



.header-row h1 {
    font-size: 15rem;
}

.arrow-button {
    all: unset;
    position: relative;
    display: flex;
    align-items: center;
    color: #fff0db;
    background-color: transparent;
    padding-left: 20px;
    cursor: pointer;
}

.arrow-button__title {
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.2;
    overflow: hidden;
}

.stagger-char {
    display: inline-block;
    position: relative;
    height: 100%;
}

.stagger-char::after {
    content: attr(data-letter);
    position: absolute;
    top: 100%;
    left: 0;
}


/* Hero szakasz */
.hero-container {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-direction: column;
    position: relative;
    height: 750px;
    margin-bottom: 50vh;
}

.hero-flex-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}


.hero-container h1 {
    font-size: calc(100vw / 9.2);
    box-sizing: border-box;
    font-weight: 600;
    text-transform: uppercase;
    margin: 0;
    margin-top: 10vh;
    white-space: nowrap;
}

.letter {
    display: inline-block;
}

.hero-flex-container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    height: 30vh;
    margin-bottom: 10vh;
}

.flex-link-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-left: 10px;
}

.flex-link-container a {
    color: white;
    font-weight: 300;
    text-transform: uppercase;
    margin: 0;
    font-size: 1rem;
}

.flex-link-container img {
    width: 20%;
}


.image-flex-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: min-content;
    width: 100%;
    gap: 10px;
    margin: 0 40px;
}

.image-flex-container img {
    width: 32%;
    aspect-ratio: 1/1;
    object-fit: cover;
    display: block;
}


.landing-content {
    width: 100%;
    height: 120vh;
    padding: 0 30px;
}

.landing-content h1 {
    font-size: 7rem;
    font-weight: 400;
    text-transform: uppercase;
}

/* Alapértelmezett színek */
.landing-row h1 {
    color: white;
    transition: color 0.3s;
}

.landing-row p {
    color: #606060;
    transition: color 0.3s;
}

.landing-row {
    width: 100%;
    border-bottom: #606060 1px solid;
    padding: 50px 0px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    position: relative;
}

.row-top {
    border-top: #606060 1px solid;
}

.row-content {
    display: flex;
    align-items: flex-start;
    gap: 150px;
    pointer-events: auto;
}

.row-content p {
    font-size: 1vw;
    text-transform: uppercase;
    max-width: 400px;
    margin: 0;
    line-height: 1.5;
    cursor: default;
}

.row-content h1 {
    font-size: 10vw;
    text-transform: uppercase;
    margin: 0;
    line-height: 0.75;
    cursor: default;
}

.right-row {
    justify-content: flex-end;
}

.first-row {
    padding-left: 10%;
}

.second-row {
    padding-left: 20%;
}

.third-row {
    padding-right: 5%;
}

.selected-work {
    width: 100%;
    height: 20vh;
    padding: 0 30px;
    box-sizing: border-box;
    cursor: default;
    margin-bottom: 500px;
}

.text-flex {
    display: flex;
    flex-direction: column;
}

.text-flex h1 {
    font-weight: 400;
    text-transform: uppercase;
    font-size: 7vw;
    margin: 0;
    line-height: 0.8;
    color: white;
}

.second-text {
    padding-left: 45%;
}

.selected-work-title {
    width: 100%;
    height: auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-direction: row;
    margin-bottom: 50px;
}

.text-date {
    font-weight: 400;
    text-transform: uppercase;
    font-size: 7vw;
    margin: 0;
    color: #606060;
    cursor: default;
    line-height: 0.8;
}

.selected-work-row {
    width: 100%;
    display: flex;
    flex-direction: row;
    border-top: #606060 1px solid;
    border-bottom: #606060 1px solid;
}

.left-work-row {
    width: 50%;
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    box-sizing: border-box;
    padding-right: 10px;
}

.left-work-row p {
    color: #fff;
    font-size: 3vw;
    margin: 0;
    line-height: 1;
}

.right-work-row {
    width: 50%;
    border-left: #606060 1px solid;

}

.right-subrow {
    display: flex;
    flex-direction: row;
    align-items: center;
    border-bottom: #606060 1px solid;
    padding: 10px 0px;
    padding-left: 20px;
    gap: 200px;
    box-sizing: border-box;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.right-subrow::before {
    content: "";
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    transition: top 0.35s ease;
    /* animáció */
    z-index: 1;
}

.right-subrow:hover::before {
    top: 0;
}



.right-subrow a {
    display: flex;
    justify-content: center;
    align-items: center;
}

.right-subrow p {
    color: #fff;
    margin: 0;
    text-align: right;
    text-transform: uppercase;
    min-width: 200px;
    max-width: 500px;
    position: relative;
    z-index: 2;
    transition: color 0.25s ease;
}

.right-subrow:hover p {
    color: #000;
}

.right-subrow img {
    width: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
    position: relative;
    z-index: 2;
    filter: brightness(0);
}

.right-subrow:hover img {
    opacity: 1;
}

.row-bottom {
    border-bottom: none;
}


.second-selected {
    border: none;
}

.second-selected .left-work-row {
    border-bottom: #606060 1px solid;
}


.accordion {
    width: 100%;
    max-width: 400px;
    position: relative;
    padding: 1px;
}

.accordion__item {
    border-radius: 0;
    overflow: hidden;
    position: relative;
    border-top: 1px solid #606060;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1),
        transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    margin: 0;
}

.accordion__item+.accordion__item {
    margin-top: -1px;
}

.accordion__item:first-child {
    border-top: #606060 1px solid;
}

.accordion__item:last-child {
    border-bottom: #606060 1px solid;
}

.accordion__item--open {
    z-index: 10;
}

.accordion__item--open:first-child {
    margin-top: 0;
}

.accordion__item--open:last-child {
    margin-bottom: 0;
}

.accordion__item--before-open {
    transform: translateY(-1.5rem);
}


.accordion__item--after-open {
    transform: translateY(1.5rem);
}



.accordion__item--dimmed {
    opacity: 0.5;
}

.accordion__header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0px;
    cursor: pointer;
    list-style: none;
    user-select: none;
    position: relative;
    overflow: hidden;
}

.accordion__header::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.2s;
    pointer-events: none;
}

.accordion__header:hover::before {
    opacity: 1;
}

.accordion__header::-webkit-details-marker {
    display: none;
}

.accordion__icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    opacity: 0.7;
    position: relative;
    z-index: 1;
}

.accordion__title {
    flex: 1;
    position: relative;
    z-index: 1;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 2rem;
}

.accordion__toggle {
    width: 10px;
    height: 10px;
    flex-shrink: 0;
    background-color: #fff;
    border-radius: 10px;
    transition: all ease-in-out 0.2s;
    position: relative;
    z-index: 1;
}

.accordion__item--open .accordion__toggle {
    height: 40px;
    border-radius: 10px;
}

.accordion__content {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    overflow: hidden;

}

.accordion__item--open .accordion__content {
    grid-template-rows: 1fr;
}

.accordion__content-inner {
    min-height: 0;
    padding: 1rem 0px;
    color: #999;
    line-height: 1.6;
    text-transform: uppercase;
    transition: opacity 0.4s ease 0.1s,
        transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) 0.1s;
}

.accordion__item:not(.accordion__item--open) .accordion__content-inner {
    opacity: 0;
    transform: translateY(10px);
}

.accordion__item--open .accordion__content-inner {
    opacity: 1;
    transform: translateY(0);
}

.accordion__text {
    margin: 0;
}


.accordion {
    display: none;
}

@media (width < 1920px) {
    .hero-container {
        margin-top: 0;
    }

    .hero-container h1 {
        font-size: calc(100vw / 9.2);
        padding: 0 40px;
        box-sizing: border-box;
    }

    .flex-link-container {
        padding-left: 0px;
    }
}


@media (width < 1200px) {
    .hero-container {
        margin-top: 0;
    }

    .row-content p {
        font-size: 1.3vw;
    }
}

@media (width <=768px) {

    .hero-container {
        height: 60vh;
        margin-bottom: 10vh;
    }

    .landing-content h1 {
        font-size: 4rem;
    }

    .row-content p {
        font-size: 1.5vw;
    }

    .hero-container h1 {
        margin-top: 0;
    }

    .hero-flex-container {
        height: 10vh;
    }

    .hero-flex-container {
        margin-bottom: 0;
    }

    .image-flex-container {
        width: 99%;
    }
}


@media (width <=450px) {

    .landing-content {
        height: 50vh;
    }

    .hero-container {
        height: 100vh;
    }

    .hero-container h1 {
        margin-top: 0;
        font-size: calc(100vw / 10);
    }

    .landing-content h1 {
        font-size: 2rem;
    }

    .accordion {
        top: 20px;
    }

    .landing-content {
        padding: 0 20px;
    }

    .header-info {
        height: 20vh;
    }

    .left-work-row {
        display: none;
    }

    .right-work-row {
        width: 100%;
        border-left: none;
    }

    .right-subrow {
        padding-left: 0;
        gap: 20px;
    }

    .second-text {
        padding-left: 0;
    }

    .text-flex {
        gap: 5px;
    }

    .right-subrow p {
        text-align: left;
    }

    .landing-row-container {
        display: none;
    }

    .accordion {
        display: block;
    }

    .hero-flex-container {
        height: 10vh;
    }

    .hero-flex-container {
        margin-bottom: 0;
    }

    .image-flex-container {
        width: 99%;
    }

    .image-flex-container img:nth-child(1) {
        display: none;
        visibility: hidden;
    }

    .image-flex-container img:nth-child(3) {
        display: none;
        visibility: hidden;
    }

    .image-flex-container img {
        width: 90%;
    }

}


@media (max-width: 350px) {
    .hero-container {
        height: 60vh;
    }
    .header-info p {
        font-size: 0.9rem;
    }
}



/* Információs szakasz */
section.info {
    padding: 40px 20px;
    text-align: center;
    height: 150vh;
    width: 100vw;
}

.header-rows {
    display: flex;
    flex-direction: column;
    gap: 0;
    align-items: flex-start;
}

.header-row h1 {
    margin: 0;
    text-transform: uppercase;
    padding: 0;
    line-height: 0.9;
}

.text-bold {
    font-weight: 600;
}

.text-light {
    font-weight: 300;
}

.header-info {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 200;
    height: 70vh;
}

.header-info p {
    padding: 0 2em;
}




section.website-content {
    position: relative;
    width: 100vw;
    height: 150vh;
    background: #fff;
    color: #000;
    z-index: 10;
}

section.about h1 {
    font-weight: 300;
    text-transform: uppercase;
    width: 650px;
    padding-left: 4rem;
}

.website-content {
    padding: 20px;
    text-align: center;
}

.content-header-text {
    font-weight: 200;
}

.slider {
    position: relative;
    max-width: 720px;
    object-fit: cover;
    margin: 0 auto;
    overflow: hidden;
}

.slider-container {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slider img {
    width: 100%;
    display: block;
    cursor: pointer;
}

.slider-counter {
    margin-top: 10px;
    font-size: 18px;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    padding: 0 4rem;
    margin-bottom: 30px;
}

.slider-counter span {
    font-weight: 500;
}

section.footer {
    position: relative;
    bottom: 0;
    z-index: 10;
    width: 100vw;
    height: 130vh;
    display: flex;
    align-items: center;
    gap: 50px;
    flex-direction: column;
    margin-bottom: 35px;
}

.footer-container {
    width: 100vw;
    height: 120vh;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding: 0 4rem;
}

.footer-container a {
    text-transform: uppercase;
    text-decoration: none;
    color: #fff;
    font-size: 1.5rem;
}

.footer p {
    text-align: center;
    text-transform: uppercase;
    font-size: 0.9rem;
    margin: 5px;
}

.footer-text-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.footer-text-container a {
    text-decoration: underline;
    cursor: pointer;
    margin: 0;
    color: #fff;
}

body.loader-active {
    /* Amikor a loader aktív: */
    background-color: #000 !important;
    overflow: hidden;
    /* Megakadályozza a scrollozást, így az address bar ragad */
    height: 100vh;
    /* Teljes viewport magasság */
    margin: 0;
    padding: 0;
}

.loader-container {
    position: fixed;
    inset: 0;
    /* top/right/bottom/left: 0 */
    background-color: #000;
    width: 100%;
    min-height: 100dvh;
    /* Dinamikus viewport iOS-re */
    /* Extra: safe area inset-ek a teljes lefedéshez */
    padding-top: env(safe-area-inset-top);
    padding-bottom: env(safe-area-inset-bottom);
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
    box-sizing: border-box;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}



/* HTML: <div class="loader"></div> */
.loader {
    width: 65px;
    aspect-ratio: 1;
    position: relative;
}

.loader:before,
.loader:after {
    content: "";
    position: absolute;
    border-radius: 50px;
    box-shadow: 0 0 0 3px inset #fff;
    animation: l5 2.5s infinite;
}

.loader:after {
    animation-delay: -1.25s;
    border-radius: 0;
}

@keyframes l5 {
    0% {
        inset: 0 35px 35px 0
    }

    12.5% {
        inset: 0 35px 0 0
    }

    25% {
        inset: 35px 35px 0 0
    }

    37.5% {
        inset: 35px 0 0 0
    }

    50% {
        inset: 35px 0 0 35px
    }

    62.5% {
        inset: 0 0 0 35px
    }

    75% {
        inset: 0 0 35px 35px
    }

    87.5% {
        inset: 0 0 35px 0
    }

    100% {
        inset: 0 35px 35px 0
    }
}

@media (max-width: 900px) {

    body {
        overflow-x: hidden;
    }

    .spacer {
        display: none;
    }

    .header-row h1 {
        margin: 0;
        text-transform: uppercase;
        padding: 0;
        line-height: 0.9;
        font-size: 4.5rem;
    }

    .revealer {
        position: absolute;
        transform: translate(-50%, 0%);
        top: 6.5%;
        left: 73%;
        margin-top: 135px;
        width: 40px;
        height: 40px;
    }

    section.about h1 {
        font-weight: 300;
        text-transform: uppercase;
        width: 340px;
        padding-left: 1rem;
        font-size: 1rem;
    }

    section.footer {
        position: relative;
        bottom: 0;
        z-index: 10;
        width: 100vw;
        height: 130vh;
        display: flex;
        gap: 50px;
        flex-direction: column;
    }

    .footer-container a {
        text-transform: uppercase;
        text-decoration: none;
        color: #fff;
        font-size: 1rem;
    }

    .footer-container {
        width: 100vw;
        height: 120vh;
        display: flex;
        align-items: flex-end;
        justify-content: space-between;
        padding: 0 1rem;
    }
}

@media (max-width: 750px) {
    .hero-container {
        height: 80vh;
        margin-bottom: 0;
    }

    .hero-text h1 {
        font-size: 6rem;
    }
}

@media (max-width: 500px) {
    .hero-text h1 {
        font-size: 5rem;
    }
}

@media (max-width: 400px) {

    .revealer {
        top: -2%;
        left: 20%;
    }

    .hero-text h1 {
        font-size: 3rem;
    }

    .footer p {
        width: 70%;
        text-align: center;
    }
}




/*About me CSS*/

.about-hero {
    width: 100%;
    height: 100vh;
    padding: 50px 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 0;
    box-sizing: border-box;
    margin-top: 20%;
}

.about-hero-h1 {
    font-weight: 400;
    font-size: clamp(4.5rem, 0.7rem + 19vw, 23.5rem);
    text-transform: uppercase;
    margin: 0;
}

.about-hero img {
    width: 100%;
}


.scroll-reveal {
    padding: 50px 40px;
    text-align: left;
    padding-block: clamp(8rem, 25vh, 20rem);
    height: 70vh;
    margin-top: 100px;
}

.scroll-reveal p {
    font-size: 1.75rem;
    line-height: 1.3;
    max-width: 55ch;
}

.scroll-reveal>* {
    margin: 0;
}

/* demo only */

.scroll-reveal span {
    color: hsl(0 0% 100% / 0.2);
    background-clip: text;
    background-repeat: no-repeat;
    background-size: 0% 100%;
    background-image: linear-gradient(90deg, white, white);
    animation: scroll-reveal linear forwards;
    animation-timeline: view(y);
}

.scroll-reveal h2 span {
    animation-range-start: cover 20vh;
    animation-range-end: cover 30vh;
}

.scroll-reveal p span {
    animation-range-start: cover 22.5vh;
    animation-range-end: cover 50vh;
}

@keyframes scroll-reveal {
    to {
        background-size: 100% 100%;
    }
}


.about-info {
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #000;
    flex-direction: column;
    text-transform: uppercase;
    font-weight: 600;
    padding: 50px 40px;
}

.upper-info {
    height: auto;
    display: flex;
    align-items: flex-start;
    width: 100%;
    font-size: 3rem;
}

.upper-info p {
    margin: 0;
    width: 60%;
    line-height: 1.5;
}

.container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 60px 0;
}

.line {
    width: 90%;
    height: 70px;
    position: relative;
    overflow: hidden;
}

.line span {
    position: absolute;
    font-size: 2.3rem;
    font-weight: 700;
    line-height: 4rem;
    text-transform: uppercase;
    will-change: transform;
    display: inline-block;
}


@media (max-width: 1910px) {
    .about-hero-h1 {
        font-weight: 400;
        font-size: 18rem;
        text-transform: uppercase;
        margin: 0;
    }
}


@media (max-width: 900px) {
    body {
        overflow-x: hidden;
    }

    .about-hero {
        width: 100%;
        height: 60vh;
        padding: 10px 20px;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        gap: 0;
        box-sizing: border-box;
        margin-top: 20%;
    }

    .about-hero-h1 {
        font-weight: 400;
        font-size: 4.5rem;
        text-transform: uppercase;
        margin: 0;
    }

    .scroll-reveal {
        padding: 40px 20px;
        text-align: left;
        padding-block: clamp(0.5rem, 5vh, 5rem);
        height: 70vh;
        margin-top: 120px;
    }

    .scroll-reveal p {
        font-size: 1rem;
        line-height: 1.3;
        max-width: 55ch;
    }

    .about-info {
        width: 100%;
        height: 100vh;
        margin-top: 250px;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        text-transform: uppercase;
        font-weight: 500;
        padding: 50px 20px;
    }

    .upper-info {
        width: 100%;
        height: auto;
        font-size: 2.5rem;
    }

    .upper-info p {
        margin: 0;
    }

    .down-info {
        margin-top: 200px;
        width: 100%;
        height: auto;
        text-align: right;
        font-size: 1.5rem;
    }
}


/*@media (max-width: 1870px) {
    .about-hero-h1 {
        font-weight: 400;
        font-size: clamp(4.5rem, 0.7rem + 19vw, 23.5rem);
        text-transform: uppercase;
        margin: 0;
    }
}*/

@media (max-width: 900px) {
    .upper-info p {
        font-size: 2rem;
    }
}

@media (max-width: 770px) {
    .upper-info p {
        font-size: 1.5rem;
    }
}

@media (max-width: 500px) {

    .about-info {
        height: 60vh;
    }

    .upper-info p {
        font-size: 1.2rem;
        width: 80%;
    }
}

@media (max-width: 1490px) {
    .about-hero-h1 {
        font-weight: 400;
        font-size: clamp(4.5rem, 0.7rem + 18vw, 23.5rem);
        text-transform: uppercase;
        margin: 0;
    }
}

@media (max-width: 650px) {

    .about-hero {
        justify-content: flex-start;
    }

    .about-hero-h1 {
        font-weight: 400;
        font-size: clamp(4.5rem, 0.7182rem + 16.9091vw, 8.4rem);
        text-transform: uppercase;
        margin: 0;
    }

    .scroll-reveal {
        padding-top: 200px;
    }

    .about-info {
        margin-top: 150px;
    }

    .line {
        width: 90%;
        height: 30px;
        position: relative;
        overflow: hidden;
    }


    .line span {
        position: absolute;
        font-size: 1rem;
        font-weight: 600;
        line-height: 1.1;
        text-transform: uppercase;
        will-change: transform;
        display: inline-block;
    }
}

@media (max-width: 500px) {

    .about-hero {
        height: 40vh;
    }

    .scroll-reveal {
        height: 40vh;
    }

    .about-hero-h1 {
        font-weight: 400;
        font-size: clamp(4.5rem, 0.7182rem + 15.9091vw, 8.4rem);
        text-transform: uppercase;
        margin: 0;
    }
}

@media (max-width: 400px) {
    .about-hero-h1 {
        font-weight: 400;
        font-size: clamp(4.2rem, 2.4rem + 3.5vw, 4.3rem);
        text-transform: uppercase;
        margin: 0;
    }

    .line span {
        position: absolute;
        font-size: 0.8rem;
        font-weight: 600;
        line-height: normal;
        text-transform: uppercase;
        will-change: transform;
        display: inline-block;
    }
}


@media (max-width: 375px) {
    .about-hero-h1 {
        font-weight: 400;
        font-size: clamp(3.5rem, 1.5rem, 2.5rem);
        text-transform: uppercase;
        margin: 0;
    }

    .line span {
        position: absolute;
        font-size: 1rem;
        font-weight: 600;
        line-height: 1.1;
        text-transform: uppercase;
        will-change: transform;
        display: inline-block;
    }
}

/*work*/

.heading {
    padding: 0px 40px;
    padding-top: 200px;
    padding-bottom: 80px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
}

.heading-text h1 {
    font-size: 10rem;
    margin: 0;
    font-weight: 500;
    line-height: 0.8;
}

.text {
    font-size: 1.1rem;
    text-transform: uppercase;
    font-weight: 300;
    color: #606060;
}





.gallery-container {
    width: 100%;
    height: 300vh;
    padding: 0 40px;
}

.grid-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* alap: 2 oszlop */
    grid-template-rows: auto;
    grid-gap: 20px;
    width: 100%;
    height: auto;
    /* ne legyen fix vh, hanem alkalmazkodjon */
    margin-bottom: 40px;
}

.div1,
.div2 {
    width: 100%;
    height: auto;
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 3;
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
    transform: scale(1.2);
    transition: transform 0.5s ease, box-shadow 0.5s ease, filter 0.5s ease;
}

.project-desc {
    position: absolute;
    /* a képre kerül */
    bottom: 0;
    /* alul legyen */
    left: 0;
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    font-size: 1.2rem;
    font-weight: 500;
    padding: 5px 10px;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0) 100%);
    color: white;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.div1:hover .project-desc,
.div2:hover .project-desc {
    opacity: 1;
    /* csak hoverkor jelenjen meg */
}


/* RESPONSIVE BREAKPOINTS */

/* Tablet - 900px alatt egy oszlop */
@media (max-width: 900px) {
    .grid-gallery {
        grid-template-columns: 1fr;
        grid-gap: 15px;
    }

    .gallery-image {
        max-height: 400px;
    }
}

/* Mobil - 600px alatt */
@media (max-width: 600px) {
    .gallery-image {
        max-height: 300px;
    }

    .project-desc {
        font-size: 1rem;
        padding: 4px 8px;
    }
}

.gallery-image:hover {
    filter: opacity(0.8);
    transform: scale(1);
}


.project-desc {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    height: 10vh;
    font-size: 1.2rem;
    font-weight: 500;
}

.project-desc p {
    margin: 5px 10px;
}

@media (max-width: 900px) {
    body {
        overflow-x: hidden;
    }

    .heading {
        padding: 0px 20px;
        padding-top: 100px;
        padding-bottom: 40px;
        display: flex;
        justify-content: space-between;
        flex-direction: column;
        align-items: flex-start;
    }

    .heading-text h1 {
        font-size: 6rem;
        position: relative;
        left: -50px;
        padding-bottom: 0px;
        padding-left: 70px;
    }

}


/*contactpage*/

.contact-hero {
    width: 100%;
    height: 50vh;
    padding: 50px 40px;
    display: flex;
    flex-direction: column;
    gap: 50px;
    margin-top: 15vh;
    perspective: 1000px;

}


.contact-hero h1 {
    font-size: 6rem;
    font-weight: 500;
    width: 50%;
    margin: 0;
    line-height: 1;

}

.contact-hero p {
    width: 20%;
    font-size: 1.2rem;
}

.interactive-word {
    display: inline-block;
    font-style: normal;
    font-weight: 500;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.interactive-word:hover {
    transform: skewX(5deg);
}

@media (max-width: 900px) {
    body {
        overflow-x: hidden;
    }

    .contact-hero {
        margin-bottom: 700px;
    }
}

@media (max-width: 430px) {
    body {
        overflow-x: hidden;
    }

    /* ha kicsi a hely, igazítsd pl. a menüt, paddinget csökkents, vagy rakd sorba */
    nav {
        padding: 50px 20px;
    }

    .heading-text h1 {
        font-size: 3rem;
        margin: 0;
        font-weight: 500;
        line-height: 0.8;
    }

    .contact-hero h1 {
        font-size: 3rem;
        font-weight: 500;
        width: 50%;
        margin: 0;
        line-height: 1;
    }

    .contact-hero p {
        font-size: 1rem;
        width: 70%;
    }
}




.wrapper {
    margin-top: 170px;
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    box-sizing: border-box;
}

.left-wrapper {
    display: flex;
    flex-direction: column;
    gap: 15vh;
    height: 100vh;
}

.left-wrapper p {
    font-weight: 400;
}

.left-titles {
    display: flex;
    flex-direction: column;
    gap: 15vh;
}

.link {
    width: max-content;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.link img {
    width: 20%;
}

.right-wrapper {
    display: flex;
    flex-direction: column;
}

.right-wrapper img {
    width: 900px;
    height: 550px;
    object-fit: cover;
}

.description {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.left-description {
    max-width: 400px;
    font-size: 1.2rem;
}

.right-description {
    max-width: 400px;
    font-size: 1.2rem;
}

.work-image-gallery img {
    width: 100%;
    aspect-ratio: 4/3;
    /* vagy 4/3, ami passzol */
    object-fit: cover;
    display: block;
}

.work-image-gallery {
    margin-top: 20vh;
    display: grid;
    padding: 0 40px;
    box-sizing: border-box;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(1, 1fr);
    grid-column-gap: 10px;
    grid-row-gap: 10px;
}

.image1 {
    grid-area: 1 / 1 / 2 / 2;
}

.image2 {
    grid-area: 1 / 2 / 2 / 3;
}

.image3 {
    grid-area: 2 / 1 / 3 / 2;
}

.image4 {
    grid-area: 2 / 2 / 3 / 3;
}


@media (max-width: 1280px) {
    .left-description {
        max-width: 300px;
        font-size: 1.2rem;
    }

    .right-description {
        max-width: 300px;
        font-size: 1.2rem;
    }

    .right-wrapper img {
        width: 600px;
        height: 350px;
        object-fit: cover;
    }
}

@media (max-width: 650px) {

    .wrapper {
        flex-direction: column;
        padding-bottom: 25vh;
    }

    .left-wrapper {
        width: 90%;
        text-align: center;
        justify-content: center;
        align-items: center;
        gap: 0;
        margin-bottom: 20vh;

    }

    .right-wrapper {
        flex-direction: column-reverse;
        gap: 5vh;
    }

    .description {
        flex-direction: column;

    }

    .left-description {
        max-width: 300px;
        font-size: 1.2rem;
    }

    .right-description {
        max-width: 300px;
        font-size: 1.2rem;
    }

    .link {
        justify-content: center;
    }

    .left-titles {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 1vh;
    }

    .right-wrapper img {
        width: 100%;
        height: 350px;
        object-fit: cover;
    }

    .work-image-gallery {
        padding-top: 100vh;
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: repeat(4, 1fr);
        grid-column-gap: 10px;
        grid-row-gap: 20px;
    }

    .image1 {
        grid-area: 1 / 1 / 2 / 2;
    }

    .image2 {
        grid-area: 2 / 1 / 3 / 2;
    }

    .image3 {
        grid-area: 3 / 1 / 4 / 2;
    }

    .image4 {
        grid-area: 4 / 1 / 5 / 2;
    }

}


@media (max-width: 650px) {

    .landing-content  {
        margin-bottom: 20vh;
    }

    .selected-work  {
        margin-top: 20vh;
    }

    .wrapper h2 {
        width: auto;
        font-size: 2rem;
    }

    .contact-hero {
        margin-bottom: 0px;
    }

    .header-info {
        height: 20vh;
    }
}

@media (max-width: 320px) {
    .hero-container {
        height: 60vh;
    }
}