@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');


* {
    padding:0;
    margin:0;
    box-sizing:border-box;
    list-style:none;
    scroll-behavior:smooth;
    text-decoration:none;
}

:root {
    --text-color:#f5f5f5;
    --hover-color:#12f7ff;
    --bg-color:#250821;
    --second-bg-color:#292e33;
    --big-font:2.5rem;
    --normal-font:2rem;
    --neon-box-shadow:0 0 .5rem #12f7ff;
    --h2-font:3rem;
    --cube-size: 300px; 
    --font-neon-text-shadow:0 0 10px rgba(18,247,255,0.3),
    0 0 20px rgba(18,247,255,0.3),
    0 0 30px rgba(18,247,255,0.3),
    0 0 40px rgba(18,247,255,0.3),
    0 0 70px rgba(18,247,255,0.3),
    0 0 80px rgba(18,247,255,0.3),
    0 0 100px rgba(18,247,255,0.3),
    0 0 150px rgba(18,247,255,0.3);
}

::-webkit-scrollbar {
    height:0;
    width:.5rem;
}

::-webkit-scrollbar-track {
    background:var(--second-bg-color);
}

::-webkit-scrollbar-thumb {
    background:var(--hover-color);
    border-radius:5rem;
}

body {
    font-family:"Poppins" sans-serif;
    background-color:var(--bg-color);
    color:var(--text-color);
}

header {
    top:0;
    left:0;
    z-index:1000;
    border-bottom:1px solid transparent;
    display:flex;
    align-items:center;
    justify-content:space-between;
    width:100%;
    padding:20px 10%;
}

header.sticky {
    background:var(--bg-color);
    border-bottom:1px solid var(--second-bg-color);
    padding:12px 10%;
}

.logo {
    font-size:26px;
    font-weight:700;
    letter-spacing:1px;
}

span {
    color:var(--hover-color);
}

.navlist {
    display:flex;
}

.navlist a{
    display:inline-block;
    color:var(--text-color);
    font-weight:500;
    padding:10px 20px;
    animation:slideAnimation 1s ease forwards;
    animation-delay:calc(.3s * var(--i));
    opacity:0;
}

.navlist a:hover{
    color:var(--hover-color);
    text-shadow:0 0 10px rgba(18,247,255,0.6),
    0 0 20px rgba(18,247,255,0.6),
    0 0 30px rgba(18,247,255,0.6),
    0 0 40px rgba(18,247,255,0.6),
    0 0 70px rgba(18,247,255,0.6),
    0 0 80px rgba(18,247,255,0.6),
    0 0 100px rgba(18,247,255,0.6),
    0 0 150px rgba(18,247,255,0.6);
}

.navlist a.active{
    color:var(--hover-color);
}

#menu-icon{
    font-size: 1.8rem;
    z-index: 10001;
    cursor: pointer;
    margin-left: 25px;
    background: var(--hover-color);
    border-radius: 3px;
    color: var(--second-bg-color);
    display: none;
}


section{
    padding:100px 10%;
}

.btn-box{
    display: flex;
    justify-content: flex-end;
    width: 320px;
    height: 45px;
    align-content: center;
    flex-wrap: wrap;
    flex-direction: row;
}

.btn-box .btn{
    display:inline-flex;
    justify-content:center;
    align-items:center;
    width:150px;
    height:100%;
    background-color:var(--hover-color);
    color:var(--bg-color);
    font-size:1rem;
    letter-spacing:1px;
    font-size:600;
    transition:.6s;
    box-shadow:var(--neon-box-shadow);
    border-radius:5px;
    position:relative;
    overflow:hidden;
    z-index:1;
    border:2px solid var(--hover-color);
    margin-right:10px;
}

.btn:hover {
    color:var(--hover-color);
}

.btn::before {
    content:"";
    position:absolute;
    top:0;
    left:0;
    background:var(--bg-color);
    width:0;
    height:100%;
    z-index:-1;
    transition:.4s;
}

.btn:hover::before {
    width:100%;
}

.btn:nth-child(2) {
    background:var(--bg-color);
    color:var(--hover-color);
}

.btn:nth-child(2):hover {
    color:var(--bg-color);
}

.btn:nth-child(2)::before {
    background:var(--hover-color);
}

.btn-box .btn:last-child {
    margin-right:-14px;
}


/* About section*/
.about{
    display:flex;
    justify-content:center;
    align-items:center;
    grid-gap:2em;
    background:var(--second-bg-color);
}

.about {
    text-align:center;
    position:relative;
}

.text-about-container {
    display: flex; /* "flexbox" helyett "flex" */
    flex-direction: column; /* A tartalmak egymás alá kerüljenek */
    height: auto;
    width: auto;
    background-color: #222;
    padding: 10px; /* Körben padding a szöveghez */
}

