/* mobile screen */

@media (max-width: 850px) {
  nav .fa-bars {
    display: block;
    cursor: pointer;
  }

  nav ul {
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    flex-direction: column;
    text-align: center;
    background-color: #262626;
    gap: 0;
    overflow: hidden;
    z-index: 999;
  }

  nav ul li {
    padding: 15px 0px;
    border-bottom: 0.5px solid #62626293;
    width: 100%;
    font-size: 20px;
    z-index: 999;
  }

  nav ul li:hover {
    background-color: #57b0e3;
    transition: ease 0.5s;
  }

  #nav-menu {
    transition: all 0.5s;
  }
}

/* mobile screen End */


/* Home Top Section */

@media (max-width: 1150px) {
  main .main-text {
    width: 70%;
    position: absolute;
    top: 200px;
    left: 200px;
    text-align: left;
    line-height: 70px;
    margin: 10px auto;

  }

  main .main-text h1 {
    font-size: 45px;
    font-weight: 900;
    color: #57b0e3;
    line-height: 45px;

  }

  main .main-text h2 {
    font-size: 45px;
    font-weight: 900;
    color: #fff;
    line-height: 45px;

  }

  main .main-text .para {
    font-size: 15px;
    color: #fff;
    font-weight: 100;
    justify-content: flex-start;
    line-height: 20px;
    margin-top: 15px 0px;
  }
}

@media (max-width: 900px) {
  main .main-text {
    width: 60%;
    position: absolute;
    top: 200px;
    left: 150px;
    text-align: left;
    line-height: 70px;
    margin: 10px auto;
    /* border: 2px solid red; */
  }

  main .main-text h1 {
    font-size: 45px;
    font-weight: 900;
    color: #57b0e3;
    line-height: 45px;

  }

  main .main-text h2 {
    font-size: 45px;
    font-weight: 700;
    color: #fff;
    line-height: 45px;

  }

  main .main-text .para {
    font-size: 15px;
    color: #fff;
    font-weight: 100;
    justify-content: flex-start;
    line-height: 20px;
    margin-top: 15px 0px;
  }
}



@media (max-width: 600px) {
  main .main-text {
    width: 60%;
    position: absolute;
    top: 150px;
    left: 100px;
    text-align: left;
    /* line-height: 70px; */
    margin: 10px auto;

  }

  main .main-text h1 {
    font-size: 35px;
    text-transform: uppercase;
    font-weight: 900;
    color: #57b0e3;
    line-height: 35px;


  }

  main .main-text h2 {
    font-size: 28px;
    text-transform: uppercase;
    font-weight: 900;
    color: #fff;
    line-height: 28px;

  }

  main .main-text .para {
    font-size: 15px;
    color: #fff;
    font-weight: 500;
    text-align: left;
    line-height: 20px;
    margin-top: 14px 0px;
  }

  /* Social Icons */

  .social-icons i {
    display: none;
  }
}


/* Home Top Section End */

/* About Us */

@media (max-width: 900px) {
  .about-sec {
    /* width: 100%;
    height: 100vh; */
    background-color: #262626;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* border: 2px solid red; */

  }

  .about-sec .about-left {
    width: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    /* border: 2px solid red; */
  }

  .about-sec .about-left img {
    width: 250px;
    height: 250px;
    background-color: #57b0e3;
    border: 1px solid #fff;
    border-radius: 50%;
  }

  .about-sec .about-right {
    width: 80%;
    display: flex;
    flex-direction: column;
    text-align: left;
    justify-content: left;
    flex-direction: column;
  }

  .about-sec .about-right h2 {
    font-size: 30px;
    font-weight: 700;
    color: #57b0e3;
    padding: 20px 0px;
  }

  .about-sec .about-right h3 {
    font-size: 18px;
    color: #fff;
    font-weight: 700;
  }

  .about-sec .about-right p {
    font-size: 15px;
    color: #fff;
    padding: 20px 0px;
    line-height: 18px;
  }
}

@media (max-width: 600px) {
  .about-sec .about-left img {
    width: 200px;
    height: 200px;
    background-color: #57b0e3;
    border: 1px solid #fff;
    border-radius: 50%;
  }

  .about-sec .about-right p {
    font-size: 15px;
    color: #fff;
    font-weight: 500;
    text-align: left;
    line-height: 20px;
  }

  .about-sec .btn-cv a {
    text-decoration: none;
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    padding: 7px 20px;
    background-color: #262626;
    border: 3px solid #fff;
    border-radius: 5px;
    transition: all 0.5s;
  }
}

/* About Us End */


/* Skills */

@media(max-width: 900px) {
  .center-text h2 {
    text-align: center;
    padding: 60px 0px;
    font-size: 30px;
    font-weight: 900;
    color: #57b0e3;
  }

  .row img {
    width: 70px;
    border-radius: 15px;
    cursor: pointer;
    transition: all 1s;
  }

  .row img:hover {
    width: 72px;
    border: 1px solid #57b0e3;
    transition: all 1s;
  }

}

@media(max-width: 600px) {
  .center-text h2 {
    text-align: center;
    padding: 30px 0px;
    font-size: 35px;
    font-weight: 900;
    color: #57b0e3;
  }

  .row img {
    width: 50px;
    border-radius: 15px;
    cursor: pointer;
    transition: all 1s;
  }

  .row img:hover {
    width: 51px;
    border: 1px solid #57b0e3;
    transition: all 1s;
  }

}

/* Skills End */


/* Experience */
@media(max-width: 900px) {

  .exper h2 {
    text-align: center;
    color: #57b0e3;
    font-size: 30px;
    font-weight: 900;
  }

  .exp-text h3 {
    font-size: 17px;
    font-weight: 500;
    color: #fff;
    padding: 3px 0px;
    text-align: left;
  }

  .exp-text ul li {
    font-size: 15px;
    list-style: lower-greek;
    color: #fff;
    padding: 1px 0px;
    font-weight: 100;
  }
}

@media(max-width: 600px) {
  .exper h2 {
    text-align: center;
    color: #57b0e3;
    font-size: 20px;
    font-weight: 700;
  }

  .exp-text h3 {
    font-size: 15px;
    font-weight: 500;
    color: #fff;
    padding: 3px 0px;
    text-align: left;
  }

  .exp-text ul li {
    font-size: 14px;
    list-style: lower-greek;
    color: #fff;
    padding: 1px 0px;
    font-weight: 100;
  }
}

/* Experience End */

/* Portfolio */

@media (max-width: 600px) {
  .flex-port .card img {
    width: 300px;
    height: 250px;


  }
}

/* Portfolio End*/


/* Contact Form */

@media (max-width: 850px) {
  .form-section {
    flex-direction: column;

  }

  .form-section .right-form {
    width: 80%;
  }

  .form-section .frm input {
    width: 100%;
    margin: 2px 0;
    padding: 12px 0px;
    border: none;
    outline: none;
    background-color: #ffffff;
    color: #262626;
    font-size: 14px;
    font-weight: 500;
    padding-left: 10px;
  }

  .form-section .frm button {
    margin-top: 8px;
  }
}

/* Contact Form End */