@import url(https://fonts.googleapis.com/css?family=Nunito+Sans:300,400,600,700,800&amp;display=swap);
html{
    font-size: 16px;
    
}

*{
    box-sizing: border-box; 
}

body {
  box-sizing: border-box;
  font-family: 'Nunito Sans', sans-serif;
  width: 100%;
  margin: 0;
  padding: 0;
  background-image: url('../about-me.png');
  background-size: cover;
  background-position: center;
  color: #000;
  transition: color 0.3s ease;
  position: relative; /* Needed for ::before layering */
  z-index: 0;
  transition: background-color 0.5s ease, color 0.5s ease;
}

body .dark-theme {
  color: #fff;

}

.dark-theme .section h1, 
.dark-theme .contact-section h3,
.dark-theme .skills-header,
.dark-theme .project-section h1,
.dark-theme .project-section h3,
.dark-theme .message a {
  color: rgb(214, 214, 250);
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  background: rgba(255, 255, 255, 0); /* Default: no darkness */
  transition: background 0.3s ease;
}

body.dark-theme::before {
  background: rgba(0, 0, 0, 0.75); /* Dark overlay when theme is toggled */
  color: #fff;
}

h1, h2, h3,h4, p, a, .project-section, .navigation {
  transition: color 0.5s ease, background-color 0.5s ease;
}

#theme-toggle {
  background: transparent;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  transition: transform 0.3s ease;
 
}
.toggle-moved {
  transform: rotate(180deg);
  transition: transform 0.3s ease;
}

#theme-toggle:active {
  transform: scale(0.9);
}
/*header style*/
.header-nav{
    box-sizing: border-box;
    background-color: rgb(1, 1, 26);
    color: white;
    width: 100%;
    height: 50px;
    display: grid ;
    grid-template-rows: 100%;
    grid-template-columns:  30% 50%;
    justify-content: space-between;
    align-content: center;
    align-items: center;
    border-bottom: 1px solid rgb(27, 27, 27);
    position: fixed;
    top: 0px;
    font-family: Arial;
    padding-top: 1% ;
    padding-bottom: 1%;
    z-index: 2;
      
}

.home-nav{

    margin-left: 15%;
    display: block;   
    
}

.home-nav img {
    vertical-align: middle;
    animation: color-rotate 2s infinite; /* 2-second infinite animation */
    &:hover{
        scale: 1.08;
    }
}

@keyframes color-rotate {
    0% {
        filter: brightness(0) invert(1); /* White */
    }
    50% {
        filter: sepia(1) saturate(10) hue-rotate(60deg); /* Yellow */
    }
    100% {
        filter: brightness(0) invert(1); /* White */
    }
}

.menu-button {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.navigation{
    box-sizing: border-box;
    display: flex;
    justify-content: end;
    margin-right: 10%;
    align-items: center;
       
}

.other-nav {
    box-sizing: border-box;
    display: inline-flex;
    
}

.other-nav a{
    color: white;
    margin-right: 10px;
    text-decoration: none;
}   

 .other-nav a:hover{ 
    color: rgb(156, 156, 232);
    text-decoration:underline;
}

.other-nav a.active{
    border: 1px solid white;
    padding: 2px;
    color: rgb(1, 1, 26);
    border-radius: 5px;
    background-color: white;
}


/*general style*/

.section{
    padding-top: 4rem;  
    
}

.about-header,
.project-header,
.resume-header,
.contact-header{
    margin-left: 4rem;
    font-size: 3.3rem;
    color: rgb(0, 0, 23);
    margin-bottom: 1.5rem;
}

#project-intro p,
#resume-intro p,
#contact-intro p{
    margin-left: 4rem;
    margin-bottom: 1.5rem;
    line-height: 2rem;
    color:white;
}

body.menu-open {
  overflow: hidden;
  height: 100vh; /*prevents some mobile scroll edge cases */
}



/*home section style*/
.image {
    margin-top: 4rem;
    width: 100%;   
    
}

.image img{
    width: 200px;
    height: 150px;
    margin: auto;
    display: block;
    border-radius: 50% ;
    object-fit: cover;
    object-position:center 22%;
    
   
}

article{
    width: 70% ;
    margin: auto;
    text-align: center;
    color: white;  
    margin-bottom: 1.5rem;
    

}

article h2{
    margin-bottom: 30px;
    word-spacing:0.7rem ;
}

article h2 span{
    color:rgb(29, 243, 17);
}
 
