@import url("https://fonts.googleapis.com/css2?family=Libre+Baskerville&family=PT+Sans:ital,wght@0,400;0,700;1,400;1,700&family=Work+Sans:wght@400;500;600;700&display=swap");

@import url("https://fonts.googleapis.com/css2?family=Dancing+Script:wght@500&family=Kalam&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@500&display=swap");

@import url("https://fonts.googleapis.com/css2?family=Bree+Serif&display=swap");

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  text-decoration: none;
  list-style: none;
  font-family: "Poppins", sans-serif;
}

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}

body {
  background-color: #212529;
}

.header {
  padding: 0 12.4rem;
  top: 0;
  height: 7rem;
  display: flex;
  width: 100%;
  justify-content: space-between;
  align-items: center;
  animation: dropDown 0.7s;
  transition: 0.5s;
  z-index: 999;
}
.header.scroll {
  transition: 0.5s;
  background-color: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(30px);

  position: fixed;
}
.header .logoText {
  font-size: 25px;
  text-transform: uppercase;
  font-weight: 600;
  display: flex;
  width: auto;
}
.log1 {
  display: inline-block;
  width: 17px;
  transform: rotate(45deg);
  content: "";
  background-color: rgb(255, 255, 255);
  height: 3px;
  cursor: pointer;
  margin-bottom: 7px;
  animation: rotate 2s infinite;
}
.log2 {
  margin-left: -24px;
  margin-bottom: 7px;
  display: inline-block;
  width: 17px;
  transform: rotate(135deg);
  content: "";
  background-color: rgb(255, 255, 255);
  height: 3px;
  cursor: pointer;
  animation: rotate 2s infinite;
}

.navbar-list li:nth-child(4) {
  display: none;
}

.navbar-list {
  display: flex;
  gap: 5rem;
  margin-right: 20px;
  list-style: none;
}

.navbar-link:link,
.navbar-link:visited {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
  font-size: 1.5rem;
  color: white;
  padding: 10px 10px 10px 12px;
  transition: all 0.3s;
  border-bottom: solid 2px rgb(72, 72, 72);
}

.navbar-link:hover {
  color: #aeaeae;
  border-radius: 10px;
  scale: 1.1;
}
.navbar-link:active {
  transition: 10s;
  background-color: red;
}
.navbar-link::after {
  content: "";
  width: 100%;

  color: red;
}
.mobile-navbar-btn {
  display: none;
  background: transparent;
  cursor: pointer;
}

.mobile-nav-icon {
  width: 4rem;
  height: 4rem;
  color: #ffffff;
}

.mobile-nav-icon[name="close-outline"] {
  display: none;
}
.contactBtn {
  list-style-type: none;
  transition: 0.3s;
}

.contactBtn button {
  border: none;
  list-style-type: none;
  font-size: 17px;
  text-transform: uppercase;
  text-decoration: none;
  color: black;
  background-color: rgb(17, 91, 108);
  padding: 6px 15px 7px 15px;
  border-radius: 30px;
  margin-right: 5px;
  transition: 0.3s;
}
.contactBtn button:hover {
  cursor: pointer;
  color: white;
  scale: 1.06;
  box-shadow: 0 0 12px rgb(170, 170, 170);
}

/* width */
::-webkit-scrollbar {
  width: 5px;
}

/* Track */
::-webkit-scrollbar-track {
  background: #f1f1f100;
  border-radius: 20px;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: #555;
  border-radius: 10px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #888;
}

/* Landing Page hero Section*/

.mainContent {
  height: auto;

  padding: 60px 120px;
  gap: 20rem;
  display: flex;
  justify-content: center;
  align-items: center;
}
.mainContent.scroll {
  margin-top: 70px;
}
.imageElement {
  background-color: rgb(83, 143, 141);
  width: 300px;
  height: 300px;
  margin-top: 50px;
  z-index: -1;
  position: absolute;
  animation: ballBounce 3s infinite;

  border-radius: 50%;
  transition: 1s;
  box-shadow: 0px 1px 183px 21px rgba(33, 118, 142, 1);
  -webkit-box-shadow: 0px 1px 183px 21px rgba(33, 118, 142, 1);
  -moz-box-shadow: 0px 1px 183px 21px rgba(33, 118, 142, 1);
}
.textContent {
  animation: slide;
  font-size: 34px;
  color: #aeaeae;
  flex-basis: 50%;
}
.textContent p {
  font-size: 18px;
  margin-top: 30px;
  animation: slideRight 1.4s;
}
.textContent h4 {
  font-weight: 200;
  margin-top: -10px;
  animation: slideRight 1s;
}
.auto-type {
  letter-spacing: 1px;
  display: block;
  height: 45px;
  font-size: 30px;
  text-transform: uppercase;
  font-weight: 500;
  color: rgba(53, 148, 207, 0.778);
  font-family: "Kalam", cursive;
}
.textContent h4 span {
  padding-top: 10px;
  font-weight: 800;
  text-transform: uppercase;
  color: rgb(30, 135, 149);
}
.myImg img {
  height: 80vh;
  animation: slideLeft 1s;
}

