@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

body {
  font-family: "Poppins", sans-serif;
  position: relative;
  color: white;
}

h1 {
  font-size: 4rem;
  color: white;
  background: linear-gradient(to right, white, white, lightgreen, green, green);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.framework {
  position: relative;
  top: 10vh;
}

.framework-image {
  padding: 8px;
  margin: 8px;
  background-color: white;
  border-radius: 16px;
  opacity: 0;
  transform: translateY(-50px);
  transition: all 1s;
}

h2 {
  font-size: 3rem;
}

header {
  position: fixed;
  z-index: 99999;
  top: 0;
  right: 0;
  margin: 16px 32px;
}

header > a {
  margin: 0 16px;
  text-decoration: none;
  color: white;
}

header > a:hover {
  color: lightgreen;
}

section {
  min-height: 100vh;
  padding: 16px;
  display: grid;
  align-content: center;
  text-align: center;
}

#about {
  background-color: black;
  background-image: url("../assets/bg.webp");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  max-width: 100vw;
}
#projects {
  background-color: black;
  padding-bottom: 64px;
}
#contacts {
  background-color: #222;
}
.row {
  padding: 0;
  margin: 0;
}
.td-none {
  color: white;
  text-decoration: none;
}
.project {
  /* padding: 8px 32px; */
  margin: 16px 64px;
  background-color: #111;
  border-radius: 25px;
  opacity: 0;
  transform: translateX(-100px);
  transition: all 1s;
  position: relative;
}

.project-title {
  font-size: 1.5rem;
  transition: all 0.5s;
  text-align: start;
}

.project-framework {
  padding: 4px;
  background-color: white;
  border-radius: 8px;
  margin: 4px;
}

.project-image {
  /* border: 2px solid #111; */
  display: flex;
  height: calc(1.5rem * 3);
  width: auto;
  transition: all 0.5s;
}
.stack {
  display: flex;
  transition: all 0.5s;
}
.project:hover {
  position: relative;
  z-index: 100;
}
.project:hover > .project-title {
  background: linear-gradient(to right, lightgreen, green, green);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  transform: scale(1.3) translateX(50px);
}

.project:hover > .stack {
  transform: scale(1.5);
}

.project:hover > div > .project-image {
  border-radius: 16px;
  transform: scale(2);
}

@media screen and (max-width: 720px) {
  .project {
    flex-direction: column;
    text-align: center;
  }
  .project-title {
    background: linear-gradient(to right, lightgreen, green, green);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-align: center;
  }
  .project:hover > .project-title {
    transform: scale(1);
  }
  .project:hover > .stack {
    transform: scale(1);
  }
  .project:hover > .project-image {
    border-radius: 0;
    transform: scale(1);
  }
}

.card {
  margin: 8px;
  opacity: 0;
  transform: translateY(-50px);
  transition: all 1s;
  background-color: transparent;
  border-radius: 32px;
  border: none;
}

.card-body > p {
  background-color: white;
  margin-top: 16px;
  padding: 3px;
  border-radius: 16px;
}

.card:hover {
  background-color: black;
}

.animated-translate-y {
  opacity: 1;
  transform: translateY(0);
}

.animated-translate-x {
  opacity: 1;
  transform: translateX(0);
}
