/*Theme Name: Szentimrey Theme Theme URI: https://borbala.szentimrey.com/szentimrey-themeAuthor: Szentimrey Borbala Author URI:
https://borbala.szentimrey.com//
Description: Szentimrey 
Theme by Szentimrey Borbala 
Version: 1.0 
License: GNU General Public License v2 or later License URI: http: //www.gnu.org/licenses/gpl-2.0.htmlText Domain: szentimrey-theme */

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
      /*  transition: all 0.3s ease-in-out; */
    }

:root {
  --primary-color: #010712;
  --secondary-color: #818386;
  --bg-color: #FCFDFD;
  --button-color: #3B3636;
  --h1-color: #3F444C;
  --cta-color: #FCFDFD;
  --cta-bgcolor: #000;
}

[data-theme="dark"] {
  --primary-color: #FCFDFD;
  --secondary-color: #818386;
  --bg-color: #010712;
  --button-color: #818386;
  --h1-color: #FCFDFD;
  --cta-color: #000;
  --cta-bgcolor: #fff;
}


:root {
    --header-height: 80px; 
}

body, html {
    margin: 0;
    padding: 0;
    height: 100%;
}

    html {
      scroll-snap-type: y mandatory;
      timeline-scope: --section, --main;
      scroll-behavior: smooth;
    font-size: 18px;
     background: var(--bg-color);
    }

    body {
    font-family: 'Roboto', sans-serif;
      color: var(--h1-color);
      line-height: 1.6;
      overflow-x: hidden;
    }
    
    .center-box {
     height: calc(100vh - 55px)!important;
 
        /*    margin-top: 1rem;
         margin-top: 55px!important;
         width: 100vw;
    height: calc(100vh - var(--header-height));
    margin-top: var(--header-height);*/
    }


.custom-subpage-container {   
    background: var(--bg-color);
}

    .sr-only {
      position: absolute;
      width: 1px;
      height: 1px;
      padding: 0;
      margin: -1px;
      overflow: hidden;
      clip: rect(0, 0, 0, 0);
      white-space: nowrap;
      border-width: 0;
    } 
    

      /* Plus Button */
    .plus-btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 30px;
      height: 30px;
      border-radius: 50%;
      background: white;
      color: #000;
      text-decoration: none;
     font-size: 1.5rem;
      font-weight: 300;
      transition: all 0.3s ease;
      border: none;
      cursor: pointer;
      box-shadow: 0 10px 40px rgba(255, 255, 255, 0.2);
      position: relative;
    }

    .plus-btn::before {
      content: '+';
      transition: transform 0.3s ease;
    }

    .plus-btn:hover {
      transform: scale(1.1) rotate(90deg);
      box-shadow: 0 15px 50px rgba(255, 255, 255, 0.3);
    }

    .plus-btn:active {
      transform: scale(0.95);
    }

header {
    background-color: transparent;
}

h1,
h2,
h3,
h4,
h5 {
    font-family: 'Roboto', sans-serif;
     color:var(--h1-color);
}


h1 {
  color:var(--h1-color);
  text-transform: uppercase;
  font-size: 2.5rem;
  letter-spacing: 0.5rem;
  font-weight: 300;
  /*    font-size: 3.75vw;
    margin: 30px 0;*/
}



h2 {
    font-size: 2.37vw;
   /* margin: 10px 0px 10px;
      margin-bottom: 1rem; */
      font-weight: 700;    
}

h3 {
    font-weight: 600;
}

h4 {
    font-size: 1.5vw;
}


p {
      font-size: 16px;
     color: var(--secondary-color);
/*font-size: 0.9rem; */
  letter-spacing: 0.01rem;
  width: 100%;
  margin: 0.25rem 0;
     
}


.adtv,
a,
a:active,
a:focus {
    text-decoration: none !important;
    font-weight: bold;
}

a {
    text-decoration:none;
}  


    /* front-page */
    main {
      view-timeline: --main;
    }

    .section {
      scroll-snap-align: start;
      scroll-snap-stop: always;
      view-timeline: --section;
      height: 100dvh;
      position: relative;
    }

    .content {
      overflow: hidden;
      position: fixed;
      inset: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 0;
      --contrast: 4;
      --blur: 0.5rem;
    }



    /* Blink animation for main sections */
    .blink-section .content {
      animation: blink ease-in-out both;
      animation-timeline: --section;
    }

.zoom-section {
    height: auto;
}

    /* Zoom animation for subsections */
    .zoom-section .content {
      animation: zoom-scroll ease-in-out both;
      animation-timeline: --section;
    }

