
    @import url('https://fonts.googleapis.com/css2?family=Playfair+Display&display=swap');
    html {
        scroll-behavior: smooth;
    }
    
    :root {
       
        --favorite-color:#1DA1F2;
        --title-color: #393939;
        --text-color: #707070;
        --body-color: #FBFEFD;
        --container-color: #FFFFFF;

        --main-color: #121212;
        --orange-primary: #ffc18a;
        --orange-secondary: #fff6ee;
        --blue-primary: #8a8aff;
        --blue-secondary: #f0f0ff;
        --red-primary: #ff8aa1;
        --red-secondary: #fff0f3;
        --sky-primary: #8ad6ff;
        --sky-secondary: #eef9ff;
      

    }
    .change-theme {
        position: absolute;
        right: 1rem;
        top: 1.8rem;
        color: var(--text-color);
        font-size: 1rem;
        cursor: pointer;
    }
    
    body.dark-theme {
        --title-color: #F1F3F2;
        --text-color: #C7D1CC;
        --body-color: #1D2521;
        --container-color: #27302C;
    }
    
    
    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }
    
    body {
        overflow-x: hidden;
        overflow-y: scroll;
      
    }
    img {
        width: 100%;
    }
    li {
        list-style: none;
    }
    
    a {
        text-decoration: none;
    }
    
    .header {
        border-bottom: 2px solid var(--text-color);
        background-color: var(--container-color)
    }
    
    .navbar {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 2rem 1.5rem;
        
    }
    
    .hamburger {
        display: none;
    }
    
    .bar {
        display: block;
        width: 25px;
        height: 3px;
        margin: 5px auto;
        -webkit-transition: all 0.3s ease-in-out;
        transition: all 0.3s ease-in-out;
        background-color: var(--text-color)
    }
    
    .nav-menu {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .nav-item {
        margin-left: 5rem;
    }
    
    .nav-link {
        font-size: 1.8rem;
        font-weight: 300;
        color: var(--text-color);
    }
    
    .nav-link:hover {
        color: var(--favorite-color);
    }
    
    .nav-logo {
        font-size: 2.1rem;
        font-weight: 500;
        color: var(--text-color);
    }
    /* **----home-section styling***** */
    
    #home_section {
        width: 100%;
        height: 100vh;
        display: flex;
        flex-direction: row;
        justify-content: space-around;
        background-color:var(--body-color);
    }
    
    .home__data {
        width: 40%;
        height: 80%;
        margin: 80px;
        padding: 30px;
    }
    
    .home__data h1 {
        color:var(--text-color);
        font-size: 35px;
        font-weight: 600;
        letter-spacing: 2px;
        text-transform: capitalize;
    }
    
    .home__data h2 {
        color:var(--text-color);
        font-size: 35px;
        font-weight: 600;
        letter-spacing: 2px;
        margin-bottom: 60px;
    }
    
    .button {
        background-color: var(--favorite-color);
        padding: 20px;
        border-radius: 10px;
        color:var(--body-color);
        margin-top: 45px;
        font-weight: 300;
        font-size: 20px;
        border-color: var(--favorite-color);
    }
    
    .home_img {
        width: 380px;
        height: 380px;
        border-radius: 5px;

    }
    /* ****styling About***** */
    
    #about {
        width: 100%;
        height: 100vh;
        display: flex;
        flex-direction: row;
        justify-content: space-around;
        flex-wrap: wrap;
        background:var(--body-color);
        overflow: hidden;
    }
    
    #myDiv1 {
        width: 80px;
        height: 160px;
        margin: 20PX;
    }
    
    #myDiv2 {
        width: 420px;
        font-size: 18px;
        height: 330px;
        margin: 20PX;
    }
    
    #myDiv2 h1 {
        font-size: 40px;
        font-weight: 600;
        margin: 15px;
        color:var(--favorite-color);
    }
    
    #myDiv2 p {
        font-size: 20px;
        font-weight: 200;
        color: var(--text-color);
        margin: 15px;
        text-align: justify;
        letter-spacing: 2px;
    }
    
    #myDiv1 img {
        width: 340px;
        height: 380px;
        border-radius: 5px;
        border: 5px solid var(--favorite-color);
    }
    
    #resume-btn {
        background-color: var(--favorite-color);
        padding: 10px;
        border-radius: 5px;
        color: #fff;
        margin-top: 25px;
        font-weight: 300;
        font-size: 17px;
      
    }
    /* ***** styling Project section***** */
    
    .projects {
        width: 100%;
        height: 100vh;
        display: flex;
        flex-direction: column;
        margin-top: -240px;
        justify-content: space-around;
        background-color:var(--body-color);
        overflow: hidden;
    }
    
    #projects-box {
        width: 70%;
        height: 70vh;
        display: flex;
        flex-direction: row;
        margin-top: 40px;
        margin-left: 200px;
        justify-content: space-around;
    }
    
    #project-title h4 {
        font-size: 40px;
        font-weight: 600;
        margin: 15px;
        color: var(--favorite-color);
    }
    .projects h1 {
        font-size: 20px;
        font-weight: 400;
        margin: 15px;
        color:var(--text-color);
        margin-right: 50px;
    }
    
    .project2 {
        width: 350px;
        height: 300px;
        margin: 20px;
    }
    
    .project2 p {
        font-size: 20px;
        font-weight: 200;
        margin: 15px;
        text-align: justify;
        margin-right: 70px;
        color: var(--text-color);
    }
    
    .project_img {
        width: 330px;
        height: 260px;
        margin-left: 0px;
        margin-top: 0;
        border-radius: 10px;
    }
    
    .live-project {
        background-color: var(--favorite-color);
        padding: 10px;
        border-radius: 15px;
        width: 50%;
        font-size: 30px;
        color: var(--container-color);
        margin-top: 5px;
        margin-left: 20px;
        margin-bottom: 400px;
        font-weight: 300;
        font-size: 20px;
        border-color: var(--favorite-color);
    }
    
    #box-project {
        width: 330px;
        height: 500px;
        background-color:var(--container-color);;
        border-radius: 10px;
        box-shadow: 0 8px 16px 0 var(--text-color);
        margin-left: 50px;
    }
    
    /* #box-project:hover {
        box-shadow: 0 8px 16px 0 #757575;
    } */
    
    #project-title {
        font-size: 30px;
        text-align: center;
        font-family: sans-serif;
        color: var(--favorite-color);
        margin-bottom: 35px;
    }

    #p-line {
        width: 180px;
        height: 5px;
        background-color:var(--favorite-color);
        margin-left: 740px;
    }

  
    /* ****** styling form section*****  */
    #contact-section{
        width: 100%;
        margin-top: -30px;
        padding-left: 30px;
        padding-bottom: 50px;
        background-color:var(--body-color);
     }
     #c-line {
        width: 180px;
        height: 5px;
        background-color:var(--favorite-color);
        margin-left: 720px;
    }


    .form-section {
        margin: 20px;
        padding: 20px;
        background-color:var(--container-color);
        border-radius: 5px;
        position: relative;
        font-size: 20px;
        width: 400px;
        height: 530px;
        margin-left: 40rem;
        margin-bottom: 120px;
        overflow: hidden;
        box-shadow: 0 8px 16px 0 var(--text-color);
        
    }
    
    input[type=text],
    textarea {
        width: 300px;
        padding: 12px;
        border: 1px solid var(--favorite-color);
        border-radius: 4px;
        box-sizing: border-box;
        margin-top: 6px;
        margin-bottom: 16px;
        margin-left: 10px;
        color:var(--text-color);
    }
    .form-section label {
        margin-left: 10px;
        color: var(--text-color);
    }
    .submit {
        width: 150px;
        height: 50px;
        background: none;
        border: 2px solid var(--favorite-color);
        border-radius: 10px;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: 100ms;
        margin-left: 100px;
        font-size: 35px;
        color: var(--body-color);
        background-color: var(--favorite-color);
        margin-top: 20px;
    }


    /* ***** styling Footer section**** */
    
    #copyright-details,
    p {
        font-size: 15px;
        color: var(--text-color);
        margin-left: 10px;
    }
    
    #footer {
        display: flex;
        flex-direction: row;
        justify-content: space-around;
        align-items: center;
        width: 100%;
        height: 100%;
        background-color: var(--container-color);
        margin-top: -20px;
        margin-bottom: 0px;
        padding: 30px;
        box-shadow: 0 8px 16px 0 var(--text-color);
    }
    
    #contact-details {
        color: var(--container-color);
        font-size: 15px;
    }
    
    #contact-details h3 {
        color:var(--container-color);
        font-size: 22px;
        font-weight: 500;
        margin-bottom: 10px;
        margin-left: 7px;
        text-decoration: underline;
    }
    
    /* #contact-details p:nth-child(2) {
        text-decoration: line-through;
    } */
    
    #social-media {
        color: var(--container-color);
    }
    
    #social-media,
    a {
        color: var(--favorite-color);
        margin-left: 10px;
        font-size: 20px;
    }
    
    #social-media,
    p {
        margin-bottom: 20px;
        font-size: 20px;
    }
    /* ******end of footer section***** */
 
    /* styling FAQ */

    .skills-faq{

        margin: auto;
        background-color: var(--body-color);
        height: 750px;
        padding-top:30px;

    }
    .container-fluid {
        width: 40%;
        margin: 0 auto;
        margin-top: 70px;
        display:block;
        align-items: center;
        flex-direction: column;
        margin-bottom: 50px;
        box-shadow: 0 8px 16px 0 var(--text-color);
        background-color:var(--body-color);
        padding:55px 35px;
      }
      
      /* h2{
        display: grid;
        place-items: center;
    
      } */
      
      .container-fluid h2 {
        text-align: center;
        margin-left: 70px;
        color:var(--text-color);
        position: relative;
        width: 23rem;
      }
      
      .accordion {
        width: 100%;
        padding: 12px 5px;
        cursor: pointer;
        border-radius: 10px;
        display: flex;
        margin: 10px;
      }
      
      .q1 {
        border: 3px solid var(--favorite-color);
        background-color: var(--favorite-color);
      }
      
      .q2 {
        border: 3px solid var(--favorite-color);
        background-color: var(--favorite-color);
      }
      
      .q3 {
        border: 3px solid var(--favorite-color);
        background-color: var(--favorite-color);
      }
      
      .q4 {
        border: 3px solid var(--favorite-color);
        background-color: var(--favorite-color);
      }
      
      #icon{
        font-size: 1rem;
      }
      
      #icon .active{
        transform: rotate(45deg);
      
      }
      
      h5 {
        font-weight: 500;
        margin-left: 5px;
      }
      
      .panel {
        padding: 0 15px;
        margin-left: 25px;
        text-align: justify;
        overflow: hidden;
        max-height: 0;
        transition: all .5s ease-in;
      }
      
      .show{
          max-height: 300;
      }
      
      p.p1,p.p2,p.p3,p.p4{
        border-left: 3px solid var(--favorite-color);
        font-size: 20px;
      }
      #information{
          font-size:20px;
      }
      /* .p2 {
        border-left: 3px solid var(--favorite-color);
      }
      
      .p3 {
        border-left: 3px solid var(--favorite-color);
      }
      
      .p4 {
        border-left: 3px solid var(--favorite-color);
      } */
      
      
      
      
      /* Rotate */
      .mystyle {
        transform: rotate(45deg);
        transition: 1s;
      }
      .mystyleInvert {
        transform: rotate(0deg);
        transition: 1s;
      }
      
      .single{
      
        display: flex;
        width: 50%;
        height: 50vh;
        flex-direction: row;
        justify-content: space-around;
        background-color:#ffc18a;
      margin:320px 50px 70px 180px ;
      
      
      }
      #theme-button{
      font-size:30px;
      margin: 20px 20px 14px 15px;
      color: var(--text-color);
      
      }