article p{
    font-size: 1.5rem ;
    line-height:2rem ;
}


 
#arrow-links{
    width: 150px;
    margin-top: 3rem;
    display: block;
    margin: auto;
    padding: 1rem;
    background-color: rgb(1, 1, 26);
    border-radius: 2rem;
    color:white;
    text-decoration: none;
    font-weight: bold;
    text-align: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: color 0.3s ease, background-color 0.3s ease;
    
}

.gif{
    margin-left: 1rem;
    vertical-align: middle;
    width: 20px;
    filter: brightness(0) invert(1); /* Changes the color to white */
}  

/* about-me section styling*/
h1,h2,h3,h4,h6{ 
    font-family: Georgia, sans-serif;
}

p{ 
    font-family: "Nunito Sans", sans-serif;
}

.message{ 
   
    color: white; 
    width: 90%; 
    margin: auto;
    text-align: justify;
    line-height: 2rem;
}

.message a{
    color:   rgb(0, 0, 23) ;
}

.skills-section{
    
    box-sizing: border-box;
    display: flex;
    width: 80%;
    margin: 3rem auto 0;
   

}

.skill-item{
    flex-basis: 25%;
}

.skills-header{
    font-size: 2rem;
    padding-bottom: 1rem;
    height: 50px;
    color: rgb(0, 0, 23) ;
    padding-right: 2%;
    margin-top: 2%;
}

.slider-container {
    width: 100%;
    max-width: 600px;
    overflow: hidden;
    position: relative;
    margin: auto;
}

.slider {
    display: block;
    margin: auto;
    width: 90%;
    transition: transform 0.5s ease-in-out;
}

        

.skills-list{
   
    box-sizing: border-box;
    flex-basis: 65%;
    margin: auto;
    text-align: center;
    display: flex;
    flex-wrap: wrap;
    column-gap:15px;
    height: 5%;
    margin-top: 2.5rem;
    
    
}

.skills-list p{
    background-color: rgb(1, 1, 26); 
    color:white;
    padding: 0.7rem;
    border-radius: 4px;
}

.skills-list img{
    height: 1.14rem;
    vertical-align: middle;
}

.view-resume{
    width: 200px;
    margin: 2rem auto 0; 
    display: block;
    background-color: rgb(1, 1, 26);
    text-align: center;
    padding: 1rem;
    border-radius: 2rem;
    text-decoration: none;
    font-size: 1.2rem;
    color: white;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: color 0.3s ease, background-color 0.3s ease;
}

.view-resume::before,
#arrow-links::before,
.project-link::before{
    content: "";
    position: absolute;
    left: 0; top: 0; right: 0; bottom: 0;
    background: linear-gradient(to right, white 0%, rgb(1,1,26) 100%);
    z-index: -1;
    width: 0;
    transition: width 0.4s cubic-bezier(.4,0,.2,1);
}

.view-resume:hover, 
#arrow-links:hover,
.project-link:hover {
    color: rgb(1, 1, 26);
    text-decoration: none;
    font-weight: bold;
}

.view-resume:hover::before,
#arrow-links:hover::before,
.project-link:hover::before {
    width: 100%;
}

/*project section*/
.project-tabs{
    width: 90%;
    margin: auto;
    display: flex;
    justify-content: space-evenly;
    border-bottom: 2px solid rgb(175, 175, 183);
    margin-top: 2rem;
    margin-bottom: 3rem;
    
    
    
}
.project-tabs button{
    color: white;
    text-decoration: none;
    font-size: 1rem;
    background-color: rgb(1, 1, 26) ;
    padding: 0.5rem;
    border: none;
    cursor: pointer;
    transition: scale 0.3s ease, color 0.3s ease, background-color 0.3s ease;

    
    
}
.project-tabs button:hover{
       
    scale: 1.03;
    color: rgb(156, 156, 232);
    
}
.project-tabs button.active {
    color: rgb(1, 1, 26);
    background-color: white ;
    
    
}
.project-container{
    width: 80%;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: left;
    gap: 5%;
    align-items: flex-start;
    row-gap: 2rem;
}

.project-item{
    flex-basis: 30%;
    transition: scale 0.3s ease;
}

.project-item:hover{
    scale: 1.05;
    transform: rotate(2deg) scale(1.03);
  
   
}

.project-pic{
    width: 100%;
    height: 200px;
    border-radius: 1rem;
   
   
}

.project-item{
    border-radius: 1rem;
    background-color:   rgb(1, 1, 26) ;
    
}

