@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;1,100;1,200;1,300;1,400;1,500;1,600;1,700&family=Montserrat:ital,wght@0,100..900;1,100..900&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&family=Space+Grotesk:wght@300..700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    font-family: "Space Grotesk", sans-serif;
    /* font-family: "Montserrat"; */
    user-select: none;
    background-color: #F3F4F6;
    scroll-behavior: smooth;
}


header {
    height: 60px;
    width: 100%;
    position: fixed;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 10%;
    z-index: 1000;
    background-color: #000000;
}

header .nav-header,
header .nav-links {
    display: inline;
}

header .nav-title {
    display: inline-block;
    font-size: 22px;
    color: #fff;
    padding: 10px;
    text-transform: uppercase;
}

header .nav-btn {
    display: none;
}


header .nav-links a {
    display: inline-block;
    padding: 13px 10px;
    text-decoration: none;
    color: whitesmoke;
    transition: transform 0.3s ease-in-out;
}

header .nav-links a:hover {
    color: #0088a9;
    transform: scale(1.2) rotate(2deg);
}

header #nav-check,
header .contact-btn {
    display: none;
}


header .contact-btn {
    display: inline-block;
    padding: 9px 25px;
    background-color: #0088a9;
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    border: 1px solid black;
    transition: transform 0.5s ease-in-out;
}

header .contact-btn:hover {
    opacity: 0.8;
    box-shadow: 2px 2px;
    transform: scale(0.9) rotate(-2deg);
}

main {
    position: relative;
    display: flex;
    justify-content: center;
}

.sec-1 {
    background: url("assets/wave-1.svg");
    position: absolute;
    width: 100%;
    height: 700px;
    top: 50px;
    background-size: cover;
    background-position: center;
}


.sec-1-h1 {
    position: relative;
    margin-top: 50px;
    margin-bottom: 10px;
    padding: 20px;
    padding-top: 40px;
    font-size: 1.5rem;
    text-align: center;
    color: rgb(0, 0, 0);
}

.name-container, .goal-container {
    position: relative;
    display: inline-block;
    transition: transform 0.3s ease-in-out;
}

.first-child, .second-child, .third-child {
    position: relative;
    background-color: #fff;
    border: 1px solid black;
    border-radius: 5px;
    padding:4px;
    text-align: center;
    top: 0;
    left: 0;
}


.first-child {
    position: absolute;
    z-index: 1;
    left: -3px;
    top: -2px;
    opacity: 0.5;
    border: 0.5px solid black;
}

.second-child {
    position: absolute;
    z-index: 2;
    left: -2px;
    top: -3px;
    opacity: 0.8;
}

.third-child {
    position: relative;
    z-index: 3;
}

.name-container:hover {
    transform: rotate(2deg);
}

.goal-container:hover {
    transform: rotate(-2deg);
}

.sec-2 {
    margin-top: 50px;
}

.sec-2, a {
    text-decoration: none;
    color: #000000;
}

h2 {
    text-align: center;
    font-size: 1.5rem;
    margin-top: 30px;
}
.project-card {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 10px;
    padding-top: 10px;
    max-width: 1000px;
    margin: auto;
}

.working-project-grid {
    background: white;
    border-radius: 5px;
    border: 1px solid rgb(63, 63, 63);
    box-shadow: 5px 5px rgba(0, 0, 0, 0.1);
    text-align: left;
    position: relative;
    height: 150px;
    display: flex;
    flex-direction: column  ;
}

.working-project-grid-header {
    display: flex;
    align-items: center;
}

.window-controls {
    display: flex;
    gap: 0.4rem;
    padding: 5px;
}

.red-dot, .yellow-dot, .green-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}

.red-dot {
    background-color: #ff5f57;
}

.yellow-dot {
    background-color: #ffbd2e;
}

.green-dot {
    background-color: #28c840;
}

.line {
    width: 100%;
    border: 1px solid black;
}

.short-Description {
    padding: 10px;
    display: flex;
    flex-direction: column;
}

.short-Description {
    margin-top: 2px;
}

.desc-1 {
    font-size: 0.7rem;
    /* padding-top: 0.5em; */
    /* margin-bottom: -6px; */
}
.desc-1 > h3 {
    font-size: 1.2rem;
}