#theme-button:hover{
    color:var(--favorite-color);
    
}


    /* End of FAQ styling */
    @media only screen and (max-width: 400px) {


        #home_section {
            height: 100vh;
            flex-direction: column;
            justify-content: space-evenly;
        }

        .home__data {
           margin-top: 220px;
           height: 260px;
        }
        
        .home__data h1 {
            font-size: 18px;
        }
        
        .home__data h2 {
            font-size: 15px;
        }
        
        .button {
            padding: 8px;
            font-size: 10px;
        }
      
        .nav-menu {
            position: fixed;
            left: -100%;
            top: 5rem;
            flex-direction: column;
            background-color: #fff;
            width: 100%;
            border-radius: 10px;
            text-align: center;
            transition: 2s;
            box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        }
        .nav-menu.active {
            left: 0;
        }
        .nav-item {
            margin: 2.5rem 0;
        }
        .nav-logo{
            font-size: 20px;
        }
        .hamburger {
            margin-right: 30px;
            display: block;
            cursor: pointer;
        }
        .hamburger.active .bar:nth-child(2) {
            opacity: 0;
        }
        .hamburger.active .bar:nth-child(1) {
            /* -webkit-transform: translateY(8px) rotate(45deg); */
            transform: translateY(8px) rotate(45deg);
        }
        .hamburger.active .bar:nth-child(3) {
            /* -webkit-transform: translateY(-8px) rotate(-45deg); */
            transform: translateY(-8px) rotate(-45deg);
        }

           
    #about {
        height: 250vh;
        margin-top: -270px;
        display: flex;
        flex-direction: column;
        justify-content: space-evenly;
        flex-wrap: wrap;
      
    }

    #project-title {
       margin-top: -410px;
       margin-right:140px;
    }
    
    #p-line {
        margin-left: 40px;
    }

    .projects{
        height: 400vh;
        margin-left: 20px;
        justify-content: space-evenly;
        margin-top: -450px ;
    
    }
    #projects-box {
        height: 300vh;
        display: flex;
        flex-direction: column;
        margin-left:-50px;
        margin-top: -400px;
     
    }
    
    .form-section {
        height: 460px;
        margin-left:-0rem;
        width: 320px;
        
    }
    #contact-section{
        width: 250px;
        margin-top: -225px;
        margin-left: 8px;
        padding-left: 40px;
        background-color:var(--body-color);
     }

    .form-section input{
       height: 30px;
        width: 120px;
    }
    .form-section label{
        font-size: 14px;
    }

    .form-section textarea{ 
        height: 70px;
        width: 140px;
        resize: horizontal;
    } 


    .submit{
     
        font-size: 14px;
        margin-left: 6px;
        padding-bottom: 10px;
    }


    #footer {
       margin-left:-2px;
       width: 100%;
       flex-direction: column;
       padding-left: 200px;
    }

    #contact-details{
        margin-left:-130px;

    }

    #contact-details p{
        font-size: 14px; 
    }

   #copyright-details{
   
    margin-left:-210px;
   }
   #copyright-details p{
    font-size: 14px;
    
   }

   #social-media{
    margin-left:-195px;
}
#social-media p{
    font-size: 14px;
}

#myDiv2 h1{
    font-size: 15px;
}

#myDiv1 img {
    width: 240px;
    height: 320px;
    margin-left: 10px;
}

#myDiv2{
margin-top: -260px;
width: 310px;
}

#myDiv2 p{
font-size: 16px;
margin-right: 50px;

}
#box-project {
    width: 260px;
    height: 450px;
    margin-top: 50px;
    margin-bottom: 50px;
    margin-left: 90px;
}

.projects h1 {
    font-size: 17px;
    margin-right: 70px;
}

.project2 {
    width: 300px;
    margin-right: 20px;
}

.project2 h1 {
    font-size: 16px;
}

.project2 p {
    font-size: 13px;
    margin-right:90px ;
   
}

.project_img {
    width: 260px; 
}
.live-project{
    padding: 6px;
}
.container-fluid {
    width: 100%;
    margin: 0 auto;
    margin-top: 100px;
    display:block;
    align-items: center;
    flex-direction: column;
    margin-bottom:  70px;
    background-color:var(--container-color);
    padding:25px 35px; 
  }

  #information{
    font-size:10px;
}

.skills-faq{
    height: 650px;

}
    }


    