.project-item a{
    text-decoration: none;
}

.project-title-container{
   display: flex;
   justify-content: space-around;
   align-items: flex-start;
}

.project-title-container img{
    width: 13px; 
}

.project-item h3{
    color:white;
    text-align: center;
    font-size: 1rem;
    font-family: Arial, Helvetica, sans-serif;
   
    
    
}
 

/*Contact section style*/
#contact-intro p{
    width: 80%;
    text-align: justify;

}

.contact-section{
    box-sizing: border-box;
    display: flex;
    width: 90%;
    margin: auto;
     
}

.contacts-item1, .contacts-item2{
    padding: 5px 20px;
    width:50%;
    font-weight: 600;
    border-left: 3px rgb(1, 1, 26) solid ;   
}

.contacts-item1{
    border:none ;
    margin-right: 2rem;
    justify-content: center;
}

.contacts-item1 h3, .contacts-item2 h3{
    font-weight:bolder;
    font-size: 22px;
    color:   rgb(0, 0, 23);
}
    
.contacts-info{
    box-sizing: border-box;
    width: 100%;
    color: white; 
    
   
}

.contacts-info p{ 
    max-width: 400px;
    min-width: 100px;
    margin-bottom: 1.5rem;
    padding: 1.5rem 0.5rem;
    background-color: rgba(0.5, 0.5, 0.5, 0.5);
    font-size: 1.2rem;
    font-weight: 600;
    text-align: center;
}

.contacts-info a {
  color: white;
  
}

.contacts-info p img{

    width: 58px;
    height: 58px;
    vertical-align: middle;
    margin-right: 1rem;
    border-radius: 2rem;
    background-color: rgba(130, 128, 128, 0.484);
    padding:1rem;
    
}

form input, form textarea {
    width: 100% ;
    padding: 0.9rem;
    margin-bottom: 0.7rem;
    font-size:1.2rem ;
    color:white;
    background-color: rgba(0.5, 0.5, 0.5, 0.5);
    
}

::placeholder{
    color: white;
    font-family: Arial, Helvetica, sans-serif;
}

form button{
    background-color: rgb(1, 1, 26) ;
    color: white;
    padding: 0.8rem;
    font-size: 1rem;
    font-family: Arial, Helvetica, sans-serif;
    display: block;
    margin: 0 auto;
    border:2px solid rgb(53, 53, 53);
    cursor: pointer;
}


/*Footer section style*/

.footer{
    box-sizing: border-box;
    width: 100%;
    display: grid;
    grid-template-rows: 100%;
    grid-template-columns:  45% 40%;
    background-color:rgb(1, 1, 26); 
    margin-top: 40px;
    padding-top: 0.2rem;
    padding-bottom: 0.2rem;
    justify-content: space-between;
   
}

.footer-image-container{
    box-sizing: border-box;
    align-items:center;
    justify-content: space-evenly;
    display: inline-flex;
    margin-left: 3%;
    
}
.footer-image-container img{
    vertical-align: middle;
    
}

.copyright{
    justify-items: center;
    margin-right: 15%;
    color:white;
    font-size: small;
}

.footer a{
    color: white;
    
}

/* Project page styling*/
.project-main{
    min-height: 100vh;
    max-width: auto;
}

.project-section{
    padding-top: 4rem;
    padding-bottom: 3rem;
    margin-bottom: 3rem;
    display: none;

}

.project-section h1{
    margin-left: 4rem;
    margin-right: 1rem;
}



#project-intro p{
    width: 90%;
}


.project-group{
   
    width: 80%;
    margin: auto;
    display:flex;
       
}

.project-image-container{
    
    flex-basis: 50%;
    margin: auto;
    

}

.project-image{
    
    width: 100%;
    height: 300px;
    border-radius: 1rem;
    
}

.description{
   
    flex-basis: 50%;
    margin-left: 5%;
}

 .description h3{
    color:  rgb(0, 0, 23);
    
}



.description-paragraphs p{
    font-size: 1.2rem ;
    line-height:2rem ;
    text-align: justify;
    color: white;  
  
}

.tools-list{
    box-sizing: border-box;
    display: flex;
    flex-wrap: wrap; 
    gap: 5%;
}

.tools-list P{
    background-color: rgb(1, 1, 26);
    color: white;
    padding: 0.7rem;
    font-weight: bold;
    border-radius: 5%;

}