.zoom-element {
    height: inherit;
}

    .content-inner {
      width: 100%;
      text-align: center;
    }
    
    .project-image {
      width: 100%;
      max-width: 500px;
       height: auto;
     /* height: 400px; */
      object-fit: cover;
    margin-bottom: 0.6rem;
      border-radius: 10px;
   /*   box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5); */
    }

    .subtitle {
    /*  font-size: clamp(1rem, 2vw, 1.5rem); */
      opacity: 0.8;
      margin-bottom: 0.6rem;
      width: 100%;
    }


     p.subtitle {
        width: 80%;
        margin: 0 auto;
         color: var(--h1-color);
    }
    
    .subtitle a {
        color: var(--h1-color);
        font-size: 0.9rem;
        transition: opacity 0.3s;
        position: relative;
    }
    
    .subtitle a:hover {
        opacity: 0.7;
    }
    
  /*  .subtitle a:hover::after {
        width: 100%;
    }
    
    .subtitle a::after {
        content: '';
        position: absolute;
        bottom: -5px;
        left: 0;
        width: 0;
        height: 2px;
        background: white;
        transition: width 0.3s; 
    }
*/
    .cta-button {
      display: inline-block;
     padding: 0.6rem;
      background: var(--cta-bgcolor);
      color: var(--cta-color);
      text-decoration: none;
      border-radius: 50px;
      font-weight: 600;
      font-size: 1rem;
      transition: all 0.3s ease;
      box-shadow: 0 10px 30px rgba(255, 255, 255, 0.3);
      margin-top: 0px!important;
    }

    .cta-button:hover {
      transform: translateY(-3px);
      box-shadow: 0 15px 40px rgba(255, 255, 255, 0.4);
      opacity: 1;
    }

   

    /* Animations */
    @keyframes blink {
      0%, 100% {
        filter: blur(var(--blur)) contrast(var(--contrast));
        opacity: 0;
        visibility: hidden;
      }
      50% {
        filter: blur(0) contrast(1);
        opacity: 1;
        visibility: visible;
      }
    }

    @keyframes zoom-scroll {
      0% {
        filter: blur(5rem);
        transform: scale(0);
        opacity: 0;
        visibility: hidden;
      }
      50% {
        filter: blur(0);
        transform: none;
        opacity: 1;
        visibility: visible;
      }
      100% {
        filter: blur(3rem);
        transform: scale(1.5);
        opacity: 0;
        visibility: hidden;
      }
    }



    /* Hide subsections by default */
    .subsection-page {
      display: none;
    }

    .subsection-page.active {
      display: block;
    }
 

.fifth {
     width: 50%; 
    margin: 0 2rem;
}


#contact {
    text-align: left;
    display: flex; 
  /*  padding: 5rem 3.5rem; */
}


.devices {
    max-height: 150vh !important;
    width: 150% !important;
}

/*

.animation {
    display: inline-block;
    position: relative;
    width: 378px;
    height: 290px;
    margin: 0 auto;
    vertical-align: middle;

}

.animation .device {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 50%;
    top: 50%;
    background: #111;
    -webkit-transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    -moz-transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    -ms-transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.animation .device .phone-home-button,
.animation .device .tablet-home-button {
    position: absolute;
    border-radius: 50%;
    background: #444;
    opacity: 0;
    z-index: 1;
    -webkit-transition: all 0.4s ease;
    -moz-transition: all 0.4s ease;
    -ms-transition: all 0.4s ease;
    transition: all 0.4s ease;
}

.animation .device .phone-home-button {
    width: 16px;
    height: 16px;
    margin-top: -8px;
    right: 11px;
    top: 50%;
}

.animation .device .tablet-home-button {
    width: 12px;
    height: 12px;
    margin-left: -6px;
    bottom: 7px;
    left: 50%;
}

.animation .device .screen-stand {
    position: absolute;
    width: 100%;
    margin-left: -10px;
    margin-top: -1px;
    top: 60%;
    opacity: 0;
    z-index: 1;
    -webkit-transition: all 0.4s ease-out;
    -moz-transition: all 0.4s ease-out;
    -ms-transition: all 0.4s ease-out;
    transition: all 0.4s ease-out;
}

.animation .device .screen-stand .leg {
    position: absolute;
    width: 12px;
    height: 16px;
    left: 50%;
    top: 0;
    margin-left: -6px;
    background: #111;
}

.animation .device .screen-stand .foot {
    position: absolute;
    width: 120px;
    height: 4px;
    left: 50%;
    top: 15px;
    margin-left: -60px;
    border-top-left-radius: 2px;
    border-top-right-radius: 2px;
    background: #111;
}

.animation .device .display {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #34495e;
    z-index: 3;
}

.animation .device .display div {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 100%;
    white-space: nowrap;
    -webkit-transition: all 0.4s ease;
    -moz-transition: all 0.4s ease;
    -ms-transition: all 0.4s ease;
    transition: all 0.4s ease;
}

.animation .device .display div div {
    position: absolute;
    width: 100%;
    left: 0;
    top: 50%;
    margin-top: -14px;
    font-size: 1.1em;
    text-align: center;
    color: #fff;
}

.animation .device .display div div em {
    font-weight: bold;
}

.animation .device .display .slide1 {
    background: url(https://szentimrey.com/wp-content/themes/szentimrey/img/Macramefront.png);
    background-repeat: repeat;
    background-size: auto;
}

.animation .device .display .slide2 {
    background: #16a085;
}

.animation .device .display .slide3 {
    background: #3498db;
}

.animation[data-animation-step="1"] .device {
    width: 70%;
    height: 70%;
    padding: 10px;
    border-radius: 4px;
}

.animation[data-animation-step="1"] .device .slide1 {
    left: 0%;
}

.animation[data-animation-step="1"] .device .screen-stand {
    opacity: 1;
    top: 100%;
}

.animation[data-animation-step="2"] .device {
    width: 45%;
    height: 82%;
    padding: 24px;
    border-radius: 10px;
}

.animation[data-animation-step="2"] .device .slide1 {
    left: -100%;
}

.animation[data-animation-step="2"] .device .slide2 {
    left: 0%;
}

.animation[data-animation-step="2"] .device .tablet-home-button {
    opacity: 1;
}

.animation[data-animation-step="3"] .device {
    width: 60%;
    height: 42%;
    padding: 10px 36px;
    border-radius: 6px;
}

.animation[data-animation-step="3"] .device .slide1,
.animation[data-animation-step="3"] .device .slide2 {
    left: -100%;
}

.component .typewriter.animation[data-animation-step="3"] .device .slide3 {
    left: 0%;
}

.animation[data-animation-step="3"] .device .phone-home-button {
    opacity: 1;
}

*/

