* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.wrapper {
  height: 100vh;
  overflow-y: auto;
  overflow-x: hidden;
  perspective: 11px;
}

.container {
  position: relative;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  transform-style: preserve-3d;
  z-index: -1;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  /* padding: 0.8rem; */
  color: white;
  position: fixed;
  width: 100%;
  top: 1rem;
}

.left {
  margin-left: 0.8rem;
}

.right {
  margin-right: 0.8rem;
  width: 40%;
}

.back {
  transform: translateZ(-20px) scale(3);
}

.front {
  transform: translateZ(-20px) scale(2);
  height: 300px;
  width: 250px;
}

.back,
.front {
  position: absolute;
  height: 100%;
  width: 100%;
  object-fit: cover;
  z-index: -1;
}

#main-data {
  position: absolute;
  top: 13rem;
  left: 22%;
  transform: translateX(-50%);
  /* font-family:cursive; */
  font-size: 3.5rem;
  /* letter-spacing: 4px; */
  background: -webkit-linear-gradient(yellow, green);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 10px rgba(0, 0, 0, 3);
  font-family: "Bitcount Single", system-ui;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-variation-settings: "slnt" 0, "CRSV" 0.5, "ELSH" 0, "ELXP" 0;
}

h1 {
  position: absolute;
  top: 17rem;
  left: 18.8%;
  transform: translateX(-50%);
  /* font-family:cursive; */
  font-size: 3.5rem;
  /* letter-spacing: 4px; */
  background: -webkit-linear-gradient(green, cyan);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 10px rgba(0, 0, 0, 3);
  font-family: "Bitcount Single", system-ui;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-variation-settings: "slnt" 0, "CRSV" 0.5, "ELSH" 0, "ELXP" 0;
}

/*nav ki editing*/

#nav-info {
  display: flex;
  justify-content: space-evenly;
  font-size: 1.2rem;
  font-family: "Bitcount Single", system-ui;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-variation-settings: "slnt" 0, "CRSV" 0.5, "ELSH" 0, "ELXP" 0;
}

.nav-data {
  list-style: none;
}

a {
  text-decoration: none;
  color: white;
}

/*cp-pst*/

section {
  background-color: rgb(45, 45, 45);
  color: white;
  padding: 0px;
}

.text {
  font-size: 1.5rem;
  margin: 2rem 0;
  padding: 0 10rem;
  font-family: "Zain", sans-serif;
  font-weight: 400;
  font-style: normal;
  width: 100%;
  height: 50vh;
}

.east {
  font-size: 5rem;
  padding: 0 10rem;
}

.bg1 {
  background-image: url(img1.jpg);
}

.bg2 {
  background-image: url(img2.jpg);
}

.bg5 {
  background-image: url(img5.jpg);
}

.bg {
  position: relative;
  width: 100%;
  height: 500px;
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
}

.easy {
  position: absolute;
  background-color: transparent;
  background: -webkit-linear-gradient(#eee, #000);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 3.5rem;
  padding: 0.5rem 2.5rem;
  transform: translateX(-50%);
  top: 50%;
  left: 50%;
  font-size: 4rem;
  font-family: "Bitcount Single", system-ui;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-variation-settings: "slnt" 0, "CRSV" 0.5, "ELSH" 0, "ELXP" 0;
}

.abt-me {
  font-size: 1.5rem;
  margin: 2rem 0;
  padding: 0 10rem;
  font-family: "Zain", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.abt-me-data {
  margin-left: 10rem;
}

.easy-cp {
  background-color: transparent;
  background: -webkit-linear-gradient(#eee, #000);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 3.5rem;
  padding: 0.5rem 2.5rem;
  text-align: center;
  font-size: 4rem;
  font-family: "Bitcount Single", system-ui;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-variation-settings: "slnt" 0, "CRSV" 0.5, "ELSH" 0, "ELXP" 0;
}

.about-me-back {
  background-image: url(bgimg.jpg);
  /* background-repeat: no-repeat;
  background-size: cover; */
}

#logo-main {
  font-family: "Lavishly Yours", cursive;
  font-weight: 500;
  font-size: 2.5rem;
  font-style: normal;
  color: rgb(248, 72, 72);
}

.final {
  position: absolute;
  top: 40%;
  left: 35%;
  text-align: center;
  font-size: 5rem;
  letter-spacing: 4px;
  color: white;
  font-family: "Bitcount Single", system-ui;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-variation-settings: "slnt" 0, "CRSV" 0.5, "ELSH" 0, "ELXP" 0;
}

.skills {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

.info {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.footer-data {
  width: 20%;
  height: 30%;
}