.text-about p {
    margin:3px 0;  /* Csökkentett távolság a bekezdések között */
    padding: 2px;  /* Enyhe belső térköz */
    line-height: 1.3;  /* Jobb olvashatóság */
    color: #fdfdfd; /* Fehér szöveg a sötét háttéren */
}
.about .cube-about {
    width: 645px;
    height: auto;
}

.about-content{
    margin-bottom:20px;
}

.about-content span{
    color:#fdfdfd;
    font-size:.8rem;
    font-weight:200;
    letter-spacing:2px;
    text-transform:uppercase;
}

.about-content h2{
    color:var(--hover-color);
    font-weight:700;
    font-size:var(--normal-font);
    margin-top: .9rem;
}

.about-content h3{
    font-weight:600;
    font-size:1.5rem;
    margin-bottom:.2rem;   
}

.about-content p {
    color:#fdfdfd;
    font-weight:500;
    margin-bottom:1.5rem;
    text-align: justify;    
}


.cube-container {
    width: var(--cube-size);
    height: var(--cube-size);
    position: flex;
    justify-content: center;
    align-items: none;
    flex: none;
}

.cube {
    width: var(--cube-size);
    height: var(--cube-size);
    position: relative;
    transform-style: preserve-3d;
    animation: rotateCube 5s infinite linear;
}

.face {
    position: absolute;
    width: var(--cube-size);
    height: var(--cube-size);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--text-color);
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: var(--neon-box-shadow);
    text-shadow: var(--font-neon-text-shadow);
}

/* Kocka oldalak és animáció */
.front  { background: rgba(18, 247, 255, 0.2); transform: translateZ(calc(var(--cube-size) / 2)); }
.back   { background: rgba(247, 18, 255, 0.2); transform: rotateY(180deg) translateZ(calc(var(--cube-size) / 2)); }
.left   { background: rgba(255, 18, 247, 0.2); transform: rotateY(-90deg) translateZ(calc(var(--cube-size) / 2)); }
.right  { background: rgba(18, 255, 247, 0.2); transform: rotateY(90deg) translateZ(calc(var(--cube-size) / 2)); }
.top    { background: rgba(255, 247, 18, 0.2); transform: rotateX(90deg) translateZ(calc(var(--cube-size) / 2)); }
.bottom { background: rgba(18, 18, 255, 0.2); transform: rotateX(-90deg) translateZ(calc(var(--cube-size) / 2)); }

@keyframes rotateCube {
    0%   { transform: rotateX(0deg) rotateY(0deg); }
    100% { transform: rotateX(360deg) rotateY(360deg); }
}

.skills-section {
    text-align: center;
    padding: 50px 10%;
    background: var(--second-bg-color);
}

.skills-section h2 {
    color: var(--hover-color);
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
    margin-top: .9rem;
}

.skills-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;    
}

.skill-category {
    background: var(--bg-color);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    width: 300px;
    text-align: left;
    transition: transform 0.3s ease-in-out;
}

.skill-category:hover {
    transform: scale(1.05);
}

.skill-category h3 {
    color: var(--hover-color);
    font-size: 20px;
    margin-bottom: 10px;
    text-align: center;
}

.skill-category ul {
    list-style: none;
    padding: 0;
}

.skill-category ul li {
    font-size: 16px;
    color: #fdfdfd;
    padding-left: 20px;
    position: relative;
    margin-bottom: 8px;
}

.skill-category ul li::before {
    content: "✔️";
    position: absolute;
    left: 0;
    color: var(--hover-color);
    font-size: 16px;
}


.custom-list {
    list-style: none;
    padding-left: 0;
}

.custom-list li {
    font-size: 16px;
    background: #222;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 5px;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
}

.custom-list li i {
    color: var(--hover-color);
    font-size: 18px;
}

.call-to-action {
    font-size: 18px;
    color: var(--hover-color);
    font-weight: bold;
    margin-top: 20px; 
    margin-right: 118px; 
}
/*--------------Arificial Intelligente - services--------------------------------*/

/*--------------keyframes--------------------------------*/

@keyframes morph {
0%,100% {
border-radius:40% 60% 70% 30% / 40% 40% 60% 50%;
}

30% {
border-radius:70% 30% 50% 50% / 30% 30% 70% 70%;
}

60% {
border-radius:100% 60% 60% 100% / 100% 100% 60% 60%;
}

80% {
border-radius:69% 31% 66% 34% / 21% 30% 70% 79%;
}
}

/*--------------Skill section--------------------------------*/

/*skill right*/

/*Certificate*-------------------------------------------------------*/

.certificate-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 1.5rem;
}

.certificate-item {
    text-align: center;
    max-width: 300px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.3);
}

.certificate-item img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.certificate-item img:hover {
    transform: scale(1.05);
}

