/* For navigation */
nav {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
   }
nav a {
    text-decoration: none;
     }
nav  li {
    list-style: none;
   }

 /* NAVBAR STYLING STARTS */
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px;
    background-color: black;
    color: #fff;
    overflow: hidden;
  }
  nav a{
    padding: 12px;
    border-radius: 10px;
  }
  
   nav a.active {
    color: black;
    background: white; 
  }
  
  .sticky {
    position: fixed;
    top: 0;
    width: 100%;
  }
  
  .sticky + .content {
    padding-top: 60px;
  }
   .nav-links a {
    color: #fff;
   }
   
   /* LOGO */
   .logo {
    font-size: 32px;
   }
   /* NAVBAR MENU */
   .menu {
    display: flex;
    gap: 1em;
    font-size: 18px;
   }
   .menu li:hover {
    background-color: rgba(128, 128, 128, 0.786);
    padding: 5px;
    border-radius: 10px;
    transition: 0.3s ease;
   }
   .menu li {
    padding: 5px 14px;
   }
   /* DROPDOWN MENU */
   .dropdown {
    background-color: black;
    padding: 1em 0;
    position: absolute; /*WITH RESPECT TO PARENT*/
    display: none;
    border-radius: 8px;
    top: 35px;
   }
   .dropdown li + li {
    margin-top: 10px;
   }
   .dropdown li {
    padding: 0.5em 1em;
    width: 8em;
    text-align: center;
   }
   .dropdown li:hover {
    background-color: rgba(128, 128, 128, 0.786);
   }
   .services:hover .dropdown {
    display: block;
   }
   /*RESPONSIVE NAVBAR MENU STARTS*/
/* CHECKBOX HACK */
input[type=checkbox]{
    display: none;
   } 
   /*HAMBURGER MENU*/
   .hamburger {
    display: none;
    font-size: 24px;
    user-select: none;
   }
   /* APPLYING MEDIA QUERIES */
   @media (max-width: 768px) {
   .menu { 
    display:none;
    position: absolute;
    background-color: black;
    right: 0;
    left: 0;
    text-align: center;
    padding: 16px 0;
   }
   .menu li:hover {
    display: inline-block;
    background-color:rgba(128, 128, 128, 0.786);
    transition: 0.3s ease;
   }
   .menu li + li {
    margin-top: 12px;
   }
   input[type=checkbox]:checked ~ .menu{
    display: block;
   }
   .hamburger {
    display: block;
   }
   .dropdown {
    left: 50%;
    top: 30px;
    transform: translateX(35%);
   }
   .dropdown li:hover {
    background-color: rgba(128, 128, 128, 0.786);
   }
   }

/* For home section*/

#home{ 
    text-align: center;
    padding: 20px;
    padding-top: 100px;
    padding-bottom: 100px;
    background-image: url("home.jfif");
    background-size: 100%;
    background-repeat: no-repeat;
}

#home img{
    border-radius: 10%;
    width: 300px;
    height: 300px;
}

#home h1{
    padding: 40px;
}


#home h2{
    text-align: justify;
    color: black;
    padding: 10px;
}

/* For Aboutme section*/

#Aboutme{
    padding-top: 80px;
    padding-bottom: 60px;
}
#Aboutme h1{
      text-align: center;
      
}
#Aboutme p{
    text-align: justify;
    font-size: x-large;
    padding: 10px;
    margin-left: 50px;
    margin-right: 50px;
}


/* For project section*/

#Projects p{
    text-align: center;
    color: red;
}

#Projects{
    padding-top: 100px;
    background-image: url("home.jfif");
    background-size: 100%;
    padding-bottom: 100px;
}
#Projects .nav{
    position: static;
}


#Projects h1{
    text-align: center;
    width: 200px;
    height:35px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    background-color: white;
    border-radius: 10px;
    padding: 10px;
}
#Projects h2{
    text-align: center;
    width: 500px;
    height:45px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    background-color: white;
    border-radius: 10px;
    padding: 10px;
}

#Projects h4{
    text-align: justify;
}
.Projects {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin: 100px 10vw;
}

.project {
    height: 40vw;
    min-height: 300px;
    margin: 1rem;
    text-align: center;
}

.project__rotate {
    width: 100%;
    height: 100%;
    position: relative;
    transition: transform 0.5s;
    -ms-transform-style: preserve-3d;
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
}

.project__vis {
    position: absolute;
    width: 100%;
    height: 100%;
    -ms-backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}

.project__vis.back, .project__rotate:hover {
    -ms-transform: rotateY(180deg);
    -webkit-transform: rotateY(180deg);
    transform: rotateY(180deg);
}

.QUICKFEED {
    background-image: url("QuickFeed.jpeg");
}

.HDMS {
    background-image: url("HDMS.jpg");
}

.VISUALISATION {
    background-image: url("Visualisation.jpg");
}

.AI_CHATBOT {
    background-image: url("AI\ CHATBOT.png");
}

.project a {
    display: block;
    width: 100px;
    background: white;
    -webkit-border-radius: 20;
    -moz-border-radius: 20;
    border-radius: 10px;
    font-family:'Times New Roman', Times, serif;
    font-size: 15px;
    color: black;
    padding: 10px 200px 10px 200px;
    text-decoration: none;
    text-align: justify;
}
#Projects h3{
    display: none;
}

