
@import url('https://fonts.googleapis.com/css2?family=Alfa+Slab+One&family=Archivo+Black&family=Boldonse&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Josefin+Sans:ital,wght@0,100..700;1,100..700&family=Rubik+Mono+One&family=Space+Mono:ital,wght@0,400;0,700;1,400;1,700&family=Special+Gothic+Expanded+One&display=swap');



:root {
    --second-text-color: rgb(191, 190, 190);
    --comment-color: #6a9955;
    --text-color: whitesmoke;
    --main-color: linear-gradient(90deg, #00eaff, #0040ff);
    --second-main-color: #26d6d6;
    --timeline-color: #2c3d72;
    --error-color: #f14c4c;
    --bg-color: #100e17;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    scroll-behavior: smooth;
    font-family: "Poppins";
    color: var(--text-color);
}
body {
    background: url('image/bg.jpg') no-repeat center center fixed;
    background-size: cover;
    background-color: #0f0d16;
}
@media (max-width: 480px) {
    body {
        background: url('image/bg_h.jpg') no-repeat center center fixed;
        background-size: cover;
        background-color: #0f0d16;
    }
}
::-webkit-scrollbar {
    width: 15px;
}
::-webkit-scrollbar-thumb {
    background-color: #2d283a;
}
::-webkit-scrollbar-track {
    background-color: #100e17;
}

/* Header part */
.header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2.5rem;
    background-color: rgba(16, 14, 23, 0.3);
    backdrop-filter: blur(20px);
    z-index: 1000;
}
.logo-container {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    border-left: 0.5rem solid var(--text-color);
}
.logo-box {
    margin-left: 0.5rem;
    display: flex;
    align-items: center;
    padding: 0.5rem 0rem 0.5rem 0;
    cursor: pointer;
    width: 100%;
    white-space: nowrap;
}
.logo pre{
    font-family: "Josefin Sans", sans-serif;
    letter-spacing: 1px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color);
    transition: 0.05s ease-in-out;
}

.navbar a span {
    color: rgb(191, 190, 190);
    font-family: monospace;
    font-size: 1.1rem;
}
.navbar a {
    font-family: monospace;
    margin-left: 1.4rem;
    color: var(--comment-color);
    font-weight: 900;
    font-size: 1.1rem;
    position: relative;
}
.navbar a::after {
    content: '';
    background-color: var(--second-main-color);
    width: 0;
    height: 3px;
    position: absolute;
    left: 0px;
    bottom: -5px;
    transition: 150ms ease-in-out;
}
@media (min-width: 769px) {
    .navbar a:hover::after {
        width: 100%;
    }
    .navbar span:hover {
        color: var(--second-main-color);
    }
}

/* Default (desktop) */
.menu-toggle {
    display: none;
    font-size: 1.8rem;
    color: var(--text-color);
    cursor: pointer;
}
.cross-bar {
  display: none; /* start hidden */
  font-size: 1.8rem;
  color: var(--text-color);
  cursor: pointer;
}

/* Mobile only */
@media (max-width: 480px) {
    .header {
        align-items: flex-start;
        padding: 1.3rem 1.5rem;
    }
    .logo-container {
        width: 100%;
        justify-content: space-between;

    }
    .logo-box pre {
        font-size: 1.1rem;
    }
    .menu-toggle {
        display: block;
        font-size: 1.3rem;
    }
    .navbar {
        position: fixed;
        top: 0;
        left: -100%;
        height: 100vh;
        width: 200px;
        background-color: rgba(16, 14, 23, 0.95);
        backdrop-filter: blur(20px);
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        padding: 5rem 1rem;
        transition: left 0.3s ease-in-out;
        z-index: 999;
    }
    .navbar.show {
        left: 0;
    }
    .navbar a {
        margin: 1rem 0;
        font-size: 1.1rem;
    }
    .navbar a span {
        font-size: 1rem;
    }
}


