/*boiler plate for whole project*/
@font-face {
    font-family: 'Gilroy';
    src: url('Gilroy-LightItalic.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}
*{
    margin:0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Gilroy','sans-sarif';
}

html,body{
    height: 100%;
    width: 100%;
    background-color: black;
    color:white;
    scroll-behavior: smooth;
}

/* Nav bar */
nav , .nav-links{
    display: flex;
}

nav{
    justify-content: space-between;
    align-items: center;
    height: 17vh;
}

.nav-links{
    font-size: 20px;
    display: flex;
    gap: 50px;
}

nav a{
    text-decoration: none;
    color: white;
}
nav a:hover{
    border-bottom: 2px solid #574964 ;
}
nav li{
    list-style: none;
    font-size: 25px;
}
nav h3{
    font-size: 25px;
    margin-right: 30px;
}

/* Dark mode styles*/
.dark-mode {
    background-color: black;
    color: white;
}
.light-mode {
    background-color: white;
    color: black;

}
.light-mode nav li a{
    color: black;
}

.logo {
    display: flex;
    
}
.logo h1{
    font-size: 40px;
    font-weight: 800;
    margin-left: 50px;

}
#dark-mode-hamburger {
    margin-left: 10px;
    display: block;
    position: absolute;

    cursor: pointer;
    z-index: 10;
  
}
/* Hamburger */
#hamburger-nav{
    display: none;
}

.hamburger-menu{
    position: relative;
    display: inline-block;
}
.hamburger-icon{
    margin-right: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 24px;
    width: 30px;
    cursor: pointer;
}

.hamburger-icon span{
    width: 100%;
    height: 2px;
    background-color: white;
    transition: all 0.3 ease-in-out;
}

.menu-links{
    position: absolute;
    top: 100%;
    right: 0;
    background-color: #817190;
    width: fit-content;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3 ease-in-out;

}

.menu-links a{
    display: block;
    padding: 10px;
    text-align: center;
    font-size: 1.5rem;
    color: black;
    text-decoration: none;
    transition: all 0.3 ease-in-out;
}

menu-links li{
    list-style: none;
}

.menu-links.open{
    max-height: 300px;
}

.hamburger-icon.open span:first-child{
    transform: rotate(45deg) translate(10px,5px);
}

.hamburger-icon.open span:nth-child(2){
    opacity: 0;
}

.hamburger-icon.open span:last-child{
    transform: rotate(-45deg) translate(10px , -5px);
}

.hamburger-icon span:first-child
{
    transform: none;
}

.hamburger-icon span:first-child{
    opacity: 1;
}

.hamburger-icon span:first-child{
    transform: none;
}
/* Hamburger icon visibility and color in light mode */
.light-mode .hamburger-icon span {
    background-color: black; /* Change the color to black in light mode */
}

.light-mode nav li a {
    color: black;
}

/*Home page*/
.home-page {
    margin-top: 50px;
    height: max-content;
    width: 100%;
 }
.my-image{
    height: 140px;
    width: 150px;
    border-radius: 50%;
    transition: transform 0.4s ease-in-out 
}
.my-image:hover{
    transform:  scale(1.2);
    box-shadow: 0 10px 20px #574964; 
    
}
.profile{
    display: flex;
    justify-content: center;
}
.headings{
    margin-top: 20px;
    text-align: center;
}
.heading1{
    font-size: 22px;     
}
.heading2{
    font-size: 30px;
    font-weight: 800;
}
.dynamic-text{
    font-size: 40px;
    font-weight: bold;
    color: rgb(139, 111, 165);
    min-height: 55px;
}
.btn{
    margin-top: 50px ;
    display: flex;
    justify-content: center;
    gap: 50px;
    
}
.about-btn{
    padding: 12px;
    font-size: 15px;
    border-radius: 5px;
    border: none;
    background-color: #574964;
    color: white;
}
.about-btn:hover{
    background-color: white;
    color: black;
    cursor: pointer;
}
.light-mode .about-btn:hover{
    background-color: #817190;
    color: white;
}
.resume-btn{
    font-size: 15px;
    background-color: #574964;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 12px;

}
.resume-btn:hover{
    background-color: white;
    color: black;
    cursor: pointer;
}
.light-mode .resume-btn:hover{
    background-color: #817190;
    color: white;
}

/*  About Section  */
.about-section{
    margin-top: 30px;
    height: max-content;
    width: 100%;
    text-align: center;
}
.about-section h1{
    font-size: 2.5rem;
}
.about-section h2{
    margin-top: 10px;
    font-size: 1.5rem;
}
.about-section h4{
    margin-top: 50px;
    font-size: 1.5rem;
}
.about-section h3{
    margin-top: 20px;
}
.about-section .paragraph{
   margin-top: 30px;

}
.about-container{
    display: flex;
    gap: 2rem;
    margin: 20px 80px 10px 80px;
}

