colors
/* primary-color:#001219 */
/* /font-color/ */
/* primary-color:- #f8f9fa
secondary-color:- 
*/
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: "Poppins", sans-serif;
  line-height: 1;
  overflow-x: hidden;
  color: #f8f9fa;
  background-color: #001219;
  position: relative;
  width: 100%;
  overflow-x: hidden;
}

.parent {
  width: 100%;
}

/**hero****/
.section__hero {
  max-width: 100%;
  height: 100vh;
  position: relative;
}

.hero_container {
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-achivment::after {
  content: "";
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.5);
  transform: translateX(-5%);
}

.hero-img {
  height: 90vh;
  justify-self: flex-end;
}

h1 {
  padding: 1rem 3rem;
  font-size: 3rem;
}

.heading-info {
  font-family: "Anton", sans-serif;
  position: absolute;
  top: 45%;
  font-weight: 800;
  font-style: normal;
  font-size: 13rem;
  color: red;
  text-transform: uppercase;
  padding-left: 1rem;
}

.Portfolio {
  position: absolute;
  top: 30%;
  left: 50%;
  text-transform: uppercase;
  transform: translate(-50%, -30%);
  color: rgb(245, 245, 245, 0.2);
  max-width: 100%;
  font-size: 20rem;
  z-index: -1;
}

.hero-achivment {
  width: 35%;
  height: auto;
  position: absolute;
  overflow: hidden;
  display: flex;
  justify-content: center;
}

.hero-achivment-1 {
  top: 10%;
  left: 15%;
}

.hero-achivment-2 {
  top: 5%;
  right: 5%;
}

.hero-achivment-3 {
  top: 55%;
  right: 10%;
}

.hero-achivment-photo {
  width: 80%;
  height: auto;

  border-radius: 2rem;
  object-fit: contain;
  filter: grayscale(0.2);
}
/* .hero-achivment-photo:hover {
  transform: scale(110%);
  transition: all 0.5s ease;
} */

/**********/
/* about me */
/**********/
.about-section {
  max-width: 100%;
  margin-top: 10rem;
  text-align: center;
  height: 60vh;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}