.desc-2 {
    width: 1/2;
    font-size: 0.7rem;
    /* padding-top: 0.5em; */
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tech-stack {
    display: flex;
    font-size: 0.8rem;
}
.circle {
    margin-top: 39px;
    width: 8px;
    height: 8px;
    background-color: #0088a9;
    border-radius: 50%;
    gap: 10px;
}

.tech-stack-name {
    margin-top: 35px;
    padding-left: 5px;
}

.work {
    position: absolute;
    font-size: 0.5rem;
    font-weight: 600;
    border: 1px dashed black;
    background-color: #ffbd2e;
    width: 60px;
    height: 15px;
    padding-top: 2px;
    text-align: center;
    right: 10px;
    bottom: 10px;
}

.sec-2-article {
    transition: transform 0.5s ease-out;
}

.sec-2-article:hover {
    transform: scale(0.9) rotate(2deg);
}

.project-name:hover {
    color: rgb(82, 82, 208);
    text-decoration: underline;
}


.socials-links {
    margin-top: 30px;
    margin-bottom: 10px;
    gap: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.icon-1 {
    width: 28px;
}
.icon-2 {
    width: 20px;
}
.icon-3 {
    width: 25px;
}

.github-icon, .twitter-icon, .linked-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    transition: transform 0.8s ease-in-out;
}

.github-icon:hover,
.twitter-icon:hover,
.linked-icon:hover {
    background-color: #ffffff;
    transform: scale(0.8);
    opacity: 0.8;
}

.about-me-sec {
    font-size: 1.2rem;
    width: 100%;
    font-family: "Space Grotesk", sans-serif;
    position: absolute;
    height: 500px;
    top: 600px;
    display: flex;
    flex-direction: column;
    /* background-color: #ffae00; */
    justify-content: center;
    position: relative;
    
}

.about-me-div {
    margin: 160px;
    margin-bottom: 0px;
    padding: 50px;
    height: 600px;
    display: flex;
    justify-content: space-between;
}

.about-me-div-child-1 {
    width: 2000px;
    height: auto;
    font-size: 1.5rem;
    display: flex;
    flex-direction: column;
    padding: 30px;
    gap: 0.5em;
}

.about-me-p-1, .about-me-p-2 {
    font-size: 1rem;
}


.resume-btn {
    margin-top: 80px;
    position: relative;
    display: inline-block;
    text-decoration: none;
}

.span-1, .span-2, .span-3 {
    text-align: center;
    padding: 10px;
    border-radius: 5px;
    color: #000000;
    border: 1px solid black;
    box-sizing: border-box;
    background-color: #ffbd2e;
    font-size: 1rem;
    display: inline-block;
    position: absolute;
    width: 160px;
    font-size: 300;
}

.span-1 {
    position: absolute;
    z-index: 1;
    left: 6px;
    top: 6px;
    opacity: 0.4;
}

.span-2 {
    position: absolute;
    z-index: 2;
    left: 3px;
    top: 3px;
    opacity: 0.6;
}

.span-3 {
    position: relative;
    z-index: 3;
}

.resume-btn {
    transition: transform 1s ease-out;
}

.resume-btn:hover {
    transform: scale(0.9) rotate(-4deg);
}

.btn-div:hover {
    background-color: #f8db9c;
    text-decoration: underline;
}

.about-me-div-child-2 {
    width: 100%;
    height: auto;
    /* display: flex; */
}

.images-div {
    position: relative;
}

.written-content {
    position: absolute;
    right: 202px;
    top: 2px;
}

.image-size-1 {
    width: 350px;
}

.self-image {
    position: relative;
    width: 500px;
    height: 100%;
}

.self-image-circular-1, .self-image-circular-2, .self-image-circular-3 {
    position: absolute;
    width: 256px;
    height: 256px;
    border-radius: 50%;
    box-sizing: border-box;
    border: 0.5px solid black; 
    right: 50px;
    top: 40px;
    padding-top: 30px; 
}

.self-image-circular-1 {
    position: relative;
    background: url("assets/gray-scale-photo.jpg");
    background-position: center;
    background-size: 210px;
    background-repeat: no-repeat;
    left: 200px;
    border: 2px solid rgb(64, 64, 64);
    z-index: 3;
    background-color: #1d1d1d;
    box-shadow: 10px 10px 10px rgba(0, 0, 0, 0.8);
}
.self-image-circular-2 {
    left: 205px;
    z-index: -2;
    opacity: 0.6;
}

.self-image-circular-3 {
    z-index: -1;
    left: 202px;
    opacity: 0.4;
}

.about-my-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    height: 500px;
    text-align: center;
    margin-right: 200px;
    margin-left: 230px;
    max-width: 1000px;
    gap: 2rem;
    top: 5px;
}