.about-details-container{
    justify-content: center;
    flex-direction: column;
}
.light-mode .details-container{
    background-color: white;
    color: black;
}

.about-container,
.about-details-container{
    display: flex;
}


.details-container{
    padding: 1.5rem;
    flex: 1;
    background:rgb(20, 20, 20);
    border-radius: 2rem;
    border: black 0.1rem solid;
    border-color: #574964;
    text-align: center;
}
.details-container:hover{
    transform: scale(1.02);
    box-shadow: 0 8px 12px #817190;
}

.details-container h3{
    margin-bottom: 10px;
    font-size: 1.5rem;
}
.icon{
    font-size: 35px;
}
 
.links{
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 15px;   
}
.social-icon{
    font-size: 30px;
    color: white;
}
body.light-mode .social-icon{
    color: black;
}
.light-mode .about-section{
    background-color: white;
    color: black;
}

/*  Skills  */
.skills-section {
    height: max-content;
    margin-top: 80px;
    text-align: center;
  }
  
  .skills-section h1 {
    font-size: 2.5rem;
    margin-bottom: 50px;
  }
  
  .skills-category {
    margin-bottom: 40px;
  }
  
  .skills-category h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
  }
  
  .skills-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
  }
  
  .skill-item {
    width: 150px;
    height: 150px;
    text-align: center;
    background: #fff;
    border-radius: 10px;
    padding: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
  }
  
  .skill-item:hover {
    transform: translateY(-10px);
  }
  
  .skill-icon {
    font-size: 40px;
    color: #574964;
    margin-bottom: 10px;
  }
  
  .skill-item h3 {
    font-size: 1.2rem;
    margin: 10px 0;
    color: black;
  }
  
  .progress-bar {
    background: #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
    height: 10px;
    margin-bottom: 10px;
  }
  
  .progress {
    height: 100%;
    background: #574964;
    transition: width 0.5s ease;
  }
  
/* Projects */
.projects{
    margin-top: 80px;
    height: max-content;
    width: 100%;
    text-align: center;
}
.projects h2{
    font-size: 2rem;

}
.container{
    margin-top: 30px;
    display: flex;
    flex-wrap: wrap;
    grid-template-columns: repeat(auto-fit,minmax(300px,1fr));
    justify-content: space-evenly;
}
.box{
    margin-top: 30px;
    max-height:450px;
    max-width: 350px;
    border: 1px solid white;
    border-radius: 15px;
    background-color: rgb(20, 20, 20);
    overflow-wrap: break-word;
    
}
.box:hover {
    transform: translateY(-10px);
  }
.box .e-commerce {
    height: 180px;
    width: 250px;
    margin-top: 20px;
    border-radius: 10px;
}
.box .notes{
    height: 180px;
    width: 250px;
    margin-top: 20px;
    border-radius: 10px;
}
.box .weatherApp{
    height: 180px;
    width: 250px;
    margin-top: 20px;
    border-radius: 10px;
}
.box .assistantApp{
    height: 180px;
    width: 250px;
    margin-top: 20px;
    border-radius: 10px;
}
.box .portfolioWeb{
    height: 180px;
    width: 250px;
    margin-top: 20px;
    border-radius: 10px;
}
.box h3{
    margin-top: 10px;
}
.box .description{
    font-size: 12px;
}
.projectButton a
{
    text-decoration: none;
    color: white;
}
.projectButton{
    padding: 10px;
    display: flex;
    justify-items: start;
    background-color: #574964;
    border-radius: 5px;
    border: none;
    margin: 20px;
}
.projectButton:hover{
    background-color: white;
}
.projectButton a:hover{
    color: black;
}

.light-mode .projectButton:hover{
    background-color: #817190;
    color: white;
}
.light-mode .projects{
    background-color: white;
    color: black;
}
.light-mode .box{
    border: 1px solid black;  
    background-color: rgb(243, 243, 243);
}

/*  Contact */
.contact-container {
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 5rem;
}

.contact-container h1{
    font-size: 2.5rem;
    margin-bottom: 1rem;
    
}
.contact-container h2{
    font-size: 1.5rem;
    margin-top: -10px;
    margin-bottom: 1rem;
    
}
.contact-img{
    float: left;
    margin-left: 10px;
    height: 380px;
    width: 400px;
}

form {
    display: flex;
    flex-direction: column;
}

label {
    font-size: 1.2rem;
    margin-bottom: 0.2rem;
}

input, textarea, .submit-btn{
    padding: 0.8rem;
    margin-bottom: 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
}

input:focus, textarea:focus {
    border-color: #574964;
    outline: none;
    box-shadow: 0 0 4px #817190;
}

.submit-btn {
    background-color:#574964;
    color: white;
    border: none;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s;
}

.submit-btn:hover {
    background-color: #817190;
}