.about-container {
  width: 90%;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-heading {
  position: absolute;
  text-transform: uppercase;
  color: rgb(245, 245, 245, 0.2);
  font-size: 20rem;
  z-index: -1;
  max-width: 100%;
  /* letter-spacing: 7px; */
}

.about-description {
  font-family: "Poppins" sans-serif;
  width: 100%;
  height: 100%;
  color: #fff;
  font-size: 3rem;
  line-height: 5rem;
  font-weight: 500;
}

.js-icon {
  background-image: url("./photos/js-svg.svg");
  top: 25%;
  right: 40%;
}

.react-icon {
  background-image: url("./photos/react_svg.svg");
  top: 20%;
  left: 20%;
}
.kubernates-icon {
  background-image: url("./photos/kubernates.svg");
  top: 5%;
  left: 30%;
}

.github-icon {
  background-image: url("./photos/github-icon.png");
  top: 50%;
  right: 30%;
}

.python-icon {
  background-image: url("./photos/python.svg");
  top: 6%;
  right: 29%;
}

.next-icon {
  background-image: url("./photos/next.svg");
  top: 40%;
  left: 35%;
  background-color: #f8f9fa;
}

.mongodb-icon {
  background-image: url("./photos/mongodb.png");
  top: 50%;
  right: 43%;
}

.figma-icon {
  background-image: url("./photos/figma.svg");
  top: 20%;
  right: 50%;
}

.vscode-icon {
  background-image: url("./photos/vscode.svg");
  top: 30%;
  right: 24%;
}

.chatgpt-icon {
  background-image: url("./photos/chatgpt.svg");
  top: 56%;
  right: 54%;
}

.js-icon-1 {
  background-image: url("./photos/js-svg.svg");
  top: 10%;
  right: 15%;
}

.react-icon-1 {
  background-image: url("./photos/react_svg.svg");
  top: 20%;
  left: 20%;
}
.kubernates-icon-1 {
  background-image: url("./photos/kubernates.svg");
  top: 37%;
  left: 3%;
}

.github-icon-1 {
  background-image: url("./photos/github-icon.png");
  top: 0%;
  right: 50%;
}

.python-icon-1 {
  background-image: url("./photos/python.svg");
  top: 76%;
  right: 31%;
}

.next-icon-1 {
  background-image: url("./photos/next.svg");
  top: 40%;
  left: 15%;
  background-color: #f8f9fa;
}

.mongodb-icon-1 {
  background-image: url("./photos/mongodb.png");
  top: 50%;
  right: 3%;
}

.figma-icon-1 {
  background-image: url("./photos/figma.svg");
  top: 62%;
  left: 30%;
}

.vscode-icon-1 {
  background-image: url("./photos/vscode.svg");
  top: 45%;
  right: 9%;
}

.chatgpt-icon-1 {
  background-image: url("./photos/chatgpt.svg");
  top: 3%;
  right: 5%;
}

.icon {
  background-size: contain;
  background-repeat: no-repeat;
  width: 5rem;
  height: 5rem;
  position: absolute;
  z-index: -1;
}

/**************/
/* project section */
/***************/
.section__project {
  font-family: "Poppins", sans-serif;
  padding: 10rem 5rem;
  background-color: #001219;
  position: relative;
}

.section__project-heading {
  font-family: "Anton", sans-serif;
  font-size: 7rem;
  color: #fff;
  text-transform: uppercase;
  display: inline-block;
  padding: 2px;
  margin-bottom: 2rem;
  margin-left: 4rem;
  font-weight: bold;
}

.dots {
  position: absolute;
  bottom: 10%;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
}

.dots__dot {
  border: none;
  background-color: #fff;
  opacity: 0.7;
  height: 1rem;
  width: 1rem;
  border-radius: 50%;
  margin-right: 1.75rem;
  cursor: pointer;
  transition: all 0.5s;
  outline: none;
}

.dots__dot:last-child {
  margin: 0;
}

.dots__dot--active {
  /* background-color: #fff; */
  background-color: rgb(128, 237, 153);
  opacity: 1;
  outline: none;
}

.slider {
  width: 100%;
  height: 70vh;
  margin: 0 auto;
  position: relative;

  /* IN THE END */
  overflow: hidden;
}

.slide {
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;

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

  /* THIS creates the animation! */
  transition: transform 1s;
}

.project__img {
  width: 45rem;
  height: 25rem;
  border-radius: 2rem;
}

.container__project {
  height: 70%;
  padding: 5rem;
  display: flex;
  gap: 10rem;
  background-color: #f8f9fa;
  border-radius: 10rem;
}

.project__name {
  font-size: 3rem;
  font-weight: bold;
  text-transform: uppercase;
  background-color: #f8f9fa;
  padding: 1rem 0;
  padding-left: 0.5rem;
  color: #001219;
}

.project__info {
  font-size: 2rem;
  font-weight: bold;
  text-transform: uppercase;
  padding: 1rem 0;
  color: #001219;
  /* font-style: italic; */
  padding-left: 0.5rem;
}

.project__checkout {
  background-color: #001219;
  height: 7rem;
  width: 7rem;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  font-weight: bold;
  font-size: 1.6rem;
  text-align: center;
  margin-top: 3rem;
  text-transform: uppercase;
}

.project__skill {
  display: inline-block;
  font-size: 1.3rem;
  color: white;
  background-color: #001219;
  padding: 0.4rem;
  border-radius: 10rem;
  margin-right: 0.5rem;
}

.project__checkout a,
.project__checkout a:link,
.project__checkout a:visited {
  text-decoration: none;
  color: white;
}

/* ///////////////// */
/* contact me */
/* ///////////////// */
.contact__me {
  padding: 8rem;
}

.contact__me-main {
  font-family: "Anton", sans-serif;
  font-size: 7rem;
  text-transform: uppercase;
  font-weight: bolder;
  margin-bottom: 4rem;
  text-align: start;
}

.contact__me-note {
  width: 100%;
  border-bottom: 1px solid #f8f9fa;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap; /* Helps for smaller screens */
}

.contact__me-note a {
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #f8f9fa;
  padding: 1.2rem 1rem;
  font-size: 2.4rem;
  flex: 1;
}

.contact__me-note ion-icon {
  font-size: 2.4rem;
  padding: 1.2rem;
}
.contact__me-note:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease-in;
}