.project-links-container{
    width: 100%;
    display: flex;
    margin: auto;
    margin-top: 1.5rem;
    justify-content: space-evenly;
    
}

.project-link{
    flex-basis: 25%;
    font-size: 0.9rem;
    background-color:rgb(1, 1, 26);  
    color: white;
    padding: 0.8rem;
    font-weight: bold;
    text-align: center;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: color 0.3s ease, background-color 0.3s ease;
   
   
}

.project-link:hover{
   
  scale: 1.05;
   
}

#recipe-app{
    padding-bottom: 0;
    border-bottom: none;

}

       



/*Media queries*/

@media only screen and (max-width: 768px) {

   /*header style*/
    .menu-button {
        display: block;
        align-self:center;    
      
    }

    .menu-button img{
        vertical-align: middle;
      }


    .other-nav {
        display: none;
       
    }

    .other-nav#hidden {
        box-sizing: border-box;  
        position:absolute;
        background-color:  rgb(1, 1, 26) ;
        top: 100%;
        right: 0;
        width: 100%; 
        height: 100vh ;
        padding-top: 2%; 
        align-content: center;
        
  
        
    }

    .other-nav#hidden a{ 
        
        display: block; 
        margin: 10px auto;
        font-size: 1.3rem;
        padding: 5% 0;
        border-bottom: 2px solid  rgba(123, 122, 122, 0.523);
        width: 50%;
        text-align: center;
       
       
    }

    .other-nav#hidden a:last-child {
        border-bottom: none; 
    }
    
    /*general style*/
    .section{
        padding-top: 2rem;
    }

    .about-header,
    .project-header,
    .resume-header,
    .contact-header{
        margin-left: 2.5rem;
        
    }

    #project-intro p,
    #resume-intro p,
    #contact-intro p{
        margin-left: 2.5rem;
    }

    /*about-me section style*/

    .skills-section{
        width: 85%;
    }

    /*project section style*/
    .project-title-container{
     padding: 0 0.5rem;
    }
        
    /*contact section style*/
    .contact-section{
        
        display: block;
        width: 90%;
    }

    .contacts-item1, .contacts-item2{
        width:90%;
        padding: 0;
        margin: auto;
        border: none;
        text-align: center;
    }

    .contacts-item1{
        margin-right: 0%;
        margin: 0 auto 7%;
    }

    .contacts-info p{ 
        width: 350px;
        margin: auto;
        margin-bottom: 1.5rem;
        padding: 1.5rem 0.8rem;
        font-size: 1.25rem;
        font-weight: 700;
        
    }

    .contacts-info p img{
        width: 48px;
        height: 48px;
        margin-right: 0.7rem;
        padding:0.7rem;
        
    }
  
  /*Footer section*/
   .footer{
        width: 100%;
        display: block; 
        justify-content: center;
       
    }

    .footer-image-container{
        width: 100%;
        justify-content:space-evenly;
        display: inline-flex;
        margin-left: 0;
        margin-top: 0.6rem;
         
        
    }
    
    .copyright{
        margin-right: 0%;
        text-align: center;
        justify-self: center;
       
       
    }

    /*project page style*/
    .project-main{
        min-height: calc(100vh - 50px); /* Adjust for header height */
    }

    .project-section{ 
        margin-bottom: 2rem;
        display: none;
    }


    .project-section h1{
    margin-left: 3.2rem;
    }

    .description-paragraphs p{
        text-align:left;
    }

    .project-link{
        
        flex-basis: 40%;
        
    }

    
}


