@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,300;0,400;1,700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Crete+Round:ital@0;1&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  font-family: "Poppins", sans-serif;
}

@media (min-width: 768px) {
  body {
    font-family: "Poppins", sans-serif;
    background-color: #e5e5e5;
  }

  #navbar {
    padding: 40px;
    display: flex;
    justify-content: space-between;
    top: 0;
    overflow: hidden;
    position: fixed;
    height: 70px;
    background-color: #fff;
    width: 100%;
  }

  .langu ul {
    display: flex;
    flex-direction: column;
    list-style-type: none;
  }

  #navbar ul {
    display: flex;
    list-style-type: none;
  }

  #navbar ul a {
    padding: 10px;
    margin: 0 10px;
    color: #344563;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
  }

  #navbar ul a:hover {
    color: cyan;
    transition: 1s ease-out;
    font-size: 20px;
  }

  .logo {
    text-decoration: none;
    font-size: 18px;
    font-weight: 700;
    color: #6070ff;
  }

  .barIcon {
    display: none;
  }

  .first {
    background-image: url(images/Header.svg);
    background-position: center 96px;
    background-size: 100%;
    background-repeat: no-repeat;
    border-bottom-left-radius: 160px;
    background-color: #fff;
    height: 846px;
    padding: 90px;
  }

  .boxHeader {
    margin: 0 auto;
    overflow: auto;
    padding: 0;
    border: 2px solid red;
  }

  /* .boxHeader .boxHead {
    margin-bottom: 20px;
    padding: 20% 7% 0 7%;
    border: solid darkblue 1px;
  } */

  .boxHead h1 {
    font-weight: 700;
    font-size: 48px;
    line-height: 60px;
    letter-spacing: 0.37px;
    color: #091e42;
    margin-top: 20px;
  }

  .boxHead p {
    font-style: normal;
    font-weight: 400;
    font-size: 20px;
    line-height: 28px;
    color: #344563;
    margin-top: 20px;
  }

  .boxConnect {
    font-style: normal;
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    text-align: left;
    color: #7f8cff;
    padding-top: 10px;
    display: flex;
    margin-top: 20px;
  }

  .boxSocial {
    display: flex;
    margin-top: 20px;
    list-style: none;
    padding: 5px;
    column-gap: 15px;
  }

  .works {
    display: flex;
    flex-direction: column;
    text-align: left;
    margin-bottom: 104px;
    height: 100%;
    margin-top: -75px;
  }

  .container {
    max-width: 1440px;
    margin: 0;
    padding: 0 40px;
    margin-top: 112px;
  }

  .grid-container {
    display: grid;
    background-color: #fff;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    justify-content: center;
    align-items: center;
    height: 100%;
    overflow: hidden;
    border-radius: 24px;
    padding: 15px;
    margin-top: 104px;
  }

  .grid-container img {
    width: 100%;
  }

  .languag li img {
    width: 100%;
  }

  .grid-container img:hover {
    background-color: #fff;
    opacity: 0.8;
    -webkit-transition: 2s ease-out;
    -moz-transition: 2s ease-out;
    -o-transition: 2s ease-out;
    transition: 2s ease-out;
  }

  .grid-item3 {
    display: none;
  }

  .tonic {
    font-size: 40px;
    font-weight: 700;
    color: #091e42;
    font-style: normal;
  }

  .listItem {
    list-style-type: disc;
    display: flex;
    flex-wrap: wrap;
  }

  .lang li {
    background-color: #ebebff;
    border-radius: 10px;
    color: #6070ff;
    padding: 4px 12px;
    margin-bottom: 6%;
    font-size: 12px;
    font-weight: 500;
  }

  .listItem li {
    margin-right: 5px;
    font-size: 18px;
    font-weight: 400;
    color: #6b778c;
    margin-left: 20px;
  }

  .listItem li:first-child {
    font-weight: 500;
    color: #344563;
    list-style-type: none;
    margin-left: 0;
  }

  .list {
    display: flex;
    margin: 0;
    padding: 1% 0 2% 0;
  }

  .canopy {
    font-size: 18px;
    font-weight: 500;

    /* line-height: 16px; */
    text-align: left;
    color: #344563;
  }

  .cano {
    font-size: 17px;
    font-weight: 400;
    color: #6b778c;
    display: flex;
    gap: 30px;
    margin-left: 8%;
  }

  .firstPara {
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;

    /* text-align: left; */
    margin: 7px 0;
    color: #344563;
  }

  .lang {
    display: flex;
    flex-wrap: wrap;
    list-style-type: none;
    text-decoration: none;

    /* padding-left: 0; */

    /* margin-right: 10px; */
    gap: 2%;

    /* font-family: 'Poppins', sans-serif; */

    /* font-style: normal; */
    font-weight: 500;
    font-size: 12px;
    letter-spacing: 0.03em;
  }

  .buttonButton1 {
    font-family: "Poppins", sans-serif;
    font-size: 17px;
    font-weight: 500;
    width: 135px;
    color: #396df2;
    background-color: white;
    border: #396df2 solid 1px;
    border-radius: 8px;
    height: 41px;
    transition-duration: 0.5s;
  }

  .buttonButton1:hover {
    color: white;
    background-color: #396df2;
    transform: scale(1.1);
    cursor: pointer;
  }

  .buttonButton2 {
    font-family: "Poppins", sans-serif;
    font-size: 17px;
    font-weight: 500;
    line-height: 24px;
    letter-spacing: 0.03em;
    text-align: center;
    width: 170px;
    color: #396df2;
    background-color: white;
    border: #396df2 solid 2px;
    border-radius: 10px;
    height: 50px;
    transition-duration: 0.5s;
    padding: 0;
  }

  .buttonButton2:hover {
    color: white;
    background-color: #396df2;
  }

  .about {
    display: flex;
    flex-direction: row;
    background-image: url(images/Base\ about\ my\ self.png);
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 4px;
    text-align: left;
    margin-left: -10px;
    justify-content: space-around;
    padding: 90px;
    height: 668px;
  }

  .section2 {
    display: flex;
    flex-direction: column;
    padding: 24px 114px 0 24px;
  }

  .myself {
    margin-bottom: 12px;
    font-family: "Poppins", sans-serif;
    font-style: normal;
    font-weight: 700;
    font-size: 40px;
    line-height: 52px;
    color: #172b4d;
  }

  .AboutMyself {
    font-family: "Poppins", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    text-align: left;
    color: #344563;
    width: 327px;
    height: 147px;
  }

  .boxConnect2 {
    font-family: "Poppins", sans-serif;
    font-style: normal;
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    text-align: left;
    color: #7f8cff;
    margin: 0;
    padding-top: 12px;
    display: flex;
    padding-bottom: 13px;
  }

  .boxSociall2 {
    margin: 0;
    display: flex;
    margin-top: 5px;
    list-style: none;
    padding-left: 5px;
    column-gap: 25px;
    padding-bottom: 13px;
  }

  .langu {
    display: flex;
    flex-direction: column;
  }

  .languag .fLi {
    display: flex;
    flex-direction: row;
  }

  .languag .fLi2 {
    display: none;
  }

  .languag .fLi li {
    padding: 5px;
    width: 25%;
  }

  .languag .fLi img {
    size: 10%;
  }

  .bgWhite {
    background-color: #fff;
  }

  .contactMe {
    color: #fff;
    padding-top: 103px;

    /* margin: 24px; */
    text-align: center;
    font-family: "poppins", sans-serif;
    background-color: #396df2;
    height: 846px;
    border-top-left-radius: 80px;
    background-image: url("images/contact.svg");
    background-repeat: no-repeat;
    background-position: right;
  }

  .contactMe h1 {
    font-weight: 700;
    font-size: 40px;
  }

  .contactMe p {
    margin: 12px 24px;
    font-size: 20px;
    font-weight: 400;
    padding: 0 202px;
  }

  .contactMe .form {
    width: 327px;
    margin: auto;
  }

  .contactMe .form-control {
    margin: 10px auto;
  }

  .contactMe input {
    border-radius: 8px;
    width: 100%;
    height: 48px;
    margin: 14px 0;
    padding: 10px;
  }

  .contactMe textarea {
    border-radius: 8px;
    width: 100%;
    height: 170px;
    margin: 14px 0;
    padding: 10px;
  }

  .contactMe .buttonThree {
    display: block;
    flex-direction: row;
    align-items: center;
    padding: 12px 16px;
    background: #fff;
    border-radius: 8px;
    color: #396df2;
    font-weight: 500;
    font-size: 17px;
    line-height: 24px;

    /* margin-top: 8px; */
    margin: auto;
  }

  .buttonThree:hover {
    color: white;
    background-color: #396df2;
  }
}

