* {
    font-family: "Phudu", serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1.05);
        
    }
}

.animate {
    animation: fadeInUp 2s ease-out;
}

body {
    background-color: black;
    color: white;
    overflow-x: hidden;
}
.mobilePic{
    display: none;
    border-radius: 50%;
    animation: mobilePicAnimate 3s ease-in-out infinite;
    border: 3px dashed #EF07EF;
}
@keyframes mobilePicAnimate {
    0%{
        transform: translateX(10px);
    }
    100%{
        transform: translateX(0px);
    }
    
    
}
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background-color: black;
    position: fixed;
    inline-size: 100%;
    z-index: 9999;
    inset-block-start: 0;
    block-size: 100px;
    box-shadow: 0 2px 5px #EF07EF;
}

nav img {
    inline-size: 100px;
    margin-inline-start: 8px;
}

.buttons {
    display: flex;
    align-items: center;
    gap: 10px;
}

button {
    font-family: "Phudu", serif;
    font-size: 1rem;
    font-weight: 500;
    background-color: #EF07EF;
    box-shadow: 4px 4px 4px #ac06ac;
    inline-size: 120px;
    block-size: 40px;
    padding: 3px 6px;
    border-radius: 5px;
    border: 0;
    cursor: pointer;
    transition: 0.2s ease-in;
}

button:hover {
    transform: translateY(-5px);
}

.body-container {
    inline-size: 100%;
    min-block-size: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: url('empty-dark-room-modern-futuristic-sci-fi-background-3d-illustration.jpg') no-repeat center/cover;
}

img.shape {
    position: absolute;
    inline-size: 150px;
    inset-block-end: 0;
    inset-inline-end: 1px;
    animation: loopAnimation 3s ease-in-out infinite;
}

.container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-block-start: 50px;
    backdrop-filter: blur(20px);
    border-radius: 15px;
    box-shadow: 0 4px 8px #EF07EF;
    padding: 0px;
    inline-size: 90%;
    max-inline-size: 1200px;
    
}

.image {
    inline-size: 400px;
    block-size: auto;
    border-radius: 15px;
    border-radius: 300px;
    margin-block-start: 40px;
    margin-block-end: 40px;
    margin-inline-start: 40px;
    margin-inline-end: 70px;
    animation: mobilePicAnimate 3s ease-in-out infinite;
    border: 3px dashed #EF07EF;
    
}

@keyframes loopAnimation {
    0% { transform: translateX(-10px); }
    50% { transform: translateX(10px); }
    100% { transform: translateX(-10px); }
}

@keyframes loopAnimation2 {
    0% { transform: translateY(-5px); }
    50% { transform: translateY(5px); }
    100% { transform: translateY(-5px); }
}

.content {
    flex: 1;
    padding: 20px;
    text-align: start;
}

.paragraph {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.484);
    line-height: 1.6;
    transition: 0.5s ease-in-out;
}

.paragraph:hover {
    color: rgba(255, 255, 255, 0.8);
}

.title {
    font-size: 25px;
    background: linear-gradient(5deg,#6b07ef, white);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text; /* For better browser support */
    color: transparent;
    font-weight: 600;
    margin-block-end: 20px;
}
.menu-toggle {
    display: none;
    font-size: 2rem;
    cursor: pointer;
    color: white;
}

.mobile-menu {
    display: none;
    position: absolute;
    inset-block-start: 110px;
    inset-inline-start:0px;
    background: rgba(0, 0, 0, 0.9);
    padding: 10px;
    border-radius: 5px;
    list-style: none;
    inline-size: 100%;
    text-align: center;
}

.mobile-menu li {
    margin: 30px 0;
}

.mobile-menu button {
    text-decoration: none;
    color: #ac06ac;
    background-color: transparent;
    box-shadow: none;
    font-size: 16px;
    cursor: pointer;
    
}



.content button {
    margin-block-start: 20px;
    background-color: #575757;
    box-shadow: 4px 4px 4px #353535;
    color: white;
    animation: loopAnimation2 3s ease-in-out infinite;
}

.content button:hover {
    background-color: white;
    color: #333;
}

.technologies-container {
    padding: 50px 20px;
    text-align: center;
    background-color: black;
    border-start-start-radius: 45px;
    border-start-end-radius: 45px;
}

.technologies-container h2 {
    font-size: 2rem;
    color: #bb05bb;
    margin: 50px 0;
    font-weight: 600;
    
}

.technologies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 0 20px;
}

.technology {
    background: black;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px #EF07EF;
    transition: transform 0.3s ease;
}

.technology:hover {
    transform: translateY(-10px);
}

.technology img {
    inline-size: 150px;
    block-size: auto;
    margin-block-end: 20px;
}