.imageContent {
  flex-basis: 40%;
  left: 0;
  right: 0;
  margin: auto;
  display: flex;
  justify-content: center;
}
.socials {
  display: flex;
  gap: 20px;
  margin-top: 25px;
  font-size: 26px;
  animation: slideRight 1.8s;
}

.socials i:hover {
  transform: rotate(360deg);

  transition: 0.3s;
}
.buttons {
  padding: 20px 0;
  display: flex;
  gap: 25px;
  font-size: 19px;
}
.buttons button {
  width: 180;
  font-size: 19px;
  cursor: pointer;
  padding: 7px 23px;
  font-weight: 5 00;
  border: none;
  text-transform: uppercase;
  border-radius: 20px;
  transition: 0.5s;
  animation: slideRight 2.2s;
}
.cvBtn {
  background-color: rgb(52, 156, 255);
  color: rgb(255, 255, 255);
}
.cvBtn:hover {
  color: black;
  transition: 0.5s;
  scale: 1.1;
  box-shadow: 0 0 13px #bdbdbd;
}
.gitBtn {
  background-color: rgb(18, 18, 18);
  color: rgb(255, 255, 255);
}
.gitBtn:hover {
  transition: 0.5s;
  scale: 1.1;
  box-shadow: 0 0 13px #bdbdbd;
}
textarea {
  resize: none;

  height: 75px;
  color: white;
  background-color: rgba(33, 37, 41, 0.503);

  border: none;
  border-bottom: 2px solid rgb(0, 0, 0);

  padding: 7px;
  font-size: 15px;
  width: 47vh;
  outline: none;
}
.contactBox {
  z-index: 999;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.1),
    rgba(255, 255, 255, 0)
  );
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  transition: 0.3s;
  scale: 0;
  opacity: 0;
  position: fixed;
  text-align: center;
  padding: 40px;
  top: 0;
  border-radius: 30px;
  margin-top: 10rem;
  left: 0;
  right: 0;
  margin-left: auto;
  margin-right: auto;
  width: 60vh;
  height: auto;
}
.contactBox.active {
  scale: 1;
  transition: 0.3s;
  opacity: 1;
  visibility: visible;
}
.contactBox h1 {
  color: rgb(201, 201, 201);
  font-size: 24px;
  text-transform: uppercase;
  font-weight: 900;
}
.closeBtnDiv {
  position: absolute;
  top: 10;
  right: 10;
  cursor: pointer;
  height: 48px;
  width: 45px;
  border-radius: 50%;
  transition: 0.7s;
}

.closeBtn {
  left: 0;
  top: 22;
  margin: auto;
  right: 0;
  display: block;
  position: absolute;
  width: 30px;
  transform: rotate(45deg);
  content: "";
  background-color: rgba(220, 20, 60, 0.7);
  color: black;
  height: 3px;
  cursor: pointer;
}
.closeBtn2 {
  left: 0;
  top: 22;
  margin: auto;
  right: 0;
  display: block;
  position: absolute;
  width: 30px;
  transform: rotate(135deg);
  content: "";
  background-color: rgba(220, 20, 60, 0.7);
  color: black;
  height: 3px;
  cursor: pointer;
}

.contactBox form {
  display: grid;
  gap: 25px;
  justify-content: center;
  margin-top: 50px;
}
.contactBox form input {
  height: 40px;
  color: white;
  background-color: rgba(33, 37, 41, 0.503);

  border: none;
  border-bottom: 2px solid rgb(0, 0, 0);

  padding: 0 10px;
  font-size: 15px;
  width: 100%;
  outline: none;
}
.contactBox button {
  width: 150px;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  border-radius: 20px;
  background-color: #374f55;
  font-size: 20px;
  height: 40px;
  color: white;
  left: 0;
  right: 0;
  transition: 0.5s;
  margin: auto;
}
.contactBox button:hover {
  scale: 1.1;
  background-color: white;
  color: black;
  transition: 0.5s;
}
/* Landing Page hero Section*/

