/* Global Styles */
* {
  font-family: "League Spartan", "Gill Sans MT", Calibri, "Trebuchet MS",
    sans-serif;
  box-sizing: border-box;
}
body {
  background: #000;
  color: #fff;
  margin: 0;
}
a {
  text-decoration: none;
}
h1 {
  font-size: 4rem;
  margin: 0 5px;
}
h3 {
  font-weight: 500;
  font-size: 1.5rem;
  color: #fff;
}
button {
  background: #000;
  color: #fff;
  border: 1px solid #aa14f0;
  font-size: 1.2rem;
  cursor: pointer;
}

/* Layout */
.menu img {
  margin: 30px 0 0 30px;
}
#logo {
  width: 50px;
}
#profile {
  width: 200px;
  border-radius: 50%;
}
#desk {
  width: 500px;
  text-align: center;
}

/* Bio Section */
.bio {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin: 12% 0 0 20%;
  height: 600px;
}
.bio img {
  width: 270px;
  border-radius: 50%;
  position: relative;
  bottom: 80px;
}
.Dev {
  font-size: 4.5rem;
  color: #aa14f0;
}

/* Info Section */
.info {
  display: grid;
  justify-content: center;
  text-align: center;
  background: #aa14f0;
  border-radius: 20px 20px 0 0;
  height: 600px;
  row-gap: 1px;
}
.info h2 {
  padding-top: 30px;
  margin-bottom: 1px;
  font-size: 3rem;
}
.info h3 {
  width: 600px;
  margin: 0 0 260px 35px;
  font-size: 1.5rem;
  font-weight: 400;
  text-align: center;
}

/* Skills Deck */
.deck {
  background: #000;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  justify-items: center;
  width: 1200px;
  height: 550px;
  margin: -140px 0 0 11%;
  border: 1px solid rgb(49, 49, 49);
  border-radius: 20px;
  text-align: center;
}
.deck h2 {
  font-size: 2.2rem;
  color: #aa14f0;
}
.cards {
  margin-top: 40px;
  text-align: center;
}
.cards img {
  width: 90px;
}
.cards h4 {
  font-weight: 400;
  font-size: large;
  width: 200px;
}
.cards p {
  font-size: 1.3rem;
  color: #aa14f0;
  padding-top: 10px;
}

/* Projects */
.projects {
  display: grid;
  place-content: center;
  text-align: center;
  margin-top: 80px;
}
.projects-deck {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: 1300px;
  height: 700px;
  margin-top: 35px;
}
.projects-card {
  width: 430px;
  height: 300px;
  margin-left: 8px;
  border: 1px solid rgb(49, 49, 49);
  border-radius: 21px;
  text-align: left;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.projects-card:hover {
  border-color: #aa14f0;
  color: #fff;
}
.projects-card h1 {
  color: #aa14f0;
  margin: 17% 0 0 10%;
  width: 200px;
  transition: color 0.2s ease;
}
.projects-card h1:hover {
  color: #fff;
}

/* Project File Layout */
.project-file {
  margin-top: 100px;
}
.project-file > .projects-deck {
  grid-template-columns: 1fr;
}
.projects-cards {
  display: grid;
  grid-template-columns: 0.45fr 1fr;
  align-items: center;
  height: 300px;
  margin-bottom: 2%;
  padding: 0 5%;
  border: 1px solid rgb(49, 49, 49);
  border-radius: 21px;
  transition: all 0.2s ease;
}
.projects-cards:hover {
  box-shadow: 3px 4px #aa14f0;
  border-color: purple;
  transform: translate(6px, 6px);
}
.projects-cards h1 {
  color: #aa14f0;
  width: 200px;
  margin-top: 40px;
  text-align: left;
}
.projects-cards p {
  font-size: 1.3rem;
  text-align: left;
}

/* Quote Section */
.quote {
  display: grid;
  place-content: center;
  background: #aa14f0;
  border-radius: 20px;
  height: 400px;
}
.quote h2 {
  text-align: center;
  width: 700px;
  font-size: 2rem;
}

/* Footer */
.footer {
  display: grid;
  grid-template-columns: repeat(2, 0.5fr);
  place-items: center;
  height: 300px;
}
.footer img {
  width: 60px;
  transition: width 0.2s ease;
}
.footer img:hover {
  width: 63px;
}
.foot-img-1 {
  position: relative;
  left: 300px;
}
.foot-img-2 {
  position: relative;
  right: 300px;
}

/* Responsive */
@media (max-width: 520px) {
  #logo {
    margin-left: 7%;
  }
  .bio {
    grid-template-columns: 1fr;
    gap: 15px;
    margin: 20% 0 0 7%;
    height: 600px;
  }
  .bio img {
    width: 60%;
    top: 1px;
    left: 60px;
  }

  .info {
    row-gap: 10px;
    width: auto;
    height: auto;
  }
  .info h2,
  .info h3 {
    width: 400px;
    margin-left: 20px;
  }
  .info h3 {
    margin: 0 0 70px;
    line-height: 30px;
    font-size: 1.4rem;
  }

  .deck {
    grid-template-columns: 1fr;
    width: auto;
    height: 1800px;
    margin: 20px 0 80px;
  }
  .cards {
    grid-template-columns: 1fr;
    justify-items: center;
  }
  .cards h2 {
    font-size: 2.5rem;
    margin-top: 30px;
  }

  .projects-deck {
    grid-template-columns: 1fr;
    width: 400px;
    height: 2000px;
  }
  .projects-card {
    width: 400px;
    margin: 0 0 15px 5px;
  }
  .projects-cards {
    grid-template-columns: 1fr;
    height: 500px;
  }
  .projects-cards p {
    position: relative;
    bottom: 30px;
    left: 5px;
  }

  .quote h2 {
    width: 300px;
  }
  .footer {
    margin-left: 12%;
  }
  .foot-img-1 {
    left: 25px;
  }
  .foot-img-2 {
    right: 55px;
  }
}
