/*! locomotive-scroll v4.1.3 | MIT License | https://github.com/locomotivemtl/locomotive-scroll */
html.has-scroll-smooth {
    overflow: hidden;
}

html.has-scroll-dragging {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.has-scroll-smooth body {
    overflow: hidden;
}

.has-scroll-smooth [data-scroll-container] {
    min-height: 100vh;
}

[data-scroll-direction="horizontal"] [data-scroll-container] {
    height: 100vh;
    display: inline-block;
    white-space: nowrap;
}

[data-scroll-direction="horizontal"] [data-scroll-section] {
    display: inline-block;
    vertical-align: top;
    white-space: nowrap;
    height: 100%;
}

.c-scrollbar {
    position: absolute;
    right: 0;
    top: 0;
    width: 11px;
    height: 100%;
    transform-origin: center right;
    transition: transform 0.3s, opacity 0.3s;
    opacity: 0;
}

.c-scrollbar:hover {
    transform: scaleX(1.45);
}

.c-scrollbar:hover,
.has-scroll-scrolling .c-scrollbar,
.has-scroll-dragging .c-scrollbar {
    opacity: 1;
}

[data-scroll-direction="horizontal"] .c-scrollbar {
    width: 100%;
    height: 10px;
    top: auto;
    bottom: 0;
    transform: scaleY(1);
}

[data-scroll-direction="horizontal"] .c-scrollbar:hover {
    transform: scaleY(1.3);
}

.c-scrollbar_thumb {
    position: absolute;
    top: 0;
    right: 0;
    background-color: black;
    opacity: 0.5;
    width: 7px;
    border-radius: 10px;
    margin: 2px;
    cursor: -webkit-grab;
    cursor: grab;
}

.has-scroll-dragging .c-scrollbar_thumb {
    cursor: -webkit-grabbing;
    cursor: grabbing;
}

[data-scroll-direction="horizontal"] .c-scrollbar_thumb {
    right: auto;
    bottom: 0;
}

:root {
    --dim_white: #e5e9ffb6;
    --bright_white: #ffffff;
    --low_white: #ffffffa7;
    --highlight: #4bf9ca;
}

body {
    background: #0F172A;
    color: var(--dim_white);
    margin: 0;
    font-family: ui-sans-serif,
        system-ui,
        "Segoe UI",
        Roboto,
        "Helvetica Neue",
        Arial,
        "Noto Sans",
        sans-serif,
        "Apple Color Emoji",
        "Segoe UI Emoji",
        "Segoe UI Symbol",
        "Noto Color Emoji";
    font-size: 16px;
}

a {
    color: #fff;
    text-decoration: none;
}

a:visited {
    color: #fff;
}

a:hover {
    color: #fff;
}

a:active {
    color: #fff;
}

.container {
    display: flex;
}

.flex-child {
    flex: 1;
    width: 50%;
}

.about-me {

    display: inline-block;
    height: 100vh;
    position: sticky;
    top: 0;
}

.about-me-child {
    margin-top: 17%;
    margin-left: 18%;
}

.name {
    font-size: 48px;
    font-family: 'Archivo Black', sans-serif;
    margin-top: 20px;
    color: #c7eeff;
    animation: 1s alternate 0s 1 slideInDown;
}

.profession {
    font-size: 25px;
    font-weight: 700;
    color: #c7eeffaf;
    margin-top: 20px;
    opacity: 0;
    animation: slideInDown 1s ease 0.3s forwards;
}

.what-i-do {
    margin: 10px 0;
    margin-right: 100px;
    font-weight: 500;
    color: var(--dim_white);
    font-size: medium;
    opacity: 0;
    animation: slideInDown 1s ease 0.5s forwards;
}

.scroll-buttons {
    margin-top: 50px;
    margin-left: 20px;
    display: inline-flex;
    flex-direction: column;
    color: var(--dim_white);
}

.section-button {
    margin: 5px 0;
    opacity: 0;
}

.section-button:nth-child(1) {
    animation: slideInDown 1s ease 0.9s forwards;
}

.section-button:nth-child(2) {
    animation: slideInDown 1s ease 1.2s forwards;
}

.section-button:nth-child(3) {
    animation: slideInDown 1s ease 1.5s forwards;
}

.section-button:nth-child(4) {
    animation: slideInDown 1s ease 1.8s forwards;
}

.section-button-name {
    color: var(--dim_white);
    font-size: 13px;
    transition: color 0.3s, font-weight 0.2s, letter-spacing 0.3s;
}

.horizontal-line {
    display: inline-block;
    width: 50px;
    height: 1px;
    position: relative;
    top: -0.3rem;
    margin-right: 5px;
    background: var(--dim_white);
    transition: width 0.3s, height 0.3s, background 0.3s;
}

.section-button:hover .horizontal-line {
    width: 90px;
    background: var(--bright_white);
    height: 2px;
}

.section-button:hover .section-button-name {
    color: var(--bright_white);
    font-weight: 600;
    letter-spacing: 1px;
}

.width-increase {
    width: 90px;
    height: 2px;
}

.section-button-name-highlight {
    color: var(--bright_white);
    font-weight: 600;
    letter-spacing: 1px;
}

.social-media {
    margin-top: 200px;
    width: 220px;

}

.social-media-icon {
    display: inline-block;
    opacity: 0;
    margin-right: 10px;
}

.social-media-icon:nth-child(1) {
    animation: slideInLeft 1s ease 1.8s forwards;
}

.social-media-icon:nth-child(2) {
    animation: slideInLeft 1s ease 2.0s forwards;
}

.social-media-icon:nth-child(3) {
    animation: slideInLeft 1s ease 2.2s forwards;
}

.social-media-icon:nth-child(4) {
    animation: slideInLeft 1s ease 2.4s forwards;
}

.social-media-icon:nth-child(5) {
    animation: slideInLeft 1s ease 2.6s forwards;
}

.social-media-image {
    width: 30px;
    filter: brightness(0.8);
}

.social-media-image:hover {
    filter: brightness(1);
}

.margin-top-200 {
    margin-top: 200px;
}

.main-section-child {
    margin-top: 17%;
    margin-right: 10%;
}

.heading {
    margin-bottom: 20px;
    display: none;
}

.name-of-heading {
    color: white;
    font-weight: bold;
    font-size: 20px;
    display: inline;
}

.heading-horizontal-line {
    display: inline-block;
    width: 200px;
    height: 1px;
    background: white;
    margin-right: 5px;
    position: relative;
    top: -0.3rem;
}

#about-me-section {
    word-spacing: 2px;
    line-height: 25px;
    letter-spacing: 0.3px;
}

