html {
  margin: 0 !important;
  padding: 0 !important;
  scroll-behavior: smooth;
  height: 100% !important;
  min-height: 100% !important;
}
body {
  background-color: #101519;

  display: flex;
  justify-content: center;
  align-items: center;
  flex-flow: column;
  width: 100%;
}

.brder {
  border: 7px solid #84e9d7;
  border-radius: 100px;
  width: 97%;
  height: 97vh;
  padding: 10px;
  margin: 10px;
}

::-moz-selection {
  /* Code for Firefox */
  color: #28585a;
  background: #84e9d7;
}

::selection {
  color: #101519;
  background: #84e9d7;
}
/*-----------scroll-bar-----------*/
::-webkit-scrollbar {
  width: 0.75em;
}

::-webkit-scrollbar-track {
  background: #101519;
}

::-webkit-scrollbar-thumb {
  background: #28585a;
  border-radius: 25px;
}

.work-wrapper::-webkit-scrollbar {
  height: 0.25em;
}

.work-wrapper::-webkit-scrollbar-track {
  background: #101519;
}

.work-wrapper::-webkit-scrollbar-thumb {
  background: #28585a;
  border-radius: 25px;
}

/* -----navbar----- */

nav {
  background: transparent ;
  border-radius:50px;
  border: 1px solid transparent;
  left: 3%;
  position: fixed;
  width: 94%;
  transition: all 100ms ease-in-out;
  z-index: 9;
}

nav ul a {
  position: relative;
  font-weight: 200;
}

nav ul a:hover {
  background-color: transparent !important;
}

.color-change{
  background: #28585a27 !important;
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37)  ;
  backdrop-filter: blur(4.5px) ;
  -webkit-backdrop-filter: blur(4.5px)  ;
  border: 1px solid #28585a;
}



.sidenav {
  padding-top: 10%;
  background-color: #101519;
}

.socials {
  padding-right: 4% !important;
  max-height: 60px;
}

.socials li a i {
  font-size: 20px !important;
}

.menu {
  padding-left: 4% !important;
  letter-spacing: 1px;
  font-weight: 100;
}
.menu a:hover {
  color: #84e9d7;
}

.brand-logo {
  font-weight: 700;
  color: #e0d9f6 !important;
}

.mobile-socials {
  display: flex !important;
  position: absolute !important;
  bottom: 10% !important;
  padding-left: 30px !important;
  justify-content: space-around !important;
}

.mobile-socials a {
  padding: 0px !important;
}

.mobile-socials a i {
  font-size: 20px;
  color: white !important;
}

.sidenav a {
  color: white !important;
  font-family: "poppins", sans-serif;
  letter-spacing: 1.5px;
  font-weight: 100;
}

.lav {
  color: #e0d9f6 !important;
}

.highlight {
  color: #84e9d7;
}

.me {
  display: flex;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  height: 90%;
  animation: fadeIn 2s;
  padding-top: 5%;
}

.me .pic img {
  width: 300px;
  background-size: 200%;
  border: 10px solid #28585a;
  border-radius: 50%;
}

.intro {
  height: auto;
}

.intro h1 {
  font-family: "poppins", sans-serif;
  color: aliceblue;
  font-size: 30px;
  font-weight: bolder;
  animation: fadeIn 2s;
  text-align: center;
}

.typed-text {
  color: #28585a;
  font-family: "poppins", sans-serif;
}

.cursor {
  display: inline-block;
  width: 3px;
  margin-left: 4px;
  background: white;
}

.cursor.blink {
  animation: blink 0.8s ease-in-out infinite;
}

@keyframes blink {
  0%,
  100% {
    background: white;
  }
  40%,
  50% {
    background: transparent;
  }
}