/* Sidebar */
.sidebar {
    background: #010413f8;
    height: 100vh;
    width: 80%;
    position: fixed;
    z-index: 10;
    padding: 7rem 1rem 2rem 1rem;
    right: 0;
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
}
.sidebar.show {
  transform: translateX(0);
  display: block;
}

@media (min-width: 481px) {
  .sidebar {
    display: none !important; /* force hidden on desktop */
  }
}
.sidebar-container {
    border: 1px solid var(--timeline-color);
    border-radius: 10px;
    padding: 1rem;

}
.extra-top {
    display: flex;
    padding-bottom: 1rem;
    justify-content: space-between;
}
.sidebar-logo {
    display: flex;
}
.sidebar-content {
    padding: 1rem;
    background: #011323;
    border-radius: 8px;

}
.top {
    margin-top: 0.8rem;
    margin-bottom: 1.5rem;
    text-align: center;
}
.top span {
    font-family: sans-serif;
    background: var(--main-color);
    background-clip: text;          
    -webkit-background-clip: text;
    color: transparent;          
    -webkit-text-fill-color: transparent;
    font-size: 2rem; 
}
.middle {
    display: flex;
    flex-direction: column;
    margin-top: 2rem;
}
.middle a span {
    color: rgb(255, 255, 255);
    font-family: monospace;
    font-size: 0.8rem;
}
.middle a {
    font-family: monospace;
    margin-bottom: 0.5rem;
    color: var(--comment-color);
    font-weight: 900;
    font-size: 1rem;
    background: rgba(2, 10, 25, 0.935);
    padding: 0.5rem;
    border-radius: 5px;
    display: flex;
    align-items: center;
}
.lower {
    text-align: center;
    margin-top: 3rem;
}
.lower p {
    font-family: sans-serif;
    font-size: 0.8rem;
    line-height: 1.2rem;
}



/* Home section */
.home {
    padding: 10% 10% 0 10%;
}
.home-timeline {
    height: 100%;
    /* height: auto; */
    border-left: 2px solid var(--timeline-color);
    position: relative;
}
.home-timeline::before {
    content: '';
    height: 1rem;
    width: 1rem;
    position: absolute;
    background-color: var(--timeline-color);
    border-radius: 50%;
    left: -9px;
    top: -15px;
}
.home-timeline-pointer {
    margin: 2rem 0 0 2rem;
    display: inline-block;
    padding: 0.5rem;
    font-family: monospace;
    color: var(--error-color);
    font-size: 1rem;
    font-weight: 600;
    position: relative;
    border: 2px solid var(--timeline-color);
    
}
.home-timeline-pointer::before {
    content: '';
    height: 2px;
    width: 2rem;
    position: absolute;
    background-color: var(--timeline-color);
    top: 50%;
    left: -2.1rem;
}
.home-timeline-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 7rem;
    padding: 2.5rem 0 0 5rem;
}
.comment {
    font-family: monospace;
    font-size: 0.9rem;
    color: var(--comment-color);
}
.home-timeline-content-text h1 {
    font-size: 4rem;
    color: var(--second-text-color);
    margin-top: 1.5rem;
}
.home-timeline-content-text h1 span {
    background: var(--main-color);
    background-clip: text;          
    -webkit-background-clip: text;
    color: transparent;          
    -webkit-text-fill-color: transparent;
}

.career-line {
    display: flex;
    align-items: center;
    margin-top: 0.6rem;
}
.career-text {
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 2rem;
    color: var(--second-text-color);
    font-weight: 550;
    letter-spacing: -2px;
}
.career-text span {
    background: var(--main-color);
    background-clip: text;          
    -webkit-background-clip: text;
    color: transparent;          
    -webkit-text-fill-color: transparent;
    font-weight: 550;
    letter-spacing: 1px;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 2.5rem;
}

.home-about-comment {
    margin-top: 1.1rem;
}
.home-about-comment-pair {
    line-height: 1.3rem;
    letter-spacing: 1px;
}
.home-about {
    font-family: monospace;
    font-size: 1rem;
    letter-spacing: 1px;
    line-height: 1.3rem;
    color: var(--comment-color);
}
.home-timeline-content-img img {
    height: 20rem;
    width: 20rem;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 90px 10px #25303bea;
    transition: 0.2s ease;
}
@media (min-width: 769px) {
    .home-timeline-content-img img:hover {
        box-shadow: 0 0 90px 15px #25303b;
    }
}