.highlight {
    color: var(--bright_white);
    font-weight: 600;
}

.highlight:hover {
    color: var(--highlight);
}


.skill-sphere {
    text-align: center;
}

.tagcloud {
    display: inline-block;
    font-weight: 400;
    letter-spacing: 1px;
    font-size: 15px;
    color: var(--dim_white);
}

/* Change color of each text in sphere on hover   */
.tagcloud--item:hover {
    color: var(--bright_white);
}

.skill-name {
    background: #49b4bb29;
    display: inline-block;
    padding: 2px 16px;
    border-radius: 20px;
    margin-right: 10px;
    margin-top: 10px;
    color: var(--highlight);
    transition: color 0.4s;
    animation: slideInLeft 1s ease forwards;
}

.project-div {
    margin-bottom: 30px;
    padding: 10px 15px;
    border-radius: 5px;
    transition: background 0.5s;
    opacity: 0;
    animation: slideInLeft 1s ease 0.2s forwards;
}


.project-section-child {
    display: inline-flex;
}

.project-image {
    width: 150px;
    height: fit-content;
    border: 1px solid transparent;
}

.project-description-section {
    margin: 0 15px;
    opacity: 0;
    animation: slideInLeft 1s ease 0.8s forwards;
}

.project-name {
    font-weight: bolder;
    color: var(--bright_white);
    font-size: 18px;
    font-weight: 700;
    opacity: 0;
    animation: slideInLeft 1s ease 0.5s forwards;
}

.project-des {
    color: var(--dim_white);
}

.project-div:hover {
    background: #ffffff24;
}

.project-div:hover .project-image {
    border: 1px solid white;
}

.project-div:hover .project-name {
    color: var(--highlight);
}

.experience-section-index {
    display: flex;
    padding: 20px;
    border-radius: 5px;
    margin-bottom: 10px;
    transition: background-color 0.5s;
    color: var(--bright_white);
}

.experience-section-index:hover {
    background-color: #ffffff24;
}

.time-section {
    flex: 2;
    padding: 10px 10px 10px 0;
    font-size: 14px;

}

