body{
    margin : o;
    padding : 0;
    font-family : 'Montserrat', sans-serif;
    background-color: #161616;
    color: white;
    overflow-x: hidden;
    overflow-y: scroll;
    scroll-behavior: smooth;
    box-sizing:border-box; 
}
.nav-container{
    position : fixed;
    width : 100%;
    background-color:#161616;
}
.navbar-nav{
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* top-bottom left-right */
    padding: 0 10%;
    font-size: 1.5rem;
}
.brand{
    color: white;
}

.toggle-btn:hover{
    cursor: pointer;
  }
ul{
    list-style : none;

}
li{
    display : inline;
    padding: 0 2rem;
}
li a {
    text-decoration : none;
    color: #54dcf2;
}
.click a {
    border-bottom: 3px solid #fa788d;
    color: #fa788d;
    font-weight: bold;
  }

/* Home */
.container{
    display: flex;
    justify-content: center;
    align-items: center;
    /* top right bottom left */
    padding: 15vh 10vw 5vh 10vw;
    height: 80vh;
}
.me{
    height: 250px;
    width:250px;
    object-fit: cover;
    border-radius: 50%; 
    border: 5px solid #fa788d;

}
.image-container, .designation-container{
    text-align: center;
}
h4{
    color: #fa788d;
    font-size: 1.5rem;
}
.image-container{
    width: 30%;
}
.designation-container{
    width: 70%
}
h1,h2,h3{
    margin: 0;
}
h1{
    font-size: 3.5rem;
}
h2{
    font-size: 2.5rem;
    margin: 1rem 0;
    opacity: 0.75;
}
h3{
    opacity: 0.5;
}
/* About Section */
.grid-container{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 250px;
    padding: 15vh 10vw 5vh 10vw;
    grid-gap: 30px;
}
.edu, .skills, .about{
    padding: 2rem;
    background-color: #232d2f;
    border-radius: 10px;
}
.edu{
    grid-column: 1/2;
    grid-row: 1/2;
}
.skills{
    grid-row: 2/3 ;
    grid-column: 1/2 ;
}
.about{
    grid-column: 2/4 ;
    grid-row: 1/3;
}
.head{
    font-size: 2rem;
    color: #54dcf2;
}

.subhead{
    font-size: 1rem;
    opacity: 1;
}
p{
    line-height: 2;
}
.btn{
    font-family : 'Montserrat', sans-serif;
    background-color: #fa788d;
    border-radius: 5px;
    border: none;
    padding: 0.5rem 2rem;
    font-weight: 700;
}
.btn:focus{
    border: none;
    background-color: #54dcf2;
    outline: none;
}
.btn:hover{
    border: none;
    background-color: #54dcf2;
}
/* Contact section */
.grid-container3{
    display: flex;
    justify-content: center;
    
}
.contact-form{
    background-color: #232d2f;
    border-radius: 18px;
    padding: 2em;
    flex-direction: column;
    text-align: center;
    justify-content: center;
    width: 350px;
}

.form-text h2{
    margin: 1rem;
    padding: 0;
    font-size: 25px;
}
.form-input{
    border-radius: 10px;
    border: none;
    background-color: #161616;
    color:white;
    text-align: left;
    width: 90%;
    padding: 1em;
    margin-bottom: 1rem;
    font-family: "Montserrat";
    font-size: 1rem;

}
.form-input::placeholder{
    color: white;
    font-size: 1rem;
}
.submit-button:hover,
.btn:hover {
  background-color: #54dcf2;
  border: none;
}
.submit-button:focus,
.btn:focus {
  background-color: #54dcf2;
  border: none;
  outline: none;
}
.form-input:focus{
    background-color: white;
    color:black;
    outline: none;
}

footer{
    background-color: #232d2f;
    position: absolute;
    width: 100%;
    height: 250px;
    margin-top: 3rem;
    left: 0px;
    overflow-x: hidden;
    box-sizing:border-box; 
   -moz-box-sizing:border-box; 
   -webkit-box-sizing:border-box; 
   -ms-box-sizing:border-box;
  
}
.footer{
    margin: 2rem 1 rem 1rem 1rem;
    text-align: center;
}
.icon{
    display: inline-block;
    padding: 2rem 5rem;
}
.icon:hover, icon:focus{
    transform: scale(1.2);
}
.footer-text h3{
    color:#54dcf2;
    opacity: 1;
    text-align: center;
    margin: 1rem;
    font-size: 18pt;
}
.fab{
    color: #54dcf2;
}
/*responsive navbar*/
.nav-responsive{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
  }
btn{
    max-width: 100%;
  }
  
  
  .hide{
    display: none;
  }
/*Media Queries*/

/*Medium and small screen sizes*/

@media (min-width: 769px) and (max-width: 992px){
    li a{
      padding: 0.5rem 1rem;
    }
  }
  @media (max-width: 768px){
    .container{
      flex-direction: column;
    }
  
    .image-container, .designation-container{
        width: 100%;
        padding: 0 1rem;
      }
      .designation-container{
        margin-top: 3rem;
      }
      
  
      .grid-container{
        display: block;
        text-align: center;
      }
      .edu, .about{
        margin-top: 3rem;
      }
  
      .navbar-nav{
        display: block;
        margin: 0.5rem 0;
      }
  
      li {
        display: block;
        padding: 0.5rem 0;
      }
      li a{
        padding: 0;
      }
    ul{
      width: 100%;
      text-align: center;
      padding: 0 0 1rem 0;
      margin: 0;
    }
    .icon{
      margin-top: 0;
    }
  
  
    
  h1{
    font-size: 3rem;
  
  }
  h2{
    font-size: 1.5rem;
  }
  h3{
    font-size: 1rem;
  }
  .heading-below{
    font-size: 1.3rem;
  }
  
  
  }
  
   /*XS Screens*/
  
  @media (max-width: 400px){
    .footer{
      flex-direction: column;
    }
    .icon{
      margin-bottom: 1rem;
    }
    h1{
      font-size: 2.2rem;
    }
    h2{
      font-size: 1.3rem;
    }
    h3{
      font-size: 1rem;
    }
    .heading-below{
      font-size: 1.3rem;
    }
    
    .heading-below{
      font-size: 2rem;
    }
  }
