body {
    margin: 0;
    padding: 0;
    background-color: #000000;
    overflow: auto;
    overflow-y: auto;
}

#content-wrapper {
    opacity: 0;
    transition: scale(0.98);
    transition: opacity 1.5s ease, transform 1s ease;
    position: relative;
    z-index: 2; /* ensures it stays on top of the canvas */
}

#content-wrapper.fade-in {
    opacity: 1;
    transform: scale(1);
}

html {
/* overflow: auto; */
/* overflow-y: auto; */
}

.name-title {
    text-align: center;
    font-weight: 500; /* 550 */
    color: #f9f9f9fa;
    font-family: "system-ui", -apple-system, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
    letter-spacing: 0.2px;
    font-size: 16px;
    transition: color 0.3s ease;
}

.name-title:hover {
    /* cursor: none; */
    /* color: red; */
}

/* .name-title:hover {
color: #00ff00;
cursor: pointer;
} */

.subtitle {
    text-align: center;
    color: #8f9094;
    font-size: 16.5px;
}

/* p {
    text-align: center;
    font-weight: 550;
    font-family: "system-ui", -apple-system, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
    color: white;
    font-size: 14.5px;
} */

h2 {
    display: relative;
    margin-top: -8px;
    text-align: center;
    color: #8f9094;
    font-family: "system-ui", -apple-system, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 16px;
    font-weight: 300;
    letter-spacing: .2px;
    /* line-height: 24px; */
}

.container {
    border: 0.5px solid;
    box-shadow: 0 0 2.5px #00ff00,
    0 0 5px #00ff00,
    inset 0 0 2.5px #00ff00
    ;
    background-color: black; /*alt color: #12141d; rgba(128, 0, 128, 0.724) prime: rgb(32, 31, 31) rgb(27, 27, 27)*/
    opacity: 0.9;
    position: fixed;
    top: 100px;
    left: 50% !important;
    transform: translateX(-50%) !important;
    border-radius: 5px;
    padding: 50px;
    width: 225px;
    height: 275px;
    z-index: 10;
}

#quote-card {
    position: relative;
}

#quote-card-1 {
    position: relative;
    left: 200;
}

#quote-img {
    position: relative;
    height: 0px;
}

.container-2 {
    position: relative;
    z-index: 10;
}

.img-1 {
    border-radius: 50%;
    height: 7.5rem;
    width: 7.5rem;
    position: relative;
    left: 0 !important;
    display: block !important;
    margin: 0 auto !important;
}

a {
    position: relative;
    text-decoration: none;
    align-items: center;
    left: 22px;
    top: 50px;
    cursor: pointer;
}

a + a {
    margin-left: 40px;
}

#linkedin {
    color: white;
    font-size: 24px;
}

#github {
    font-size: 24px;
    color: white;
}

#email {
    font-size: 24px;
    color: whitesmoke;
}

#linkedin:hover, #github:hover, #email:hover {
    color: #00ff00;
}

.desc {
    position: relative;
    top: 600px;
}

.about-desc {
    position: relative;
    top: -90px;
}

.intro {
    position: relative;
    left: 10px;
    top: -90px;
    color: white;
    font-size: 25px;
    font-weight: 400;
}

.intro-desc {
    position: relative;
    left: 710px;
    text-align: center;
    letter-spacing: 0.2px;
    line-height: 1.6;
    max-width: 300px;
    word-wrap: break-word;
}

.intro-conc {
    position: relative;
    top: 40px;
    left: 5px;
}

.title {
    text-transform: uppercase;
    position: relative;
    left: 820px;
    top: -100px;
    font-size: 1.2rem;
    font-weight: 400;
    color: #00ff00;
    text-align: left;
    margin-bottom: 8px;
    letter-spacing: 1px;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, Ubuntu, sans-serif;
}

.buttons {
    position: fixed;
    left: 50% !important;
    transform: translateX(-50%) !important;
    display: flex !important;
    gap: 1.5rem !important;
    align-items: center !important;
    top: 600px;
}

button {
    font-size: 18px;
    border-color: #268700;
    padding: 12px 12px;
    font-weight: 600;
    color: #00ff00;
    background-color: #000000;
    border-radius: 10px;
    cursor: pointer;
    text-transform: uppercase;
    box-shadow: 0 0 5px #00ff00,
    0 0 10px #00ff00,
    inset 0 0 5px #00ff00
    ;
    transition: all 0.2s ease-in-out;
}

button:hover {
    color: #000;
    background-color: #00f700;
    box-shadow: 0 0 10px #00ff00,
    0 0 20px #00ff00,
    0 0 40px #00ff00,
    0 0 80px #00ff00;
    transform: scale(1.05);
}

@keyframes pulse {
    0%, 100% {
    box-shadow: 0 0 10px #00ff00, 0 0 20px #00ff00, inset 0 0 5px #00ff00;
    }
    50% {
    box-shadow: 0 0 15px #00ff00, 0 0 35px #00ff00, inset 0 0 10px #00ff00;
    }
}

