/*NAVBAR MEDIA QUERY*/
@media screen and (max-width: 890px) {
  .hamburger {
    display: block;
  }
  /*HAMBURGER MENU FUNCTION*/
  .nav-links {
    height: 0px;
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 100%;
    top: 15vh;
    background-color: #ffff;
    transition: 0.3s ease;
  }
  .nav-links.active {
    height: 410px;
  }
  .nav-links li {
    padding: 15px;
    opacity: 0;
    transition: 0.1s;
  }
  .nav-links.active li {
    opacity: 1;
    transition: 0.9s;
  }
  /*REDUCE HAMBURGER SIZE*/
  nav .hamburger {
    font-size: 1.7rem;
    margin-left: 130px;
  }
  /*REDUCE LOGO SIZE*/
  nav .logo {
    font-size: 2rem;
    font-weight: 700;
    color: #464343;
  }
  /*REDUCE MENU ITEM SIZE*/
  .nav-links li a {
    font-size: 1.2rem;
  }
  /*REDUCE IMAGE SIZE*/
  section .profile-pic img {
    height: 300px;
    width: 300px;
  }
}

/*SCREEN SIZE < 960PX*/

@media screen and (max-width: 960px) {
  /*REDUCE IMAGE SIZE*/
  section .profile-pic img {
    height: 300px;
    width: 300px;
  }
  /*REDUCE TEXT SIZE FOR PROFILE SECTION*/
  .greeting {
    font-size: 2rem;
    font-weight: 400;
  }
  .name {
    font-size: 3.3rem;
    font-weight: 500;
  }
  .specialist {
    font-size: 2rem;
    font-weight: 400;
  }
  /*REDUCE BUTTON SIZE*/
  #download-btn,
  #contact-btn {
    height: 40px;
    width: 140px;
    font-size: 0.9rem;
  }
  /*REDUCE TEXT SIZE FOR ABOUT ME SECTION*/
  #about-me-txt1 {
    font-size: 1rem;
  }
  #about-me-txt2 {
    font-size: 2.6rem;
  }
  .experience h2 {
    font-size: 1.9rem;
    padding: 20px;
  }

  .education h2 {
    font-size: 1.7rem;
    padding: 20px;
  }
  .experience,
  .education p {
    font-size: 1.2rem;
    font-weight: 500;
  }
  .about-me-txt3 {
    font-size: 1.2rem;
    padding: 0 30px;
  }
  /*REDUCE TEXT SIZE FOR EXPERIENCE SECTION*/
  #explore-experience-txt1 {
    font-size: 1rem;
  }
  #explore-experience-txt2 {
    font-size: 2.6rem;
  }
  .frontend,
  .backend {
    width: 490px;
    height: 270px;
  }
  .frontend-container a img {
    width: 30px;
    height: 30px;
  }
  .backend-container a img {
    width: 30px;
    height: 30px;
  }
  .frontend h2 {
    font-size: 1.4rem;
  }
  .backend h2 {
    font-size: 1.4rem;
  }
  /*REDUCE TEXT SIZE FOR PROJECT & BOX SECTION*/
  #explore-project-txt1 {
    font-size: 1rem;
  }
  #explore-project-txt2 {
    font-size: 2.6rem;
  }
  .project-card {
    width: 230px;
    height: 370px;
  }
  .project-card .project-txt-header {
    font-size: 1.5rem;
    text-align: center;
    letter-spacing: 0.1em;
    margin-top: 70%;
  }
  .project-card .project-txt-slogan {
    font-size: 1rem;
    font-weight: 500;
  }
  .project-card .hover-txt {
    font-size: 1rem;
    text-align: center;
  }

  .project-card .hover-btn {
    width: 120px;
    height: 35px;
    margin: 30px auto;
  }
  .project-card .hover-btn a {
    font-size: 0.9rem;
  }

  /*REDUCE TEXT SIZE FOR CONTACT SECTION*/
  #contact-me-txt1 {
    font-size: 1rem;
  }
  #contact-me-txt2 {
    font-size: 2.6rem;
  }
  /* #email {
    width: 390px;
    height: 50px;
    margin: 10px auto 20px auto;
    border-radius: 10px;
    border: 2px solid #fb8b24;
    font-size: 1.7rem;
    text-align: center;
  } */   /*Email section is removed*/
  .contact-container .submit-btn{
    font-size: 1.4rem;
    font-weight: 700;
    width: 160px;
    height: 50px;

  }
  .submit-btn:hover {
    background-color: #fb8b24;
    font-size: 1.2rem;
    color: #464343;
  }
  .contact-container h2 {
    font-size: 1.9rem;
    font-weight: 300;
    margin-top: 30px;
    
  }
}
/*SCREEN SIZE < 690PX*/
@media screen and (max-width: 690px) {
  /*REDUCE IMAGE SIZE*/
  section .profile-pic img {
    height: 200px;
    width: 200px;
  }
  /*REDUCE TEXT SIZE*/
  .greeting {
    font-size: 1.5rem;
    font-weight: 400;
  }
  .name {
    font-size: 2.4rem;
    font-weight: 500;
  }
  .specialist {
    font-size: 1.5rem;
    font-weight: 400;
  }
  /*REDUCE BUTTON SIZE*/
  #download-btn,
  #contact-btn {
    height: 30px;
    width: 130px;
    font-size: 0.7rem;
  }

  /*REDUCE TEXT SIZE FOR PROJECT & BOX SECTION*/

  .project-card-container {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
  }
  .project-card {
    margin: 10px;
  }
  .project-card {
    width: 350px;
    height: 370px;
  }
  .project-card .project-txt-header {
    font-size: 2.3rem;
    text-align: center;
    letter-spacing: 0.1em;
    margin-top: 40%;
  }
}
/*SCREEN SIZE < 600PX*/
@media screen and (max-width: 600px) {
  /*INCREASE IMAGE SIZE*/
  section .profile-pic img {
    height: 250px;
    width: 250px;
  }
  #hero {
    display: flex;
    flex-direction: column;
    transition: 0.5s;
  }
  section .profile-pic img {
    margin: 40px auto 0 auto;
  }
  .hero-text {
    margin: 40px auto;
    text-align: center;
  }
  .hero-btn {
    padding: 30px;
  }
  /*ABOUT-ME-BOX CHANGE FOR MOBILE VIEWS*/
  .about-me-container {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .experience {
    margin-bottom: 30px;
  }
  .about-me-txt3 p {
    padding: 10px 30px;
    text-align: center;
  }
  /*EXPERIENCE SCREEN CHANGE FOR MOBILE VIEWS */

  .explore-experience-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 30px auto 0 auto;
  }

  .frontend,
  .backend {
    width: 360px;
    height: 230px;
  }
}