/*About Section*/
.aboutSection {
  padding: 80px 50px;
  height: auto;
  color: white;
  justify-content: right;
  background: linear-gradient(
    180deg,
    rgb(33, 37, 41),
    rgba(33, 37, 41, 0.684),
    rgb(33, 54, 63)
  );
}

.aboutRow {
  margin-top: 20px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
.about-col-1 {
  flex-basis: 35%;
}
.about-col-1 img {
  width: 100%;

  border-radius: 30px;
}
.about-col-2 {
  flex-basis: 60%;
  text-align: justify;
}
.title {
  margin-top: -10px;
  letter-spacing: 2px;
  font-size: 40px;
  font-weight: 500;
}
.about-col-2 p {
  font-size: 18px;
  margin-bottom: 20px;
}

.skills {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 60px;
  padding: 10px 0px 0px 0px;
  width: 100%;
}
.skillTitle {
  font-size: 18px;
}
.skillBar {
  background-color: rgb(94, 94, 94);
  height: 15px;
  width: 100%;
  border-radius: 3px;
}
.skillProgress {
  position: relative;
  margin-top: 4px;
  border-radius: 3px;
  background-color: #3687d3;
  height: 100%;
  animation: 5s progressBar;
}
.skillProgress::before {
  border-radius: 7px;
  content: attr(per);
  position: absolute;
  color: black;
  padding: 0px 20px;
  transform: translateX(50%);

  right: 0px;
  font-size: 14px;
  background-color: white;
  top: -27px;
  z-index: 1;
}
.skillProgress::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  background-color: white;
  transform: translateX(50%) rotate(45deg);
  right: 0;
  top: -13px;
  z-index: 0;
}
/*About Section*/

/*My Services Section*/
.myServices {
  padding: 80px 50px 0px 50px;
  height: auto;
  color: white;
  justify-content: right;
  background: linear-gradient(
    180deg,
    rgb(33, 54, 63),
    rgb(41, 55, 69),
    rgba(61, 89, 116, 0.684)
  );
}
.myServices h1 {
  margin-top: 35px;
  text-align: center;
  padding: 10px;
  font-size: 30px;
  font-weight: 500;
  letter-spacing: 2px;
  background-color: #24303a;
  border-radius: 10px;
  text-transform: uppercase;
}
.myServices h2 {
  color: #d5d5d5;

  padding: 15px;
  font-weight: 500;
  font-size: 35px;
  text-align: center;
}
.serviceRow {
  padding: 2% 0px;
  display: flex;
  height: auto;
  width: 100%;
  flex-direction: row;
  gap: 3%;
  display: flex;
  justify-content: space-evenly;
}
.serviceRow .service {
  padding: 20px 0px;
  flex-basis: 25%;
  min-height: 35vh;
  height: auto;
  transition: 0.7s;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
}
.service:hover {
  background-color: rgba(126, 126, 126, 0.305);
  cursor: pointer;
  transform: scale(1.05);
  transition: 0.7s;
}
.icon {
  text-align: center;
}
.icon i {
  font-size: 40px;
  color: rgb(133, 169, 214);
}
.icon span {
  font-size: 20px;
}
.service p {
  color: #aeaeae;
  font-weight: 100;
  font-size: 15px;
  text-align: center;
  padding: 20px;
  padding-bottom: 20px;
}
/*My Services Section*/
/* Projects Styling*/
.projects {
  padding: 4rem;
  background: linear-gradient(
    180deg,
    rgba(61, 89, 116, 0.684),
    rgb(33, 54, 63),
    #212529
  );
}
.projectsMainHeading {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 60px;
  align-items: center;
}
.projectsMainHeading hr {
  width: 35%;
  border: 3px solid rgba(144, 214, 255, 0.301);
  margin-top: 20px;
}
.projectsMainHeading h1 {
  color: whitesmoke;
  text-transform: uppercase;
  margin-top: 20px;
  font-size: 30px;
  position: relative;
  display: flex;
  justify-content: center;
  flex-direction: row;
  flex-wrap: nowrap;
}

