@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');
@font-face {
    font-family: "Panchang";
    src: url('fonts/Panchang-Variable.eot');
    src: url('fonts/Panchang-Variable.eot') format('embedded-opentype'),
       url('fonts/Panchang-Variable.woff2') format('woff2'),
       url('fonts/Panchang-Variable.woff') format('woff'),
       url('fonts/Panchang-Variable.ttf') format('truetype');
}

@font-face {
    font-family: "Gotham";
    src: url('fonts/GothamBook.eot');
    src: url('fonts/GothamBook.eot') format('embedded-opentype'),
        url('fonts/GothamBook.woff2') format('woff2'),
        url('fonts/GothamBook.woff') format('woff'),
        url('fonts/GothamBook.ttf') format('truetype'); 
}

* {
    color: white;
    font-family: "Panchang", sans-serif;
}

body {
    margin: 0;
    padding: 0;
    background-image: linear-gradient(rgba(0,0,0,0.65),rgba(0,0,0,0.65)), url(Images/bg.jpg);
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    overflow-x: hidden;
}

body.home-page {
    overflow: hidden;
}

body.content-page {
    overflow-y: auto;
}

.imageHolder { 
    display: inline-flex;
    align-items: center;
}

.imageHolder img{
    border-radius: 140px;
}

.welcome p{
    font-weight: bolder;
    font-size: 2.7rem;
    width: 509;
    padding: 0;
    margin: 0 2px;
}

.name p{
    font-weight: bold;
    color: #D39AE4;
    font-size: 4rem;
    padding: 0;
    margin: 0px;
}

header {
    position: fixed;
    top: 10px;
    left: 0;
    right: 0;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    z-index: 1000;
    padding: 8px 15px;
    border-radius: 25px;
    background: none;
    box-shadow: none;
}

nav ul {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style-type: none;
    margin: 0;
    padding: 0;
    flex-wrap: nowrap;
}

nav ul li {
    display: inline-block;
    padding: 0 0.7em;
}

nav ul li a {
    transition: color 0.3s ease, transform 0.3s ease;
    display: inline-block;
    padding: 6px 10px;
    font-weight: 500;
    font-size: 0.95rem;
    white-space: nowrap;
}

.main{
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 60px;
}

.home-page .main {
    height: calc(100vh - 60px);
    min-height: auto;
    padding-top: 50px;
}

.header-bg {
    background-image: linear-gradient(to right, rgba(0, 255, 255,0.4), rgba(211, 154, 228, 0.4));
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.imageHolder {
    text-align: right;
}

.description p{
    font-size: 20px;
    margin-top: 3px;
}

.project-container {
    width: 80%;
    max-width: 1200px;
    padding: 30px;
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 15px;
}

.page-title {
    font-size: 3rem;
    color: #D39AE4;
    margin-bottom: 40px;
    text-align: center;
}

.project-card {
    background-color: rgba(211, 154, 228, 0.1);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 30px;
    transition: transform 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
}

.project-card h2 {
    color: #D39AE4;
    margin-top: 0;
}

.tech-stack {
    margin-top: 15px;
}

.tech-tag {
    display: inline-block;
    background-color: rgba(0, 255, 255, 0.3);
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    margin-right: 10px;
    font-size: 0.8rem;
}

.project-links {
    margin-top: 15px;
}

.github-link, .website-link {
    display: inline-block;
    background-image: linear-gradient(to right, rgba(0, 255, 255, 0.5), rgba(211, 154, 228, 0.5));
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: bold;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.github-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.website-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.contact-container {
    width: 80%;
    max-width: 1200px;
    padding: 30px;
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 15px;
}

.contact-info {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 40px;
}

.contact-item {
    flex-basis: 30%;
    background-color: rgba(211, 154, 228, 0.1);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
}

.contact-item h2 {
    color: #D39AE4;
    margin-top: 0;
}

.contact-item a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: rgba(0, 255, 255, 0.6);
}

.contact-form {
    background-color: rgba(211, 154, 228, 0.1);
    border-radius: 10px;
    padding: 30px;
}

.contact-form h2 {
    color: #D39AE4;
    margin-top: 0;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-family: "Gotham", sans-serif;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    background-color: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 5px;
    color: white;
    font-family: "Gotham", sans-serif;
}

.form-group textarea {
    resize: vertical;
}

.submit-btn {
    background-image: linear-gradient(rgba(0, 255, 255,0.6),rgba(0, 255, 255,0.6));
    border: none;
    border-radius: 25px;
    padding: 10px 30px;
    color: black;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.submit-btn:hover {
    transform: scale(1.05);
}

#formStatus {
    padding: 10px;
    border-radius: 10px;
    background-color: rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
}

#formStatus p {
    margin: 0;
    font-family: "Gotham", sans-serif;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .contact-item {
        flex-basis: 100%;
    }
    
    .project-container,
    .contact-container {
        width: 90%;
        padding: 20px;
    }
    
    .tech-tag {
        margin-bottom: 10px;
    }

    .github-link {
        margin-bottom: 10px;
    }
    
    header {
        width: 95%;
        padding: 3px 5px;
    }

    nav ul {
        flex-direction: row;
        align-items: center;
        justify-content: center;
    }
    
    nav ul li {
        padding: 0 0.3em;
    }
    
    nav ul li a {
        font-size: 0.8rem;
        padding: 4px 6px;
    }

    .imageHolder {
        flex-direction: column;
        text-align: center;
    }

    .textHolder {
        text-align: center;
        margin-top: 20px;
    }
    
    .welcome p {
        font-size: 2rem;
    }
    
    .name p {
        font-size: 3rem;
    }
    
    .project-card {
        padding: 15px;
    }
    
    .main {
        padding-top: 50px;
    }
}

@media (max-width: 480px) {
    header {
        width: 92%;
        padding: 2px 4px;
    }
    
    nav ul {
        flex-direction: row;
        padding: 0;
        justify-content: space-between;
    }
    
    nav ul li {
        padding: 0 0.1em;
    }
    
    nav ul li a {
        font-size: 0.7rem;
        padding: 3px 5px;
    }
    
    .main {
        padding-top: 40px;
    }
    
    .welcome p {
        font-size: 1.5rem;
    }
    
    .name p {
        font-size: 2.5rem;
    }
    
    
    .description p {
        font-size: 14px;
    }
    
    .imageHolder img {
        width: 220px;
        height: 220px;
    }
    .contact-info {
        width: auto;
    }
}
@media (max-width: 400px) {
    .description p {
        font-size: 12px;
    }
}