.social-media {
    display: flex;
    gap: 1.5rem;
    margin-top: 1rem;
}
.social-media a {
    height: 3rem;
    width: 3rem;
    background: transparent;
    position: relative;
    padding: 5px 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: 1.3px solid rgb(36, 41, 46);
    border-radius: 50%;
    overflow: hidden;
    transition: color 0.3s  ease-out;
} 
.social-media a i {
    color: var(--second-text-color);
    transition: color 0.3s  ease-out;
}
.social-media a::before {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    content: "";
    width: 20em;
    height: 20em;
    left: -5em;
    transition: box-shadow 0.5s ease-out;
    z-index: -1;
}
@media (min-width: 769px) {
    .social-media a:hover i {
        color: black;
    }
    .social-media a:hover::before {
        box-shadow: inset 0 0 0 10em var(--second-main-color);
    }
}

.button {
    margin-top: 1rem;
    font-family: "Josefin Sans", sans-serif;
    font-size: 1.2rem;
    padding: 0.7em 1.7em;
    border: 2px solid rgb(36, 41, 46);
    position: relative;
    overflow: hidden;
    background-color: transparent;
    text-align: center;
    transition: .3s;
    z-index: 1;
    color: var(--second-text-color);
    cursor: pointer;
}
.button::before {
    content: '';
    width: 0;
    height: 350%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
    background: var(--second-main-color);
    transition: .5s ease;
    display: block;
    z-index: -1;
}
@media (min-width: 769px) {
    .button:hover::before {
        width: 100%;
    } 
    .button:hover {
        color: #111;
        border: 2px solid rgb(36, 41, 46);
    }
}
.button-getInTouch {
    margin-left: 1.5rem;
}

/* mobile view for home section */
@media (max-width: 480px) {
    .home {
        padding: 35% 1.2rem 0 1.2rem;
        height: auto;
    }
    .home-timeline {
        border-left: 2px solid var(--timeline-color);
        margin-left: 0.5rem;
        height: 100%;
    }
    .home-timeline-content {
        flex-direction: column-reverse;
        align-items: center;
        gap: 1.5rem;
        padding: 1.7rem 0 0 1rem;
    }
    .home-timeline-pointer {
        margin-left: 1rem;
        font-size: 0.9rem;
        padding: 0.4rem;
    }
    .home-timeline-pointer::before {
        width: 1.2rem;
        left: -1.2rem;
    }
    .home-timeline-content-img img {
        height: 12rem;
        width: 12rem;
        box-shadow: 0 0 90px 5px #2c3945;
    }
    .home-timeline-content-text h5 {
        text-align: center;
    }
    .home-timeline-content-text h1 {
        font-size: 1.9rem;
        text-align: center;
    }
    .career-line {
        justify-content: center;
        align-items: center;
        margin-top: 0.5rem;

    }
    .career-text, 
    .career-text span {
        font-size: 0.98rem;
        text-align: center;
        letter-spacing: 1px;
    }
    .career-text span {
        font-size: 1.2rem;
    }
    .home-about-comment {
        margin-top: 1rem;
    }
    .home-about-comment-pair,
    .home-about {
        font-size: 0.75rem;
        text-align: center;
        letter-spacing: 0.8px;
    }
    .social-media {
        justify-content: center;
        gap: 1rem;
        flex-wrap: wrap;
    }
    .social-media a {
        height: 2.8rem;
        width: 2.8rem;
        font-size: 1.3rem;
    }
    .home-button {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.2rem;
    }
    @media (max-width: 323px) {
        .home-button {
            flex-direction: column;
            align-items: center;
            justify-content: center;
        }
    }
    .button {
        margin-top: 1.5rem;
        padding: 0.6em 1.4em;
        font-size: 1rem;
        text-wrap: nowrap;
    }

}



