@media only screen and (max-width: 1236px) {
  .About,
  .Contact,
  .Projects,
  .Skills {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
  }

  .con-left {
    margin: 0px 100px;
  }
  .con-right {
    margin: 0px 100px;
  }
}
@media only screen and (max-width: 1152px) {
  .img-pr,
  .img-pr img {
    height: 130px !important;
  }
}

@media only screen and (max-width: 1100px) {
  .head-1 {
    font-size: 4rem !important;
  }
  .head-2 {
    font-size: 1.7rem !important;
  }
  .head-4 {
    font-size: 0.9rem;
  }
  .left {
    margin: 35px;
  }
  .Home,
  .About,
  .Skills,
  .Projects,
  .Contact {
    margin: 0px 60px 80px 60px !important;
  }
  .logo {
    margin: 5px 0px 0px 80px !important;
  }
  .nav-bar {
    margin-right: 80px !important;
  }
  .myimage,
  .myimage img {
    width: 250px;
    height: 260px;
    border-radius: 40px;
  }
}
@media only screen and (max-width: 1000px) {
  .projs {
    margin: 0px 20px;
  }
  .sklhead,
  .abthead {
    font-size: 1.6rem;
    margin: 25px;
  }
  .img-pr,
  .img-pr img {
    height: 100px !important;
  }
  .pr-txt p {
    font-size: 0.8rem;
  }
  .btn-2 {
    border-radius: 10px;
    padding: 10px;
    margin: 10px;
  }
  .pr-txt {
    margin: 15px;
  }
  .btn-2 a,
  .btn-2 a i {
    text-decoration: none;
    font-size: 10px;
    color: white;
  }

  .Home,
  .About,
  .Skills,
  .Projects,
  .Contact {
    margin: 0px 60px 50px 60px !important;
  }
  .head-1 {
    font-size: 3.6rem !important;
  }
  .head-2 {
    font-size: 1.6rem !important;
  }
  .left {
    margin: 33px;
  }
  .content p {
    font-size: 0.9rem;
  }
  .btn-1 {
    border: 0.8px solid #268fff;
    border-radius: 10px;
    padding: 10px;
    margin: 10px 10px 10px 0px;
  }
  .btn-1 a,
  .btn-1 a i {
    text-decoration: none;
    font-size: 10px;
    color: white;
  }
  .con-left div a i {
    font-size: 40px;
  }
  .head-4 hr {
    width: 325px;
  }
}
@media only screen and (max-width: 800px) {
  .head-1 {
    font-size: 3.1rem !important;
  }
  .head-4 hr {
    width: 260px;
  }
  .content {
    padding-right: 65px;
    margin-right: 65px;
  }

  .con-left {
    margin: 0px 40px;
  }
  .img-pr,
  .img-pr img {
    height: 90px !important;
  }
}

