* {
  padding: 0;
  margin: 0;
  outline: none;
  text-decoration: none;
  box-sizing: border-box;
}
body {
  font-family: "Figtree", sans-serif;
  background: #10101a;

  /* This is mostly intended for prototyping; please download the pattern and re-host for production environments. Thank you! */
}
html {
  scroll-behavior: smooth;
}
h1 {
  font-size: 9rem;
}
h2 {
  font-size: 4.5rem;
  font-weight: 900;
}
h3 {
  font-size: 3.5rem;
}
h4 {
  font-size: 2rem;
}
h5 {
  font-size: 1.7rem;
}
p {
  font-size: 1.6rem;
}

/* ------------------- Header ------------------- */

header {
  position: fixed;
  top: 2rem;
  right: 0;
  left: 0;
  padding: 2rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 45%;
  height: 4rem;
  margin-left: auto;
  margin-right: auto;
  background: rgba(42, 43, 56, 0.3);
  /* border: .1rem solid #2a2b37; */
  backdrop-filter: blur(104px);
  border-radius: 0.9rem;
  z-index: 999;
}
header h4 {
  color: whitesmoke;
  font-size: 2.5rem;
}
.nav2 {
  display: none;
}
.nav-mobile {
  display: flex;
  align-items: center;
  justify-content: space-around;
  position: fixed;
  z-index: 999;
  bottom: 1rem;
  left: 0;
  margin-left: auto;
  margin-right: auto;
  width: 70%;
  height: 4.5rem;
  background: rgba(13, 13, 26, 0.6);
  backdrop-filter: blur(104px);
  border-radius: 1rem;
}
.nav-mobile a {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 0.7rem;
  color: whitesmoke;
  gap: 0.1rem;
  transition: 400ms ease;
}
.nav-mobile a {
  font-size: 0.7rem;
}
.nav-mobile a i {
  font-size: 2rem;
}
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 40%;
}
nav a {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 0.7rem;
  color: whitesmoke;
  gap: 0.1rem;
  transition: 400ms ease;
}
header a i {
  font-size: 1.7rem;
}

/* ------------------- Home ------------------- */