/*subpage - kertem, stb*/



/* 2. Konténer méretezése */

.text-box p {
    font-size: 1.1rem;
    color: var(--secondary-color);
    max-width: 100vw;
}

.text-box h2 {
  /*  font-size: clamp(2rem, 5vw, 4rem); */
    text-transform: uppercase;
    letter-spacing: 4px;
    margin: 0;
}


/*
.custom-subpage-container {
    width: 100%;
    height: 100%;
    overflow: hidden;
}
*/

.scroll-wrapper {
    height: 100%;
    overflow-y: auto; /* Ez kell, hogy tudj görgetni! */
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
    /* Meghatározzuk a görgetési idővonalat */
    scroll-timeline: --subscroll y; 
}


.step-number {
    font-family: serif;
    font-size: 1.5rem;
    color: var(--secondary-color);
    display: block;
    margin-bottom: 10px;
}


/* 4. A Slide-ok beállítása */

.zoom-section:first-of-type  {
    height: calc(100vh - var(--header-height));
}

.zoom-section {
    height:100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    scroll-snap-align: start;
    perspective: 1500px;
    position: relative;
}

/* 5. AZ ANIMÁCIÓ LELKE */
.zoom-element {
    width: 90%;
    max-width: 1100px;
    text-align: center;
    
    /* Az animáció bekötése a görgetéshez */
    animation: zoomAnimation linear both;
    animation-timeline: view(); /* A nézetablakhoz viszonyít */
    animation-range: entry 0% exit 100%;
}

.zoom-element img {
    max-width: 100%;
    max-height: 60vh;
    object-fit: contain;
  /*  filter: drop-shadow(0 0 30px rgba(255,255,255,0.2)); */
}

/* 6. A pontos Zoom animáció */
@keyframes zoomAnimation {
    0% {
        transform: scale(0.4) translateZ(-800px);
        opacity: 0;
        filter: blur(15px);
    }
    /* GYORSÍTÁS: Már 20%-nál érje el a teljes méretet és élességet (45% helyett) */
    20% {
        transform: scale(1) translateZ(0);
        opacity: 1;
        filter: blur(0);
    }
    /* Eddig marad tökéletesen éles és olvasható */
    70% {
        transform: scale(1) translateZ(0);
        opacity: 1;
        filter: blur(0);
    }
    /* Szupergyorsan elzoomol a semmibe a maradék 30%-os görgetési úton */
    100% {
        transform: scale(2) translateZ(800px);
        opacity: 0;
        filter: blur(20px);
    }
}

/*
@keyframes zoomAnimation {
    0% {
        transform: scale(0.4) translateZ(-800px);
        opacity: 0;
        filter: blur(15px);
    }
    45%, 55% {
        transform: scale(1) translateZ(0);
        opacity: 1;
        filter: blur(0);
    }
    100% {
        transform: scale(2) translateZ(800px);
        opacity: 0;
        filter: blur(20px);
    }
}
 */

/* Scrollbar elrejtése */
.scroll-wrapper::-webkit-scrollbar { display: none; }
.scroll-wrapper { -ms-overflow-style: none; scrollbar-width: none; }

.zoom-scroll-wrapper::-webkit-scrollbar { display: none; }

.z-item img, .media-box img {
    max-width: 100%;
    max-height: 50vh; /
    object-fit: contain;
    border-radius: 5px;
}

.p-text, .text-box {
    padding-bottom: 20px; 
}


.cta-button {
    margin-top: 15px;
    display: inline-block;
}


/*

.custom-subpage-container {
    width: 100vw;
    height: 100vh;
    overflow: hidden;
}
*/

.p-slide {
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    scroll-snap-align: start;
    perspective: 1200px;
    position: relative;
    overflow: hidden;
}

.z-item {
    width: 80%;
    max-width: 1000px;
    text-align: center;
    /* Animáció hozzárendelése a görgetéshez */
    animation: zoomAction linear both;
    animation-timeline: view();
    animation-range: entry 0% exit 100%;
}

.z-item img {
    width: 100%;
    height: auto;
    border-radius: 5px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}


.p-text {
    margin-top: 2rem;
}

.p-text h2 {
    font-size: 3rem;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 5px;
    margin-bottom: 0.5rem;
}

.p-text p {
    font-size: 1rem;
    color: rgba(255,255,255,0.6);
    letter-spacing: 2px;
}



.page-scroll-lock {
position: relative; 
    height: 100vh;
  /* width: 100vw; 
  overflow: hidden; */
}

.zoom-scroll-wrapper {
    height: 100vh;
    overflow-x: hidden;
    overflow-y: scroll;
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
    -ms-overflow-style: none;  /* IE/Edge hide scrollbar */
    scrollbar-width: none;     /* Firefox hide scrollbar */
}

/*kertem,stb*/

.carousel,
.page {
    position: fixed;
    width: 100vw;
    height: 100vh;
    text-align: center;
    line-height: 400px;
    font-size: 180px;
    color: #fff;
    opacity: 0;
}


.carousel a,
.page a {
    flex: 0 0 100%;
    max-width: 100%;
    text-align: center;
    z-index: 10;
    position: relative;
}

.carousel img,
.page img {
    width: 100%;
    height: 100vh;
    object-fit: cover;
}

#bella::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('bellaimg.gif');
    background-repeat: repeat;
}

