/* Navigation Bar */
body {
    margin: 0;
    font-family: playfair display, poppins;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #333;
    padding: 10px 20px;
}

.navbar .logo img {
    height: 40px;
}

.navbar .nav-links {
    display: flex;
}

.navbar .nav-links a {
    color: white;
    text-decoration: none;
    padding: 14px 20px;
    margin-left: 10px;
}

.navbar .nav-links a:hover {
    background-color: #ddd;
    color: black;
}

/* hero background image */
.bgimage {
    height:100vh;
    background: url('aesthetic.jpg');
    background-size:cover;
    position:relative;
}
/* text css above hero image*/
.hero_title {
    font-size: 3rem;
    font-family: playfair display, poppins;
    color: rgb(0, 0, 0);
}
.hero_desc {
    font-size: 2rem;
    font-family: playfair display, poppins;
    color: rgb(225, 153, 1);

}

.hero-text {
    font-family: playfair display, poppins;
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: rgb(0, 0, 0);
    

}

/* Rain Effect */

body, html {
    margin: 0px; 
    padding: 0px; 
  }
  
  canvas {
    z-index: 999; 
    margin: 0px; 
    padding: 0px; 
    background-color: transparent; 
    position: absolute; 
  }
  
  h1, p {
    text-align: center; 
  }
/* Pixcel Text Animation */
  span {
    display: inline-block;
    animation: Pixcel 5s linear infinite alternate;


  }
  
  @keyframes Pixcel {
     0% { color: rgb(225, 153, 1); }
    25% { color: rgb(2, 155, 231); }
    50% { color: rgb(0, 105, 0); }
    75% { color: rgb(0, 234, 255); }
   100% { transform: translateX(101%); color: rgb(0,159,191); }
  }

  

  /* Projects/Work */

  section {
    padding: 2em;
    margin: 2em 0;
}


#work {
    background-color: #EDE8E4;
    text-align: center;
}

/* Work Text animation for project page */ 
.animated-text {
    font-size: 24px;
    color: #333;
    animation: animateText 2s infinite alternate;
}

@keyframes animateText {
    0% {
        font-size: 24px;
        color: #333;
    }
    100% {
        font-size: 36px;
        color: #333;
    }
}
#project-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    
}

.project{
    background-color: rgb(255, 255, 255);
    border: 1px solid #dbdada;
    margin: 2em;
    padding: 2em;
    width: calc(33% - 2em);
    box-shadow: 0 0 10px rgba(9, 9, 9, 0.1);
    border-radius: 25px;
    
}
img {
    width: 100%;
    height: auto;
  }
  
/* pdf alignment

.pdf-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 80%;
    height: 80%;
    border: 1px solid #ccc;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    background-color: #fff;
}

iframe {
    width: 100%;
    height: 100%;
} */

   /* About Me */
   

   body {
    font-family: playfair display,poppins;
    background-color: #ffffff;
    color: #000000;
    margin: 0;
    padding: 0;
    justify-content: center;
   
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px;
    text-align: center;
    justify-content: center;
    border: 1px solid #c0c0c0;
    background-color: #EDE8E4;
    box-shadow: 0 0 10px rgba(9, 9, 9, 0.1);
    border-radius: 25px;
}

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

.profile {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
   
    
}

.profile-img {
    border-radius: 50%;
    width: 150px;
    height: 150px;
    margin-right: 20px;
}

.profile-info {
    max-width: 500px;
    text-align: justify;
}

.communication {
    display: flex;
    justify-content: space-between;
    text-align: justify;
    gap: 20px;
    
}

.comm-left, .comm-right {
    width: 48%;
    text-align: justify;
    
   
}

.comm-left p, .comm-right p {
    margin: 0;
    text-align: justify;
}
.connect-img {
  
    width: 45px;
    height: 45px;
    margin-right: 20px;
    cursor: pointer;
    }
    .container {
        position: relative;
        display: block;
    }
    .email-text {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        background-color: rgba(0, 0, 0, 0.7);
        color: white;
        padding: 5px 10px;
        border-radius: 5px;
        display: none; /* Initially hidden */
        white-space: nowrap;
    }
    .container:hover .email-text {
        display: block;
    }
    
    

   
   

/* skills*/

body {
    font-family: playfair display,poppins;
    background-color: #ffffff;
    color: #000000;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    text-align: center;
}

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

.skills-services {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
}

.skills, .services {
    flex: 1;
    min-width: 48%;
}

.skill, .service {
    background-color: #ffffff;
    border: 1px solid #333;
    border-radius: 10px;
    padding: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: transform 0.3s, background-color 0.3s;
    margin-bottom: 20px;
}

.skill:hover, .service:hover {
    background-color:rgb(0, 0, 0);
    transform: scale(1.05);
}

.skill-icon, .service-icon {
    width: 10px;
    height: 10px;
    background-color: #378dff; /* Purple color */
    border-radius: 50%;
}

.skill-content h4, .service-content h4 {
    margin: 0;
    font-size: 1em;
    color: rgb(0, 0, 0);
    transition: color 0.3s;
}

.skill-content p, .service-content p {
    margin: 5px 0 0;
    font-size: 0.9em;
    opacity: 0.8;
    color: #ffffff;
}

.skill:hover .skill-content h4, .service:hover .service-content h4 {
    color: #378dff; /* Purple color */
}
    
/* contact me */
body {
    font-family: playfair display,poppins;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.contact-section {
    padding: 50px 20px;
    text-align: center;
    background-color: #EDE8E4;
}

.contact-section h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
}

.contact-section p {
    font-size: 1.2em;
    margin-bottom: 40px;
}

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

.contact-section input,
.contact-section textarea {
    width: 50%;
    padding: 10px;
    border: 1px solid #ccc;
    font-size: 1em;
    border-radius: 10px;
    margin-bottom: 10px;
}

.contact-section button {
    padding: 10px 20px;
    background-color: #333;
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 1em;
    border-radius: 10px;
}

.contact-section button:hover {
    background-color: #555;
}

footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 15px 0;
}

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

.footer-content p {
    margin: 0;
}

.footer-content .social-links {
    margin-top: 10px;
}

.footer-content .social-links a {
    color: #fff;
    margin: 0 10px;
    text-decoration: none;
}

.footer-content .social-links a:hover {
    text-decoration: underline;
}
