* {
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

/* navagiation head */
.head {
  position: fixed;
  width: 100%;
  background: linear-gradient(90deg, #ff3dbe, rgb(255, 26, 121));
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  height: 15vh;
  z-index: 100;
  box-shadow: rgba(54, 54, 54, 0.068) 0px 8px 24px;
}

ul li {
  display: inline;
  padding: 0 20px;
}

ul li a {
  text-decoration: none;
  font-family: "Poppins", sans-serif;
  font-size: 0.8rem;
  color: aliceblue;
  padding: 10px 30px;
  background-color: none;
  border-radius: 3px;
  transition: 0.156s ease-in;
}
ul li a:hover {
  background-color: white;
  color: rgb(39, 39, 39);
  box-shadow: rgba(137, 145, 151, 0.527) 0px 8px 24px;
}

/* nav over */

/* after nav mid body which include profile pic and about us */

.header {
  display: grid;
  grid-template-rows: repeat(auto, 200px);
  grid-template-columns: repeat(auto-fit, minmax(auto, 300px));
  align-self: center;
  justify-content: center;
  align-items: center;

  background: linear-gradient(90deg, #ff63cb, #ff2b83);
  height: 100vh;
  box-shadow: rgba(93, 98, 102, 0.527) 0px 8px 24px;
}

.profile_pic {
  width: 200px;

  height: 200px;

  border-radius: 50%;
  background-color: none;
  border: 4px solid rgb(255, 61, 168);

  justify-self: center;
  box-shadow: rgba(61, 54, 54, 0.527) 0px 8px 24px;
  transition: 0.3s ease-in-out;
  cursor: pointer;
}

.profile_pic:hover {
  transform: scale(1.3);
}

.profile_pic:hover + .aboutme {
  transform: scale(1.3);
}

.aboutme {
  margin-top: 0px;
  min-width: auto;
  font-family: poppins;
  justify-self: center;
  text-align: center;
  color: rgb(255, 250, 253);
  cursor: pointer;
  transition: 0.3s ease-in-out;
}

/* here mid body ends */

label {
  display: none;
}
input {
  display: none;
}

.tarea {
  display: none;
}

/* middle small cards divisions  another grid ie. mid*/
.mid {
  height: 100%;
  display: grid;
  justify-content: center;
  justify-content: space-evenly;
  align-items: center;
  grid-template-rows: repeat(auto-fit, 1fr);
  grid-template-columns: repeat(auto-fill, minmax(auto, 300px));
  grid-gap: 10px;
  column-gap: 10px;
  row-gap: 20px;
  padding: 20px;
  background: none;
  margin-top: 10px;
}

/* from here editing of infobox starts for box1 */

.box1 {
  height: 300px;
  width: auto;
  background-color: white;
  border-radius: 3px;
  overflow: hidden;
  box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
  transition: 0.2s ease-in;
}
.box1:hover {
  box-shadow: rgba(92, 92, 92, 0.452) 0px 7px 29px 0px;
  transform: translateY(-3px);
}

/* this is for top header in box1 background: linear-gradient(90deg, #ff3dbe, rgb(255, 26, 121));*/

.bgbox1 {
  width: 100%;
  height: 100px;
  background-color: #ff00aa;
  border-radius: 3px;
  background-image: url(MP-box1img.jpeg);
  background-size: cover;
}

/* This is for images  and extra elements for box2,3,4 given as per their Ids */
#card2 .bgbox1 {
  background-image: url(MP-box2img.jpg);
  background-size: cover;
}
#card3 .bgbox1 {
  background-image: url(MP-box3img.jpg);
  background-size: cover;
}
#card4 .bgbox1 {
  background-image: url(MP-box4img.jpeg);
  background-size: cover;
}

/* here ends */

.box1 img {
  display: none;
}
/* this is for circle in box1 */

.bgcircle1 {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: white;
  position: relative;
  top: -50px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #ff5b9a;
  box-shadow: rgba(101, 107, 112, 0.527) 0px 8px 24px;
}

/* this is for icon box1 */
.bgcircle1 i {
  font-size: 2rem;
  text-align: center;
  transition: 0.2s ease-out;
}

.bgcircle1:hover {
  background-color: #ff5b9a;
  transition: 0.3s ease-out;
}

.bgcircle1:hover i {
  color: white;
}