/* ---------------------- */
/* ✅ Responsive Adjustments */
/* ---------------------- */

/* Tablets (768px and below) */
@media (max-width: 768px) {
  .contact__me {
    align-items: center;
    justify-content: center;
    max-width: 95%;
    padding: 6rem 0;
  }

  .contact__me-main {
    font-size: 4rem;
  }

  .contact__me-note a {
    font-size: 2rem;
  }

  .contact__me-note ion-icon {
    font-size: 2rem;
  }
}

/* Mobile (480px and below) */
/* @media (max-width: 480px) {
  .contact__me {
    /* padding: 4rem 1rem; */
/* } */

/* .contact__me-main {
    font-size: 3.2rem;
  }

  .contact__me-note {
    flex-direction: column;
    align-items: flex-start;
  }

  .contact__me-note a {
    font-size: 1.8rem;
    padding: 1rem 0.5rem;
  }

  .contact__me-note ion-icon {
    align-self: flex-end;
    padding: 0.5rem 0.5rem;
    font-size: 1.8rem;
  } */
/*}/*/
/* 
@media (max-width: 1500px) {
  .hero-achivment {
    width: 45%;
    height: auto;
  }

  .hero_container {
    align-items: end;
  }

  .hero-img {
    height: 80vh;
    justify-self: flex-end;
  }

  .hero-achivment-1 {
    top: 20%;
    left: 3%;
  }

  .Portfolio {
    font-size: 25rem;
    top: 25%;
  }

  .heading-info {
    top: 55%;
  }

  .about-section {
    height: 40vh;
  }

  .about-heading {
    letter-spacing: 0;
  } 
} */

@media (max-width: 1200px) {
  html {
    font-size: 58%;
  }

  .section__hero {
    height: 90vh;
  }
  .hero-img {
    height: 80vh;
  }

  .hero-achivment {
    width: 40%;
    height: auto;
  }

  .hero-achivment-1 {
    top: 16%;
    left: 3%;
  }

  .hero-achivment-2 {
    top: 5%;
    right: -1%;
  }

  .hero-achivment-3 {
    top: 55%;
    right: 1%;
  }

  .heading-info {
    top: 55%;
    font-size: 12rem;
  }

  .Portfolio {
    font-size: 20rem;
    top: 15%;
    left: 50%;
  }

  .about-section {
    margin-top: 35vh;
    height: 70vh;
  }

  .about-heading {
    /* top: 0%; */
    font-size: 18rem;
  }

  .section__project-heading {
    margin-bottom: 5rem;
  }

  .container__project {
    height: 80%;
    border-radius: 8rem;
  }

  .dots {
    bottom: 5%;
  }
}

@media (max-width: 1000px) {
  html {
    font-size: 50%;
    scroll-behavior: smooth;
  }

  .heading-info {
    top: 60%;
    font-size: 11rem;
  }

  .section__hero {
    height: 80vh;
  }

  .hero-img {
    height: 75vh;
  }

  .hero-achivment {
    width: 42%;
    height: auto;
  }

  .hero-achivment-3 {
    top: 62%;
  }

  .Portfolio {
    font-size: 20rem;
  }

  .about-section {
    margin-top: 30vh;
    height: 60vh;
  }

  .section__project {
    width: 100%;
    height: auto;
    padding: 0;
  }

  .slider {
    height: 60rem;
  }

  .slide {
    height: 50rem;
  }
}