button:active {
    transform: scale(0.97);
    box-shadow: 0 0 5px #38fb69,
    0 0 15px #38fb69,
    inset 0 0 10px #38fb69
    ;
    animation: pulse 1.5s infinite;
}



button + button {
    margin-left: 60px;
}

/* #proj {
    color: black;
    border: solid #00ff00;
    border-radius: 2px;;
    background-color: #00ff00;
    font-size: 20px;
} */

#canvas {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1;
}

.back-btn {
    position: absolute;
    /* bottom: 40px; */
    /* top: 800px; */
    top: auto !important;
    bottom: -650px;
    left: 0;
    margin: 1rem auto !important;
    text-align: center !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    background: rgba(0, 0, 0, 0.6);
    border: none;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    color: #00ff00;
    font-size: 22px;
    cursor: pointer;
    box-shadow: 0 0 8px #00ff00, inset 0 0 4px #00ff00;
    transition: all 0.3s ease;
}

.back-btn:hover {
    background: #00ff00;
    color: #000;
    transform: translateX(-50%) scale(1.1);
    box-shadow: 0 0 20px #00ff00, 0 0 40px #00ff00, inset 0 0 6px #00ff00;
}

#left-btn {
    position: relative;
    left: -2px;
    top: -1px;
}

.back-btn:active {
    transform: translateX(-50%) scale(0.95);
    box-shadow: 0 0 10px #38fb69, inset 0 0 5px #38fb69;
}

#e-mail-tag {
    color: #00ff00;
    position: relative;
    top: -1px;
    left: -1px;
}

#e-mail-tag:hover {
    color: #000;
}

.projects {
    display: flex;
    justify-content: center !important;
    margin-left: auto !important;
    margin-right: 250px;
    align-items: stretch;
    flex-wrap: wrap;
    gap: 2rem;
    padding: 3rem;
    /* background-color: #000; */
    color: #f9f9f9;
    font-family: "Segoe UI", Roboto, sans-serif;
}

.project-card {
    position: relative;
    background-color: #0d0d0d;
    border: 1px solid #00ff00;
    border-radius: 12px;
    padding: 2rem;
    width: 360px;
    min-height: 520px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    top: 590px;
    left: 150px;
    box-shadow: 0px 4px 12px rgba(0, 255, 0, 0.15);
    transition: all 0.3s ease-in-out;
}

/* .project-card:hover {
    transform: scale(1.02);
    box-shadow: 0px 0px 20px rgba(0, 255, 0, 0.3);
} */

.project-type {
    color: #00ff00;
    text-transform: uppercase;
    font-size: 16px;
    font-weight: 400;
    position: relative;
    margin-top: 15px;
    margin-bottom: 0.5rem;
    /* top: -10px; */
    /* left: -600px; */
    /* letter-spacing: 0.8px; */
    /* margin-bottom: 0.3rem; */
}

.project-type, .project-title {
    text-align: left;
    margin-top: 1px;
    margin-left: 0;
}

.project-title {
    font-size: 1.5rem;
    font-weight: 500;
    letter-spacing: .5;
    color: #fff;
    margin-bottom: 0.25rem;
    /* margin-top: -76px; */
}

.project-desc {
    font-size: 16px;
    color: #8f9094;
    line-height: 1.45;
    position: relative;
    margin-bottom: 1rem;
    margin-top: 8px;
    /* top: -90px; */
    /* margin-bottom: 1.5rem; */
}

.tech-stack {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
    /* top: -153px; */
}

.tag {
    background: linear-gradient(90deg, #1dfe1d, #00e300);
    color: rgb(0, 0, 0);
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    transition: transform 0.2s ease;
}

.view-link {
    position: relative;
    align-self: flex-start;
    color: white;
    text-underline-offset: 4px;
    text-align: left;
    font-weight: 500;
    font-size: 1rem;
    top: 10px;
    left: -1px;
    transition: 0.2s ease;
}

.view-link:hover {
    color: #00ff00;
    text-decoration: underline;
}

.project-image {
    margin-top: 2rem;
}

/* .project-image {
width: 100%;
height: 150px;
object-fit: cover;
border-radius: 10px;
margin-top: 1rem;
margin-bottom: 1rem;
} */

#backBtnProjects {
    position: fixed;
    top: 50px;
}

.projects .back-btn {
/* position: fixed;
bottom: -50%;
top: 900px;
left: 50%; */
/* transform: translateX(-50%); */
/* margin-top: 3rem; */
}

.res-text {
    /* display: flex; */
    text-align: center;
    text-transform: uppercase;
    font-family: "system-ui", -apple-system, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 20.5px;
    position: relative;
    align-self: flex-start;
    color: white;
    text-underline-offset: 4px;
    text-align: left;
    font-weight: 500;
    top: 10px;
    left: 70px;
    /* transition: 0.2s ease; */

    letter-spacing: 0.5px;
    margin-top: 5px;
}

.res-text:hover {
    cursor: pointer;
    text-decoration: underline;
    color: #00ff00;
    transition: 0.55s ease;
}