html {
    scroll-behavior: smooth;
}

body {
    background: #0a0a15;
    color: #fff;
    font-family: 'Courier New', monospace;
    margin: 0;
    padding: 0;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
}

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

nav a {
    color: #00eaff;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease-in-out;
}

.nav-wrapper {
    margin-right: 50px;
}

.menu-toggle {
    display: none;
    font-size: 30px;
    cursor: pointer;
}

nav a:hover {
    color: #ff007f;
}

section {
    padding: 50px;
    text-align: center;
}

#about {
    padding: 60px 20px;
    text-align: center;
}

h2 {
    text-align: center;
    font-size: 2em;
}

#about h2 {
    font-size: 2em;
    text-transform: uppercase;
    font-weight: bold;
    text-align: center;
}

#about p {
    max-width: 600px;
    margin: auto;
    font-size: 1.2em;
}

.skillset {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.skillset img {
    width: 80px;
    height: 80px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 10px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.1);
}

.skillset img:hover {
    transform: scale(1.2);
    box-shadow: 0 0 15px rgba(0, 234, 255, 0.8);
}

.skill img:hover {
    box-shadow: 0 0 15px rgb(255, 150, 0);
}

.skill2 img:hover {
    box-shadow: 0 0 15px rgb(0, 255, 0);
}

.skill3 img:hover {
    box-shadow: 0 0 15px rgb(255, 0, 0);
}


.wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-self: center;
}

.project-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 1000px;
    align-self: center;
}

.project-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
    width: 300px;
    height: 400px;
    text-align: center;
    box-shadow: 0 0 10px rgba(0, 234, 255, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin: 0px 20px 30px 20px;
}

.project-card:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(0, 234, 255, 0.5);
}

.project-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
}

.project-card h3 {
    margin: 10px 0;
    font-size: 1.5em;
}

.project-card p {
    font-size: 1em;
}

.project-card a {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 15px;
    background: #00eaff;
    color: #000;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background 0.3s ease-in-out;
}

.project-card a:hover {
    background: #ff007f;
}

.contact-header {
    font-size: 1.5rem;
    align-self: center;
}

#contact {
    text-align: center;
    padding: 50px;
    background: #0a0a15;
    border-radius: 10px;
    z-index: 2;

}

.contact {
    background: #0a0a15;
    border-radius: 10px;
    width: 100%;
    max-width: 500px;
    height: 500px;
    text-align: center;
    gap: 20px;
    z-index: 5;
}

#contact h2 {
    font-size: 2em;
    text-transform: uppercase;
    padding-top: 80px;
}

h5 {
    font-size: 2em;
    text-transform: uppercase;
}

#contact form {
    width: 90%;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 1;
}

#contact input,
#contact textarea {
    width: 75%;
    padding: 10px;
    border: none;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    align-self: center;
}

#contact button {
    padding: 10px;
    background: #00eaff;
    color: #000;
    font-weight: bold;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    width: 420px;
    max-width: 50%;
    align-self: center;
}

#contact button:hover {
    background: #ff007f;
}

.wrapper-contact {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-self: center;
    margin-left: 20px;
}

.contact-text {
    font-size: 2.0rem;
    align-self: center;
    margin-right: 20px;
    width: 400px;
}

input::placeholder,
textarea::placeholder {
    color: #ccc;
}

.contact-border {
    position: relative;
    padding: 0 25px;
    width: 90%;
    max-width: 500px;
    height: 550px;
    text-align: center;
    background: linear-gradient(90deg, red, orange, yellow, green, cyan, blue, purple, red);
    background-size: 300% 300%;
    animation: rainbow-border 5s linear infinite;
    border-radius: 15px;
    margin-right: 20px;
}

@keyframes rainbow-border {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

footer {
    background: linear-gradient(90deg, #1a1a40, #3a0ca3);
    color: white;
    text-align: center;
    padding: 20px;
    font-family: 'Courier New', Courier, monospace;
    box-shadow: 0px -4px 10px rgba(0, 0, 0, 0.5);
}

footer a {
    color: #a29bfe;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
    margin-right: 50px;
}

footer a:hover {
    color: cyan;
    text-shadow: 0 0 5px cyan;
}

.footer-content {
    max-width: 800px;
    margin: 0 auto;
}

.footer-icons i {
    font-size: 20px;
    margin: 0 10px;
    transition: transform 0.3s;
}

.footer-icons i:hover {
    transform: scale(1.2);
}


@media (max-width: 768px) {
    .project-container {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    nav {
        display: none;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        background: #1a1a40;
        position: absolute;
        top: 90px;
        left: 50%;
        width: 50%;
        text-align: center;
        padding: 10px 0;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .menu-toggle {
        display: block;
        font-size: 30px;
        cursor: pointer;
    }

    .nav-links.active {
        display: flex;
    }
    
    html {
        scroll-behavior: smooth;
    }
    
}