@font-face {
    font-family: 'One Day';
    src: url('./ONEDAY.ttf') format('truetype');
}

@font-face {
    font-family: 'kayak';
    src: url('./Kayak\ Sans\ Light.otf') format('truetype');
}

@font-face {
    font-family: 'azonix';
    src: url('./Azonix.otf') format('opentype');
}

@font-face {
    font-family: 'titty';
    src: url('./TitilliumWeb-Regular.ttf') format('truetype');
}

@font-face {
    font-family: 'league';
    src: url('./LeagueSpartan-Bold.otf') format('opentype');
}

@font-face {
    font-family: 'montserrat';
    src: url('./Montserrat-VariableFont_wght.ttf') format('truetype');
}

html {
    scroll-behavior: smooth;
}

.circle{
    position: absolute;
    width: 400px;
    height: 400px;
    background-color:  #6096b1;
    top:-200px;
    left:-200px;
    border-radius: 50%;
    z-index: -1;
}

body {
    margin: 0px;
    background-color: rgb(195, 216, 216);
}



.nav {
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    z-index: 1;
}

.nav-main {
    max-width: 1296px;
    padding: 16px 8px;
    box-sizing: border-box;
    color: white;
    width: 100%;
}

.intro {
    width: 100%;
    display: flex;
    align-items: center;
    flex-direction: column;
    z-index: 1;
    overflow: hidden;
    position: relative;
    margin: 16px 0px;
}




.intro-main {
    z-index: 999;
    max-width: 1296px;
    height: 100%;
    width: 100%;
    padding: 20px 24px;
    box-sizing: border-box;
    /* border: 1px solid black; */
    border-radius: 12px;
}

.navbar {
    display: flex;
    font-family: 'titty', sans-serif;
    font-weight: 800;
    background-color: #6E07F3;
    padding: 8px 16px;
    border-radius: 12px;
    align-items: center;
    justify-content: space-between;
}

.sections{
    display: block;
}



.sections ul {
    display: flex;
    list-style: none;
    gap: 32px;
    padding: 0px;
}

.sections ul li {
    list-style: none;
    font-size: 20px;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 8px;
    transition: background-color 0.3s ease-in-out, transform 0.2s ease-in-out;
    border: 1px solid transparent
}


.sections ul li:hover {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}



.introduction {
    width: 100%;
    display: flex;
    align-items: center;
    /* justify-content: center; */
    font-family: sans-serif;
}

.intro-flex {
    display: flex;
    gap: 10px;
    width: 100%;
    justify-content: center;
    justify-items: center;
    text-align: center;
}