/* mobile version */

@media (max-width: 767.9px) {
  body {
    font-family: "Poppins", sans-serif;
    background-color: #e5e5e5;
    width: 100%;
  }

  #navbar {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    top: 0;
    overflow: hidden;
    position: fixed;
    height: 60px;
    background-color: #fff;
    width: 100%;
  }

  .langu ul {
    display: flex;
    flex-direction: column;
    list-style-type: none;
  }

  #navbar ul {
    display: none;
    list-style-type: none;
  }

  a:hover {
    color: cyan;
  }

  #navbar ul a {
    padding: 4px;
    margin: 0 10px;
    color: #344563;
    font-size: 10px;
    font-weight: 500;
    text-decoration: none;
  }

  .logo {
    text-decoration: none;
    font-size: 18px;
    font-weight: 700;
    color: #6070ff;
  }

  .first {
    background-image: url(images/Header.svg);
    background-position: center 96px;
    background-size: 100%;
    background-repeat: no-repeat;
    border-bottom-left-radius: 90px;
    background-color: #fff;
    height: 713px;
    padding: 6px;
    padding-top: 120px;
  }

  /* .boxHeader {
    margin: 0 auto;
    overflow: auto;
    padding: 0;
    border: 2px solid red;
  } */

  /* .boxHeader .boxHead {
    margin-bottom: 20px;
    padding: 20% 7% 0 7%;
    border: solid darkblue 1px;
  } */

  .boxHead h1 {
    font-weight: 700;
    font-size: 40px;
    line-height: 52px;
    letter-spacing: 0.37px;
    color: #091e42;
    margin-top: 20px;
  }

  .boxHead p {
    font-style: normal;
    font-weight: 400;
    font-size: 20px;
    line-height: 28px;
    color: #344563;
    margin-top: 20px;
  }

  .boxConnect {
    font-style: normal;
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    text-align: left;
    color: #7f8cff;
    padding-top: 10px;
    display: flex;
    margin-top: 20px;
  }

  .boxSocial {
    display: flex;
    margin-top: 20px;
    list-style: none;
    padding: 5px;
    column-gap: 15px;
  }

  .works {
    display: flex;
    flex-direction: column;
    text-align: left;
    margin-bottom: 104px;
    height: 100%;
  }

  .container {
    margin: 0;
    padding: 0 24px;
  }

  .grid-container {
    display: grid;
    background-color: #fff;
    grid-template-columns: 1fr;
    gap: 20px;
    justify-content: center;
    align-items: center;
    height: 100%;
    overflow: hidden;
    border-radius: 24px;
    padding: 15px;
    margin-top: 70px;
  }

  .grid-container img {
    width: 100%;
  }

  .grid-item4 {
    display: none;
  }

  .tonic {
    font-size: 40px;
    font-weight: 700;
    color: #091e42;
    font-style: normal;
  }

  .listItem {
    list-style-type: disc;
    display: flex;
    flex-wrap: wrap;
  }

  .lang li {
    background-color: #ebebff;
    border-radius: 10px;
    color: #6070ff;
    padding: 4px 12px;
    margin-bottom: 6%;
    font-size: 12px;
    font-weight: 500;
  }

  .listItem li {
    margin-right: 5px;
    font-size: 18px;
    font-weight: 400;
    color: #6b778c;
    margin-left: 20px;
  }

  .listItem li:first-child {
    font-weight: 500;
    color: #344563;
    list-style-type: none;
    margin-left: 0;
  }

  .list {
    display: flex;
    margin: 0;
    padding: 1% 0 2% 0;
  }

  .canopy {
    font-size: 18px;
    font-weight: 500;

    /* line-height: 16px; */
    text-align: left;
    color: #344563;
  }

  .cano {
    font-size: 17px;
    font-weight: 400;
    color: #6b778c;
    display: flex;
    gap: 30px;
    margin-left: 8%;
  }

  .firstPara {
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;

    /* text-align: left; */
    margin: 7px 0;
    color: #344563;
  }

  .lang {
    display: flex;
    flex-wrap: wrap;
    list-style-type: none;
    text-decoration: none;

    /* padding-left: 0; */

    /* margin-right: 10px; */
    gap: 2%;

    /* font-family: 'Poppins', sans-serif; */

    /* font-style: normal; */
    font-weight: 500;
    font-size: 12px;
    letter-spacing: 0.03em;
  }

  .buttonButton1 {
    font-family: "Poppins", sans-serif;
    font-size: 17px;
    font-weight: 500;
    width: 135px;
    color: #396df2;
    background-color: white;
    border: #396df2 solid 1px;
    border-radius: 8px;
    height: 41px;
    transition-duration: 0.5s;
  }

  .buttonButton1:hover {
    color: white;
    background-color: #396df2;
  }

  .buttonButton2 {
    font-family: "Poppins", sans-serif;
    font-size: 17px;
    font-weight: 500;
    line-height: 24px;
    letter-spacing: 0.03em;
    text-align: center;
    width: 170px;
    color: #396df2;
    background-color: white;
    border: #396df2 solid 2px;
    border-radius: 10px;
    height: 50px;
    transition-duration: 0.5s;
    padding: 0;
  }

  .buttonButton2:hover {
    color: white;
    background-color: #396df2;
  }

  .about {
    display: flex;
    flex-direction: column;
    background-image: url(images/Base\ about\ my\ self.png);
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 4px;
    text-align: left;
    margin-left: -10px;
    justify-content: space-around;
    padding: 24px;
    padding-bottom: 114px;
  }

  .section2 {
    display: flex;
    flex-direction: column;
    padding: 24px 114px 0 24px;
  }

  .myself {
    margin-bottom: 12px;
    font-family: "Poppins", sans-serif;
    font-style: normal;
    font-weight: 700;
    font-size: 40px;
    line-height: 52px;
    color: #172b4d;
  }

  .AboutMyself {
    font-family: "Poppins", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    text-align: left;
    color: #344563;
    width: 327px;
    height: 147px;
  }

  .boxConnect2 {
    font-family: "Poppins", sans-serif;
    font-style: normal;
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    text-align: left;
    color: #7f8cff;
    margin: 0;
    padding-top: 12px;
    display: flex;
    padding-bottom: 13px;
  }

  .boxSociall2 {
    margin: 0;
    display: flex;
    margin-top: 5px;
    list-style: none;
    padding-left: 5px;
    column-gap: 25px;
    padding-bottom: 13px;
  }

  .langu {
    display: flex;
    flex-direction: column;
  }

  .languag .fLi {
    display: none;
    flex-direction: row;
  }

  .languag .fLi li {
    padding: 5px;
    width: 25%;
  }

  .languag li img {
    width: 100%;
  }

  .languag .fLi img {
    size: 10%;
  }

  .bgWhite {
    background-color: #fff;
  }

  .contactMe {
    color: #fff;
    padding-top: 103px;

    /* margin: 24px; */
    text-align: center;
    font-family: "poppins", sans-serif;
    background-color: #396df2;
    height: 779px;
    border-top-left-radius: 80px;
    background-image: url(images/contact-form-shapes-mobile.png);
    background-repeat: no-repeat;
    background-position: right;
  }

  .contactMe h1 {
    font-weight: 700;
    font-size: 40px;
  }

  .contactMe p {
    margin: 12px 24px;
    font-size: 20px;
    font-weight: 400;
  }

  .contactMe .form {
    width: 327px;
    margin: auto;
  }

  .contactMe .form-control {
    margin: 10px auto;
  }

  .contactMe input {
    border-radius: 8px;
    width: 100%;
    height: 48px;
    margin: 14px 0;
    padding: 10px;
  }

  .contactMe textarea {
    border-radius: 8px;
    width: 100%;
    height: 170px;
    margin: 14px 0;
    padding: 10px;
  }

  .contactMe .buttonThree {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 12px 16px;
    background: #fff;
    border-radius: 8px;
    color: #396df2;
    font-weight: 500;
    font-size: 17px;
    line-height: 24px;
    margin-top: 8px;
  }

  .buttonThree:hover {
    color: white;
    background-color: #396df2;
  }
}