.carousel h1,
.page h1 {
    font-family: "Felix Titling" !important;
    font-weight: 700;
    font-size: 5.56vw;
    line-height: 1.2;
    letter-spacing: -0.05em;
    color: #fff;
    position: relative;
    bottom: 25vw;
    text-align: center;
}

/*.example {    margin-top: 50px;}*/
.carousel h1 span,
.page h1 span {
    display: block;
}

.carousel h1 span:last-child,
.page h1 span:last-child {
    margin-top: -0.5rem;
}

.portsubpich {
    height: 100vh;
    overflow: hidden;
}

.portsubpich .page {
    justify-content: center;
}

.portsubpich .carousel h1,
.portsubpich .page h1 {
    text-align: center;
    display: block;
    justify-content: center;
    font-weight: 700;
    font-size: 5.56vw;
    line-height: 1.2;
    letter-spacing: -0.05em;
    color: #fff;
    position: relative;
    bottom: 30rem;
}

.brand-cont h1 {
    text-align: center;
}

.brand-cont .flex {
    display: flex;
    flex-wrap: wrap;
}

.subpfont {
    width: 480px;
    margin: 5%;
    padding: 25px;
}

.subpfont > h4 {
    text-align: center;
    margin-bottom: 10px;
}

.container {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.container .card {
    position: relative;
    width: 100vw;
    height: 50vh;
    overflow: hidden;
    margin-bottom: 4px;
}

.container .card:before {
    content: "";
    z-index: 100;
    position: absolute;
    top: -10px;
    left: 32px;
    display: block;
    width: 16px;
    height: 16px;
    border-radius: 16px;
    background-color: #fff;
}

.container .card:after {
    content: "";
    z-index: 100;
    position: absolute;
    bottom: -10px;
    left: 32px;
    display: block;
    width: 16px;
    height: 16px;
    border-radius: 16px;
    background-color: #fff;
}

.container .card ul {
    z-index: 99;
    position: absolute;
    left: 39px;
    top: 5px;
    list-style-type: none;
}

.container .card ul li {
    width: 2px;
    height: 2px;
    border-radius: 2px;
    margin: 6px 0;
    background-color: #E6E5E1;
}

.container .card h2 {
    z-index: 100;
    color: #fff;
    position: absolute;
    bottom: 0;
    right: 130px;
    font-size: 3.75vw;
    font-weight: 700;
    pointer-events: none;
}

.container .card .fa-arrow-right {
    z-index: 100;
    position: absolute;
    right: 75px;
    bottom: 25px;
    font-size: 40px;
    cursor: pointer;
}

.container .card p {
    z-index: 100;
    position: absolute;
    top: 50%;
    right: 70px;
    color: #fff;
    opacity: 0.7;
    font-size: 12px;
    letter-spacing: 1px;
    writing-mode: vertical-lr;
    -webkit-transition: all 0.2s ease;
    transition: all 0.2s ease;
}

.container .card .pic {
    z-index: 10;
    width: 100vw;
    height: 100vh;
    background: #000;
    filter: grayscale(100%);
}

.container .card button {
    z-index: 99;
    position: absolute;
    right: 14px;
    bottom: 14px;
    width: 30px;
    height: 30px;
    background-color: #fff;
    color: #000;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    outline: none;
    transition: all 0.3s ease;
    mix-blend-mode: hard-light;
}

.container .card button i {
    font-size: 3rem;
}

.container .card:hover button {
    transform: scale(116.5);
    color: #000;
}

.container .card:hover p,
.container .card:hover h2 {
    color: #000;
}

.container .card:hover #nav-bar a,
.container .card:hover #nav-bar a:active,
.container .card:hover #nav-bar a:focus .container .card:hover #logo,
.container .card:hover #front-rolam,
.container .card:hover #logo a,
.container .card:hover #front-rolam a {
    color: #000 !important;
}

.container .card:hover .pic {
    filter: grayscale(0);
}

.container .card2 button {
    background-color: #fff;
}

.dr {
    position: absolute;
    bottom: 16px;
    right: 16px;
    width: 100px;
}

/*grafika-subpage*/
/*beauty*/
#palette-img {
    justify-content: center;
    display: flex;
    flex-wrap: wrap;
    padding-bottom: 5vh;
}

.bpimg {
    width: 100px;
    height: 100px;
    margin: 1vw;
    border: solid 1px #fff;
    border-radius: 100%;
}

.kpimg {
    width: 9vw;
    margin: 1vw;
}

.bopimg {
    width: 10vw;
    height: 10vh;
    margin: 1vw;
}

.portsubpich img {
    width: 100vw;
}

.psgalery {}

.grid-flex {
    display: flex;
    flex-wrap: wrap;
    height: 100%;
}

.d-none {
    display: none;
}

.section {
    min-height: 100vh;
    height: inherit;
}

.section-1 {
    position: relative;
    height: 100vh;
}

.section-dots {
    height: 100vh;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    background: var(--bg-color);
    z-index: 1;
}

.col-50 {
    max-width: 50%;
    width: 50%;
    flex: 0 0 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 100vh;
    
    position: relative;
    min-height: 300px; /* Adjon egy alap magasságot, amíg tölt a kép */
}

.col-50 img {
    max-height: 100vh;
    object-fit: cover;
    width: auto;
  /*  opacity: inherit;
  transform:translate(0px) scale(1, 1)!important ; */
}

.gsap-img, .gsap-text, .gsap-bg {
    transition: none !important;
}

.adritext > img {
    max-width: 100% !important;
}

.btn {
    text-decoration: none;
    color: black;
    position: relative;
    font-weight: bold;
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
     color:var(--cta-color);
    cursor: auto !important;
}