.hero-line {
    /* width: 70%; */
    font-size: 36px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.nav-list a, .nav-list-main a {
    all: unset;
    display: block;
    cursor: pointer; 
}


.hero-line p {
    margin: 10px;
}

.my-name {
    font-size: 64px;
    font-family: 'One Day', sans-serif;
    word-wrap: unset;
    color: white;
    -webkit-text-stroke: 2px black;
}



.full-stack {
    font-size: 56px;
    font-family: 'league', sans-serif;
    font-weight: bold;
    background: linear-gradient(to right, #6E07F3, #4B0082, #6E07F3);
    background-size: 200% auto;
    color: white;
    background-clip: text;
    -webkit-background-clip: text;
    text-fill-color: transparent;
    -webkit-text-fill-color: transparent;
    animation: flowing-water 3s linear infinite;
}


.v-pic {
    width: 150px;
    display: flex;
    justify-items: center;
    margin-bottom: 16px;
    align-items: center;
    border-radius: 50%;
    padding: 4px;
    border: 4px solid greenyellow;
}

.my-pic {
    width: 100%;
    border-radius: 50%;
}


@keyframes flowing-water {
    0% {
        background-position: 0% 0%;
    }

    100% {
        background-position: -200% 0%;
    }
}

.greet {
    font-family: 'azonix', sans-serif;
    color: #6E07F3;
}

.my-profile-pic {
    display: flex;
    justify-content: end;
    align-items: center;
}

.my-profile-pic img {
    max-width: 250px;
    box-sizing: border-box;
    border-radius: 20px;
}

.about {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    flex-direction: column;
    background-color: #6E07F3;
    padding: 20px 0px;
    margin: 32px 0px;
}

.res-con{
    display: flex;
    gap:32px;
    margin:16px 0px;
    justify-content: center;
}

.butt-res-con{
    color: #fff;
    font-weight: 600;
    font-size: 18px;
    font-family: 'Arial', sans-serif;
    padding: 16px 20px;
    border-radius: 16px; 
    cursor: pointer;
    border: 4px solid transparent;
    background: linear-gradient(45deg, #6a11cb, #2575fc) border-box; 
    mask: 
      linear-gradient(#000 0 0) padding-box, 
      linear-gradient(#000 0 0);
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.about-main {
    z-index: 1;
    max-width: 960px;
    width: 100%;
    padding: 20px 24px;
    box-sizing: border-box;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.about-words {
    font-family: 'kayak', sans-serif;
    font-size: 20px;
    font-weight: 400;
    color: white;
}

.about h1 {
    margin: 0;
    font-size: 36px;
    margin-bottom: 20px;
    font-family: 'league', sans-serif;
    color: black;
}

.coder {
    font-family: 'azonix', sans-serif;
    font-weight: 400;
    display: inline-block;
    animation: enlargeScale 2s ease-in-out infinite;
}

@keyframes enlargeScale {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}


.about-data {
    display: flex;
    position: relative;
    gap: 10px;
}


.about-words p {
    margin: 0;
    font-size: 20px;
    color: white;
}


.selected {
    background-color: #4169E1;
    color: #FFFFFA;
    transition: 0.3s ease-in-out;
}


.skill-set {
    display: flex;
    justify-content: start;
    margin-bottom: 20px;
}

.skill-menu {
    display: flex;
    font-size: 20px;
    gap: 16px;
    font-family: 'kayak', sans-serif;
}

.skill-menu p{
    margin: 0;
}

.skills {
    width: 100%;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    position: relative;
    margin: 32px 0px;
}

.skills h1{
    margin: 0;
    font-size: 36px;
    margin-bottom: 20px;
}


.skills-con{
    max-width: 1296px;
    width: 100%;
    padding: 20px 24px;
    box-sizing: border-box;
    gap:16px;
}



.skills-main {
    width: 100%;
    box-sizing: border-box;
    border-radius: 20px;
}



.frontend-container {
    width: 100%; 
    gap: 20px;
    justify-content: start;
    flex-wrap: wrap;
}

.others-container {
    width: 100%;
    gap: 20px;
    justify-content: start;
    flex-wrap: wrap;
}

.backend-container {
    width: 100%;
    gap: 20px;
    justify-content: start;
    flex-wrap: wrap;
}

#frontend,
#backend,
#others {
    cursor: pointer;
    padding: 10px;
    border-radius: 10px;
}



.skill-card-item {
    font-family: 'kayak', sans-serif;
    display: flex;
    background: rgba(255, 255, 255, 0.25);
    border: 2px solid #2d2a2a;
    gap: 8px;
    align-items: center;
    justify-content: center;
    padding: 0px 8px;
    border-radius: 12px;
    flex-grow: 1;
}


.skill-card p {
    margin: 0;
}

.skill-card-item img {
    height: 30px;
}


.contact-me {
    width: 100%;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    background-color: #6E07F3;
    margin-top: 50px;
}

.contact-me-main {
    max-width: 1296px;
    width: 100%;
    padding: 20px 24px;
    box-sizing: border-box;
}

.contact-info {
    display: flex;
    justify-content: space-between;
    font-family: 'montserrat', sans-serif;
    color: white;
    gap: 50px;
}

.imp-links a {
    text-decoration: none;
    color: inherit;
}

.imp-links ul {
    list-style-type: none;
    padding: 0;
    margin-left: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.skill-title p{
    font-family: 'kayak', sans-serif;
    font-size: 20px;
    text-align: justify;
}

.imp-links ul li {
    margin-bottom: 5px;
}

.p-line {
    height: 1.5px;
    width: 100%;
    background-color: white;
    margin-bottom: 20px;
}

.end-content {
    display: flex;
    width: 100%;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}



.social-media {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-left: 10px;
    margin-right: 10px;
}

.c-icons {
    padding: 10px;
    border: 2px solid black;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.c-icons a {
    height: 20px;
    width: 20px;
}

.start-project {
    width: 100%;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
}

.start-project-main {
    top: -20px;
    border: 2px solid black;
    width: auto;
    padding: 20px 24px;
    box-sizing: border-box;
    background-color: rgb(18, 18, 72);
    border-radius: 20px;
    position: relative;
    margin: 0px 10px;
    display: flex;
    gap: 50px;
    align-items: center;
    color: white;
    text-align: center;
}

.start-project-main h3,
.start-project-main p {
    margin: 0px;
}

.start-project-main h3 {
    font-family: 'league', sans-serif;
}

.start-project-main p {
    font-family: 'montserrat', sans-serif;
    font-weight: 600;
}

.start-project-main button {
    font-family: 'montserrat', sans-serif;
    font-weight: 600;
    color: white;
    padding: 10px;
    border-radius: 20px;
    border: 2px solid greenyellow;
    background-color: rgb(18, 18, 72);
    cursor: pointer;
    transition: 0.3s smooth;
}

.start-project-main button:hover {
    scale: 1.05;
}

.hamburger-icon{
    width: 50px;
    display: none;
    cursor: pointer;
}

.name-icon{
    width: 50px;
    height: 50px;
}

.timeline{
    width: 100%;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    margin: 32px 0px;
}

.timeline-main{
    max-width: 1296px;
    width: 100%;
    padding: 20px 24px;
    box-sizing: border-box;
}

.timelines{
    display: flex;
    flex-direction: column;
    font-family: 'kayak', sans-serif;
    font-size: 20px;
}

.timelines h1{
    margin: 0;
    font-size: 36px;
    margin-bottom: 20px;
    font-family: 'league', sans-serif;
    color: black;
}

.timeline-1{
    border-left: 4px solid #6E07F3;
}

.inner-timeline-1{
    padding: 0px 32px;
    display: flex;
    flex-direction: row;
    gap:64px;
}

.inner-timeline-1 img {
    width: 150px;
    border-radius: 20px;
    border: 1px solid rgba(11, 11, 11, 0.3);
}


.time-desc ul{
    padding-left: 0px;
}

.time-desc ul li{
    margin-bottom: 8px;
}

.time-img{
    display: flex;
    flex-direction: column;
    justify-content:start;
}

.company-desc-up{
    display: none;
}


@media screen and (max-width:500px)
{

    .res-con{
        gap:16px;
        flex-direction: column;
    }

    .res-con button{
        font-size: 16px;
        padding: 8px 16px;
    }

}


@media screen and (max-width:768px) {

    .inner-timeline-1{
        flex-direction: column;
        gap:0px;
        padding: 0 0 0 32px;
    }

    .time-img{
        flex-direction: row-reverse;
        gap:16px;
        align-items: center;
    }

    .inner-timeline-1 img{
        width:96px;
        height:96px;
    }

    .company-desc{
        display: none;
    }

    .company-desc-up{
        display: block;
    }

    .sections{
        display: none;
    }
    .my-name {
        font-size: 48px;
    }

    .full-stack {
        font-size: 48px;
    }


    .start-project-main {
        flex-direction: column;
        gap: 20px;
    }

    .contact-info {
        flex-direction: column;
        align-items: start;
        justify-content: center;
        gap: 0;
    }

    .hamburger-icon{
        display: block;
    }
}

@media screen and (max-width:600px) {
    .about-words {
        font-size: 20px;
    }

    .intro-flex {
        flex-direction: column-reverse;
        gap: 20px;
        align-items: center;
    }

    .my-profile-pic {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .my-profile-pic img {
        width: 50%;
    }



    .hero-line {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .hero-line .content {
        width: 90%;
    }
}



@media screen and (max-width:450px) {
    .company-desc-up{
        font-size: 24px;
    }

    .intro {
        padding: 0px;
    }


    .icon {
        display: none;
    }


    .skill-menu {
        gap: 8px;
    }


    .about-words {
        font-size: 20px;
    }


    .contact-grid {
        grid-template-columns: repeat(1, 1fr);
    }

    .hero-line {
        font-size: 30px;
    }

    .greet {
        font-size: 23px;
    }

    .my-name {
        font-size: 38px;
        -webkit-text-stroke: 1.5px black;
    }

    .full-stack {
        font-size: 21px;
    }
}

@media screen and (max-width:600px) and (min-width:450px) {
    .full-stack {
        font-size: 30px;
    }
}