@media (max-width: 850px) {
  .container__project {
    padding: 5rem;
    gap: 5rem;
    align-items: center;
    border-radius: 5rem;
  }

  .project__img {
    height: 22rem;
  }

  .dots {
    bottom: 20%;
  }

  .Portfolio {
    top: 30%;
    font-size: 17rem;
  }

  .about-section {
    margin-top: 35vh;
    height: 50vh;
  }

  .about-description {
    line-height: 4rem;
  }

  .section__project-heading {
    margin-bottom: 0;
    padding-bottom: 3rem;
  }
  .container__project {
    height: 70%;
  }

  .container__project div:last-of-type {
    width: 40%;
  }

  .project__img {
    width: 30rem;
    height: 20rem;
  }

  .dots {
    bottom: 7%;
  }

  .project__checkout {
    height: 4rem;
    width: 4rem;
    border-radius: 2rem;
  }

  .dots__dot {
    height: 1.2rem;
    width: 1.2rem;
  }
}

@media (max-width: 750px) {
  html {
    font-size: 45%;
    scroll-behavior: smooth;
  }

  .hero-achivment {
    width: 40%;
    height: auto;
  }

  .hero-achivment-1 {
    top: 21%;
  }

  .hero-achivment-3 {
    top: 55%;
    right: 0%;
  }

  .Portfolio {
    max-width: 90%;
    font-size: 16rem;
    overflow-wrap: break-word;
  }

  .hero-img {
    height: 70vh;
    /* width: 100%; */
  }

  .section__hero {
    height: 80vh;
  }

  .heading-info {
    top: 60%;
    /* letter-spacing: 3px; */
    font-size: 10rem;
  }

  .about-section {
    margin-top: 13vh;
  }

  .section__project {
    width: 100%;
    height: auto;
    padding: 0;
  }
  .slider {
    height: 50rem;
  }

  .dots {
    bottom: 0%;
  }

  .contact__me-main {
    font-size: 7rem;
    padding-left: 2.8rem;
  }
}

@media (max-width: 625px) {
  /* .section__project {
    height: 35vh;
  } */

  .Portfolio {
    font-size: 12rem;
  }

  .about-section {
    height: 60vh;
  }
  .about-description {
    line-height: 4rem;
    font-size: 2.6rem;
  }

  .container__project {
    gap: 1rem;
  }
}

@media (max-width: 500px) {
  html {
    font-size: 38%;
    scroll-behavior: smooth;
  }

  .hero-img {
    height: 50vh;
  }

  .section__hero {
    height: 60vh;
  }

  .Portfolio {
    max-width: fit-content;
    top: 30%;
    font-size: 12rem;
  }

  .about-section {
    margin-top: 8rem;
    height: 55vh;
  }

  .heading-info {
    font-size: 8rem;
  }

  /* .section__project {
    height: 77vh;
  } */

  .dots {
    /* bottom: 9%; */
  }

  .dots__dot {
    height: 1.5rem;
    width: 1.5rem;
  }

  .container__project {
    display: flex;
    flex-direction: column;
    border-radius: 3rem;
  }

  .container-img {
    display: none;
  }

  .container__project + div {
    height: 100%;
    width: 100%;
  }

  .container__project div:last-of-type {
    width: 10%;
  }

  .project__checkout {
    display: block;
    height: 5rem;
    width: 5rem;
    padding: 5px;
    font-size: 1.5rem;
    border-radius: 50%;
    display: flex;
  }

  /* .container-img-1 {
    background-image: url("./photos/usepopcorn.jpg");
    background-position: center;
    background-size: cover;
    background-position: center;
    filter: brightness(40%); */
  /* } */

  /* .project__img {
    width: 100%;
    height: auto;
  } */
}