.brand-logo {
    font-weight: 900;
    left: 50px;
    top: 10px;
    position: absolute;
}

.btn-container {
    position: relative;
    display: inline-block;
    margin-left: 15px;
    align-self: flex-start;
    background:var(--cta-bgcolor);;
}

.link-bg {
    content: "";
    position: absolute;
    left: 12px;
    right: 15px;
    bottom: 0;
    top: -7px;
    background-color: #fff;
    z-index: 0;
    opacity: 0.5;
}

.subtitle-number {
    font-size: 50px;
    font-weight: 900;
    margin-bottom: 0;
}

.subtitle-text {
    margin-bottom: -5px;
}

.scroll-container h1 {
    padding-bottom: 30px;
}

.scroll-container h2 {
    font-size: 2.37vw;
    letter-spacing: 1px;
    margin: 0 !important;
    padding-bottom: 20px;
}

.scroll-container p {
    font-family: "Garamond" !important;
    margin-top: 1rem;
    margin-bottom: 2rem;
}

.scroll-container {
    position: relative;
}

.bg {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    z-index: -1;
}

.text-container {
    overflow-x: hidden;
    overflow-y: auto;
    padding-top: 5px;
    padding-bottom: 5px;
    margin-left: 2rem;
}

.text-container::-webkit-scrollbar {
    display: none;
}

.section-dots .grid-flex {
    align-items: center;
    justify-content: center;
}

.link-bg.gsap-btn-bg {
    opacity: 0.5;
    width: 215px;
}

.section-dots .grid-flex .gsap-dots {
    height: 10px;
    width: 10px;
    border-radius: 50%;
    border: 2px solid  var(--primary-color);
    margin-right: 5px;
}

.section-dots .grid-flex .gsap-loader {
    display: flex;
}


.section-2 {
    background: var(--bg-color);
    padding-top: 100px;
    padding-bottom: 100px;
}

.section-2 .col-50:first-child {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.section-2.col-50.subtitle-number.--sub {
    padding-top: 100px;
    font-size: 34px;
    font-weight: 300;
}

.section-2 .col-50 .img-container {
    position: relative;
    margin-top: 50px;
}

.section-2 .col-50 .img-container img {
    position: relative;
    z-index: 1;
}

.section-3 {
    background-color: #F8F8F6;
    padding-top: 200px;
    padding-bottom: 100px;
    text-align: center;
}

.section-3 img {
    max-width: 90%;
}

.section-3 .col-50 {
    display: flex;
    align-items: center;
    justify-content: center;
}

.flex {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}


.artflex{
    flex-wrap: inherit;
}



.col-20 {
    width: 20%;
}

.col-40 {
    width: 40%;
}

.fix {
    position: sticky !important;
    top: 50px;
}

.digit {
    opacity: 0;
    -webkit-transform: translateX(-40px);
    v -moz-transform: translateX(-40px);
    -ms-transform: translateX(-40px);
    -o-transform: translateX(-40px);
    transform: translateX(-40px);
    -webkit-transition: all 0.6s ease-out;
    -moz-transition: all 0.6s ease-out;
    -ms-transition: all 0.6s ease-out;
    -o-transition: all 0.6s ease-out;
    transition: all 0.6s ease-out;
}

.box1 digit {
    width: 100px;
    height: 100px;
    background: #333;
}

#secboxdigit {
    right: 155px;
}

.digit.visible {
    opacity: 1;
    -webkit-transform: none;
    -moz-transform: none;
    -ms-transform: none;
    -o-transform: none;
    transform: none;
}

.text-container-pho {
    display: none;
}

#linkedin,
.stockroastery,
.elfeleedettnm,
.botlog {
    filter: invert(0) !important;
    opacity: 1 !important;
    transition: filter 0.3s ease;
}

[data-theme="dark"] #linkedin,
body.dark-mode #linkedin,
[data-theme="dark"] .stockroastery,
body.dark-mode  .stockroastery,
[data-theme="dark"] .elfeleedettnm, 
body.dark-mode .elfeleedettnm, 
[data-theme="dark"] .botlog, 
body.dark-mode .botlog {
    filter: invert(1) !important;
    opacity: 1 !important;
}



.reveal-text {
    font-size: 7vw;
    white-space: break-spaces;
    bottom: 20vh;
}

/*bio*/
.skill-wrapper {
        overflow-x: hidden; /* Megakadályozza az oldalsó kilógást */
    }
    .skill {
        height: 100vh;
        display: flex;
        align-items: center;
    }
    .skill-carousel {
        display: flex;
        flex-wrap: nowrap;
        width: 300%; /* 3 elem esetén 300% elegendő */
       /* height: 100%; */
        align-items: center;
    }
    .skill-item {
        width: 100vw; /* Minden elem pontosan egy képernyőnyi */
      /*  height: 100vh; */
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
     
    }
    
    
    #skill-list h1, 
    .skill-container h3 {
         color:var(--h1-color); }
    
    @keyframes load {
        from {
            width: 0%
        }
    }
    
    @-webkit-keyframes load {
        from {
            width: 0%
        }
    }
    
    @-moz-keyframes load {
        from {
            width: 0%
        }
    }
    
    @-o-keyframes load {
        from {
            width: 0%
        }
    }
    
    .bar {
         width: 80%; 
        background: #fff;
            box-shadow: inset 2px 2px 5px #babecc, inset -5px -5px 10px #fff;
        padding: 0px;
        border-radius: 15px;
    }
    
    .bar-font {
        color: var(--secondary-color);
    }

    
    #bio_img {
        width: 70%;
        margin: 0 6rem; 
    }
    