.about-my-section-arcticle {
    box-sizing: border-box;
    border: 1px solid black;
    padding: 5px;
    height: auto;
    border-radius: 5px;
}

.content {
    display: flex;
    flex-direction: column;
    gap: 0.5em;
}


.Project-sec {
    position: absolute;
    width: 100%;
    height: 840px;
    top: 1220px;
    background-color: #fff;
    font-family: "Space Grotesk", sans-serif;
}

.Project-sec-article {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    /* Align h1 and p to left */
    padding: 50px 130px;
    height: 100%;
    font-size: 1.5rem;
    gap: 30px;
}

.Project-sec-article-first-para {
    font-size: 1.2rem;
    /* margin-top: 20px; */
}


.link {
    text-decoration: underline;
    background-color: #ffbd2e;
    padding: 2px 5px;
    border-radius: 5px;
}

/* LeetCode container centered separately */
.leetcode-link {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 30px;
}
.leetcode-image {
    width: 80%;
    max-width: 860px;
    height: 300px;
    border-radius: 12px;
}

.leetcode-container {
    cursor: pointer;
    position: relative;
    z-index: 2;
    height: auto;
    width: 600px;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 12px;
    /* border-width: 5px;
    border-style: solid;
    border-image:
            linear-gradient(to bottom,
                red,
                rgba(0, 0, 0, 0)) 1 100%; */
    background: #0f0c29;
        /* fallback for old browsers */
        background: -webkit-linear-gradient(to right, #24243e, #302b63, #0f0c29);
        /* Chrome 10-25, Safari 5.1-6 */
        background: linear-gradient(to right, #24243e, #302b63, #0f0c29);
        /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
    padding: 10px;
}

.leetcode-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
}


#last-section {
    position: absolute;
    height: 600px;
    top: 2050px;
    width: 100%;
    /* background-color: #000000; */
}

.svg-file {
    background-image: url("assets/white-black.svg");
    width: 100%;
    height: 100%;
    max-height: 320px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}


.about-page {
    width: 100%;
    height: 100%;
    background-color: #000000;
    color: #fff;
    position: absolute;
    padding: 40px;
}

.container-2 {
    display: flex;
    justify-content: space-between;
    align-items: center;   
    flex-wrap: wrap;
    gap: 5rem;
    margin-right: 40px;
    margin-left: 40px;
    padding-top: 20px;
    padding-left: 20px;
}

.footer-div {
    position: relative;
    top: 120px;
}

.contact-form {
    flex: 1;
    max-width: 500px;
    padding: 20px;
}

.heading-contact {
    font-size: 4rem;
    text-align: center;
    padding-bottom: 20px;
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form input,
.contact-form textarea {
    padding: 0.8rem;
    border-radius: 8px;
    border: none;
}

/* .contact-form textarea {
    
} */

.contact-form button {
    padding: 0.8rem;
    background: #1f6feb;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    width: 40%;
    align-self: center;
    font-size: 1.2rem;
    font-weight: 900;
    border: 1px solid black;
    transition: transform 0.5s ease-in-out;
}

.contact-form button:hover {
    opacity: 0.8;
    background-color: #0567f8;
    box-shadow: 2px 2px;
    transform: scale(0.9) rotate(-2deg);
}

.tech-stack-last {
    height: 100%;
    margin: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.tech-stack-last canvas {
    width: 650px;
    height: 300px;
    display: block;
    border-radius: 20px;
}
