*,
*::after,
*::before {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
  /* outline: 1px solid lime; */
}

html {
  font-size: 62.5%;
  background: radial-gradient(at center, #222121, #2f2e2e);
  background: #131314;
  color: #eee;
  font-family: "Poppins", "Times New Roman";
}

@media (min-width: 75em) {
  html {
    font-size: 55%;
  }
}

@media (max-width: 62.5em) {
  html {
    font-size: 50%;
  }
}

@media (max-width: 50em) {
  html {
    font-size: 31.25%;
  }
}

@media (max-width: 31.25em) {
  html {
    font-size: 25%;
  }
}

::-webkit-scrollbar {
  width: .8rem;
}

::-webkit-scrollbar-thumb {
  background-color: #1F51FF;
  border-radius: 1rem;
}

.navbar {
  height: 17vh;
  width: 100%;
  border-radius: 0 0 1rem 1rem;
  padding-block-end: 5rem;
  color: #000;
}

.navbar__list {
  height: 100%;
  width: 100%;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  list-style: none;
  font-size: 1.2rem;
  font-weight: 400;
  letter-spacing: .2rem;
  text-transform: uppercase;
}

.navbar__listitem {
  height: 90%;
  width: 100%;
  color: #1F51FF;
  padding: 0 2rem;
  margin-block-end: 1rem;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.navbar__listitem:not(:last-child) {
  border-right: 1px solid #eee;
}

.navbar__listlink {
  text-decoration: none;
  height: 100%;
  width: 90%;
  display: grid;
  place-items: center;
  border-radius: 0 0 2rem 2rem;
  transition: all .3s ease-in-out;
  color: #eee;
  background-color: #1F51FF;
  box-shadow: 0 0 2rem #1F51FF;
}

.navbar__listlink:hover {
  color: #1F51FF;
  background-color: #eee;
  box-shadow: 0 0 2rem #eee;
}

.hero {
  height: 80vh;
  display: flex;
  flex-direction: row-reverse;
  justify-content: space-evenly;
  align-items: center;
  /* background: radial-gradient(at 0% 0%, rgba(77, 77, 77, 0.8) , rgba(35, 35, 35, 0.6),rgb(0, 0, 0) 90%); */
}

.hero__image {
  height: 40rem;
  width: 40rem;
  border-radius: 50%;
  scale: 1.01;
  object-fit: cover;
  object-position: center;
  filter: grayscale(60%);
  position: relative;
  outline: 1px solid #1F51FF;
  box-shadow: 0 .1rem .8rem #1F51FF;
  animation: slide-left 1s ease-in-out forwards;
  transition: all .3s ease-in-out;
}

@keyframes slide-left {
  from {
    translate: 3rem 0rem;
  }

}

.hero__image:hover {
  scale: .98;
  filter: grayscale(0%);
  outline: 1px solid #d7d7d7;
}

.hero__content {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-evenly;
  animation: slide-right 1s ease-in-out  forwards ;
  gap: 3rem;
}
@keyframes slide-right {
  from{
    translate: -3 rem 0;
  }
  to{
    translate: 0 0;
  }
}
.hero__content .hero__name {
  font-size: 7.5rem;
  font-weight: 200;
  letter-spacing: .1em;
}

.hero__content .hero__tagline {
  text-transform: uppercase;
  height: 5rem;
  font-size: 1.5rem;
  font-weight: 300;
  border-radius: 0 0.8rem .8rem 0;
  background: linear-gradient(to right, #1F51FF, #98aefd7b);
  display: grid;
  place-items: center;
  padding: 1rem;
}

.hero__link,
.hero__link:visited {
  align-self: center;
  color: #eee;
  text-decoration: none;
  font-size: 1.8rem;
  /* background-color: #1F51FF; */
  border: 2px solid #1F51FF;
  position: relative;
  padding: 1.5rem;
  border-radius: .8rem;
  box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.6);
  transition: all .3s ease-in-out;
  overflow: hidden;
}

.hero__link:hover {
  translate: 0 -1.1rem;
  scale: 1.01;
  background-color: #1F51FF;
  box-shadow: 0 .5rem 4rem #1f50ffd6;
}

.hero__link:active {
  scale: 1;
  translate: 0 0rem;
  box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.4);
}

.navbar__list__hamburger {
  display: none;
}

@media (max-width: 25em) {
  .navbar__list {
    display: none;
  }
}

@media (max-width: 25em) {
  .hamburger {
    height: 15rem;
    width: 15rem;
    background-color: #373737;
    position: fixed;
    z-index: 20;
    top: 5rem;
    right: 5rem;
    border-radius: 50%;
  }

  .hamburger span {
    position: absolute;
    height: 1rem;
    width: 60%;
    top: 50%;
    left: 50%;
    translate: -50% -50%;
    background-color: #eee;
    transition: all .3s ease-in-out;
  }

  .hamburger span:nth-child(1) {
    top: 25%;
  }

  .hamburger span:nth-child(3) {
    top: 75%;
  }

  .hamburger[data-active=true] span:nth-child(1) {
    top: 50%;
    translate: -50% -50%;
    rotate: 45deg;
  }

  .hamburger[data-active=true] span:nth-child(2) {
    opacity: 0;
  }

  .hamburger[data-active=true] span:nth-child(3) {
    top: 50%;
    translate: -50% -50%;
    rotate: -45deg;
  }

  .navbar__list__hamburger {
    position: fixed;
    z-index: 20;
    right: -100%;
    height: 100%;
    width: 100%;
    background-color: #222121;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    transition: right .3s ease-in-out;
  }

  .navbar__list__hamburger .navbar__listitem {
    height: 10rem;
    border: none;
  }
}

@media (max-width: 25em) {
  .hero {
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
  }
}

.projects__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(25rem, 60rem));
  justify-content: space-evenly;
  align-content: center;
  gap: 4rem;
  margin-block-end: 5rem;
}