.project-box {
  padding: 4rem;
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(3, 1fr);
}
.project {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 3.5rem;
  gap: 1rem;
  border-radius: 1rem;
  background-color: rgba(0, 0, 0, 0.5);

  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  transition: 0.3s;
}
.project:hover {
  transform: scale(1.02);
  transition: 0.3s;
}
.project-img {
  display: grid;
  place-content: center;
}
.project-img img {
  width: 100%;
  height: 100%;
  border-radius: 10px;
  transition: 0.3s;
}
.project-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.project-info h1 {
  color: white;
  font-size: 2rem;
  text-align: center;
  text-transform: uppercase;
}
.project-info p {
  color: grey;
  font-size: 1.5rem;
  text-align: center;
}
.project-info a {
  font-size: 1.5rem;
  text-align: center;
  text-decoration: none;
  padding: 1rem;
}
.project-btns {
  display: flex;
  justify-content: center;
  gap: 3rem;
}
.project-info button {
  border: none;
  overflow: hidden;
  background-color: #505050df;
  border-radius: 10px;
  height: 4.2rem;
  width: 90%;
  font-size: 1.5rem;
  text-transform: uppercase;
  cursor: pointer;
  transition: 0.6s;
  display: grid;
  place-content: center;
}
.project-btns a:nth-child(1) {
  color: black;
}
.project-btns .codebtn {
  color: white !important;
}
.project-btns button:nth-child(1) {
  background-color: #ffffff;
}
.project-btns button:nth-child(2) {
  background-color: black;
}

.project-btns button:hover {
  transform: scale(1.1);
  transition: 0.3s;
}
.project-btns button:nth-child(2):hover a {
  color: white;
  text-decoration: underline;
  transition: 0.3s;
}
.project-btns button:nth-child(1):hover a {
  text-decoration: underline black;
  color: black;
  transition: 0.3s;
}

/* Projects Styling*/

/* Footer Styling*/
footer {
  background-color: #212529;
  height: auto;
  width: 100%;
  padding: 20px;
}
.footerColumn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
}
.footerRow {
  display: flex;
  padding: 20px 100px;
  justify-content: space-around;
}
.socialsParent {
  flex-basis: 30%;
  display: flex;
  gap: 20px;
  flex-direction: column;
}
.footerSocials,
.footerSocials a {
  color: white;
  display: flex;
  font-size: 25px;
  justify-content: center;
  gap: 40px;
}
.socialContent {
  color: #aaaaaa;
  text-align: center;
  font-size: 13px;
}
.contactFooter {
  flex-basis: 30%;
  color: white;
  gap: 20px;
  display: flex;
  flex-direction: column;
}
.contactFooter span i {
  margin-right: 5px;
  font-size: 15px;
  padding: 10px;
  background-color: rgb(32, 82, 103);
  border-radius: 50%;
}
.contactFooter span {
  align-self: center;
  font-size: 15px;
}
.footerCenter div {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 10px;
}
.footerCenter hr {
  width: 100%;
  border: 3px solid #3c89ab;
}
.footerCenter h1 {
  color: #9c9c9c;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 1px;
  z-index: 9;
  position: relative;
  display: flex;
  justify-content: center;
}

.footerCenter h1 span {
  color: #b01b1d;
}
.footerCenter p {
  color: #3c89ab;
  font-size: 15px;
  text-align: center;
}
.copyRight {
  display: flex;
  color: whitesmoke;
  justify-content: center;
  font-size: 13px;
}
/* Footer Styling*/

/* ====================KeyFrames==================== */

@keyframes rotate {
  0% {
    rotate: 10deg;
  }
  50% {
    rotate: 180deg;
  }
  100% {
    rotate: 360deg;
  }
}
@keyframes popUp {
  0% {
    scale: 0;
  }
  100% {
    scale: 1;
  }
}
@keyframes slideRight {
  0% {
    transform: translate(-200px);
    opacity: 0;
  }

  100% {
    transform: translate(0);
    opacity: 1;
  }
}
@keyframes slideLeft {
  0% {
    transform: translate(200px);
    opacity: 0;
  }

  100% {
    transform: translate(0);
    opacity: 1;
  }
}
@keyframes dropDown {
  0% {
    transform: translateY(-200px);
    opacity: 0;
  }
  50% {
    transition: 1s;
    transform: translateY(22px);
    opacity: 0.5;
  }
  100% {
    transform: translate(0);
    opacity: 1;
  }
}
@keyframes logoDrop {
  0% {
    transform: translateY(-500px);
    opacity: 0;
  }
  50% {
    transition: 1s;
    transform: translateY(50px);
    opacity: 0.5;
  }
  100% {
    transform: translate(0);
    opacity: 1;
  }
}
@keyframes ballBounce {
  0% {
    transform: translateY(100px);
    width: 33 0px;
  }

  50% {
    transform: translateY(-100px);
  }
  100% {
    transform: translateY(100px);
  }
}
@keyframes progressBar {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}
/* ==============Responsive Codes ============= */