.certificate-item .btn {
    margin-top: 0.5rem;
    display: inline-block;
    padding: 0.4rem 1rem;
    background-color: #00ffff;
    color: #000;
    border-radius: 20px;
    text-decoration: none;
    transition: background 0.3s;
}

.certificate-item .btn:hover {
    background-color: #00cccc;
}


/*Contact *-------------------------------------------------------*/

/*Footer *-------------------------------------------------------*/

footer {
    padding:1.5rem 10%;
    display:flex;
    align-items:center;
    justify-content:space-between;
}

footer p {
    color:#bdbdbd;
}

footer a {
    display:inline-flex;
    justify-content:center;
    color:var(--text-color);
    background:var(--hover-color);
    padding:.6rem;
    border-radius:5px;
}

footer a i {
    font-size:1rem;
    color:var(--second-bg-color);
}

/*Scroll *-------------------------------------------------------*/

.scroll-scale {
    opacity:0;
    transform:scale(.9);
    transition:all 2s;
}


.scroll-bottom {
    opacity:0;
    transform:translateY(300px);
    transition:3s;
}

.scroll-top {
    opacity:0;
    transform:translateY(-300px);
    transition:3s;
}

.show-items {
    opacity:1;
    transform:translateX(0);
}
/*Skill result of techologies *-------------------------------------------------------*/

@keyframes morph {
0%,100% {
border-radius:40% 60% 70% 30% / 40% 40% 60% 50%;
}

30% {
border-radius:70% 30% 50% 50% / 30% 30% 70% 70%;
}

60% {
border-radius:100% 60% 60% 100% / 100% 100% 60% 60%;
}

80% {
border-radius:69% 31% 66% 34% / 21% 30% 70% 79%;
}
}


@keyframes glow {
0% {
background:var(--bg-color);
box-shadow:none;
}

100% {
background:var(--hover-color);
box-shadow:var(--neon-box-shadow);
}
}

@keyframes slideAnimation {
0% {
opacity:0;
transform:translateY(100px);
}

100% {
opacity:1;
transform:translateY(0);
}
}

/*Responsive *-------------------------------------------------------*/

@media(max-width:991px) {
    header,
    header.sticky {
        padding:15px 5%;
    }

    footer {
        padding:15px 5%;
    }

    section {
        padding:50px 5%;
    }

    .navlist a {
        padding:8px 15px;
    }

    :root {
        --big-font:2.2rem;
        --normal-font:1.8rem;
        --neon-box-shadow:0 0 .8rem #12f7ff;
        --h2-font:3rem;
    }

    
}

@media(max-width:768px) {
    #menu-icon {
        display:block;
        transition:all .4s ease;
        transform:rotate(-180deg);
    }

    .navlist {
        display:flex;
        position:absolute;
        top:-1000px;
        right:0;
        left:0;
        flex-direction:column;
        background:var(--bg-color);
        text-align:left;
        padding:0 5%;
        transition:all .45s ease;
    }

    .navlist a {
        display:block;
        padding-bottom:1rem;
        font-size:1rem;
    }

    .navlist.open {
        top:100%;
    }

    
    .about {
        flex-direction:column-reverse;
    }

   
    footer p {
      font-size:.8rem;
    }
}

@media(max-width:420px) {
    html {
        font-size:80%;
    }

    footer p {
        font-size:.6rem;
    }

    .filter-buttons .button {
        font-size:.8rem;
    }

    .img-about img {
        width:300px;
    }

    .info-about1,.info-about2,.info-about3,.info-about4 {
        display:none;
    }

    .img-about p {
        font-size:1rem;
    }
}

/* Responsive méretezés */
@media (max-width: 768px) {
    .cube-container {
        display: flex;
        justify-content: center;
        align-items: center;
        height: 100vh; /* A teljes képernyő magasságát kitölti */
    }

    .cube {
        --cube-size: 150px; /* Kisebb kocka mobilon */
        position: relative;
    }

    .face {
        font-size: 1rem;
    }
}

/* Alap stílusok az előző válaszból: .certificate-gallery, .certificate-item stb. */

@media (max-width: 768px) {
    .certificate-gallery {
        flex-direction: column;
        gap: 1.5rem;
    }

    .certificate-item {
        max-width: 100%;
        padding: 1rem;
        box-shadow: none;
        border: none;
        background: transparent;
    }

    /* Ha a cube marad és floatot használ, a lebegtetést megszüntetjük mobilon */
    .cube-about {
        float: none !important;
        margin: 0 auto 1.5rem;
        max-width: 250px;
    }

    .about-content-text {
        max-width: 100% !important;
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    header ul.navlist {
        flex-direction: column;
        align-items: center;
    }
    header ul.navlist li {
        margin: 0.5rem 0;
    }
}
