* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Press Start 2P', cursive;
    cursor: url("./Cursor/animated/Windows/cursor.png") 0 0, auto;
}
a, button {
   cursor: url("./Cursor/animated/Windows/pointor.png") 8 2, pointer;
}

body {
    background-color: #000;
    color: #000000;
    text-align: center;
}

/* Navbar styles */
.navbar {
    background-color: black;
    box-shadow: 3px 2px 5px;
}

.navbar ul {
    width: 100%;
    list-style: none;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    background-color: rgb(43, 19, 66);
}

.navbar li {
    height: 50px;
    background-color: rgb(43, 19, 66);
}

.navbar a {
    height: 100%;
    padding: 0 30px;
    text-decoration: none;
    position: relative;
    transition: all 0.5s ease;
    display: flex;
    align-items: center;
    color: white;
}

/* Glitch text effect setup for navbar */
.navbar a::before,
.navbar a::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    max-width: 100%;
    overflow: hidden;
    white-space: nowrap;
    color: #ffffff;
    transition: all 0.1s ease;
}

.navbar a::before {
    clip-path: inset(0 100% 0 0);
    text-shadow: 2px 0 #ff00e1, -2px 0 #00f3ff;
}

.navbar a::after {
    clip-path: inset(0 0 0 100%);
    text-shadow: 0 2px #ff00e1, 0 -2px #00f3ff;
}

.navbar a:hover {
    text-shadow: 2px 0 #dd32da, -2px 0 #00f3ff, 
                 0 2px #f2d920, 0 -2px #ff8d0a;
}

.navbar a:hover::before,
.navbar a:hover::after {
    clip-path: inset(0 0 0 0);
}

/* Image Sizing */
.main-image,
.about-image,
.projects-image,
.contacts-image {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    object-position: center;
    z-index: -1;
}

.name {
    position: absolute;
    top: 48%;
    left: 51%;
    transform: translate(-50%, -150%);
    font-size: 54px;
    color: #fff;
    text-shadow: 12px 12px 18px rgba(0, 0, 0, 0.803);
}

.about {
    position: absolute;
    top: 100px;
    left: 50%;
    transform: translate(-50%);
    font-size: 44px;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.subtitle {
    position: absolute;
    top: 58%;
    left: 51%;
    transform: translate(-50%, -150%);
    font-size: 15px;
    color: #f7c595;
    text-shadow: 8px 8px 16px rgba(0, 0, 0, 0.801);
    line-height: 1.6;
}

.content {
    padding: 20px;
    margin-top: 60px;
}

section {
    padding: 40px;
    min-height: 100vh;
}

h2 {
    font-size: 24px;
    margin-bottom: 20px;
}

p {
    font-size: 16px;
    line-height: 1.5;
}

.section-title {
    font-size: 22px;
    color: #6b5e4c;
    margin-bottom: 40px;
    margin-top: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
    margin-top: 90px;
}

.project-card {
    background-color: rgba(236, 231, 225, 0.8);
    border: 3px solid #8b7b6a;
    border-radius: 10px;
    padding: 20px;
    transition: transform 0.3s ease;
}

.project-card:hover {
    transform: scale(1.05);
}

.project-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid #6b5e4c;
}

.project-title {
    position: absolute;
    top: 15%;
    left: 51%;
    transform: translate(-50%, -50%);
    font-size: 28px;
    color: #d8f6ff;
    text-shadow: 8px 8px 16px rgba(0, 0, 0, 0.801);
    margin: 0;
}

.projects-title {
    color: #000;
    padding-top: 5px;
}

.projects-subtitle {
    position: absolute;
    top: 25%;
    left: 51%;
    transform: translate(-50%, -150%);
    font-size: 15px;
    color: #faffe3;
    text-shadow: 8px 8px 16px rgba(0, 0, 0, 0.801);
    line-height: 1.6;
}

.project-description {
    font-size: 11px;
    color: #082a78;
    margin-bottom: 20px;
}

.project-links a {
    display: inline-block;
    margin: 0 10px;
    color: #ffffffdf;
    background-color: rgb(109, 74, 112);
    text-decoration: none;
    border-radius: 35px;
    font-size: 12px;
    border: 2px solid #000000;
    padding: 5px 10px;
    border-radius: 5px;
}

.project-links a:hover {
    background-color: #af740fbc;
    color: #f5eacb;
}

.github-button {
    position: absolute;
    top: 68%;
    left: 51%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    gap: 15px;
}

.github-button a {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(67, 6, 66, 0.8);
    border: 3px solid #ffffff;
    border-radius: 8px;
    padding: 8px 20px;
    text-decoration: none;
    color: #ffffff;
    font-size: 13px;
    transition: all 0.4s ease;
    text-shadow: 1px 1px 2px rgba(157, 157, 157, 0.3);
    width: 100px;
}

.github-button a:hover {
    background-color: #280541;
    color: #f4f1e9;
    transform: scale(1.05);
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}

.github-icon {
    width: 94px;
    height: 94px;
}

.about-content-box {
    background-color: rgba(225, 225, 225, 0.2);
    border: 3px solid #ffcabb;
    border-radius: 10px;
    padding: 30px;
    max-width: 900px;
    margin: 80px auto 0;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    z-index: 1;
}

.about-content-box:hover {
    transform: scale(1.05);
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.5);
}

.about-content-box h2 {
    font-size: 20px;
    color: #f49003;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.about-content-box p {
    font-size: 11px;
    color: #ffffff;
    line-height: 1.6;
    margin-bottom: 15px;
}

.about-content-box .skills-list {
    list-style: none;
    padding: 0;
}

.about-content-box .skills-list li {
    font-size: 11px;
    color: #ffffff;
    line-height: 1.6;
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
}

.about-content-box .skills-list li::before {
    content: '>';
    position: absolute;
    left: 0;
    color: #8b7b6a;
    font-size: 16px;
}

.contact-content-box {
    background-color: rgba(229, 219, 234, 0.8);
    border: 3px solid #8b7b6a;
    border-radius: 10px;
    padding: 30px;
    max-width: 800px;
    margin: 100px auto 20px;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    z-index: 1;
}

.contact-content-box:hover {
    transform: scale(1.05);
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.5);
}

.contact-content-box h2 {
    font-size: 23px;
    color: #6d42b3;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.contact-content-box p {
    font-size: 14px;
    color: #654c01;
    line-height: 1.6;
    margin-bottom: 20px;
}

.contact-links {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    max-width: 800px;
    margin: 0 auto;
}

.contact-links li {
    flex: 1 1 45%;
    max-width: 350px;
}

.contact-button {
    display: flex;
    align-items: center;
    gap: 15px;
}

.contact-button a {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(84, 54, 40, 0.701);
    border: 2px solid #ffffff;
    border-radius: 15px;
    padding: 8px 20px;
    text-decoration: none;
    color: #ffffff;
    font-size: 13px;
    transition: all 0.4s ease;
    text-shadow: 1px 1px 2px rgba(157, 157, 157, 0.3);
    width: 150px;
}

.contact-button a:hover {
    background-color: #280541;
    color: #f4f1e9;
    transform: scale(1.05);
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}

.contact-icon {
    width: 64px;
    height: 64px;
    object-fit: contain;
}



.contact {
    position: absolute;
    top: 100px;
    left: 50%;
    transform: translate(-50%);
    font-size: 44px;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}