/*SCREEN SIZE < 430 PX (MOBILE SCREEN)*/
@media screen and (max-width: 430px) {
  /*REDUCED BUTTON DIM*/
  #download-btn,
  #contact-btn {
    height: 40px;
    width: 130px;
    font-size: 0.7rem;
    margin: 0;
    padding: 0;
  }
  #download-btn {
    margin-bottom: 10px;
  }

  #about {
    margin: 0 0 40px 0;
  }
  #about-me-txt1 {
    font-size: 1rem;
  }
  #about-me-txt2 {
    font-size: 2.8rem;
  }
  .about-me-box {
    width: 245px;
    height: 180px;
  }

  .about-me-txt3 {
    font-size: 1.1rem;
    padding: 0 10px;
  }

  .experience h2 {
    font-size: 1.8rem;
    padding: 20px;
  }

  .education h2 {
    font-size: 1.8rem;
    padding: 20px;
  }
  .experience,
  .education p {
    font-size: 1.1rem;
    font-weight: 500;
  }

  #experience {
    margin: 0 0 40px 0;
  }
  /*Experience*/
  .frontend {
    width: 245px;
    height: 230px;
  }
  .backend {
    width: 245px;
    height: 230px;
  }
  #explore-experience-txt1 {
    font-size: 1rem;
  }
  #explore-experience-txt2 {
    font-size: 2.8rem;
  }
  .explore-project-text {
    margin: 0;
  }

  #explore-project-txt1 {
    font-size: 1rem;
  }
  #explore-project-txt2 {
    font-size: 2.8rem;
  }
  #projects {
    margin: 0 0 40px 0;
  }
  .project-card {
    width: 245px;
    height: 230px;
  }
  .project-card-container {
    margin: 30px auto 0 auto;
    /* border: 1px solid red; */
  }

  #contact-me-txt1 {
    font-size: 1rem;
  }
  #contact-me-txt2 {
    font-size: 2.8rem;
  }

  #email {
    width: 240px;
    height: 40px;
    margin: 30px auto 20px auto;
    font-size: 1rem;
  }
  .submit-btn {
    text-align: center;
    width: 130px;
    height: 40px;
  }
  .project-card .project-txt-header {
   margin-top: 30%;
    
  }
  .project-card .hover-txt{
    font-size: 1.1rem; 
    margin-top: 20px;
    
  }

  .contact-container h2 {
    text-align: center;
    font-size: 1.8rem;
    font-weight: 300;
    padding: 15px;
  }
  
  .contact-container .submit-btn{
    font-size: 1.2rem;
    text-align: center;
    font-weight: 700;
    width: 230px;
    height: 50px;

  }

  footer .bottom-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
  footer .bottom-links li {
    margin: 0 auto;
    padding: 20px;
  }

  .copyright {
    margin-top: 60px;
    text-align: center;
  }
  .copyright p {
    font-size: 0.9rem;
  }
  .bottom-links li a {
    font-size: 1rem;
  }
  .bottom {
    margin: 70px auto 0 auto;
    padding-bottom: 30px;
  }
}