/* About section */
.about {
    padding: 0 10% 0 10%;
}
.about-timeline {
    border-left: 2px solid var(--timeline-color);
    position: relative;
    /* height: 100%; */
}
.about-timeline-pointer {
    margin: 6rem 0 0 2rem;
    display: inline-block;
    padding: 0.5rem;
    font-family: monospace;
    color: var(--error-color);
    font-size: 1rem;
    font-weight: 600;
    position: relative;
    border: 2px solid var(--timeline-color);
    
}
.about-timeline-pointer::before {
    content: '';
    height: 2px;
    width: 2rem;
    position: absolute;
    background-color: var(--timeline-color);
    top: 50%;
    left: -2.1rem;
}
.about-timeline p {
    font-size: 0.9rem;
    font-family: sans-serif;
    letter-spacing: 1.1px;
    line-height: 1.5rem;
    padding: 2.5rem 0 0 5rem;
}
.about-timeline-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 7rem;
    padding: 2.5rem 0 0 5rem;
}
.about-details {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.5rem;
}
.education {
    border: 1px solid var(--timeline-color);
    border-radius: 10px;
    background-color: #03111f60;
    padding: 1rem;
    overflow: hidden;
}
.education h3 {
    background: var(--main-color);
    background-clip: text;          
    -webkit-background-clip: text;
    color: transparent;          
    -webkit-text-fill-color: transparent;
    font-family: sans-serif;
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}
.education li {
    font-family: sans-serif;
    font-size: 0.9rem;
    line-height: 1.3rem;
    letter-spacing: 1px;
    font-weight: 100;
}
.location-email {
    display: flex;
    align-items: center;
    justify-content: space-between;  
}
.about-location {
    border: 1px solid var(--timeline-color);
    border-radius: 10px;
    background-color: #03111f60;
    padding: 1rem;
    width: 48%;
}
.about-location h3 {
    background: var(--main-color);
    background-clip: text;          
    -webkit-background-clip: text;
    color: transparent;          
    -webkit-text-fill-color: transparent;
    font-family: sans-serif;
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}
.about-location h5 {
    font-family: sans-serif;
    font-size: 0.9rem;
    font-weight: 100;
}
.about-email {
    border: 1px solid var(--timeline-color);
    border-radius: 10px;
    background-color: #03111f60;
    padding: 1rem;
    width: 48%;
}
.about-email h3 {
    background: var(--main-color);
    background-clip: text;          
    -webkit-background-clip: text;
    color: transparent;          
    -webkit-text-fill-color: transparent;
    font-family: sans-serif;
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}
.about-email h5 {
    font-family: sans-serif;
    font-size: 0.9rem;
    font-weight: 100;
}
.about-card {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--timeline-color);
    background: #010d18;
    border-radius: 10px;
}
.about-card-top {
    display: flex;
    padding: 1rem;
}
.about-logo {
    display: flex;

}
.about-card-container {
    padding: 0 1rem 1rem 1rem;
}
.about-card-container pre {
    font-family: monospace;
    line-height: 1rem;
    font-size: 0.8rem;
    white-space: pre-wrap;
    word-break: break-word;
    padding: 1.2rem;
    width: 340px;
    background: #041a2f61;
    border-radius: 10px;
}