/* contact */
.contact-container {
  display: flex;
  width: 100vw;
  height: 100vh;
  background: var(--bg-color);
}


.right-col {
  background: var(--bg-color);
  width: 50vw;
  height: 100vh;
  padding: 5rem 3.5rem;
}

h1, label, button, .description {
  font-weight: 400;
  letter-spacing: 0.1rem;
}

.description {
    width: max-content;
    display: none;
}

label, .description {
  color: var(--secondary-color);
  text-transform: uppercase;
  font-size: 0.625rem;
}

form {
  position: relative;
  margin-top: 2rem;
  padding: 1rem 0;
}

#front-contact > .content-inner >  #wpcf7-f2615-o1 > .wpcf7-form.init.wpcf7-acceptance-as-validation {
    margin-top: 0;
  padding: 0;
  text-align: left;
}

#front-contact > .content-inner >  #wpcf7-f2615-o1 > .wpcf7-form.init.wpcf7-acceptance-as-validation > .form-input > .wpcf7-form-control-wrap > .wpcf7-form-control .wpcf7-textarea {
    height: 6rem;
}

.wpcf7-form-control.wpcf7-textarea {
       height: 6rem;
}

#linkedin {
    width: 0.8rem; 
    vertical-align: baseline;
}

input, textarea, label {
  width: 40vw;
  display: block;
}


input::placeholder, textarea::placeholder {
  color: var(--primary-color);
}

input, textarea {
  color: var(--primary-color);
  font-weight: 500;
  background: var(--bg-color);
  border: none;
  border-bottom: 1px solid var(--secondary-color);
  padding: 0.5rem 0;
  margin-bottom: 1rem;
  outline: none;
}

textarea {
  resize: none;
}

button {
  text-transform: uppercase;
  font-weight: 300;
  background: var(--button-color);
  color: var(--bg-color);
  width: 10rem;
  height: 2.25rem;
  border: none;
  border-radius: 2px;
  outline: none;
  cursor: pointer;
}

input:hover, textarea:hover, button:hover {
  opacity: 0.5;
}

button:active {
  opacity: 0.8;
}

/* Toggle Switch */

.theme-switch-wrapper {
  display: flex;
  align-items: center;
  text-align: center;
width:  min-content;
  flex-wrap: wrap;
  justify-content: center;
margin:0 1rem;
}

.theme-switch {
  display: inline-block;
  height: 20px;
  position: relative;
  width: 50px;
}

.theme-switch input {
  display:none;
}

.slider {
  background-color: #ccc;
  bottom: 0;
  cursor: pointer;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
  transition: .4s;
  width: 3rem;
}

.slider:before {
  background-color: #fff;
  bottom: 0.25rem;
  content: "";
  width: 16px;
  height: 16px;
  left: 0.25rem;
  position: absolute;
  transition: .4s;
    top: 0.1rem;
}

input:checked + .slider {
  background-color: var(--button-color);
}


input:checked + .slider::before {
  transform: translateX(26px);
}

.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}

#error, #success-msg {
  width: 40vw;
  margin: 0.125rem 0;
  font-size: 0.75rem;
  text-transform: uppercase;
/*  font-family: 'Jost'; */
  color: var(--secondary-color);
}

  #success-msg {
  transition-delay: 3s;
  }



#social-contact {
    width: 50%;
    align-items: flex-start;
    display: flex;
    justify-content: center;
    flex-direction: column;
    flex-wrap: nowrap;
    text-align: left;
}

.links > .mainbutton {
    margin-top: 4.5vh;
}

/* footer */
.footer .links {
    position: relative;
    bottom: 0px;
}

.footer .links .social a {
    display: inline-flex;
    box-sizing: border-box;
    width: 30px;
    height: 30px;
    position: relative;
    color: #000;
    /*   margin-bottom: 30px;*/
    margin-right: 20px;
}

/*
.footer .links .social a img {
    speak: never;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    font-size: 26px;
    display: block;
    margin: auto;
}
*/

.social {
   display: flex;
    flex-wrap: wrap;
    float: right;
    /*bottom: 10vh;*/
    position: relative;
}

#foot_social.social {
    display: flex;
    flex-wrap: wrap;
    float: none;
    bottom: 0;
    position: relative;
}

.col-1-2, .col-1-4 {
	margin: auto;
}


/* Mobil és Tablet nézet (1024px alatt) */
@media screen and (max-width: 1024px) {
    .section {
        min-height: auto; /* Mobilon ne kényszerítsük a 100vh-t, ha a tartalom hosszabb */
        padding: 60px 15px;
    }


    h2 {
        font-size: 2rem ;
        line-height: 1.2;
    }

    .subtitle {
        font-size: 1rem;
        margin: 1rem 0;
    }

    /* Az inline style-okat felül kell ütni !important-tal, ha szükséges */
    #home p[style] {
        font-size: 1rem ;
        max-width: 100% !important;
        margin: 1.5rem auto;
    }
    
    .zoom-element {
     width: 100%; 
        max-width: 100px;
    }
}

@media only screen and (max-width: 950px) {

      h1 {
        font-size: 1.75rem;
      }
      p {
        font-size: 0.7rem;
      }
      input, textarea, button {
        font-size: 0.65rem;
      }
      .description {
        display: none!important;
      }
      button {
        width: 7rem;
      }
      .theme-switch-wrapper {
        width: 120px;
        margin: 0;
      }

    .theme-switch input {
      display:none;
    }
    
    .slider:before {
        width: 16px;
        height: 16px;
    }


      input:checked + .slider:before {
      transform: translateX(30px);
    }
    
    .slider.round {
      border-radius: 15px;
    }
    
    .slider.round:before {
      border-radius: 50%;
    }
    
    .zoom-element {
        max-width: 950px;
    }
    
    #bio_img {
        width: 100%;
        margin: 0; 
    }

}    

