@import url("https://fonts.googleapis.com/css2?family=Comfortaa:wght@300&family=Jura&family=Overpass:ital,wght@0,300;1,200&family=Poppins:wght@400;500&family=Prata&family=Staatliches&family=Teko:wght@300&display=swap");

* {
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

/************************** INTRO-CONTAINER **************************/

/************* css for navbar *************/

.toggle-bar {
  position: absolute;
  display: none;
}
.navbar {
  width: 100px;
  height: 60vh;
  position: absolute;
  right: 20px;
  top: 150px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 40px;
  z-index: 1000;
  border: 2px solid #fff;
  border-radius: 5px;
}

.navbar a {
  z-index: 100;
  display: inline-block;
  font-size: 1.5rem;
  color: white;
  padding: 5px;
  z-index: 100;
  transition: 0.2s ease-in-out;
}

.navbar a:hover {
  transform: scale(0.8);
  color: #ff246d;
}
.navbar a:hover + .nav-icons {
  visibility: visible;
  transform: translateX(-5px);
  transition: 0.2s ease-in;
}
/************* nav icon names*************/
.nav-icons {
  width: 100px;
  height: 40px;
  background-color: transparent;
  list-style: none;
  margin-right: 200px;
  margin-top: -82px;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: 0.4s ease-in-out;
  visibility: hidden;
  color: aliceblue;
  font-family: "Poppins", sans-serif;
  font-size: 0.8rem;
}

/************* css for intro *************/

.intro-container {
  height: 100vh;
  display: flex;
}
.intro {
  height: 100vh;
  width: 100vw;
  background: url(pp-bg.png);

  background: rgb(31, 31, 31);

  display: flex;

  justify-content: center;
  align-items: center;
}
/************* css for info box *************/
.info-box {
  width: 70vw;
  height: 80vh;

  border: 2px solid #fff;
  position: absolute;
  top: 80px;
  left: 5%;
  border-radius: 5px;

  z-index: 100;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: none;
}
/************* css for info left box *************/
.left-box {
  width: 30%;
  height: 100%;
  background: transparent;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.c-1 {
  width: 180px;
  height: 180px;
  background-color: #ffffff00;
  border-radius: 50%;
  border: 3px solid white;
}
.profile-pic {
  margin-top: -50px;
  margin-bottom: -50px;
  width: 220px;
  height: 220px;
  background-color: transparent;
  border-radius: 50%;
  border: 3px solid rgb(224, 68, 255);
  z-index: 10;
}
.profile-pic img {
  width: 220px;
  height: 220px;
  object-fit: cover;
  border-radius: 50%;
}

.c-2 {
  width: 180px;
  height: 180px;
  background-color: #ffffff00;
  border-radius: 50%;
  border: 3px solid white;
}
/************* css for info right box *************/
.right-box {
  margin-left: 50px;

  width: 60%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-color: none;
}
.right-box p {
  color: white;
  font-family: "Poppins", sans-serif;
  font-weight: 300;
  font-size: 1.6rem;
  margin-bottom: 5px;
}

.right-box h2 {
  color: white;

  font-weight: 100;
  font-family: "Teko", sans-serif;
  font-size: 5rem;
  background: linear-gradient(to left, #6b03c0, #ff246d);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}
#intro {
  color: white;
  margin-top: -10px;
  font-weight: 100;
  font-family: "Poppins", sans-serif;
  font-size: 0.7rem;

  max-width: 350px;
}

.study {
  margin-top: 20px;
  width: 250px;
  padding: 10px;
  background-color: rgba(240, 248, 255, 0.219);
  border-radius: 5px;
}
.study i {
  color: #ffffff;
  padding-right: 8px;
}
.study p {
  margin: 0;
  font-size: 0.8rem;
  font-family: "Poppins", sans-serif;
}
.right-box a {
  width: 80px;
  margin-top: 20px;
  text-decoration: none;
  color: #fff;
  background-color: #ff1979;
  padding: 8px;
  text-align: center;
  font-family: "Poppins", sans-serif;
  transition: 0.2s ease-in-out;
  border-radius: 5px;
}
.right-box a:hover {
  background-color: #ffecec;
  color: #1d1d1d;
}

/************************** ABOUT-CONTAINER **************************/

.about-container {
  width: 100%;
  height: 100vh;
  background: linear-gradient(to left, #ff1e8b, #4a65fa);
  background: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.about-me {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  grid-template-areas:
    " box3 box3 box1"
    " box3 box3 box2";

  grid-gap: 10px 120px;
  margin: 0 100px;
}
/************************** BOX---1 **************************/
.about-me .box1 {
  grid-area: box1;
  width: 600px;
  height: 45vh;
  border-radius: 6px;
  box-shadow: rgba(0, 0, 0, 0.103) 0px 5px 15px 0px;
  background: rgb(255, 255, 255);
  display: flex;
}
.about-me .box1 h2 {
  font-family: "Poppins", sans-serif;

  background: linear-gradient(to left, #222222, #2c2c2c);

  color: #fff;
  font-size: 2rem;
  writing-mode: vertical-lr;
  text-align: center;
  padding: 10px;

  box-shadow: rgba(0, 0, 0, 0.103) 0px 5px 15px 0px;
}

.about-me .box1 .intrests {
  width: 28vw;
  height: 30vh;
  background-color: none;
  display: grid;

  justify-content: space-around;

  background-color: none;
  margin: 50px 50px;
}

.about-me .box1 .intrests .int1 {
  margin: 0px;
}
.about-me .box1 .intrests .int1 h3 {
  font-family: "Poppins", sans-serif;
  padding: 20px;
  border: 0px solid #000;
  background: linear-gradient(to left, #ff1e8b, #ff195e);
  color: #f8f8f8;
  font-size: 1rem;
}

/************************** BOX---2 **************************/
.about-me .box2 {
  grid-area: box2;
  width: 600px;
  height: 45vh;
  border-radius: 6px;
  box-shadow: rgba(0, 0, 0, 0.103) 0px 5px 15px 0px;
  background: #ffffff;
  display: flex;
}
.about-me .box2 h2 {
  font-family: "Poppins", sans-serif;

  background: linear-gradient(to left, #222222, #2c2c2c);

  color: #ffffff;
  font-size: 2rem;
  writing-mode: vertical-lr;
  text-align: center;
  padding: 10px;

  box-shadow: rgba(0, 0, 0, 0.103) 0px 5px 15px 0px;
}

.about-me .box2 .skills {
  width: 400px;
  height: 250px;
  background-color: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 1fr);
  place-items: center;
  background: none;
  margin: 50px 80px;
  background-color: #ffffff;
}
.about-me .box2 .skills p {
  box-shadow: rgba(0, 0, 0, 0.103) 0px 5px 15px 0px;

  padding: 20px;
  text-align: center;
  font-family: "Poppins", sans-serif;
  font-size: 0.9rem;
  width: 70px;
  color: rgb(22, 22, 22);
}
.about-me .box2 .skills p:hover {
  border: 2px solid rgb(27, 27, 27);
}

.box3-line {
  display: none;
  width: 570px;
  height: 5px;
  background: linear-gradient(to left, #ff1e8ba4, #4a64fa86);
  border-radius: 50px;
}

/************************** BOX---3 (LEFT BOX) **************************/
.about-me .box3 {
  height: 90vh;
  width: 40vw;
  grid-area: box3;
  background: none;
  box-shadow: rgba(0, 0, 0, 0) 0px 5px 15px 0px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 0 0 50px;
  gap: 10px;
}

.box3 h2 {
  font-family: "Poppins", sans-serif;

  background: linear-gradient(to left, #ff1e8b, #4a65fa);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  font-size: 7rem;
}

.box3 p {
  width: 80%;
  font-family: "Poppins", sans-serif;
  font-size: 1.5rem;
  margin: -10px 0 0 10px;
  text-decoration: 2px wavy purple;
}
.box3 p::before {
  content: " Because ";
  width: 50px;
  height: 2px;
  color: #fff;
  background: linear-gradient(to bottom, #ff419d, #ff19b2);
  padding: 0 5px;
  margin: 0 5px;
}
/************************** PROJECT-SECTION **************************/

.project-section {
  display: grid;
  background: rgba(20, 20, 20, 0.897);
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  grid-template-areas:
    " p-box box1"
    " p-box  box1 ";
  gap: 40px 0px;
  box-shadow: rgba(0, 0, 0, 0.123) 0px 5px 15px 0px;
}

.project-section .right-box {
  grid-area: box1;
  height: 100vh;
  background: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: 0px;
}
.project-section .right-box h1 {
  font-size: 12rem;
  font-family: "Poppins", sans-serif;
  color: transparent;
  background: linear-gradient(to left, #a70fff, #701cf8);
  background-clip: text;
  -webkit-background-clip: text;
  text-align: center;
  margin-top: -50px;
}
.project-section .right-box h2 {
  font-family: "Poppins", sans-serif;
  color: transparent;
  background: linear-gradient(to left, #ff1e8b, #4a65fa);
  background-clip: text;
  -webkit-background-clip: text;
  font-size: 3rem;
  margin-top: 0px;
  text-align: center;
}

.project-section .right-box p {
  font-family: "Poppins", sans-serif;
  color: rgb(250, 250, 250);
  font-size: 1rem;
  display: none;
}
.project-section .project-box {
  width: 55vw;
  grid-area: p-box;
  background: none;
  border-radius: 4px;

  display: grid;
  grid-template-columns: repeat(2, 300px);
  grid-template-rows: repeat(2, 200px);
  align-content: center;
  justify-content: center;
  grid-template-areas:
    "project1 project2"
    "project3 project4";
  gap: 80px 40px;
}

.project1,
.project2,
.project3,
.project4 {
  background: #242424;
  grid-area: project1;
  height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  box-shadow: rgba(0, 0, 0, 0.075) 0px 5px 15px 0px;
  padding: 15px;
  transition: 0.2s ease-in-out;
}
.project1:hover,
.project2:hover,
.project3:hover,
.project4:hover {
  border: 1px solid white;
}

.project1 h4,
.project2 h4,
.project3 h4,
.project4 h4 {
  font-family: "Poppins", sans-serif;
  color: #a73eee;

  font-size: 1.2rem;
}

.project1 p,
.project2 p,
.project3 p,
.project4 p {
  font-family: "Poppins", sans-serif;
  font-size: 0.8rem;
  padding: 10px;
  color: #fff;
}

.project1 a,
.project2 a,
.project3 a,
.project4 a {
  display: block;
  text-decoration: none;
  font-family: "Poppins", sans-serif;
  background: linear-gradient(to left, #c164ff, #ff4ebb);
  width: 100%;
  padding: 5px 0;
  color: rgb(255, 255, 255);
  text-align: center;
  border-radius: 2px;
  transition: 0.1s ease-in;
}
.project1 a:hover,
.project2 a:hover,
.project3 a:hover,
.project4 a:hover {
  background: linear-gradient(to left, #ffffff, #ff6aeb);
  color: #202020;
}

.project2 {
  grid-area: project2;
}

.project3 {
  grid-area: project3;
}
.project4 {
  grid-area: project4;
}

/**************************  HOBBY SECTION **************************/

.my-hobbies {
  display: flex;
  height: 95vh;
  align-items: center;
  justify-content: center;
  margin-top: 50px;
  gap: 50px;
}
.my-hobbies h1 {
  font-family: "Poppins", sans-serif;
  text-align: center;
  font-size: 4.5rem;
  background: linear-gradient(to left, #a41cff, #ff16a6);
  color: transparent;
  background-clip: text;
  -webkit-background-clip: text;
  padding: 15px;
  position: absolute;
  top: 315vh;
  left: 8vw;
}
.intro-line {
  width: 32%;
  height: 4px;
  background: linear-gradient(to left, #d83cff, #ff00aa);
  position: absolute;
  top: 323vh;
  left: 60%;
}
@media (max-width: 1300px) {
  .intro-line {
    display: none;
  }
}

.my-hobbies .hobby-intro {
  width: 30%;
  height: 60%;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  display: none;
}

.hobby-intro p {
  padding: 10px;
  margin: 20px;
  font-family: "Poppins", sans-serif;
  box-shadow: rgba(0, 0, 0, 0.116) 0px 5px 15px 0px;
}
/***************  hobby photo slider **************/
.hobby {
  width: 25%;
  height: 60%;
  background: #ffffffa9;

  margin-top: 50px;

  display: flex;

  align-items: center;
  justify-content: center;
}

.hobby h4 {
  font-family: "Poppins", sans-serif;
  text-align: center;
  font-size: 1.2rem;
  margin: 8px 0;
  color: rgb(255, 255, 255);
  background: linear-gradient(to left, #0e0e0e, rgb(32, 30, 32));
  box-shadow: rgba(0, 0, 0, 0.15) 0px 5px 15px 0px;
  padding: 10px 0;
  border-radius: 8px 8px 0 0;
}
.travel-photos {
  width: 95%;
  height: 85%;
  margin-top: 5px;
}
.travel-photos img {
  width: 100%;
  height: 60%;
  border-radius: 5px;
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}

.travel-photos p,
.photography-photos p,
.trekking-photos p {
  padding: 20px;
  margin: 10px 0;
  box-shadow: rgba(0, 0, 0, 0.15) 0px 5px 15px 0px;
  font-family: "Poppins", sans-serif;
  font-size: 00.8rem;
  color: rgb(32, 32, 32);
}

.photography-photos {
  width: 95%;
  height: 85%;
  margin-top: 5px;
}

.photography-photos img {
  width: 100%;
  height: 60%;
  border-radius: 5px;
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}

.trekking-photos {
  width: 95%;
  height: 85%;
  margin-top: 5px;
}
.trekking-photos img {
  width: 100%;
  height: 60%;
  border-radius: 5px;
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}
/**************************  footer  SECTION **************************/
footer {
  height: 15vh;
  width: 100%;
  background-color: #202020;
  margin-top: 20px;
  display: flex;
  justify-content: space-between;
}
footer .left-f,
.right-f {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0px 20px;
}
.right-f {
  width: 350px;

  background-color: none;
}

footer .left-f p {
  color: #fff;
  font-family: "Poppins", sans-serif;
  text-align: center;
  font-size: 0.8rem;
  padding: 5px;
}
footer .left-f #ranjeet {
  background: linear-gradient(to left, #a41cff, #ff16a6);
  color: transparent;
  background-clip: text;
  -webkit-background-clip: text;
  text-align: center;
  font-size: 1.2rem;
}
footer .right-f p {
  color: #fff;
  font-family: "Poppins", sans-serif;
  text-align: center;
  font-size: 0.8rem;
  padding: 10px 20px;
  background: linear-gradient(to left, #a41cff, #ff16a6);
  border-radius: 3px;
}

/******************************************************* MEDIA QUERIES *************************************************/

@media (max-width: 1000px) {
  /************************** page1 (main-page) **************************/
  .toggle-bar {
    position: absolute;
    display: block;
    top: 10px;

    left: 45%;
    z-index: 10000;
  }

  .toggle-bar button {
    border: none;
    background: none;
    font-size: 1.6rem;
    color: white;

    display: block;
  }

  .navbar {
    width: 100%;
    height: 100vh;
    right: 0px;
    top: 50px;
    display: none;
    background: #2e2e2e;
    border: 0;
    border-radius: 10px;
    transition: 0.5s ease-in-out;
  }

  .nav-icons {
    margin-right: -110px;
    margin-top: -80px;
  }

  .intro-container {
    width: 100vw;
    height: 120vh;
    min-width: 350px;
  }
  .intro {
    position: absolute;
    background: #1d1d1d;
    height: 128vh;

    border-radius: 0 0 20px 20px;
    min-width: 350px;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .info-box {
    width: 100vw;

    height: 120vh;
    margin-left: 0px;

    top: 50px;
    left: 0;
    background-size: contain;
    display: flex;
    flex-direction: column;
    border: 0;
  }

  .right-box {
    margin-top: 0;
    margin-left: 0;
    background: none;
    width: 80vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
  }

  .right-box h2 {
    font-size: 4rem;
    padding: 20px 0px;
  }

  #intro {
    text-align: center;
  }

  .left-box {
    width: 100vw;
    height: 60vh;
  }

  .c-1 {
    width: 80px;
    height: 80px;
  }
  .profile-pic {
    width: 220px;
    height: 220px;
  }

  .c-2 {
    width: 80px;
    height: 80px;
  }

  /************************** ABOUT-CONTAINER **************************/

  .about-container {
    height: 250vh;
    background-color: #ffffff;
    min-width: 350px;
  }
  .about-me {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    grid-template-rows: repeat(3, auto);
    grid-template-areas:
      " box3 "
      " box1 "
      " box2 ";

    grid-gap: 20px;
    align-items: center;
    justify-items: center;
    background-color: none;
    width: 100%;
  }

  .about-me .box1 {
    grid-area: box1;
    width: 300px;
    height: 70vh;
  }
  .about-me .box1 .intrests .int1 {
    margin: 5px;
  }

  .about-me .box2 {
    grid-area: box2;
    width: 300px;
    height: 110vh;
  }

  .about-me .box2 .skills {
    width: 450px;
    height: 90%;
    background-color: none;
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    grid-template-rows: repeat(8, 1fr);
    place-items: center;
    background: none;
    margin: 0px 60px;
    background-color: #ffffff;
  }
  .about-me .box2 .skills p {
    font-size: 0.8rem;
    padding: 10px;
    width: 80px;
  }

  .about-me .box3 {
    width: 95vw;
    height: 40vh;
    grid-area: box3;
    margin-top: 20px;
    text-align: center;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .box3 h2 {
    font-size: 2.5rem;
  }

  .box3 p {
    font-size: 0.9rem;
    width: 90%;
  }

  /************************** Project-section **************************/

  .project-section {
    display: flex;
    flex-direction: column;
    justify-items: center;
    align-items: center;
    background: rgba(27, 27, 27, 0.897);
    height: 240vh;
    min-width: 350px;
  }

  .project-section .right-box {
    grid-area: box1;
    height: 60vh;
    background: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 10px;
  }
  .project-section .project-box {
    width: 55vw;
    grid-area: p-box;
    background: none;
    border-radius: 4px;

    display: grid;
    grid-template-columns: repeat(1, 300px);
    grid-template-rows: repeat(4, 200px);
    align-content: center;
    justify-content: center;
    grid-template-areas:
      "project1"
      "project2"
      "project3"
      "project4";
    gap: 60px 20px;
  }

  .project-section .right-box h1 {
    font-size: 12rem;
  }
  .project-section .right-box h2 {
    font-size: 2.8rem;
  }

  /**************************  HOBBY SECTION **************************/

  .my-hobbies {
    display: flex;
    flex-direction: column;
    width: 100vw;
    height: auto;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 350px;
    min-width: 350px;
  }
  .my-hobbies h1 {
    top: 620vh;
    min-width: 300px;
    font-size: 3rem;
    margin-top: 80px;
    margin-left: 0;
    left: 0;
  }

  .my-hobbies .intro-line {
    display: none;
  }
  .hobby-intro {
    width: 90% !important;
    height: 30%;
    background: #ffb3d9;
    border-radius: 4px;
    margin: 10px 0;
    display: flex !important;
    box-shadow: rgba(81, 81, 88, 0.212) 0px 7px 29px 0px;
  }
  .hobby-intro p {
    box-shadow: none;
  }
  .hobby {
    width: 90%;
    height: 400px;
    border-radius: 0px;
    gap: 10px;
  }

  /**************************  footer  SECTION **************************/
  footer {
    height: 40vh;
    background-color: #202020;
    margin-top: 100px;
    display: flex;
    flex-direction: column;
    min-width: 350px;
  }
  footer .left-f,
  .right-f {
    padding: 0px 0px;
    margin: 0;
    width: auto;
  }

  footer .right-f p {
    width: 70%;
  }
}