@media only screen and (max-width: 730px) {
  .con-left {
    display: none;
  }
  .proj {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
  }
  .img-pr,
  .img-pr img {
    height: 150px !important;
  }
  .pr-txt p {
    font-size: 1rem;
  }
  .pr-txt {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin: 15px;
  }
  .btn-2 a,
  .btn-2 a i {
    text-decoration: none;
    font-size: 12px;
    color: white;
  }

  .abtme {
    display: flex;
    justify-content: center;
    margin: 20px 0px;
    align-items: center;
    flex-direction: column-reverse;
  }
  .content {
    padding: 7px;
    margin: 7px 36px;
  }
  .content p {
    font-size: 0.9rem;
  }
  .btn-1 a,
  .btn-1 a i {
    text-decoration: none;
    font-size: 12px;
    color: white;
  }
  .btn-1 {
    border: 0.8px solid #268fff;
    border-radius: 10px;
    padding: 10px;
    margin: 15px 15px 15px 0px;
  }
  .logo {
    margin: 5px 0px 0px 50px !important;
  }
  .logo,
  .logo img {
    height: 65px;
    width: 65px;
  }
  .nav-bar {
    margin-right: 20px !important;
  }
  .Home,
  .About,
  .Skills,
  .Projects,
  .Contact {
    margin: 0px 40px 50px 40px !important;
  }
  .left {
    margin: 21px;
  }
  .head-4 hr {
    width: 250px;
  }
  .head-1 {
    font-size: 3rem !important;
  }
  .head-2 {
    font-size: 1.4rem !important;
  }
}
@media only screen and (max-width: 655px) {
  .head-1 {
    font-size: 2.2rem !important;
  }
  .head-2 {
    font-size: 1.2rem !important;
  }
  .head-4 {
    font-size: 0.85rem;
  }
  .head-4 hr {
    width: 155px;
  }
}
@media only screen and (max-width: 600px) {
  .skill {
    margin: 15px 20px;
  }
  .skl-div p i {
    color: #007bff;
    font-size: 2.7rem;
  }
  .skl-div p {
    font-size: 0.9rem;
  }
  .skl-up,
  .skl-dn {
    margin: 0px;
  }
  .skill {
    width: 25vw;
  }
}
@media only screen and (max-width: 550px) {
  .nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .logo {
    margin: 10px 0px 0px 15px !important;
  }
  .nav-bar {
    margin-right: 0px !important;
  }
  .nav-items a {
    font-size: 1rem;
  }
  .Home,
  .About,
  .Skills,
  .Projects,
  .Contact {
    margin: 0px 25px 50px 25px !important;
  }
  .left {
    margin: 0px;
  }
  .left div {
    margin: 10px 5px;
  }
  .left div i {
    font-size: 23px;
  }
  .head-4 {
    font-size: 0.8rem;
  }
  .head-1 {
    font-size: 2rem !important;
  }
  .head-2 {
    font-size: 1rem !important;
  }
  .head-4 hr {
    width: 136px;
  }

  .cont-fm {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .con-right {
    margin: 0px 5px;
  }
  #submit {
    width: 140px;
    margin: 10px;
    padding: 14px;
  }
}
@media only screen and (max-width: 450px) {
  #text,
  #email,
  #subject,
  #textarea {
    width: 352px;
    margin: 10px;
    border: none;
    color: rgb(75, 75, 75);
    padding: 12px;
    background-color: #d5e9ff;
    border-radius: 5px;
  }

  .content {
    padding: 7px;
    margin: 7px 5px;
  }
  .Home,
  .About,
  .Skills,
  .Projects,
  .Contact {
    margin: 0px 10px 50px 10px !important;
  }
  .main {
    margin: 80px 20px;
    padding: 50px 0px;
  }

  .content p {
    font-size: 0.9rem;
  }
  .main {
    margin: 200px 20px;
    padding: 50px 0px;
  }
}

/* Hamburger Menu */

.fa-bars {
  color: rgb(7, 7, 7);
}
.fa-bars:hover,
.fa-times:hover {
  color: #007bff;
}
.fa-times {
  color: rgb(7, 7, 7);
}
.open {
  margin: 20px;
  display: none;
  cursor: pointer;
  font-size: 1.6rem;
}

.close {
  display: none;
  cursor: pointer;
  font-size: 1.7rem;
}
@media (max-width: 550px) {
  .nav-list {
    height: 100vh;
    position: fixed;
    top: -150%;
    right: 0;
    left: 0;
    z-index: 10;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: top 0.4s ease;
    background-color: #f3f9ff;
    /* display: none; */
  }
  .nav-bar {
    height: 100vh;
    position: fixed;
    top: -150%;
    right: 0;
    left: 0;
    z-index: 10;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-right: 0;
    /* display: none; */
    transition: top 0.4s ease;
    background-color: #f3f9ff;
  }
  .open {
    display: block;
  }
  .close {
    display: block;
    position: absolute;
    top: 20px;
    right: 20px;
  }
}