.about-experience-section {
    flex: 6;
}

.heading-job {
    margin-bottom: 5px;
}

.name-of-company {
    font-size: 18px;
    font-weight: 700;
    color: var(--bright_white);
    transition: color 0.5s;

}

.about-the-job {
    color: var(--dim_white);
}

.experience-section-index:hover .name-of-company {
    color: var(--highlight);
}

.position-name {
    color: var(--low_white);
}

.my-cv {
    font-weight: 600;
    position: relative;
    width: fit-content;
    padding-bottom: 3px;
    padding-right: 7px;
    color: white;
}

.my-cv::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--white);
    transition: width 0.1s ease;
}

.my-cv:hover::before {
    width: 100%;
}

.arrow {
    display: inline-block;
    margin-left: 5px;
    transition: transform 0.2s ease;
    font-weight: 900;
}

.my-cv:hover .arrow {
    transform: translateX(5px);
}


.light {
    position: fixed;
    top: 0;
    left: 0;
    width: 120%;
    height: 120%;
    pointer-events: none;
    background: radial-gradient(circle at var(--x) var(--y), transparent 10%, #000000b2);
}


.light.typeA.bottom {
    bottom: 0;
}


.projects-page {
    padding: 5% 7%;
}

.left-arrow {
    transform: translateX(0px);
    transition: transform 0.3s ease;
    font-size: 20px;
    color: var(--highlight);
}

.name-heading {
    width: fit-content;
}

.name-arrow {
    color: var(--highlight);
    font-size: 18px;
    font-weight: 800;
}

.name-heading:hover .left-arrow {
    transform: translateX(-8px);
}

.name-heading:hover .name-arrow {
    color: var(--highlight);
}

.project-page-title {
    font-size: 40px;
    color: white;
    margin: 0;
}

.table-div {
    padding: 2% 3%;
    text-align: center;
}

.head {
    color: var(--bright_white);
}

.row {
    border-bottom: 1px solid var(--bright_white);
    margin: 10px 20px 10px;
    display: inline-block;
    width: 40vh;
    text-align: left;
    padding: 10px 20px;
    opacity: 0;
    animation: appear 1s ease 0.2s forwards;
    transition: background 1s ease, border-bottom 1s;
    }

.row:hover {
    background: #ffffff24;
    border-bottom: none;
}

.col {
    margin-bottom: 10px;
}

.col-1 {
    color: var(--dim_white);
}

.col-2 {
    color: white;
    
}

.col-4 {
    color: var(--highlight);
}

@keyframes slideInDown {
    0% {
        transform: translateY(-15px);
        opacity: 0;
    }

    70% {
        opacity: 0.6;
    }


    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideInLeft {
    0% {
        transform: translateX(-20px);
        opacity: 0;
    }

    70% {
        opacity: 0.5;
    }


    100% {
        transform: translateX(0);
        opacity: 0.8;
    }
}

@keyframes slideInDown {
    0% {
        transform: translateY(20px);
        opacity: 0;
    }

    80% {
        opacity: 0.2;
    }


    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes appear {
    0% {
        opacity: 0;
        transform: translateX(-10px);
    }

    60% {
        opacity: 0.6;
        transform: translateX(-5px);
    }


    100% {
        opacity: 1;
    }
}

@media screen and (max-width : 1000px) {
    .container {
        display: block;
        margin: 0 5%;
    }

    .flex-child {
        width: 100%;
    }

    .margin-top-200 {
        margin-top: 50px;
    }

    .about-me {
        position: relative;
        height: 40vh;
    }

    .about-me-child {
        margin-left: 0;
    }

    .scroll-buttons {
        display: none;
    }

    .heading {
        display: block;
    }

    .main-section-child {
        margin: 100px 0 0 0;
        width: 100%;
    }

    .social-media {
        margin-top: 100px;
    }

    .project-section {
        margin-top: 100px;
    }

}


@media screen and (max-width : 700px) {
    /* .projects-page {
        padding: 60px 30px;
    } */
/* 
    .table-div {
        padding: ;
    } */
    /* .row {
        display: block;
    } */
}


@media screen and (max-width : 500px) {
    .project-section-child {
        display: block;
    }

    .project-description-section {
        margin: 0;
    }

    .experience-section-index {
        display: block;
        padding: 10px 15px;
    }
}