.projects__project__details {
  display: flex;
  flex-direction: column;
  align-items: baseline;
  justify-content: space-evenly;
  gap: 5rem;
  background-color: rgba(215, 215, 215, 0.084);
  border: 2px solid;
  border-image: linear-gradient(to right, #1F51FF, #1f50ff7d) 1;
  padding-inline: 5rem;
  border-radius: .8rem;
  animation: fade-in 3s ease-in-out forwards;
  animation-timeline: view();
  animation-range: -100rem;
}

.projects__project_desc {
  font-size: 1.5rem;
  background: linear-gradient(to right, #1F51FF, #98aefd7b);
  padding: 2rem;
  text-align: baseline;
  border-radius: .8rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;

  li {
    margin-inline: 2rem;
  }
}

.projects__project_title {
  font-size: 5rem;
  align-self: center;
  text-transform: uppercase;
  letter-spacing: .3rem;
  background: linear-gradient(to right, #1F51FF, #98aefd7b);
  background-clip: text;
  color: transparent;
  padding: .5rem 2rem;
  border-radius: .5rem;
}


.projects__project__imageContainer {
  flex-basis: 30rem;
  width: 100%;
  transition: all .6s ease-in-out;
  border-radius: 1rem;
  overflow: hidden;
  position: relative;
}

.projects__project__imageForeground {
  width: 100%;
  height: 100%;
  filter: grayscale(50%);
  position: absolute;
}

.projects__project__imageForeground:hover {
  opacity: 0;
}

.projects__project__image {
  position: absolute;
  height: 100%;
  width: 100%;
  z-index: -10;
  /* opacity: 10%; */
  transition: all .6s ease-in-out;
}

.projects__project_link,
.projects__project_link:visited {
  text-decoration: none;
  font-size: 2rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: .3rem;
  border: 2px solid;
  border-image: linear-gradient(to right, #1F51FF, #1f50ff7d) 1;
  color: #d7d7d7;
  padding: 1rem 3rem;
  display: grid;
  place-items: center;
  margin-block-end: 1rem;
  transition: all .3s ease-in-out;
}

.projects__project__linkcontainer {
  width: 100%;
  display: flex;
  justify-content: space-between;
}

.projects__project__logo {
  height: 6rem;
  width: 10rem;
  border-radius: 50%;
}

.projects__project_link:hover {
  translate: 0 -0.3rem;
  scale: 1.01;
  background-color: #1F51FF;
  box-shadow: 0 .5rem 4rem #1f50ffd6;
}

/* .projects__project__details:hover .projects__project__image {
  opacity: 100%;
}

.projects__project__details:hover .projects__project_desc {
  top: 50%;
  opacity: 10%;
  z-index: -1;
} */

@keyframes fade-in {
  from {
    scale: .9;
    opacity: 0;
  }

  to {
    scale: 1;
    opacity: 1;
  }
}



.aboutMe {
  height: 70vh;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  gap: 5rem;
  align-items: center;
}

.aboutMe .-u-start {
  align-self: flex-start;
  margin-inline-start: 5rem;
}

.aboutMe .skill__container {
  height: 100%;
  width: 100%;
  display: flex;
  align-items: baseline;
  justify-content: space-evenly;
}

.aboutMe .skill__container .skill__programming {
  font-size: 1.8rem;
  font-family: "Poppins", "Times New Roman";
  text-transform: capitalize;
  font-weight: 200;
  display: flex;
  flex-direction: column;
  align-items: baseline;
  justify-content: center;
  gap: 1rem;
}

.aboutMe .skill__container .skill__programming__heading {
  list-style: none;
  font-weight: 400;
  font-size: 2.5rem;
  text-transform: uppercase;
  letter-spacing: .2rem;
  margin-bottom: 5rem;
  background: linear-gradient(to right, #1F51FF, #98aefd7b);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  text-shadow: 0 1rem 4rem #98aefd71;
}

.aboutMe .skill__container .skill__webdev {
  font-size: 1.8rem;
  font-family: "Poppins", "Times New Roman";
  text-transform: capitalize;
  font-weight: 200;
  display: flex;
  flex-direction: column;
  align-items: baseline;
  justify-content: center;
  gap: 1rem;
}

.aboutMe .skill__container .skill__webdev__heading {
  list-style: none;
  font-weight: 400;
  font-size: 2.5rem;
  text-transform: uppercase;
  letter-spacing: .2rem;
  margin-bottom: 5rem;
  background: linear-gradient(to right, #1F51FF, #98aefd7b);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  text-shadow: 0 1rem 4rem #98aefd71;
}

.footer {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  height: 20vh;
  margin-block-start: 1rem;
  background-color: #151414;
}

.footer__contact {
  width: 25%;
  height: 100%;
  margin-inline: 5rem;
  display: flex;
  flex-direction: column;
  align-items: baseline;
  gap: 2rem;
  justify-content: center;
}

.footer__contact>p {
  font-size: 1.2rem;
  font-family: "Poppins", "Times New Roman";
  letter-spacing: .2rem;
  text-transform: uppercase;
}

.footer__contact>p>a {
  color: #eee;
  text-underline-offset: 1rem;
}

.footer__socials {
  width: 75%;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  position: relative;
  border-left: 1px solid #eee;
}

.footer__icon {
  fill: #eee;
  height: 5rem;
  width: 5rem;
}

.footer__icon-container {
  position: relative;
  cursor: pointer;
}

.footer__icon-container::after {
  content: attr(data-tag);
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: max-content;
  background-color: transparent;
  color: #eee;
  text-align: center;
  font-size: 1.4rem;
  font-family: "Poppins";
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .2rem;
  scale: .8;
  opacity: 0;
  translate: 0 -.5em;
  transition: scale .3s, opacity .3s, translate .3s;
}

.footer__icon-container:hover::after {
  scale: 1;
  opacity: 1;
  translate: 0 .1em;
}

/*
.projects__heading {
  scale: .8;
  opacity: 0;
  width: max-content;
  font-size: 5rem;
  font-family: Helvetica, sans-serif;
  font-weight: 200;
  text-transform: uppercase;
  letter-spacing: .4rem;
  text-align: start;
  position: relative;
  /* text-decoration: underline .3rem;
  text-underline-offset: 2rem; 
background: linear-gradient(to right, #1F51FF, #98aefd7b);
display: grid;
place-items: center;
padding: 1rem;
animation: fade-in forwards;
animation-timeline: view();
}

.projects__heading>span {
  text-transform: lowercase;
}

.projects__list {
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 5rem;
  margin-inline: 5rem;
}

.projects__project {
  height: 100vh;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(90deg, var(--color1) var(--percent), var(--color2) var(--percent)), var(--url);
  background-repeat: no-repeat;
  background-position: center;
  background-size: var(--size);
  scale: .8;
  opacity: 0;
  animation: fade-in forwards;
  animation-timeline: view();
  animation-range: entry;
}

@media (min-width: 75em) {
  .projects {
    min-height: 100%;
  }
}

@media (max-width: 62.5em) {
  .projects__project {
    min-height: 140vh;
  }
}

@media (max-width: 50em) {
  .projects__project {
    min-height: 70vh;
  }
}

.projects__project_details {
  height: 100%;
  width: 30%;
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-evenly;
  gap: 5rem;
}

.projects__project_title {
  font-size: 3rem;
  text-transform: uppercase;
  font-weight: 200;
  letter-spacing: 1rem;
  text-align: center;
  outline: .2rem solid #eee;
  outline-offset: 1rem;
  margin-block-start: 1rem;

}

.projects__project_desc {
  font-size: 1.3rem;
  margin-inline: 3rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  font-weight: 200;
  text-align: baseline;
}

@media (max-width: 31.25em) {
  .projects__project_desc {
    font-size: 1.2rem;
  }
}

@media (max-width: 25em) {
  .projects__project {
    background: linear-gradient(to right bottom, #1F51FF, #0029b8);
  }

  .projects__project_details {
    outline: 2px solid #eee;
    height: 70vh;
    width: 100%;
    position: initial;
    gap: 0;
    justify-content: space-evenly;
    box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.6);
  }

  .projects__project_title {
    font-size: 5rem;
  }

  .projects__project_desc {
    font-size: 1.5rem;
  }
}

.projects__project_link,
.projects__project_link:visited {
  color: #1F51FF;
  text-transform: uppercase;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.5rem;
  letter-spacing: .4rem;
  background-color: #eee;
  height: 4rem;
  width: 10rem;
  display: grid;
  place-items: center;
  border-radius: 1rem;
  box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.6);
  transition: all .4s ease-in-out;
}

.projects__project_link:hover {
  translate: 0 -.5rem;
  scale: 1.01;
  box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.4);
}

.projects__project_link:active {
  translate: 0 .2rem;
  scale: .99;
  box-shadow: 0 1.5 4rem rgba(0, 0, 0, 0.8);
}

*/