@media (max-width: 480px) {
    .about {
        padding: 0 1.2rem;
        overflow: hidden;
    }
    .about-timeline {
        margin-left: 0.5rem;
        height: 100%;
    }
    .about-timeline-pointer {
        margin: 2rem 0 0 1rem;
        font-size: 0.85rem;
        padding: 0.4rem;
    }
    .about-timeline-pointer::before {
        width: 1.2rem;
        left: -1.2rem;
    }
    .about-timeline p {
        margin: 1rem;
        padding: 1rem;
        font-size: 0.8rem;
        text-align: center;
    }
    .about-timeline-content {
        margin-top: 1.5rem;
        flex-direction: column-reverse;
        gap: 2rem;
        padding: 2rem 0 0 1rem;
        text-align: center;
        justify-content: center;
    }
    .about-card {
        flex-direction: column;
        border-radius: 10px;
        margin: 1rem;
    }

    .about-card-top {
        flex-direction: column;
        padding: 0.8rem;
        gap: 0.5rem;
    }

    .about-logo {
        align-items: center;
    }

    .about-card-container {
        padding: 0 0.8rem 1rem 0.8rem;
    }

    .about-card-container pre {
        width: 100%;
        font-size: 0.6rem;
        line-height: 1.3rem;
        padding: 0.7rem;
        background: #041a2f61;
        border-radius: 8px;
        overflow-x: auto;
        text-align: left;
    }
    .about-timeline-content-text p {
        font-size: 0.7rem;
        line-height: 1.4rem;
        letter-spacing: 0.8px;
        font-weight: 100;
    }
    .about-details {
        gap: 1.2rem;
        margin-top: 2rem;
    }
    .education h3,
    .about-location h3,
    .about-email h3 {
        font-size: 1.3rem;
        text-align: center;
    }
    .education li {
        font-size: 0.7rem;
        line-height: 1.2rem;
        text-align: left;
    }
    .location-email {
        flex-direction: column;
        gap: 1.2rem;
    }
    .about-location,
    .about-email {
        width: 100%;
        text-align: center;
    }
    .about-location h5,
    .about-email h5 {
        font-size: 0.85rem;
    }
}