@media only screen and (max-width: 480px ){
   /*general style*/
   
    .section{    
    padding-top: 2rem;
   
   } 

   p{
    font-size: 1rem;
   }

   .about-header,
   .project-header,
   .resume-header,
   .contact-header{
        margin-left: 1rem;
        
    }

    #project-intro p,
    #resume-intro p,
    #contact-intro p{
    margin-left: 1rem;
    
    }

   /* home section style*/
    article{
        
        width: 90% ;
        text-align:center; 
        
    }

    article h2{
        text-align: center;
        font-size: 1rem;
        word-spacing: 0.5rem;
    }

    article p{
        font-size: 1.2rem ;
        line-height: 1.5rem;
    }


    /*About-me section style*/  
    
   
    .message{ 
        border: none;
        width: 95%; 
        padding: 0 0.6rem;
        text-align:left;
        
        
    }

    .skills-section{
        width: 90%;
        display: block;

    }

    .skills-header{
        width: 100%;
        text-align: center;
        border: none;
        height: 16px;
        
    }

    .slider-container{
        display: none;
    }

    .skills-list{
       flex-basis: 100%;
       justify-content:space-evenly;
       
    }


 /*project section style*/

    .project-item h3{
        font-size: 0.5rem;
        font-weight: 100;
        
        
    }

   .project-pic{
        width: 100%;
        height:80px;
    }

    .project-title-container img{
     width: 8px;
    }
    

  /*Contact section style*/
    #contact-intro p{
        width: 90%;
        text-align: left;
       
    }

    .contact-section{
        display: block;
        width: 100%;
        margin: auto;
        margin-bottom: 1rem;
        
        
    }
        
    .contacts-item1, .contacts-item2{
        width:100%;
        font-weight: 500;
        border: none ;
        margin: auto;  
    }
    
    .contacts-item1{
        margin-right: 0%;
        margin: 0 auto 7%;
    }

    form input, form textarea {
        width: 90% ;
        font-size:1.1rem ;   
        
    }

    .contacts-info{
        padding-right: 0;
    }

    .contacts-info p{ 
       
        width: 275px;
        margin: auto;
        margin-bottom: 1rem;
        padding: 1rem 0.5rem;
        font-size: 1rem;
        font-weight: 500;
        
    }

    .contacts-info p img{
        width: 38px;
        height: 38px;
        margin-right: 0.5rem;
        padding:0.5rem;
        
    }

    /*Footer section*/

    .footer{
        width: 100%;
        display: block; 
        justify-content: center;
       
    }

    .footer-image-container{
        width: 100%;
        justify-content:space-evenly;
        display: inline-flex;
        margin-left: 0%;
        margin-top: 0.6rem;
         
        
    }

    
    .copyright{
        margin-right: 0%;
        text-align: center;
        justify-self: center;
       
       
    }


    /*Project page style*/

    .header-nav{
        z-index: 3;
    }
    .project-section{ 
        margin-bottom: 1rem;
        
    }
    
    .project-section h1{
    margin-left: 1rem;
    }

   
    .project-group{
        width: 90%;
        display:block;  
           
    }


    .project-image-container{
        display: none;
    }

    .description{
        margin-left:0;
        width: 100%;
        
    }
    
    .description h3{
        color:  white;
        
    }
     
    .description-paragraphs p{
        font-size: 1rem ;
        text-align: left;
          
      
    }

    #fb-toolbutton{
        background-image: url('../clone-facebook-image.png');

    }

    #club-toolbutton{
        background-image: url('../South-run-club.png');    

    }

    #vc-toolbutton{
        background-image: url('../jetpay-desktop.png');
    }

    #todo-toolbutton{
        background-image: url('../todo-app-mobile.png');
    }

    #expense-toolbutton{
        background-image: url('../expense2.png');
    }

    #reddit-toolbutton{
        background-image: url('../reddit-image.png');
    }

    #recipe-toolbutton{
        background-image: url('../favRecipe2.png');
    }
    #ecommerce-toolbutton{
        background-image: url('../shopco-mobile.png');
    }
    #media-toolbutton{
         background-image: url('../mediaMobile.png');
    }
    #workspace-toolbutton{
        background-image: url('../workspace-mobile.png');
    }

    .toolAndButtonContainer{
        box-sizing: border-box;
        position: relative; 
        width: 100%;
        height: auto;
        border-radius: 1rem; 
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        padding: 0.7rem;
        overflow: hidden; 
    
    }

   .toolAndButtonContainer::before{
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5); 
        border-radius: 1rem; 
        z-index: 1; 
    }

    .toolAndButtonContainer *{
        position: relative; 
        z-index: 2;
    }

    
    .tools-list{
        width: 100%;
        margin-bottom: 10%;    
       
    }
    
    .tools-list P{
        background-color: rgb(1, 1, 26); 
        padding: 0.5rem;
        font-size:2.8cqw;
        color: white;
      
    }

    .project-link{
        flex-basis: 30%;
        margin-bottom: 5%;
        font-size: 0.7rem;  
        
    }

   
       
}

@media only screen and (max-width: 330px) {
   .contacts-info p{ 
       
        width: 230px;
        margin: auto;
        margin-bottom: 1rem;
        padding: 0.8rem 0.5rem;
        font-size: 0.8rem;
        font-weight: 400;
        
    }

    .contacts-info p img{
        width: 30px;
        height: 30px;
        margin-right: 0.5rem;
        padding:0.5rem;
        
    }

}