/* this is for anchor tag in box1 */
.clickhere1 a {
  text-decoration: none;
  color: white;
  background-color: #ff5b9a;
  padding: 10px;
  border-radius: 5px;
  align-self: flex-end;
  transition: 0.2s ease-in;
}
.clickhere1 a:hover {
  background-color: white;
  color: #ff1da1;
  box-shadow: rgba(101, 107, 112, 0.527) 0px 8px 24px;
}

/* this is for h4 text in box1 */
.content-box1 h4 {
  position: relative;
  top: -40px;
  padding: 0px 10px 0px 10px;
}
/* this is tha main div in which all above divs and element are there */

.content-box1 {
  height: 280px;
  display: flex;
  flex-direction: column;
  padding: 0px;
  justify-content: center;
  align-items: center;
  justify-content: space-between;

  font-family: "Poppins", sans-serif;
  color: black;
  font-size: small;
  font-weight: lighter;
  text-align: center;
}

/* here ends for box1, now we will copy the code of box1 to give similar effects to other boxes */

/* here footer part starts */

.footer {
  margin-top: 30px;
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-content: center;
  list-style: none;
  text-align: center;
}

.footer li {
  display: flex;
  flex-direction: row;
  width: 100%;
}

.footer li a {
  width: 100%;
  background: linear-gradient(90deg, #ff3dbe, rgb(255, 26, 121));
  text-align: center;
  padding: 10px;
  border-radius: 0;
  text-decoration: none;
  font-family: poppins;
  color: white;
  font-size: 1.5rem;
}
.footer li a:hover {
  background: linear-gradient(90deg, rgb(255, 26, 121), #ff3dbe);
  transition: 0.5s ease-out;
  color: white;
}

.footer h4 {
  background-color: none;
  color: #ff00aa;
  padding: 20px;
  font-family: poppins;
  width: 100%;
}

.footer-end {
  height: 15vh;
  background-color: #383838;
  color: white;
  font-family: poppins;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 0.8rem;
}

#insta-icon {
  text-shadow: 2px 2px 8px #3131319a;
  transition: 0.3s ease-in-out;
}
#linkdin-icon {
  text-shadow: 2px 2px 8px #3333339a;
}
#twit-icon {
  text-shadow: 2px 2px 8px #3030309a;
}

/* footer part ends */

/* media Query starts */

@media screen and (max-width: 750px) {
  .head {
    background-color: white;
    height: auto;
    display: none;
    transition: 0.3s ease-in-out;
    position: relative;
    z-index: none;
  }

  ul li {
    display: flex;
    flex-direction: row;
    width: 100%;
    padding: 0;
  }

  ul li a {
    width: 100%;
    background: linear-gradient(90deg, #ff3dbe, rgb(255, 26, 121));
    text-align: center;
    padding: 20px;
    border-radius: 0;
  }

  ul li a:hover {
    background: linear-gradient(90deg, rgb(255, 26, 121), #ff3dbe);
    transition: 0.9s ease-out;
    color: white;
  }
  /* this is very imp for responsive navbar */
  #toggle:checked + .head {
    display: block;
    transition: 0.3s ease-in-out;
  }

  label {
    display: flex;
    flex-direction: column;
    width: 30px;
    height: 30px;
    background-color: none;
    margin: 10px;
    justify-content: center;
    align-items: center;
    border-radius: 3px;
    cursor: pointer;
  }

  /* the top element in mobile view */
  .tarea {
    display: flex;
    background: linear-gradient(90deg, #ff3dbe, rgb(255, 26, 121));
    color: white;
    height: 40px;
    justify-content: flex-end;
    align-items: center;
    padding: 10px;
    justify-content: space-between;
    font-family: poppins;
  }

  .header {
    height: 50vh;
  }
  .profile_pic:hover {
    transform: scale(1.1);
  }
  .profile_pic:hover + .aboutme {
    transform: scale(1.1);
  }

  .aboutme {
    margin-top: 0px;
  }

  .mid {
    background: none;
    padding: 5px;
    grid-template-rows: repeat(auto-fit, 1fr);
    grid-template-columns: repeat(auto-fit, minmax(auto, 400px));
  }

  .box {
    background: linear-gradient(90deg, rgb(255, 255, 255), #fdfdfd);
  }
  .box1 {
    background: linear-gradient(90deg, rgb(255, 255, 255), #fdfdfd);
  }

  /* media inside */
}

/* media query ends */