/* 980px  */
@media (max-width: 62em) {
  .mobile-navbar-btn {
    display: block;
    z-index: 999;
    color: blue;
  }
  .navbar-list li:nth-child(4) {
    display: contents;
  }
  .contactBtn {
    display: none;
  }
  .header {
    position: relative;
  }

  .header .logo {
    width: 40%;
  }
  .gitBtn {
    margin: 0;
  }
  .buttons {
    display: grid;
    gap: 20px;
    margin-bottom: 40px;
  }
  .mainContent {
    display: grid;
    gap: 0rem;
    padding: 20px;
  }
  .mainContent.scroll {
    margin-top: 70px;
  }
  .socials {
    font-size: 22px;
  }
  .imageContent {
    height: auto;
    padding-top: 0;
  }
  .imageElement {
    height: 200px;
    width: 200px;
  }
  .myImg {
    right: 0;
    left: 0;
    margin: auto;
    display: flex;
    justify-content: center;
  }
  .mainContent img {
    height: 40vh;
  }
  .buttons {
    padding-top: 30px;
  }
  .buttons button {
    width: 100%;
  }
  .textContent {
    font-size: 200%;
  }

  .navbar {
    /* display: none; */

    width: 100%;
    height: auto;
    padding-bottom: 20px;
    background: #1c1c1cdf;
    position: absolute;
    top: 0;
    right: 0;

    display: flex;
    justify-content: center;
    align-items: center;

    /* to get the tranisition  */
    transform: translateY(-100%);
    transition: all 0.7s linear;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }

  .navbar-list {
    margin-top: 20px;
    gap: 20px;
    padding: 0;
    flex-direction: column;
    align-items: center;
    transition: 2s;
    text-align: center;
  }

  .navbar .navbar-link {
    width: 200px;
    padding-bottom: 10px;
    border-bottom: white 1px sold;
  }

  .active .navbar {
    transform: translate(0);
    background-color: rgba(0, 0, 0, 0.848);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    height: 36vh;
  }

  .active .mobile-navbar-btn .mobile-nav-icon[name="close-outline"] {
    display: block;
  }

  .active .mobile-navbar-btn .mobile-nav-icon[name="menu-outline"] {
    display: none;
  }
  .contactBox,
  .contactBox form {
    width: auto;
    margin: 10px;
    padding: 10px;
  }
  .contactBox form input {
    width: 100%;
    left: 0;
    right: 0;
    margin: 1px;
  }

  textarea {
    width: 100%;
    left: 0;
    right: 0;
    margin: auto;
  }
  .aboutSection {
    padding: 40px 40px;
  }
  .aboutRow {
    display: grid;
    gap: 20px;
  }
  .title {
    margin-top: 20px;
  }
  .about-col-1 {
    display: flex;
    justify-content: center;
  }
  .about-col-2 {
    display: grid;
    justify-content: left;
  }
  .about-col-2 p {
    font-size: 16px;
    margin-bottom: 30px;
  }
  .about-col-1 img {
    width: 80%;
    border-radius: 30px;
  }
  .title {
    font-size: 30px;
    text-align: center;
  }

  .aboutSection {
    background: linear-gradient(
      180deg,
      rgb(33, 39, 43, 0),
      rgba(33, 37, 41, 0.684),
      rgb(33, 54, 63)
    );
  }
  .skills {
    grid-template-columns: repeat(1, 1fr);
    gap: 20px;
  }

  .skillTitle {
    font-size: 15px;
  }
  .skillProgress::before {
    font-size: 12px;
    padding: 0px 10px;
    top: -25px;
  }
  .skillProgress {
    margin-top: 0px;
  }
  .myServices h1 {
    font-size: 25px;
  }
  .myServices h2 {
    font-size: 30px;
  }
  .icon span {
    font-size: 18px;
  }
  .myServices {
    padding: 40px 20px;
  }
  .serviceRow {
    padding: 2% 20px;
    margin-top: 20px;
    display: grid;
    gap: 40px;
  }
  footer {
    padding-top: 35px;
  }
  .serviceRow h1 {
    padding: 40px 0 80px 0;
  }
  .footerRow {
    display: grid;
    width: 100%;
    padding: 0;
    gap: 30px;
  }
  .contactFooter span {
    align-self: center;
  }
  .projectsMainHeading hr {
    display: none;
  }
  .projectsMainHeading h1 {
    font-size: 22px;
  }
  .project-box {
    grid-template-columns: repeat(1, 1fr);
    gap: 2rem;
  }
  .projects {
    padding: 0rem;
  }
  .project-btns {
    flex-direction: column;
    gap: 2rem;
  }
  .project-btns button {
    width: 100%;
  }
}

/* Below 560px  */
@media (max-width: 35em) {
  .header {
    padding: 0 2.4rem;
  }

  .header .logo {
    width: 60%;
  }
}
