* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background: rgb(0,0,0);
    background: linear-gradient(90deg, rgb(0, 0, 0) 0%, rgba(0,0,50,1) 30%, rgba(43,0,66,1) 70%, rgba(83,0,66,1) 100%);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh; 
    overflow: hidden;
}

/* Header section */
header {
    position: absolute;
    top: 20px;
    width: 100%;
    text-align: center;
}

nav ul {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr; 
    justify-items: center;
    gap: 30px;
    margin-top: 20px; 
}

nav ul li {
    display: inline;
}

nav ul li a {
    text-decoration: none;
    color: white;
    font-size: 18px; 
    border: 2px solid white;
    padding: 15px 30px; 
    border-radius: 30px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

nav ul li a:hover {
    background-color: white;
    color: black;
    box-shadow: 0 0 70px 10px rgb(236, 6, 140);
    transition: 0.15s;
}


/* Project Section */
.my-projects-text {
    font-size: 2.5rem; 
    font-weight: bolder;
    margin-bottom: 20px;
    color: white;
    text-decoration: none;
}

.projects {
    margin-top: 30px;
    width: 90%; 
    max-width: 700px; 
}

.project-list {
    display: grid;
    grid-template-columns: 1fr 1fr; 
    gap: 20px;
    text-align: center;
}

.project-item {
    border: 2px solid white;
    padding: 20px; 
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.project-item:hover {
    transform: scale(1.05);
    box-shadow: 0 0 70px 10px rgb(236, 6, 140);
    transition: 0.15s;
}

.project-item h2 {
    font-size: 20px; 
    margin-bottom: 10px;
    color: white;
    text-decoration: none;
}

.project-item p {
    font-size: 14px; 
    color: rgb(255, 255, 255);
    text-decoration: none;
}

.project-item a {
    display: block; 
    text-decoration: none; 
    color: inherit; 
}

.project-item:hover a {
    transform: scale(1.05); 
}

.project-1-link {
    z-index: 100;
    color: white;
}





/* Mobile Screen */
@media (max-width: 700px) {
    nav ul {
        flex-direction: column; 
        gap: 10px; 
    }

    nav ul li {
        width: 100%; 
        text-align: center; 
    }

    nav ul li a {
        font-size: 16px;
        padding: 10px 20px;
    }

    .my-projects-text {
        font-size: 2rem; 
    }

    .project-list {
        grid-template-columns: 1fr; 
    }

    .project-item {
        padding: 15px; 
    }

    .project-item h2 {
        font-size: 18px;
    }

    .project-item p {
        font-size: 12px; 
    }
}