nav .socials .fa-instagram:hover {
  background: -webkit-linear-gradient(rgb(255, 109, 231), rgb(70, 60, 211));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.socials .fa-file:hover {
  color: rgb(101, 101, 101);
}

.socials .fa-linkedin:hover {
  color: rgba(0, 155, 255);
}

/*----about-----*/
.about,
.project,
.contact {
  display: flex;
  flex-flow: column;
  justify-content: center;
  align-items: center;
}

.heading {
  font-family: "poppins", sans-serif;
  color: white;
  font-size: 5em;
  font-weight: bolder;
}

.para {
  color: #e3dddf;
  font-family: "Raleway", sans-serif;
  font-weight: 500;
  font-size: 1.25em;
  max-width: 600px;
}

.skills {
  color: white;
  display: flex;
  flex-wrap: wrap;
  gap:10px;
  align-items: center;
  justify-content: center;
}

.skills .skill-img{
  max-width: 75px;
  height: 75px;
  aspect-ratio: square;
  padding: 10px;
  border-radius: 25px;
  object-fit:contain;
  background-color: #84e9d7;
  cursor: pointer;
  transition: all 200ms ease-in-out;
}

.skill-img:hover{
  transform: scale(110%);
}


/*----Projects-----*/
.projects {
  display: flex;
  flex-flow: column;
  justify-content: center;
  align-items: center;
}

.project {
  width: 90%;
  height: 100%;
}

.work-wrapper {
  display: flex;
  width: 80%;
  align-items: center;
  margin-bottom: 50px;
  margin: 5% 3% !important;
  overflow-x: scroll;
}

.card-main {
  display: flex;
  justify-content: center;
  align-items: center;
}

.card {
  height: 250px !important;
  width: 400px;
  border: 5px solid #28585a;
  border-radius: 30px;
}
.card img {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  border-radius: 25px;
}

.card:before {
  content: "";
  position: absolute;
  top: 0 !important;
  left: 0 !important;
  display: block;
  width: 100%;
  height: 100%;
  /* From https://css.glass */
  background: rgba(0, 0, 0, 0.755);
  border-radius: 16px;
  backdrop-filter: blur(1px);
  -webkit-backdrop-filter: blur(1px);
  z-index: 2;
  transition: 0.5s;
  opacity: 0;
  border-radius: 25px;
}

.card .info {
  height: 100%;
  width: 100%;
  z-index: 3;
  opacity: 0;
  position: relative;
  transition: 0.5s;
  padding: 15px 15px;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  border-radius: 25px;
}
.card .info button a {
  text-decoration: none !important;
  color: #84e9d7;
  border: 2px solid #84e9d7;
  border-radius: 25px;
  padding: 10px 20px;
  color: #84e9d7;
  cursor: pointer;
  font-family: "poppins", sans-serif;
  transition: 300ms ease;
  font-weight: 400;
}
.card .info button {
  background-color: transparent;
  border: 0px;
  margin-bottom: 10px !important;
}

.card .info a:hover {
  background-color: #84e9d7;
  color: #00100d;
}

.card:hover:before {
  opacity: 1;
}
.card:hover .info {
  opacity: 1;
  cursor: pointer;
}

.card .info h1 {
  font-size: 25px;
  margin-top: 5% !important;
  margin-bottom: 0%;
  color: #e3dddf !important;
  padding-bottom: 4px;
  border-bottom: 1px solid white;
}

.card .info p {
  font-size: 15px;
  padding: 0px 5%;
  color: #c0bcbd !important;
}

/* ------Contact----- */

.contact .heading {
  font-size: 3.5rem;
}

.contact {
  display: flex;
  flex-flow: column;
  align-items: center;
  position: relative;
}
.contact .mail {
  margin-top: 10px;
  margin-bottom: 20px;
}
.contact input,
textarea {
  border: 2px solid #28585a;
  border-radius: 10px;
  padding: 3% 5%;
  margin-bottom: 4%;
  color: #e3dddf;
  font-size: 1.3em;
  background-color: transparent;
  width: 100%;
}
.butt {
  width: 100% !important;
  display: flex;
  justify-content: center;
  align-items: center;
}
input::placeholder,
textarea::placeholder {
  color: #9a9a9a !important;
  font-family: "Montserrat", sans-serif;
  font-size: 12px;
}

input:focus {
  outline: none !important;
  border: 2px solid #84e9d7 !important ;
}

.contact .message {
  overflow-y: hidden;
  height: 100px;
  resize: none;
  padding: 2% 3% !important ;
}

.contact .message:focus {
  outline: none !important;
  border: 2px solid #84e9d7 !important ;
}

.contact button {
  text-decoration: none !important;
  width: 100px;
  border: 2px solid #84e9d7 !important ;
  border-radius: 25px;
  padding: 10px 20px;
  background-color: #101519;
  color: #84e9d7;
  cursor: pointer;
  font-family: "poppins", sans-serif;
  transition: 300ms ease;
  font-weight: 400;
  border: 0px;
  margin-bottom: 10px !important;
}

.contact button:hover {
  color: #101519;
  background-color: #84e9d7;
}
.contact button:has(.butt:hover) {
  color: #101519;
  background-color: #84e9d7;
}
.butt {
  cursor: pointer;
}

footer {
  border-top: 1px solid #535353;
  width: 100%;
  border-bottom-left-radius: 90px;
  border-bottom-right-radius: 90px;
  display: flex;
  flex-flow: column;
  justify-content: space-around;
  align-items: center;
}
footer .logo {
  margin: 10px 0px;
}

footer .socials {
  width: 300px !important;
  display: flex;
  justify-content: space-evenly;
  margin: 15px 0px;
  padding-right: 0px !important;
}

footer .socials a i {
  width: 40px;

  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none !important;
  color: #28585a !important;
  border: 2px solid #28585a;
  padding: 10px;
  border-radius: 50%;
  transition: 0.3s ease-in;
}
footer .socials a i:hover {
  color: #84e9d7 !important;
  border: 2px solid #84e9d7 !important;
}

footer .end p {
  font-family: "Montserrat", sans-serif;
  font-size: 15px;
  color: #797979;
}

/* tooltip */
.material-tooltip {
  background: #00100d;
  padding: 1% 1%;
  border-radius: 16px;
  font-size: 1rem !important;
  color: #84e9d7;
  font-family: "raleway", sans-serif;
}
@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: translate3d(0, -2%, 0);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@media screen and (max-width: 1280px) {
  .brand-logo {
    font-size: 20px !important;
  }

  .brder {
    border: 5px solid #84e9d7;
    border-radius: 50px;
  }

  .me .pic img {
    width: 250px;
  }

  .heading {
    font-size: 4em;
  }

  .skills ul {
    width: 95% !important;
  }

  .card {
    height: 200px !important;
    width: 320px;
  }

  .card .info h1 {
    font-size: 17.5px !important;
    margin-top: 5% !important;
    margin-bottom: 0%;
    color: #e3dddf !important;
  }

  .card .info p {
    font-size: 14px;
    padding: 0px 3%;
  }

  .card .info button a {
    font-size: 12px;
    border-width: 1.5px;
    padding: 10px 20px;
  }

  footer .end p {
    font-size: 10px;
  }
}

@media screen and (max-width: 570px) {
  .brand-logo {
    font-size: 20px !important;
  }

  .brder {
    border: 5px solid #84e9d7;
    border-radius: 50px;
  }

  .me .pic img {
    width: 200px;
  }

  .skills ul {
    width: 100% !important;
  }
  .heading {
    font-size: 3em !important;
  }
  .para,
  .skills ul li {
    font-size: 17px !important;
  }

  .card {
    height: 170px !important;
    width: 272px;
  }

  .card .info h1 {
    font-size: 13px !important;
    margin-top: 5% !important;
    margin-bottom: 0%;
    color: #e3dddf !important;
  }

  .card .info p {
    font-size: 13px;
    padding: 0px 3%;
  }

  .card .info button a {
    font-size: 10px;
    padding: 7px 15px;
    border-width: 0.7px !important;
  }

  .work-wrapper {
    width: 100% !important;
    margin: 0px 0px !important;
  }

  .contact .heading {
    font-size: 2em !important;
  }
  .contact .para {
    font-size: 1em !important;
  }

  .contact form {
    padding: 0px 5% !important;
  }
}

/* ---horzontal mobile---- */
@media screen and (max-height: 450px) {
  .brand-logo {
    font-size: 20px !important;
  }

  .me {
    justify-content: space-between !important;
  }
  .me .intro {
    font-size: 10px;
  }
  .brder {
    border: 5px solid #84e9d7;
    border-radius: 50px;
  }
  .me .pic img {
    width: 150px !important;
    border: 7px solid #28585a;
    margin-top: 10%;
  }
  .skills ul {
    width: 100% !important;
  }
  .heading {
    font-size: 3em !important;
  }
  .para,
  .skills ul li {
    font-size: 17px !important;
  }

  .card {
    height: 170px !important;
    width: 272px;
  }

  .card .info h1 {
    font-size: 13px !important;
    margin-top: 5% !important;
    margin-bottom: 0%;
    color: #e3dddf !important;
  }

  .card .info p {
    font-size: 13px;
    padding: 0px 3%;
  }

  .card .info button a {
    font-size: 10px;
    padding: 7px 15px;
    border-width: 0.7px !important;
  }

  .work-wrapper {
    width: 100% !important;
    margin: 0px 0px !important;
  }

  .contact .header {
    align-self: center !important;
  }
  .contact .heading {
    font-size: 1.5em !important;
  }
  .contact .para {
    font-size: 0.7em !important;
  }

  .contact form {
    padding: 0px 5% !important;
  }

  /* work */

  .project .work-wrapper {
    display: flex;
  }

  /* footer */

  .contact .header {
    align-self: flex-start !important;
  }
  .contact {
    flex-direction: row;
    justify-content: space-around;
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .contact .mail {
    width: 50% !important;
  }

  .contact .mail .butt button {
    font-size: 0.7em !important;
    padding: 5px 10px !important;
    width: 70px;
  }

  footer {
    position: absolute;
    bottom: 0;
    justify-content: unset;
  }

  .footer .socials {
    margin: 5px 0px;
  }

  footer .logo,
  .end {
    margin: 0px !important;
  }
  footer .socials i {
    width: 20px !important;
    height: 20px !important;
    font-size: 10px;
    border: 1px solid #28585a;
  }
  footer .logo img {
    width: 15px !important;
    height: 15px !important;
  }
}