.technology h3 {
    font-size: 1.5rem;
    background: linear-gradient(5deg,#6b07ef, white);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text; /* For better browser support */
    color: transparent; /* Ensures fallback for unsupported browsers */
    margin-block-end: 10px;
}

.technology p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.projects-container {
    padding: 50px 20px;
    text-align: center;
    background-color: black;
}

.projects-container h2 {
    font-size: 2rem;
    color: #bb05bb;
    margin-block-end: 40px;
    font-weight: 600;
}

.projects-grid {
    display: grid;
    gap: 30px;
    padding: 0 20px;
}

.project {
    background: black;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px #EF07EF;
    transition: transform 0.3s ease;
    text-align: start;
}

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

.project h3 {
    font-size: 1.5rem;
    background: linear-gradient(5deg,#6b07ef, white);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text; /* For better browser support */
    color: transparent; /* Ensures fallback for unsupported browsers */
    margin-block-end: 15px;
}


.project p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-block-end: 20px;
}

.project-images {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
}

.project-images img {
    inline-size: 100%;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.project-images img:hover {
    transform: scale(1.01);
}

.contact-container {
    padding: 50px 20px;
    text-align: center;
    background-color: black;
    border-block-start: 2px solid #EF07EF;
}

.contact-container h2 {
    font-size: 2rem;
    color: #EF07EF;
    margin-block-end: 40px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.contact-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.contact-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: white;
    font-size: 1.2rem;
    background-color: rgba(239, 7, 239, 0.1);
    padding: 15px 25px;
    border-radius: 15px;
    border: 2px solid #EF07EF;
    box-shadow: 0 4px 8px rgba(239, 7, 239, 0.3);
    transition: all 0.3s ease;
}

.contact-link img {
    inline-size: 25px;
    block-size: 25px;
    margin-inline-end: 10px;
    transition: transform 0.3s ease;
}

.contact-link span {
    font-weight: 500;
}

.contact-link:hover {
    background-color: #EF07EF;
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(239, 7, 239, 0.5);
}

.contact-link:hover img {
    transform: scale(1.2);
}

.contact-link:hover span {
    color: black;
}

/* Media Queries for Responsiveness */
@media (max-width: 1024px) {
    
    .container {
        flex-direction: column;
        margin: 10px;
    }

    .content {
        padding: 20px;
        margin-block-start: 0;
    }

    .image {
        max-inline-size: 400px;
        margin-block-start: 20px;
    }

    .title {
        font-size: 22px;
    }

    .buttons {
        gap: 5px;
    }

    button {
        inline-size: 100px;
        font-size: 0.9rem;
    }

    .technologies-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

    .technology img {
        inline-size: 120px;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
        justify-content: center;
        flex-direction: column;
    }
    .buttons {
        display: none;
    }
    .mobilePic{
        display: flex;
        inline-size: 250px;
        margin-block-end: 20px;
    }
    .image{
        display: none;
    }

    .body-container {
        min-block-size: fit-content;
        inline-size: fit-content;
        margin-block-start: 100px;
        
    }

    .container {
        padding: 15px;
    }

    .title {
        font-size: 20px;
    }

    .paragraph {
        font-size: 14px;
    }

    .technologies-container h2,
    .projects-container h2,
    .contact-container h2 {
        font-size: 1.5rem;
    }

    .project-images {
        grid-template-columns: 1fr;
    }

    img.shape {
        inline-size: 100px;
    }
}

@media (max-width: 579px) {
    .mobilePic{
        display: flex;
        inline-size: 250px;
        margin-block-end: 20px;
    }
    .body-container{
        min-block-size: fit-content;
        inline-size: fit-content;
        margin-block-start: 0px;
    
    }
    
    nav img {
        inline-size: 80px;
    }
    .buttons{
        display: none;
    }
    .technologies-container{
        margin: 0px 20px;
    }
    .technologies-container h2{
        font-size: 18px;
        margin-block-end: 20px;
    }
    .projects-container  h2{
        font-size: 18px;
        margin-block-end: 20px;
    }
    .project h3{
        font-size: 16px;
    }
    .project p{
        font-size: 13px;
    }
    button {
        inline-size: 120px;
        block-size: 30px;
        font-size: 0.8rem;
    }
    .container{
        margin-block-start: 130px;
        align-self: start;
        box-shadow: none;
        
        
        
    }
    .title {
        font-size: 18px;
        margin-block-end: 10px;
    }

    .paragraph {
        font-size: 13px;
    }

    .content {
        padding: 0px;
        
        
    }

    .image {
        max-inline-size: 300px;
    }

    .technologies-grid {
        grid-template-columns: 1fr;
    }

    .technology img {
        inline-size: 100px;
    }
    .technology p{
        font-size: 13px;
        margin-block-start: 10px;
    }
    .technology h3{
        font-size: 16px;
    }
    .contact-link {
        font-size: 13px;
        padding: 10px 20px;
    }

    .contact-link img {
        inline-size: 20px;
        block-size: 20px;
    }
    .contact-container h2{
        font-size: 16px;
    }
}
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