/* For website section */

#Websites{
    padding-top: 100px;
    padding-bottom: 100px;
}
.websites {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
   
}
#Websites h1{
    text-align: center;
    width: 200px;
    height:35px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    background-color: white;
    border-radius: 10px;
    padding: 10px;
}
.card {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
    max-width: 300px;
    margin: auto;
    margin-top: 10px;
    height: 30vw;
    text-align: center;
    font-family: arial;
  }
  
  .card img{
    max-height: 18vw;
  }
  
  .card button {
    border: none;
    outline: 0;
    padding: 12px;
    color: white;
    background-color: #000;
    text-align: center;
    cursor: pointer;
    width: 100%;
    font-size: 20px;
  }
  
  .card button:hover {
    opacity: 0.7;
  }


/* for workexperience section*/

#Workexperience {
    padding-top: 100px;
    padding-bottom: 300px;
    background-image: url("home.jfif");
    background-size: 100%;
    background-repeat: no-repeat;
}


#Workexperience h1{
    width: 300px;
    height:35px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    background-color: white;
    border-radius: 10px;
    padding: 10px;
    text-align: center;
}
#Workexperience img {
    float: right;
    width: 10%;
    padding-right: 50px;
    height: auto;
  }

#Workexperience h2{
    text-align: center;
    padding: 10px;
}
#Workexperience li{
    text-align: justify;
    color: black;
    margin-left: 80px;
    padding: 10px;
    font-size: x-large;
}

/* for RESUME section*/
#Resume{
    text-align: center;
    padding-top: 100px;
    padding-bottom: 100px; 
}
#Resume h1{
    width: 200px;
    height:35px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    background-color: white;
    border-radius: 10px;
    padding: 10px;
    text-align: center;
}   

#Resume button {
    background-color: #e7e7e7;
    border: none;
    color: black;
    padding: 15px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    cursor: pointer;
  }

/*for contact section*/
  #contact{
    text-align: center;
    display: grid;
    color: black;
    padding-top: 150px;
    padding-bottom: 150px;
}
#contact{
    background-color: #e7e7e7;
    color: black;
}
#contact p{
    font-size: x-large;
    color: black;
}

.email a, .linkedin a, .github a{
    text-decoration: underline;
    color: rgb(60, 128, 206);
}

#contact h4{
    text-decoration: underline;
    color: rgb(60, 128, 206);
}
.fa {
    padding: 20px;
    font-size: 30px;
    width: 30px;
    text-align: center;
    text-decoration: none;
    margin: 5px 2px;
    border-radius: 50%;
    background: rgba(128, 128, 128, 0.658);
    color: white;
  }
  .icon{
    display: grid;
    grid-template-columns: 40% 40% 40%;
    padding-top: 20px;
    margin: auto;
    align-items: center;
  }
  
  .fa:hover {
      opacity: 0.7;
  }
  
  

@media screen and (max-width: 800px) {
    
#home{ 
    text-align: center;
    padding: 20px;
    padding-top: 100px;
    padding-bottom: 100px;
    background-image: url("home.jfif");
    background-size: 100%;
    background-repeat: repeat-y;
}
.Projects {
    display: grid;
    grid-template-columns: 1fr;
    margin: 100px 10vw;
}
.project a {
    display: block;
    width: 50px;
    background: white;
    -webkit-border-radius: 20;
    -moz-border-radius: 20;
    border-radius: 10px;
    font-family:'Times New Roman', Times, serif;
    font-size: 5px;
    color: black;
    padding: 5px 100px 5px 100px;
    text-decoration: none;
    text-align: justify;
}
#Projects h4{
    display: none;
}
#Projects h1{
    text-align: center;
    width: 200px;
    height:5px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    background-color: white;
    border-radius: 10px;
    padding: 0px;
}
#Projects h2{
    display: none;
}
#Projects h3{
    display: inline-block;
}
.project {
    height: 20vw;
    min-height: 150px;
    margin: 1rem;
    text-align: center;
}
    
    .websites {
        display: grid;
        grid-template-columns: 1fr;
       
    }
   
      .card {
        box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
        max-width: 300px;
        margin: auto;
        margin-top: 5px;
        padding-bottom: 200px;
        height: 30vw;
        text-align: center;
        font-family: arial;
      }
      .card button {
        border: none;
        outline: 0;
        padding: 6px;
        color: white;
        background-color: #000;
        text-align: center;
        cursor: pointer;
        width: 100%;
        font-size: 10px;
      }
      
 
    .VisualisationImages, .QuickFeedImage, .chatbotImages,.HospitalDBMSImages{
        display: grid;
        grid-template-columns: 1fr;
        padding-top: 100px;
    }
    #Workexperience {
        padding-top: 100px;
        padding-bottom: 100px;
        background-image: url("home.jfif");
        background-size: 100%;
        background-repeat: repeat-y;
    }

    #Resume object{
        width: 415px;
        height: 550px;
    }
    @media
(prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}