@media screen and (max-width: 851px) {
/* Itt kikapcsoljuk azokat a fix eltolásokat, amik a 3x-os szélességet okozzák */

.section.blink-section:first-of-type  {
    height: calc(100vh - var(--header-height));
}


    #topfrontme, #img-body, .scroll-div {
        position: relative !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        margin: 0 auto !important;
        transform: none !important; /* Fontos: a JS animáció eltolhatja oldalra */
    }

    /* 
    .section, .container, #main-page, main {
        width: 100vw !important;
        max-width: 100vw !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 10px !important;
        padding-right: 10px !important;
        box-sizing: border-box !important;
    }

    img, .project-image, .devices {
        max-width: 100% !important;
        height: auto !important;
    }
 */
    /* Ha a page.php-n vagyunk, ott is kényszerítjük a szélességet */
    article, .type-page, .entry-content {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 15px !important;
    }
    
    .section {
        width: 100%;
        min-height: 100vh;
        padding: 60px 20px; /* Hely a fix header alatt */
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        box-sizing: border-box;
    }
    
    .content {
        width: 100%;
        max-width: 851px;
        margin: 0 auto;
        overflow: visible;
        position: relative;
        --blur: 0;
    }
    
    .zoom-element {
        max-width: 850px;
    }
    /*
    .skill-item {
        flex-wrap: wrap;
    }
     */   
    .fifth {
        width: 100%; 
        margin: 0;
    }

    .col-1-2, .col-1-4 {
        width: 100%;
    }
    
    p.subtitle {
        width: 100%;
    }
    
    
.artflex{
    flex-wrap: wrap;
}


    
}

 @media screen and (max-width: 851px) {
 .skill-item {
    width: 200vw; 
    margin-left: 1rem;
    margin-right: 1rem;
 }

.skill-container.fifth {
    margin-left: 1rem;
    margin-right: 1rem;
}

 /*  .skill-wrapper {
    width: 100vw;
    overflow: hidden;
}

.skill {
    width: 100vw;
    height: 100vh;
    overflow: hidden;
}
*/
/* Mobilon és tableten is kötelezően egymás mellett kell tartani a szekciókat */
 /*     .skill-carousel {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        width: max-content; /* Biztosítja, hogy ne törjön több sorba */
        height: 100%;
        gap: 3rem; 
    } */

/* Egy darab kártya mérete: pontosan egy teljes mobilképernyő */
  /* .skill-item {
    width: 100vw !important;
    flex-shrink: 0 !important;
    height: 100vh !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    padding: 20px;
} */


    /* Felülírjuk a vízszintes elrendezést függőlegesre */
   /* .skill-carousel {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        transform: none !important;
        gap: 3rem; 
    } */

    /* .skill-item {
        width: 100% !important;
        max-width: 100% !important;
        flex-shrink: 1 !important;
        display: block !important;
        margin-bottom: 2rem;
        padding: 15px !important;
        box-sizing: border-box;
    }*/

    /* A belső elrendezések (szöveg és skill-bárok) egymás alá kerüljenek mobilon */
  /*  .skill-item .fifth, 
    .skill-item .skill-container {
        width: 100% !important;
        float: none !important;
        display: block !important;
        margin-bottom: 1.5rem;
    }*/
    
    /* Kikapcsoljuk a rögzített magasságokat, ha vannak */
    .skill-wrapper, .skill {
        height: auto !important;
        min-height: auto !important;
        padding-top: 20px;
    }

/* Ha mobilon túl kicsi a kijelző, és a két belső "fifth" tartalom egymás mellett nem fér el,
   akkor a kártyán belül egymás alá rakhatod őket, de maga a kártya maradjon széles: */
@media screen and (max-width: 768px) {
    /*  .skill-item {
        flex-direction: column !important;
        justify-content: space-evenly;
    } 
    .skill-item .fifth {
        width: 100% !important;
        max-height: 45vh;     
        overflow-y: auto;     
    } */
}



