@import url("https://fonts.googleapis.com/css2?family=Silkscreen:wght@400;700&display=swap");
/* font-family: "Silkscreen", sans-serif; */

* {
  margin: 0%;
  padding: 0%;
  box-sizing: border-box;
  list-style: none;
  text-decoration: none;
  font-family: "Silkscreen", sans-serif;
}

body {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem;
  transition: ease;
}
body .body-bg {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(40%);
  z-index: -1;
  pointer-events: none;
}
.container {
  width: 45%;
  height: 90vh;
  border-radius: 1.5rem;
}
.container .cover {
  width: 100%;
  height: 30%;
  border-top-left-radius: inherit;
  border-top-right-radius: inherit;
}
.container .cover video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}
.container .about-user {
  width: 100%;
  height: 10%;
  display: flex;
  position: relative;
  z-index: 1;
}
.about-user .user-profile {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: url(assets/Profile-pic.jpg) no-repeat center;
  background-size: cover;
  aspect-ratio: 1/1;
  overflow: hidden;
  position: absolute;
  top: -40%;
  left: 5%;
  z-index: 2;
}
.about-user .username {
  width: 80%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: "Silkscreen", sans-serif;
  font-weight: 600;
  font-size: clamp(1rem, 2vw, 1.3rem);
  margin-left: auto;
  padding-left: 20px;
  color: aliceblue;
}
.username:hover {
  color: greenyellow;
}
.quote {
  font-family: "Silkscreen", sans-serif;
  font-weight: 400;
  font-size: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 1rem;
}
.quote span {
  background-color: #fefeff33;
  color: rgb(162, 238, 243);

  border-radius: 2rem;
  padding: 0.2rem;
}
.container .project-main {
  font-family: "Silkscreen", sans-serif;
  color: aliceblue;
  width: 100%;
  padding: 0.5rem;
}
.project-main .projects {
  width: 100%;
  display: flex;
  justify-content: space-evenly;
  flex-wrap: wrap;
  align-content: space-around;
  padding: 0.5rem;
  gap: 0.5rem;
}
.projects .box {
  width: 30%;
  aspect-ratio: 5/3;
  border: 1px solid rgb(255, 255, 255);
  border-radius: 0.3rem;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}
.projects .box:hover {
  filter: brightness(70%);
}
.projects .box a {
  display: none;
}
.projects .box:hover a {
  display: block;
}
.projects .box a i {
  color: aliceblue;
}
.projects .box a i:hover {
  color: yellowgreen;
  transform: scale(1.3);
}
.projects .project1 {
  background-image: url(assets/marvelous-project.png);
}
.projects .project2 {
  background-image: url(assets/kuromi-project.png);
}
.projects .project3 {
  background-image: url(assets/crumbs-project.png);
}
.container .tech-stack {
  width: 100%;
  padding: 0.5rem;
  color: aliceblue;
}

.tech-stack .language {
  width: 100%;
  display: flex;
  justify-content: space-around;
  align-content: space-evenly;
  flex-wrap: wrap;
  padding: 1rem;
}
.lan1,
.lan2,
.lan3,
.lan4,
.lan5,
.lan6,
.lan7 {
  width: 50px;
  height: 50px;
}
.lan1 {
  background: url(assets/lan\ \(1\).png) no-repeat center;
  background-size: cover;
}
.lan2 {
  background: url(assets/lan\ \(2\).png) no-repeat center;
  background-size: cover;
}
.lan3 {
  background: url(assets/lan\ \(3\).png) no-repeat center;
  background-size: cover;
}
.lan4 {
  background: url(assets/lan\ \(4\).png) no-repeat center;
  background-size: cover;
}
.lan5 {
  background: url(assets/lan\ \(5\).png) no-repeat center;
  background-size: cover;
}

.lan6 {
  background: url(assets/lan\ \(6\).png) no-repeat center;
  background-size: cover;
}
.language div {
  transition: transform 0.5 ease;
}
.language div:hover {
  transform: scale(1.2) rotate(-5deg);
}

footer {
  height: 10%;
  background-color: #6d82c233;
  display: flex;
  border-bottom-left-radius: inherit;
  border-bottom-right-radius: inherit;
}
footer .social-links,
footer .follow {
  display: flex;
  align-items: center;
}
footer .social-links {
  width: 60%;
  justify-content: space-around;
  flex-wrap: wrap;
}

footer li a i,
footer .follow i {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
}
footer li a {
  color: aliceblue;
}
footer .follow {
  color: greenyellow;
}
footer .follow {
  width: 40%;
  justify-content: end;
  padding-right: 1rem;
}
footer li a:hover {
  color: rgba(172, 255, 47, 0.499);
  transition: ease 0.5;
}
footer .follow i:hover {
  transform: scale(1.2);
  color: white;
}

/*responsive*/
@media screen and (max-width: 1024px) {
  .container {
    width: 60%;
  }
}

@media screen and (max-width: 800px) {
  .container {
    width: 70%;
  }
}

@media screen and (max-width: 500px) {
  .container {
    width: 90%;
  }
  .about-user .user-profile {
    top: -50%;
    left: 5%;
    z-index: 2;
  }
  .about-user .username {
    padding: 0;
    width: 100%;
    text-align: start;
    justify-content: end;
    padding: 0.5rem;
  }
}
