.line {
    position: absolute;
    background: radial-gradient(circle, #eb512f, #eb512f00);
    border-radius: 12px;
}

.line-shadow {
    position: absolute;
    background: #eb512f;
    border-radius: 12px;
    filter: blur(50px);
}

.inner-shadow {
    position: absolute;
    left: 20%;
    width: 60%;
    background: #7272727f;
    border-radius: 100%;
    filter: blur(100px);
}

* {
    box-sizing: border-box;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    margin: 0;
    padding: 0;
}

li {
    list-style: none;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #101214;
    color: #f7f7f9;
    max-width: 1440px;
    margin: 0 auto;
    font-family: "Manrope", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
}

.button {
    display: flex;
    justify-content: center;
    align-items: center;
    color: #f8f8f8;
    border-radius: 100px;
}

.small {
    gap: 8px;
    padding: 13px 12px;
    height: 42px;
    font-weight: 550;
    font-size: 14px;
    line-height: 18px;
    letter-spacing: -0.28px;
}

.large {
    gap: 16px;
    padding: 24px;
    height: 64px;
    font-weight: 550;
    font-size: 20px;
    line-height: 32px;
    letter-spacing: -0.4px;
}

.primary {
    background: linear-gradient(-73deg, #eb512f, #e6411c);
    box-shadow: 0 0 0 4px #671d137F
}

.secondary {
    background: linear-gradient(180deg, #ffffff1a, #ffffff06);
    border: 1px solid #888888;
}

.header {
    width: 1440px;
    max-width: 100%;
    height: 86px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 184px;
    border-bottom: 1px solid;
    border-image: linear-gradient(90deg, #2f2f2f00, #e8e8e8, #2f2f2f00) 1;
    position: fixed;
    top: 0;
    backdrop-filter: blur(10px);
    background: #101214cc;
    z-index: 1;
}

#hero, #projects, #work-experience, #skills {
    scroll-margin-top: 86px;
}

.header .logo {
    font-family: "Shadows Into Light", cursive;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: -0.32px;
    background: linear-gradient(-30deg, #f7f7f900, #f7f7f9FF);
    color: transparent;
    background-clip: text;

    text-transform: uppercase;
}

.header .menu {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 32px;
    color: #cfcfcf;
}

.hero {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    padding-top: 86px;
    height: 100vh;
    min-height: 720px;
}

.hero .avatar {
    width: 171px;
    height: 171px;
    border-radius: 100px;
    overflow: hidden;
}

.hero .avatar img {
    width: 100%;
    height: 100%;
}

.hero .title {
    width: 1076px;
    background: linear-gradient(-30deg, #f7f7f900, #f7f7f9FF);
    color: transparent;
    background-clip: text;
    text-align: center;
}

.hero .cta-buttons {
    display: flex;
    gap: 32px;
}

.projects {
    width: 1080px;
    margin: 128px auto;
    display: flex;
    flex-direction: column;
    gap: 38px;
}

.projects>.title {
    color: #ffffff;
}

.projects .project {
    display: flex;
    position: relative;
    flex-direction: column;
    border-radius: 24px;
    border: 1px solid #2f2f2f;
    background: #2d2d2d0d;
    padding: 30px;
    gap: 24px;
    
}

.projects .project .line {
    top: 54px;
    left: -1px;
    width: 1px;
    height: 237px;
}

.projects .project .line-shadow {
    top: 87px;
    left: -6px;
    width: 8px;
    height: 168px;
}

.projects .project .inner-shadow-container {
    position: absolute;
    top: 0;
    left: 0;
    overflow: hidden;
    width: 100%;
    height: 100%;
    z-index: -1;
    border-radius: 24px;
}

.projects .project .inner-shadow {
    top: 42px;
    height: 152px;
}

.projects .project .gallery {
    display: flex;
    align-self: center;
    border-radius: 29px;
    width: 1020px; 
    overflow: hidden;
    background-color: #ffffff1a;
    cursor: pointer;
}

.projects .project .gallery img {
    width: 100%;
    object-fit: contain;
}

.projects .project .content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.projects .project .content .title {
    color: #ffffff;
}

.projects .project .content .text {
    color: #bebebe;
}

.projects .project .content .labels {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.work-experience {
    display: flex;
    flex-direction: column;
    gap: 42px;
    width: 1080px;
    margin: 128px auto;
}

.work-experience>.title {
    color: #ffffff;
}

.work-experience .experience {
    min-height: 200px;
    padding: 24px 32px;
    display: flex;
    align-items: center;
    gap: 48px;
    border-radius: 24px;
    border: 1px solid #393939;
    background-color: #2d2d2d0d;
    position: relative;
}

.work-experience .experience .line {
    top: 38px;
    left: -1px;
    width: 1px;
    height: 119px;
}

.work-experience .experience .line-shadow {
    top: 58px;
    left: -4px;
    width: 8px;
    height: 86px;
}

.work-experience .experience .inner-shadow-container {
    position: absolute;
    top: 0;
    left: 0;
    overflow: hidden;
    width: 100%;
    height: 100%;
    z-index: -1;
    border-radius: 24px;
}

.work-experience .experience .inner-shadow {
    top: 15px;
    height: 152px;
}

.work-experience .experience .image {
    width: 100px;
    height: 100px;
    border-radius: 29px;
    background-color: #ffffff0d;
    overflow: hidden;
    box-shadow: 6px -2px 20px 0 #00000040;
    display: flex;
    justify-content: center;
    align-items: center;
}

.work-experience .experience .image img {
    width: 80px;
    height: 80px;
}

.work-experience .experience .content {
    height: 100px;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.work-experience .experience .content .title {
    color: #ffffff;
}

.work-experience .experience .content .details {
    display: flex;
    gap: 12px;
    align-items: center;
}

.work-experience .experience .content .details .company {
    color: #ffffff;
}

.skills {
    display: flex;
    flex-direction: column;
    gap: 56px;
    width: 1080px;
    margin: 128px auto;
}

.skills>.title {
    color: #ffffff;
}

.skills .content {
    display: flex;
    gap: 20px;
}

.skills .content .educations {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 42px;
}

.skills .content .educations .education {
    min-height: 200px;
    padding: 24px 32px;
    display: flex;
    align-items: center;
    gap: 48px;
    border-radius: 24px;
    border: 1px solid #393939;
    background-color: #2d2d2d0d;
    position: relative;
}

.skills .content .educations .education .line {
    top: 38px;
    left: -1px;
    width: 1px;
    height: 119px;
}

.skills .content .educations .education .line-shadow{
    position: absolute;
    top: 58px;
    left: -4px;
    width: 8px;
    height: 86px;
    background: #eb512f;
    border-radius: 12px;
    filter: blur(50px);
}

.skills .content .educations .education .inner-shadow-container {
    position: absolute;
    top: 0;
    left: 0;
    overflow: hidden;
    width: 100%;
    height: 100%;
    z-index: -1;
    border-radius: 24px;
}

.skills .content .educations .education .inner-shadow-container .inner-shadow {
    top: 15px;
    height: 69px;
}

.skills .content .educations .education .content {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.skills .content .educations .education .content .title {
    color: #ffffff;
}

.skills .content .educations .education .content .details {
    display: flex;
    gap: 12px;
    align-items: center;
}

.skills .content .educations .education .content .details .company {
    color: #ffffff;
}

.skills .content .skill {
    position: relative;
    flex: 1;
    padding: 32px;
    border-radius: 24px;
    background: #2d2d2d0d;
    border: 1px solid #414141;
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.skills .content .skill .line {
    top: -1px;
    left: 25%;
    width: 50%;
    height: 2px;
}

.skills .content .skill .shadow-container {
    position: absolute;
    top: 0;
    left: 0;
    overflow: hidden;
    width: 100%;
    height: 100%;
    z-index: -1;
    border-radius: 24px;
}

.skills .content .skill .shadow-container .line-shadow {
    top: -1px;
    left: 25%;
    width: 50%;
    height: 8px;
    z-index: -1;
}

.skills .content .skill .shadow-container .inner-shadow {
    top: 0;
    height: 178px;
    z-index: -1;
}

.skills .content .skill .category {
    display: flex;
    flex-direction: column;
    gap: 16px
}

.skills .content .skill .category:last-child {
    margin-bottom: 6px;
}

.skills .content .skill .category .title {
    color: #ffffff;
}

.skills .content .skill .category .items {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
}

.skills .content .skill .category .items .item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.skills .content .skill .category .items .item .logo {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    background-color: #ffffff0d;
    overflow: hidden;
    box-shadow: 6px -2px 20px 0 #00000040;
    display: flex;
    justify-content: center;
    align-items: center;
}

.skills .content .skill .category .items .item .logo img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.skills .content .skill .category .items .item .label {
    font-size: 10px;
    line-height: 10px;
    display: flex;
    align-items: center;
    text-align: center;
}

.cta {
    display: flex;
    width: 1000px; /* ??? */
    margin: 128px auto;
    justify-content: space-between;
}

.cta .invitation {
    font-weight: bold;
    background: linear-gradient(-30deg, #f7f7f900, #f7f7f9FF);
    color: transparent;
    background-clip: text;
}

.footer {
    display: flex;
    width: 1000px; /* ??? */
    margin: 128px auto;
    justify-content: space-between;
}

.footer .content {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 470px;
}

.footer .content .title {
    color: #ffffff;
}

.footer .content .text {
    color: #dddddd
}

.footer .explore {
    display: flex;
    flex-direction: column;
    gap: 23px;
}

.footer .explore .title {
    color: #ffffff;
}

.footer .explore ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
    color: #dddddd;
}

.footer .contact {
    display: flex;
    flex-direction: column;
    gap: 23px;
}

.footer .contact .text {
    color: #ffffff;
}

.footer .contact .valami {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 42px;
    padding: 8px 12px;
    background: #5959594a;
    border-radius: 100px;
}

.footer .contact .valami .text {
    color: #ffffff;
}

.socials ul {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 32px;
    height: 100%;
}

.socials.vertical ul {
    flex-direction: column;
    align-items: flex-start;
}

.social {
    font-weight: 550;
    font-size: 20px;
    line-height: 32px;
    letter-spacing: -0.4px;
    text-transform: uppercase;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.label {
    padding: 4px 12px;
    height: 32px;
    border-radius: 100px;
    border: 1px solid #4e4e4e;
    background-color: #2e2e2e;
    box-shadow: 0 8px 30px #00000069;
    font-weight: 550;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: -0.32px;
    color: #ffffff;
}

.label.dark {
    background-color: #2b2b2b0d;
}

.ellipsis {
    border-radius: 100%;
    width: 4px;
    height: 4px;
    background-color: #3d3d3d;
    border: 1px solid #505050;
}

.heading-h2 {
    font-weight: bold;
    font-size: 72px;
    line-height: 120%;
    letter-spacing: -1.44px;
}

.heading-h5 {
    font-weight: bold;
    font-size: 40px;
    line-height: 120%;
    letter-spacing: -0.8px;
}

.heading-h6 {
    font-weight: bold;
    font-size: 32px;
    line-height: 120%;
    letter-spacing: -0.64px;
}

.bold {
    font-weight: bold;
}

.semibold {
    font-weight: 550;
}

.body-xl {
    font-size: 28px;
    line-height: 120%;
    letter-spacing: -0.56px;
}

.body-l {
    font-size: 20px;
    line-height: 32px;
    letter-spacing: -0.4px;
}

.body-m {
    font-size: 16px;
    line-height: 24px;
    letter-spacing: -0.32px;
}

.lightbox-video-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

@media (width <= 1080px) {
    #hero, #projects, #work-experience, #skills {
        scroll-margin-top: 50px;
    }

    .hero, .projects, .work-experience, .skills, .cta, .footer {
        width: 100%;
        padding-left: 8px;
        padding-right: 8px;
    }

    .header {
        height: 50px;
        width: 100%;
        padding: 0 16px;
    }
    
    .header .menu {
        display: none;
    }

    .hero {
        padding-top: 50px;
    }

    .hero .title {
        width: 99%;
        font-size: 32px;
        line-height: 120%;
        letter-spacing: -0.64px;
    }

    .hero .cta-buttons {
        flex-direction: column;
    }

    .projects .project .gallery {
        width: 94.444%;
    }

    .work-experience .experience {
        min-height: unset;
        flex-direction: column;
    }

    .work-experience .experience .content {
        height: auto;
    }

    .work-experience .experience .content .details {
        flex-direction: column;
    }

    .skills .content {
        flex-direction: column;
    }

    .skills .content .educations .education .content .details {
        flex-direction: column;
    }

    .cta, .footer {
        flex-direction: column;
    }

    .cta {
        align-items: center;
    }

    .footer {
        gap: 16px;
    }
}

@media (width <= 434px) {
    .skills .content .skill .category .items {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (height <= 640px) {
    .hero {
        height: unset;
        min-height: unset;
        gap: 8px;
    }
}