.home {
  height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  /* margin-left: 25rem; */
  gap: 10rem;
  background-image: url("https://www.transparenttextures.com/patterns/stardust.png");
}
.home1 {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.home-content {
  display: flex;
  flex-direction: column;
  text-align: center;
  align-items: center;
  justify-content: center;
  width: 50rem;
}
.home-content h3 {
  color: whitesmoke;
  font-size: 1.3rem;
  font-family: "Fira Code", monospace;
}
.home-content h2 {
  color: whitesmoke;
  font-size: 80px;
}
.home-content h4 {
  color: #8892b0;
  font-weight: 300;
}
.home-grad {
  background: linear-gradient(-45deg, #6bc5f8, #994ae8, #6bc5f8, #994ae8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 400% 400%;
  -webkit-animation: gradient 3s ease infinite;
}
@keyframes gradient {
  0% {
    background-position: 0 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0 50%;
  }
}

.home-buttons {
  display: flex;
  justify-content: center;
  gap: 2rem;
}
.home-buttons a {
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-size: 1.3rem;
  transition: 300ms ease;
}
.resume-button {
  background: whitesmoke;
  color: black;
  box-shadow: 0.2rem 0.2rem 1rem 0.5rem black;
}
.resume-button:hover {
  background: linear-gradient(-45deg, #6bc5f8, #994ae8);
  border: 1px solid black;
  color: whitesmoke;
  box-shadow: none;
}
.letstalk-button {
  border: 1px solid whitesmoke;
  color: whitesmoke;
}
.letstalk-button:hover {
  background: linear-gradient(#10101a, #10101a) padding-box,
    linear-gradient(-45deg, #6bc5f8, #994ae8) border-box;
  border: 1px solid transparent;
}

/* ------------------- Home-Quote ------------------- */

.quote {
  margin: 15rem 15rem 5rem 15rem;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}
.quote p {
  color: whitesmoke;
}
.quote .para {
  font-size: 3rem;
}
.sub-para {
  font-size: 1.7rem;
  word-spacing: 0.3rem;
}
.quote-grad {
  background: -webkit-linear-gradient(
    135.98deg,
    #ff9897 39.88%,
    rgba(255, 109, 223, 0.5) 120.79%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ------------------- About Me ------------------- */

.personal-info {
  display: flex;
  flex-direction: column;
  gap: 6rem;
}
.about-content h3 {
  margin-top: 7rem;
  color: #ccd6f6;
}
.about-content p {
  color: whitesmoke;
}
.about-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.personal-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5rem;
}
.personal-photo {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: flex-start;
}
.personal-photo img {
  width: 20rem;
  border-radius: 0.4rem;
}
.my-photo {
  transition: 500ms ease;
  display: block;
  position: relative;
  width: 100%;
  border-radius: 0.4rem;
  z-index: -2;
}
.my-photo::before {
  top: 0px;
  left: 0px;
  mix-blend-mode: screen;
  content: "";
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 0.4rem;
  transition: 500ms;
}
.my-photo::after {
  border: 1.5px solid white;
  top: 20px;
  left: 20px;
  z-index: -1;
  content: "";
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 0.4rem;
  transition: 500ms;
}

.info {
  display: flex;
  width: 45rem;
}

.info {
  display: flex;
  flex-direction: column;
  width: 40rem;
  gap: 0.5rem;
  color: #5a5b5c;
}
.info h4 {
  margin-bottom: 1rem;
}
.info p {
  font-size: 1.2rem;
  line-height: 2.4rem;
  color: #8892b0;
}
.info-grad1 {
  background: -webkit-linear-gradient(130.42deg, #ffca9a 28%, #fb4444 146.51%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.info-grad3 {
  background: linear-gradient(125.55deg, #2d46b9 -16.13%, #f037a5 113.84%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.info ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(140px, 200px));
  gap: 0px 10px;
  padding: 0px;
  margin: 5px 0px 0px;
  list-style: none;
  color: #8892b0;
}
.info ul ul {
  margin-left: -5rem;
}
.info ul ul::before {
  content: "▹";
  position: relative;
  left: 120px;
  line-height: 20px;
}

/* ------------------- Projects ------------------- */

.projects {
  width: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}
.heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  justify-content: center;
  overflow-x: hidden;
}
.heading2 {
  display: none;
  flex-direction: column;
  margin-top: 7rem;
  align-items: center;
  width: 100%;
  justify-content: center;
}
.heading2 .layer1 {
  background: -webkit-linear-gradient(138deg, #d3fcff, #258cd3);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.heading2 .layer2 {
  background: -webkit-linear-gradient(138deg, #d3fcff, #258cd3);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
#class {
  margin: 0;
  padding: 0;
  position: relative;
  z-index: 20;
  display: inline-block;
  color: whitesmoke;
  background: -webkit-linear-gradient(138deg, #d3fcff, #258cd3);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  top: 50%;
  margin-top: 13rem;
  transform: translateY(-50%);
  white-space: nowrap;
  font-size: 10rem;
  font-weight: 500;
  right: 1000px;
}
#class1 {
  margin: 0;
  margin-top: -5rem;
  padding: 0;
  position: relative;
  z-index: 20;
  display: inline-block;
  color: whitesmoke;
  background: -webkit-linear-gradient(138deg, #d3fcff, #258cd3);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  top: 70%;
  transform: translateY(-50%);
  color: whitesmoke;
  white-space: nowrap;
  margin-top: 0rem;
  font-size: 10rem;
  font-weight: 400;
  left: 1000px;
}

.project-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  place-items: center;
  gap: 5rem;
}
.project {
  display: flex;
  flex-direction: column;
  width: 30rem;
  height: 35rem;
  border-radius: 0.8rem;
  place-items: center;
  justify-content: space-between;
  padding: 1rem 1rem;
  gap: 1rem;
}
.project-show img {
  width: 27rem;
}

.project:nth-child(1) {
  background-image: linear-gradient(
    135deg,
    rgba(60, 128, 87, 0.1),
    rgba(113, 180, 144, 0.1)
  );
}
.project:nth-child(1) .project-info h5 {
  color: #a3e4a2;
}
.project:nth-child(1) .project-info p {
  color: rgba(163, 228, 162, 0.6);
}
.project:nth-child(1) .project-info a {
  color: #a3e4a2;
}

.project:nth-child(2) {
  background-image: linear-gradient(
    135deg,
    rgba(0, 81, 194, 0.1),
    rgba(45, 129, 247, 0.1)
  );
}
.project:nth-child(2) .project-info h5 {
  color: #a6dfff;
}
.project:nth-child(2) .project-info p {
  color: rgba(166, 223, 255, 0.6);
}
.project:nth-child(2) .project-info a {
  color: #a6dfff;
}

.project:nth-child(3) {
  background-image: linear-gradient(
    135deg,
    rgba(240, 138, 52, 0.1),
    rgba(248, 207, 70, 0.1)
  );
}
.project:nth-child(3) .project-info h5 {
  color: #ffe5c7;
}
.project:nth-child(3) .project-info p {
  color: rgba(255, 229, 199, 0.6);
}
.project:nth-child(3) .project-info a {
  color: #ffe5c7;
}

.project:nth-child(4) {
  background-image: linear-gradient(
    135deg,
    rgba(38, 60, 70, 0.2),
    rgba(49, 79, 86, 0.2)
  );
}
.project:nth-child(4) .project-info h5 {
  color: #c7ffeb;
}
.project:nth-child(4) .project-info p {
  color: rgba(166, 223, 255, 0.6);
}
.project:nth-child(4) .project-info a {
  color: #c7ffeb;
}

.project-show img {
  border-radius: 0.5rem;
  margin-top: 0.5rem;
}

.project-info {
  color: whitesmoke;
  display: flex;
  flex-direction: column;
  height: 45%;
  justify-content: space-around;
}
.project-info h5 {
  font-size: 2.5rem;
}
.project-info p {
  margin-top: -0.7rem;
}
.project-info a {
  color: whitesmoke;
  transition: 500ms ease;
}
.project-info a:hover {
  font-size: 1.2rem;
}
.project-info .bottom-layer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.5rem;
}
.bottom-layer .tech-stack {
  display: flex;
  gap: 0.7rem;
}
.tech-stack p {
  display: flex;
  font-size: 1rem;
  margin-top: 0;
}

/* ------------------- Other Projects ------------------- */

.other-projects {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}
.OP-head {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ccd6f6;
  font-size: 3rem;
}
.OP-cards {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4rem;
}
.OP-card {
  background: linear-gradient(
    180deg,
    rgba(35, 37, 49, 0.5),
    rgba(15, 15, 24, 0.5)
  );
  border: 1px solid #20222e;
  box-sizing: border-box;
  backdrop-filter: blur(54px);
  padding: 1rem;
  border-radius: 0.5rem;
  display: flex;
  width: 22rem;
  height: 23rem;
  flex-direction: column;
  justify-content: space-between;
  color: #8892b0;
  transition: 400ms ease;
}
.OP-card .top-layer > a {
  text-decoration: none;
  color: #ccd6f6;
  font-size: 1.2rem;
}
.OP-card:nth-child(1) h5 {
  color: #0ba95b;
}
.OP-card:nth-child(3) h5 {
  color: #12b5e5;
}
.OP-card:nth-child(2) h5 {
  color: #fcba28;
}
.OP-card .top-layer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 3rem;
}
.OP-card .OP-info p {
  font-size: 1.5rem;
}
.OP-info {
  /* margin-top: -7rem; */
}
.OP-card .bottom-layer {
  display: flex;
  gap: 0.4rem;
}
.OP-card .bottom-layer p {
  font-size: 0.8rem;
}

/* ------------------- Contact ------------------- */

.contact {
  margin: 2rem 15rem;
}
.contact-left {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.contact-slogan h1 {
  font-size: 5rem;
  line-height: 1.35;
  background-image: -webkit-linear-gradient(90deg, #f4d372, #d8572b);
  color: #dbdbdb;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-top: 7rem;
  white-space: nowrap;
  font-variation-settings: "wght" 400;
  transition: font-variation-settings 0.5s ease;
}
.contact-slogan h2 {
  font-size: 6rem;
  font-weight: 300;
  background: -webkit-linear-gradient(270deg, #f19aca, #4359ff);
  color: #dbdbdb;
  line-height: 1.35;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  white-space: nowrap;
}
.contact-slogan h3 {
  font-size: 4rem;
  font-weight: 300;
  background: -webkit-linear-gradient(270deg, #f19aca, #4359ff);
  color: #dbdbdb;
  line-height: 1.35;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  white-space: nowrap;
}
.lets-chat a {
  color: whitesmoke;
  padding: 0.5rem 1rem;
  border: 1px solid #ff9897;
  border-radius: 0.4rem;
}
.contact-socials {
  display: flex;
  gap: 1.5rem;
  margin-top: 2rem;
}
.contact-socials a {
  color: #5a5b5c;
  font-size: 3rem;
  transition: 500ms ease;
}
.contact-socials a:nth-child(1):hover {
  background: #f09433;
  background: -webkit-linear-gradient(
    45deg,
    #f09433 0%,
    #e6683c 25%,
    #dc2743 50%,
    #cc2366 75%,
    #bc1888 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.contact-socials a:nth-child(2):hover {
  color: #3b5998;
}
.contact-socials a:nth-child(3):hover {
  color: #00acee;
}
.contact-socials a:nth-child(4):hover {
  color: #0a66c2;
}
.contact-socials a:nth-child(5):hover {
  color: white;
}
.contact-socials a:nth-child(6):hover {
  color: #0088cc;
}

footer .end {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100;
  height: 3rem;
  gap: 0.3rem;
  color: whitesmoke;
  /* border-top: 1px solid #00bf8e; */
}
footer .end p {
  font-size: 1rem;
}

@media (max-width: 1586px) {
  header {
    width: 50%;
  }

  .quote {
    margin: 15rem 8rem 4rem 10rem;
  }
  .quote .para {
    font-size: 3rem;
  }

  .personal-info {
    gap: 4rem;
  }

  .contact {
    margin: 2rem 10rem;
  }
  .contact-slogan h1 {
    font-size: 4.7rem;
  }
}

@media (max-width: 1312px) {
  header {
    width: 55%;
  }

  .page-socials {
    display: none;
  }

  .home {
    gap: 2rem;
  }

  .quote {
    margin: 8rem 5rem 10rem 8rem;
  }

  .personal-container {
    gap: 7rem;
  }

  #class {
    font-size: 8rem;
    margin-top: 12rem;
  }
  #class1 {
    font-size: 8rem;
  }

  .sold-yet-container {
    width: 50rem;
  }
  .sold-yet p {
    font-size: 1.8rem;
  }

  .contact {
    margin: 5rem 5rem;
  }
  .contact-slogan h1 {
    font-size: 4rem;
  }
  .contact-slogan h2 {
    font-size: 3rem;
  }
}
@media (max-width: 1188px) {
  header {
    width: 75%;
  }

  .home {
    gap: 0rem;
    display: flex;
    flex-direction: column-reverse;
  }
  .home2 {
    width: 20rem;
  }

  .quote {
    margin: 5rem 5rem 10rem 5rem;
  }
  .quote .para {
    font-size: 2.5rem;
  }

  .personal-container {
    gap: 4rem;
  }
  .personal-photo img {
    width: 20rem;
  }
  .my-photo::after {
    top: 15px;
    left: 15px;
  }
  .info {
    width: 29rem;
    gap: 0.3rem;
  }
  .info h4 {
    margin-bottom: 0.5rem;
  }
  .info p {
    font-size: 1.2rem;
  }

  .heading {
    display: none;
  }
  .heading2 {
    display: flex;
  }
  .heading2 .layer1 {
    font-size: 6rem;
    margin-left: -9rem;
  }
  .heading2 .layer2 {
    font-size: 6rem;
    margin-left: 15rem;
    margin-bottom: 5rem;
  }
  .project-container {
    gap: 1rem;
  }

  .sold-yet-container {
    width: 50rem;
  }
  .sold-yet p {
    font-size: 1.8rem;
  }

  .contact {
    margin: 5rem 2rem;
  }
  .contact-slogan h1 {
    font-size: 4rem;
  }
  .contact-slogan h2 {
    font-size: 3rem;
  }
}

@media (max-width: 900px) {
  header {
    display: none;
  }
  .nav2 {
    display: flex;
  }

  .home {
    gap: 0rem;
    display: flex;
    flex-direction: column-reverse;
  }
  .home2 {
    width: 20rem;
  }
  .nav-mobile {
    right: 0;
  }

  .quote {
    margin: 5rem 1rem 10rem 1rem;
  }
  .quote .para {
    font-size: 2.5rem;
  }
  .quote .sub-para {
    font-size: 1.2rem;
  }

  .about-content h3 {
    margin-top: 5rem;
  }
  .personal-container {
    gap: 7rem;

    display: flex;
    flex-direction: column-reverse;
  }
  .personal-photo img {
    width: 26rem;
  }
  .my-photo::after {
    top: 25px;
    left: 25px;
  }
  .info {
    width: 39rem;
    gap: 0.3rem;
  }
  .info h4 {
    margin-bottom: 1.5rem;
  }
  .info p {
    font-size: 1.8rem;
  }

  .heading {
    display: none;
  }
  .heading2 {
    display: flex;
  }
  .heading2 .layer1 {
    font-size: 6rem;
    margin-left: -9rem;
  }
  .heading2 .layer2 {
    font-size: 6rem;
    margin-left: 15rem;
    margin-bottom: 5rem;
  }
  .project-container {
    gap: 2rem;
    display: flex;
    flex-direction: column;
  }
  .project {
    width: 35rem;
    height: 40rem;
  }
  .project-show img {
    width: 33rem;
  }
  .project-info h5 {
    font-size: 2.7rem;
  }
  .project-info p {
    font-size: 2rem;
  }
  .project-info a {
    font-size: 1.2rem;
  }

  .contact {
    margin: 5rem 2rem;
  }
  .contact-slogan h1 {
    font-size: 3.5rem;
  }
  .contact-slogan h2 {
    font-size: 2.7rem;
  }
}
@media (max-width: 745px) {
  .nav2 {
    display: flex;
  }
  .nav-mobile {
    bottom: 0;
    left: 0;
    width: 100%;
    border-radius: 0;
  }

  .home-content {
    width: 35rem;
  }
  .home-content h2 {
    font-size: 3.5rem;
  }
  .home-content h4 {
    font-size: 1.5rem;
  }
  .home2 {
    width: 20rem;
  }

  .quote {
    margin: 4rem 1rem 2rem 1rem;
  }
  .quote .para {
    font-size: 2.1rem;
  }
  .quote .sub-para {
    font-size: 1.4rem;
  }

  .about-content h3 {
    margin-top: 5rem;
  }
  .personal-container {
    gap: 5rem;
    flex-direction: column;
  }
  .personal-photo img {
    width: 26rem;
  }
  .my-photo::after {
    top: 25px;
    left: 25px;
  }
  .info {
    width: 30rem;
    gap: 0.3rem;
  }
  .info h4 {
    margin-bottom: 1rem;
  }
  .info p {
    font-size: 1.5rem;
  }

  .heading {
    display: none;
  }
  .heading2 {
    display: flex;
  }
  .heading2 .layer1 {
    font-size: 4.5rem;
    margin-left: -9rem;
  }
  .heading2 .layer2 {
    font-size: 4.5rem;
    margin-left: 15rem;
    margin-bottom: 5rem;
  }
  .project-container {
    gap: 2rem;
    display: flex;
    flex-direction: column;
  }
  .project {
    width: 35rem;
    height: 40rem;
  }
  .project-show img {
    width: 33rem;
  }
  .project-info h5 {
    font-size: 2.7rem;
  }
  .project-info p {
    font-size: 2rem;
  }
  .project-info a {
    font-size: 1.2rem;
  }

  .contact {
    margin: 0rem 2rem;
  }
  .contact-slogan h1 {
    font-size: 2.6rem;
  }
  .contact-slogan h2 {
    font-size: 2.2rem;
  }
  .contact-socials {
    margin-bottom: 5rem;
  }
}
@media (max-width: 600px) {
  .nav2 {
    display: flex;
  }
  .nav-mobile {
    bottom: 0;
    left: 0;
    width: 100%;
    border-radius: 0;
  }

  .home-content {
    width: 30rem;
  }
  .home-content h2 {
    font-size: 3rem;
  }
  .home-content h4 {
    font-size: 1.2rem;
  }
  .home2 {
    width: 20rem;
  }

  .quote {
    margin: 3rem 1rem 2rem 1rem;
  }
  .quote .para {
    font-size: 1.8rem;
  }
  .quote .sub-para {
    font-size: 1.2rem;
  }

  .about-content h3 {
    margin-top: 5rem;
  }
  .personal-container {
    gap: 5rem;
    flex-direction: column;
  }
  .personal-photo img {
    width: 26rem;
  }
  .my-photo::after {
    top: 25px;
    left: 25px;
  }
  .info {
    width: 30rem;
    gap: 0.3rem;
  }
  .info h4 {
    margin-bottom: 1rem;
  }
  .info p {
    font-size: 1.5rem;
  }

  .heading {
    display: none;
  }
  .heading2 {
    display: flex;
  }
  .heading2 .layer1 {
    font-size: 4rem;
    margin-left: -5rem;
  }
  .heading2 .layer2 {
    font-size: 4rem;
    margin-left: 5rem;
    margin-bottom: 5rem;
  }
  .project-container {
    gap: 2rem;
    display: flex;
    flex-direction: column;
  }
  .project {
    width: 25rem;
    height: 30rem;
  }
  .project-show img {
    width: 22rem;
  }
  .project-info h5 {
    font-size: 2rem;
  }
  .project-info p {
    font-size: 1.5rem;
  }
  .project-info a {
    font-size: 1rem;
  }

  .OP-cards {
    flex-direction: column;
  }

  .contact {
    margin: 0rem 2rem;
  }
  .contact-slogan h1 {
    font-size: 2rem;
  }
  .contact-slogan h2 {
    font-size: 1.6rem;
  }
  .contact-socials {
    margin-bottom: 5rem;
  }
}
@media (max-width: 500px) {
  .nav2 {
    display: flex;
  }
  .nav-mobile {
    bottom: 0;
    left: 0;
    width: 100%;
    border-radius: 0;
  }

  .home-content {
    width: 25rem;
  }
  .home-content h2 {
    font-size: 2.6rem;
  }
  .home-content h4 {
    font-size: 1rem;
  }

  .quote {
    margin: 0rem 1rem 2rem 1rem;
  }
  .quote .para {
    font-size: 1.8rem;
  }
  .quote .sub-para {
    font-size: 1.2rem;
  }

  .about-content h3 {
    margin-top: 5rem;
  }
  .personal-container {
    gap: 5rem;
    flex-direction: column-reverse;
  }
  .personal-photo img {
    width: 22rem;
  }
  .my-photo::after {
    top: 20px;
    left: 20px;
  }
  .info {
    width: 26rem;
    gap: 0.3rem;
  }
  .info h4 {
    margin-bottom: 1rem;
  }
  .info p {
    font-size: 1.3rem;
  }

  .heading {
    display: none;
  }
  .heading2 {
    display: flex;
  }
  .heading2 .layer1 {
    font-size: 4rem;
    margin-left: -5rem;
  }
  .heading2 .layer2 {
    font-size: 4rem;
    margin-left: 10rem;
    margin-bottom: 5rem;
  }
  .project-container {
    gap: 2rem;
    display: flex;
    flex-direction: column;
  }
  .project {
    width: 25rem;
    height: 30rem;
  }
  .project-show img {
    width: 22rem;
  }
  .project-info h5 {
    font-size: 2rem;
  }
  .project-info p {
    font-size: 1.5rem;
  }
  .project-info a {
    font-size: 1rem;
  }

  .OP-head {
    font-size: 2.3rem;
    margin-top: 2rem;
  }
  .OP-cards {
    gap: 1.5rem;
  }

  .contact {
    margin: 0rem 2rem;
  }
  .contact-slogan h1 {
    font-size: 2.8rem;
  }
  .contact-slogan h2 {
    font-size: 1.6rem;
  }
  .contact-socials {
    margin-bottom: 5rem;
  }
  .contact-socials a {
    font-size: 2rem;
  }
}

@media (max-width: 430px) {
  .home {
    justify-content: center;
  }
  .home2 {
    display: none;
  }
  .home-content {
    width: 20rem;
  }
  .home-content h2 {
    font-size: 3.5rem;
  }
  .home-content h4 {
    display: none;
  }

  .personal-container {
    display: flex;
    flex-direction: column-reverse;
  }
  .my-photo img {
    width: 19rem;
  }
  .my-photo::after {
    top: 15px;
    left: 15px;
  }

  .info {
    width: 22rem;
  }
  .info p {
    font-size: 1rem;
  }

  .heading2 .layer1 {
    margin-left: -2rem;
  }
  .heading2 .layer2 {
    margin-left: 6rem;
  }

  .project {
    width: 24.5rem;
    height: 30rem;
  }
  .project-show img {
    width: 22rem;
  }
  .project-info h5 {
    font-size: 2rem;
  }
  .project-info p {
    font-size: 1.2rem;
  }

  .contact-slogan h1 {
    font-size: 2.3rem;
  }
  .contact-slogan h2 {
    font-size: 1.5rem;
  }
  .contact-slogan a h3 {
    font-size: 3rem;
  }

  .quote .para {
    margin-top: 5rem;
  }
}

@media (max-width: 395px) {
  .home-content {
    width: 18rem;
  }
  .home-content h2 {
    font-size: 3rem;
  }

  .project {
    width: 22rem;
  }
  .project-show img {
    width: 20rem;
  }
  .projects .heading2 .layer1 {
    font-size: 4rem;
  }
  .projects .heading2 .layer2 {
    font-size: 4rem;
  }

  .quote {
    width: 22rem;
  }

  .end {
    width: 5rem;
  }
}