/* Skill section */
.skill {
    padding: 0 10% 0 10%;
}
.skill-timeline {
    border-left: 2px solid var(--timeline-color);
    position: relative;
    height: 100%;
}
.skill-timeline-pointer {
    margin: 6rem 0 0 2rem;
    display: inline-block;
    padding: 0.5rem;
    font-family: monospace;
    color: var(--error-color);
    font-size: 1rem;
    font-weight: 600;
    position: relative;
    border: 2px solid var(--timeline-color);
    
}
.skill-timeline-pointer::before {
    content: '';
    height: 2px;
    width: 2rem;
    position: absolute;
    background-color: var(--timeline-color);
    top: 50%;
    left: -2.1rem;
}
.skill-timeline-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    padding: 2.5rem 0 0 5rem;
}
.technical-skill-box {
    border: 1px solid var(--timeline-color);
    border-radius: 10px;
    background-color: #03111f60;
    padding: 1.5rem;
    width: 90%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.technical-skill-box h3 {
    background: var(--main-color);
    background-clip: text;          
    -webkit-background-clip: text;
    color: transparent;          
    -webkit-text-fill-color: transparent;
    font-family: sans-serif;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}
.technical-skill {
    display: flex;
    gap: 0.3rem;
    justify-content: center;
    gap: 1.5rem;
}
.skill-minor {
    display: flex;
    width: 90%;
    gap: 2.5rem;
}
.skill-name {
    font-family: sans-serif;
    font-size: 0.9rem;
    border: 1px solid var(--timeline-color);
    padding: 0.4rem 1rem;
    border-radius: 25px;
    transition: color 0.3s  ease-out;
    background: transparent;
    position: relative;
    cursor: pointer;
    z-index: 1;
    overflow: hidden;
}
.skill-name::before {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    content: "";
    width: 20em;
    height: 20em;
    left: -1rem;
    transition: box-shadow 0.5s ease-out;
    z-index: -1;
}
@media (min-width: 769px) {
    .skill-name:hover {
        color: black;
    }
    .skill-name:hover::before {
        box-shadow: inset 0 0 0 10em var(--second-main-color);
    }
}


@media (max-width: 480px) {
    .skill {
        padding: 0 1.2rem;
        /* margin-top: 22.8rem; */
    }
    .skill-timeline {
        margin-left: 0.5rem;
        height: 100%;
    }
    .skill-timeline-pointer {
        margin: 2rem 0 0 1rem;
        font-size: 0.85rem;
        padding: 0.4rem;
    }
    .skill-timeline-pointer::before {
        width: 1.2rem;
        left: -1.2rem;
    }
    .skill-timeline-content {
        padding: 2rem 0 0 1rem;
        margin-top: 1.2rem;
        gap: 1.5rem;
    }
    .technical-skill-box {
        width: 100%;
        padding: 1rem;
    }
    .technical-skill-box h3 {
        font-size: 1.3rem;
        text-align: center;
    }
    .technical-skill {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
    .skill-minor {
        flex-direction: column;
        width: 100%;
        gap: 1rem;
        align-items: center;
    }
    .skill-name {
        font-size: 0.7rem;
        padding: 0.4rem 0.9rem;
        text-align: center;
    }
}



/* Project section */
.project {
    padding: 0 10% 0 10%;
}
.project-timeline {
    border-left: 2px solid var(--timeline-color);
    position: relative;
    height: 100%;
}
.project-timeline-pointer {
    margin: 6rem 0 0 2rem;
    display: inline-block;
    padding: 0.5rem;
    font-family: monospace;
    color: var(--error-color);
    font-size: 1rem;
    font-weight: 600;
    position: relative;
    border: 2px solid var(--timeline-color);
    
}
.project-timeline-pointer::before {
    content: '';
    height: 2px;
    width: 2rem;
    position: absolute;
    background-color: var(--timeline-color);
    top: 50%;
    left: -2.1rem;
}
.project-timeline-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4rem;
    padding: 2.5rem 0 0 5rem;
}
.card {
    /* width: 230px; */
    border-radius: 10px;
    background: #03111f60;
    border: 1px solid var(--timeline-color);
    padding: 0.5rem 1rem;
    overflow: hidden;
    /* box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 20px 0px; */
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    width: 15rem;
}
@media (min-width: 769px) {
    .card:hover {
        transform: scale(1.05);
    }
}

.card .top-section {
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    background: #03111f60;
    /* border: 1px solid var(--timeline-color); */
    position: relative;
}
.top-section-head {
    padding: 0.5rem 0.7rem 0.2rem 0.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.top-section .logo {
    display: flex;
    justify-content: center;
    align-items: center;
}
.project-social-media {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.7rem;
}
.circle {
  padding: 0 4px;
}

.circle2 {
  display: inline-block;
  align-items: center;
  width: 13px;
  height: 13px;
  padding: 1px;
  border-radius: 50%;
}

.red {
  background-color: #ff605c;
}

.yellow {
  background-color: #ffbd44;
}

.green {
  background-color: #00ca4e;
}
.card .top-section .icons .logo .top-section {
    height: 100%;
}

.card .top-section .icons .project-social-media {
    height: 100%;
    padding-right: 0.8rem;
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 2px;
}

.card .top-section .icons .project-social-media a {
    font-size: 0.5rem;
}
.card .top-section .icons .project-social-media i {
    color: white;
    font-size: 1rem;
    /* color: red; */
}
.project-img {
    width: 100%;          /* or a fixed value like 300px */
    aspect-ratio: 16 / 9; /* width:height ratio */
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
.project-img img {
    border-radius: 10px;
    height: 6.5rem;

}
.card .bottom-section {
    padding: 10px 5px;
}

.card .bottom-section .title {
    font-family: sans-serif;
    display: block;
    font-size: 17px;
    font-weight: bolder;
    text-align: center;
    letter-spacing: 2px;
    background: var(--main-color);
    background-clip: text;          
    -webkit-background-clip: text;
    color: transparent;          
    -webkit-text-fill-color: transparent;
}
.card .bottom-section p {
    height: 8rem;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem 0;
    font-weight: 100;
    font-family: monospace;
    font-size: 0.8rem;
    text-align: center;
    line-height: 1rem;
}
.project-skill {
    height: 5rem;
    padding: 0.8rem 0;
    width: 12rem;
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
    gap: 0.4rem;
}
.project-skill-name {
        display: flex;
    justify-content: center;
    align-items: center;
    height: 1.7rem;
    font-family: sans-serif;
    font-size: 0.7rem;
    border: 1px solid var(--timeline-color);
    padding: 0.4rem 1rem;
    border-radius: 25px;
    transition: color 0.3s  ease-out;
    background: transparent;
    position: relative;
    cursor: pointer;
    z-index: 1;
    overflow: hidden;
}

@media (max-width: 480px) {
    .project {
        padding: 0 1.2rem;
        /* margin-top: 22.8rem; */
    }
    .project-timeline {
        margin-left: 0.5rem;
        height: 100%;
    }
    .project-timeline-pointer {
        margin: 2rem 0 0 1rem;
        font-size: 0.85rem;
        padding: 0.4rem;
    }
    .project-timeline-pointer::before {
        width: 1.2rem;
        left: -1.2rem;
    }
    .project-timeline-content {
        padding: 2rem 0 0 1rem;
        margin-top: 1.2rem;
        gap: 1.5rem;
        flex-direction: column;
    }

    .card {
      width: 100%;
      max-width: 20rem;     
      padding: 0.8rem;
    }
  
    .top-section-head {
      padding: 0.5rem;
      align-items: center;
      gap: 0.5rem;
    }
  
    .project-img {
      padding: 0.5rem 0;
    }
  
    .project-img img {
      width: 100%;
      height: auto;
      aspect-ratio: 16 / 9;
      border-radius: 10px;
    }
  
    .card .bottom-section {
      padding: 1rem 0.5rem;
    }
  
    .card .bottom-section .title {
      font-size: 1.1rem;
      text-align: center;
    }
  
    .card .bottom-section p {
      font-size: 0.85rem;
      text-align: center;
      padding: 0.5rem 0;
    }
  
    .project-skill {
      width: 100%;
      padding: 0.5rem;
      flex-wrap: wrap;
      justify-content: center;
      gap: 0.5rem;
    }
  
    .project-skill-name {
      font-size: 0.75rem;
      padding: 0.4rem 0.9rem;
      text-align: center;
    }
  
    .project-social-media {
      flex-wrap: wrap;
      justify-content: center;
      gap: 0.6rem;
      padding: 0.5rem 0;
    }
    .project-social-media {
        gap: 1.3rem;
    }
}


/* Get in touch section */
.get-in-touch {
    padding: 0 10% 0 10%;
    border-bottom: 2px solid var(--timeline-color);
}
.get-in-touch-timeline {
    border-left: 2px solid var(--timeline-color);
    position: relative;
    height: 100%;;
}
.get-in-touch-timeline-pointer {
    margin: 6rem 0 0 2rem;
    display: inline-block;
    padding: 0.5rem;
    font-family: monospace;
    color: var(--error-color);
    font-size: 1rem;
    font-weight: 600;
    position: relative;
    border: 2px solid var(--timeline-color);
    
}
.get-in-touch-timeline-pointer::before {
    content: '';
    height: 2px;
    width: 2rem;
    position: absolute;
    background-color: var(--timeline-color);
    top: 50%;
    left: -2.1rem;
}
.get-in-touch-timeline-content {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2.5rem 0 5rem 5rem;
    gap: 5rem;
}
.get-in-touch-contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    width: 45%;
}
.get-in-touch-contact-info p{
    font-family: monospace;
    color: var(--comment-color);
    font-size: 1rem;
}
.contact-heading {
    background: var(--main-color);
    background-clip: text;          
    -webkit-background-clip: text;
    color: transparent;          
    -webkit-text-fill-color: transparent;
    font-size: 2rem;
    font-family: sans-serif;
}
.contact-info-details{
    padding: 1rem 0 0 0;
}
.contact-info-details h3 {
    font-family: sans-serif;
    font-size: 1rem;
    padding: 0.2rem;
    font-weight: 100;
}
.get-in-touch-form {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--timeline-color);
    background: #010d18;
    border-radius: 10px;
    width: 45%;
}
.get-in-touch-top .logo {
    display: flex;
    padding: 1rem;
}
.get-in-touch-form-container {
    margin: 0rem 1rem 1rem 1rem;
    background: #041a2fa4;
    padding: 1rem 1rem 1rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    border-radius: 10px;
}
.contact-input-area {
    display: flex;
    flex-direction: column;
    padding-left: 1.5rem;
    border-left: 2px dashed rgba(128, 128, 128, 0.312);
}
.contact-input-area input {
    margin-bottom: 1.2rem;
}
.contact-input-area p {
    margin-bottom: 0.5rem;
}
.get-in-touch-form-container pre {
    font-family: monospace;
    font-size: 1.2rem;
}
.contact-input-area p, .contact-input-area span {
    font-family: monospace;
    font-size: 0.9rem;
}
.contact-input-area span {
    color: var(--error-color);
}
.contact-input-area p {
    color: var(--comment-color);
}
input, textarea {
    background-color: rgb(1, 13, 29);
    border: none;
    padding: 0.7rem;
    border-radius: 3px;
}
input:focus, textarea:focus {
    outline: none;
}
input::placeholder, textarea::placeholder {
    font-family: sans-serif;
}
.submit-button {
    color: white;
    border: 1px solid var(--timeline-color);
    background-color: transparent;
    padding: 0.5rem;
    width: 100%;
    font-family: sans-serif;
    font-size: 1.3rem;
    font-weight: 900;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: .3s;
    z-index: 1;
    color: var(--second-text-color);
    margin-top: 1.2rem;
}
.submit-button::before {
    content: '';
    width: 0;
    height: 1000%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
    background: var(--second-main-color);
    transition: .5s ease;
    display: block;
    z-index: -1;
}
@media (min-width: 769px) {
    .submit-button:hover::before {
        width: 100%;
    } 
    .submit-button:hover {
        color: #111;
        border: 2px solid rgb(36, 41, 46);
    }
}

@media (max-width: 480px) {
  .get-in-touch {
    padding: 0 1rem;
    border-bottom: 1px solid var(--timeline-color);
  }

  .get-in-touch-timeline {
    border-left: 2px solid var(--timeline-color);
    margin-left: 0.7rem;
  }

  .get-in-touch-timeline-pointer {
    margin: 2rem 0 0 1rem;
    font-size: 0.85rem;
    padding: 0.4rem;
  }

  .get-in-touch-timeline-pointer::before {
    width: 1.2rem;
    left: -1.2rem;
  }

  .get-in-touch-timeline-content {
    flex-direction: column;
    gap: 2rem;
    padding: 2rem 0 2rem 1rem;
  }

  .get-in-touch-contact-info,
  .get-in-touch-form {
    width: 100%;
  }

  .get-in-touch-contact-info p {
    font-size: 0.9rem;
    text-align: center;
  }

  .contact-heading {
    font-size: 1.5rem;
    text-align: center;
  }

  .contact-info-details {
    padding: 0.5rem 0;
  }

  .contact-info-details h3 {
    font-size: 0.9rem;
    text-align: center;
  }
  .get-in-touch-top .logo {
    justify-content: left;
    padding: 0.8rem;
  }

  .get-in-touch-form-container {
    margin: 0 0.5rem 1rem 0.5rem;
    padding: 1rem;
  }
  .get-in-touch-form-container pre {
    font-size: 0.75rem !important;
  }
  .contact-input-area {
    padding-left: 1rem;
  }

  .contact-input-area input,
  .contact-input-area textarea {
    font-size: 0.85rem;
    padding: 0.5rem;
  }

  .contact-input-area p,
  .contact-input-area span {
    font-size: 0.8rem;
  }

  .get-in-touch-form-container pre {
    font-size: 1rem;
    text-align: left;
  }

  .submit-button {
    font-size: 1rem;
    padding: 0.6rem;
    margin-top: 1rem;
  }
}


.footer-bottom {
    padding: 1.5rem;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}
.footer-bottom p {
    font-weight: 100;
    font-size: 0.9rem;
    font-family: sans-serif;
}
@media (max-width: 480px) {
    .footer-bottom {
        gap: 0.3rem;
    }
    .footer-bottom p {
        font-size: 0.6rem;
    }
}