@media screen and (max-width: 768px) {
    h1 {
        font-size: 8.75vw;
    }

    h2 {
        font-size:2rem;
    }

    h3 {
        font-size: 6.25vw;
    }

    h4 {
        font-size: 5.9375vw;
    }
    
   .text-box p {
        font-size: 0.9rem;
       /* line-height: 1rem; */
    }
    
    .plus-btn {
        width: 20px;
        height: 20px;
    }
    
    .project-image {
        height: 30vh;
      }
    
    .scroll-container h2 {
        font-size: 5.37vw;
    }


    .social {
        bottom: 5vh;
    }
    
    .carousel h1,
    .page h1 {
        bottom: 50%;
        font-size: 10.56vw;
    }

    .container .card h2 {
        font-size: 8.75vw;
    }

    .portsubpich .carousel h1,
    .portsubpich .page h1 {
        bottom: 50%;
        font-size: 2rem;
    }

    .portsubpich img {
        max-width: 200%;
        width: 200%;
        height: inherit;
    }

    #first-section {
        background-size: auto;
    }

    #fifth-section {
        height: auto;
    }

    .reveal-text {
        font-size: 12vw;
        white-space: break-spaces;
        bottom: 20vh;
    }

    .animated-title {
        color: #222;
        height: 60vmin;
        position: absolute;
        width: 100%;
        justify-content: center;
        display: flex;
        margin-top: 8vh;
    }

    .animated-title > div div {
        font-size: 8.75vw;    }

    .scroll-container h1 {
        font-size: 6.37vw;
    }

    #second-section {
        overflow: hidden;
    }
    
    #aboutimg {
        width: 100%;
        float: none;
    }

    #topfrontme {
        position: relative;
        width: 80%;
        text-align: center;
        margin: auto;
        top: 30vh;
    }

    #img-body {
        background-color: #000;
        top: 50vh;
        position: relative;
        min-height: 10vh;
    }

    article {
        position: relative;
        bottom: 40vh;
    }

    article figure {
        width: 73%;
        margin-top: 45vh;
    }

    .about-point {
        background-color: rgb(0, 0, 0);
        background-size: 600px;
        border-radius: 100%;
        background-position: center 10vh;
        width: 20vh;
        height: 100vh;
        position: relative;
        right: 3vh;
    }

    #none.skill-container {
        display: block;
        width: 100vw;
        height: 100vh;
        margin-left: 40px;
        flex-shrink: 0;
    }

    .bar {
        width: 100%;
    }

    #fifth-section-content {
        display: flex;
        width: 100vw;
        flex-wrap: wrap;
        margin: 0vh auto;
    }

    #contact,
    #social-contact {
        width: 100%;
    }

    #social-contact {
        margin-top: 40px !important;
    }

  /*  .wpcf7-form-control.wpcf7-text.wpcf7-validates-as-required,
    input,
    textarea,
    .uneditable-input {
        width: 90vw;
    }
*/
    #social-contact {
        margin-left: 30px;
        position: relative;
    }
    
    .subpfont {
        width: 100%;
        margin: 0;
    }

    .bpimg {
        width: 50px;
        height: 50px;
    }

    .botlog {
        margin: 20px auto;
        width: 51%;
    }

    .col-50 {
        max-width: 100%;
        width: 100%;
        flex: 0 0 100%;
        /* text-align:center; */
        min-height: 50vh;
    }

    .grid-flex {
        display: flex;
        margin-left: 0;
        margin-right: 0;
        flex-wrap: wrap;
        height: 100%;
        width: 100vw;
    }

    .kpimg {
        width: 19vw;
    }

    .section-2 {
        padding-top: 9vh;
        padding-bottom: 0;
    }

    .section-2 .col-50 .img-container {
        margin-top: 0;
    }

    .text-container-pho {
        display: block;
        text-align: center;
    }

    .desc.text-container {
        display: none;
    }

    .scroll-container p {
        margin-top: 0;
    }

    #fifth-section-content {
        margin-bottom: 50px;
        padding-bottom: 50px;
    }

    #aboutsection {
        width: 100vw;
        height: 100vh;
    }

    .animated-title {
        height: 50vh;
        margin-top: 0;
    }

    .aboutimg {
        height: 50vh;
    }

    .btn-container {
        position: relative;
        display: inline-block;
        margin-left: 15px;
        align-self: flex-start;
        margin-top: 5vh;
        width: 90%;
    }

    .link-bg.gsap-btn-bg {
        width: 255px;
    }

    #palette-img {
        padding-bottom: 7vh;
    }
    
    .container {
        padding-right: 0 !important;
        padding-left: 0 !important;
    }

    .scroll-div {
        width: 90% !important;
        margin-left: auto !important;
    }

    .scroll-div:first-child {
        margin-top: 7vh !important;
    }

    .devices {
        max-height: 90%;
        width: 100% !important;
        margin: 0 auto;
    }

    .blink-section { 
        animation: none !important; 
        opacity: 1 !important; 
    }
    
    .zoom-element {
        max-width: 768px;
    }
    
}

@media screen and (max-width: 480px) {
      h2 {
        font-size: 1.3rem !important;
    }
    
    .cta-button {
        display: block;
        width: 100%;
        box-sizing: border-box;
        text-align: center;
    }

    /* Kapcsolati űrlap reszponzivitása */
    #front-contact {
        width: 100%;
    }
    
    .wpcf7-form-control {
        width: 100% !important;
    }
    
    .section.section-1 > .container > .grid-flex {
        height: 86%;
    }

    .scroll-container h1 {
        font-size: 8.37vw;
    }
    
    .scroll-container h2 {
        font-size: 7.37vw;
    }

    #aboutimg {
        width: 100%;
        float: none;
    }

    #topfrontme {
        position: relative;
        width: 80%;
        text-align: center;
        margin: auto;
        top: 30vh;
    }

    #img-body {
        background-color: #000;
        top: 48vh;
        position: relative;
        width: 100vw;
        display: flex;
        text-align: center;
        justify-content: center;
        align-items: center;
    }

    article {
        position: relative;
        bottom: 15vh;
    }

    article figure {
        width: 80%;
        margin-top: 20vh;
    }

    .component .typewriter {
        font-size: 20px;
    }

    .skill-carousel {
        margin-left: 0;
    }

    .text-container {
        text-align: center;
     margin-left: 0;   
    }

    .link-bg.gsap-btn-bg {
        width: 100vw !important;
    }
    
    .btn {
        padding: 0.375rem 8vh !important;
    }
    
    .zoom-element {
        max-width: 480px;
    }
    
    .col-1-4 {
        text-align: center;
    }
    
    .media-box {
        margin-bottom: 1rem;
    }
    
    .text-box h2 {
        margin: 1rem 0;
    }
    
    .text-box p {
        margin: 1rem 0;
    }
    
    .text-box.art p {
        margin: 0.25rem 0;
    }
    
}

