:root {
  --text-color: white;
  --link-color: aqua;
}
* {
  margin: 0px;
  padding: 0px;
}
body {
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-style: normal;
  max-width: 1400px;
  margin: 0 auto;
  background-color: black;
}
h1,
h2,
p {
  color: white;
}
a {
  color: var(--link-color);
  text-decoration: none;
}
html {
  scroll-behavior: smooth;
}
nav {
  display: flex;
  justify-content: space-between;
  padding: 0 50px;
  height: 80px;
  align-items: center;
}
.left a {
  color: var(--text-color);
  font-size: 35px;
  font-weight: 600;
}
.right a {
  color: var(--text-color);
  margin: 0 10px;
}
.right a:last-child {
  color: white;
  background-color: black;
  padding: 5px 15px;
  border-radius: 5px;
}
.right a span {
  margin-left: 5px;
}
.hero {
  display: flex;
  justify-content: space-between;
  padding: 0px 50px;
  margin: 50px 0px;
  align-items: center;
  gap: 5px;
  margin-bottom: 100px;
}
.hero text {
  flex: 5;
}
.hero .text p {
  text-align: justify;
}
.hero headshot {
  flex: 2;
  justify-content: right;
}
.hero .text h2 {
  font-size: 45px;
}
.hero .text .links {
  margin-top: 25px;
}
.hero .text .links a {
  display: inline-block;
  padding: 5px 10px;
  border-style: solid;
  border-color: var(--link-color);
  border-radius: 5px;
  margin-right: 10px;
  margin-bottom: 5px;
}
.hero .text .links a:hover {
  color: var(--text-color);
  border: 2px var(--text-color);
  border-style: solid;
  cursor: pointer;
}
.hero .headshot img {
  width: 350px;
}
.hero .skills h2 {
  justify-content: center;
}
.skills {
  padding: 0 50px;
  margin-bottom: 100px;
}
.skills h2 {
  text-align: center;
  font-size: 35px;
}
.skills p {
  text-align: justify;
  margin-bottom: 20px;
}
.skills .cells {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  color: white;
}
.skills .cells .cell {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 200px;
  padding: 10px 20px;
  margin: 10px;
  border: 1.5px solid gray;
  border-radius: 5px;
}
.skills .cells .cell img {
  width: 30px;
  height: 30px;
  padding-right: 10px;
  border-radius: 2px;
}
.skills .cells .cell span {
  font-size: 18px;
}
.testimony {
  padding: 0 50px;
  margin-bottom: 100px;
}
.testimony h2 {
  text-align: center;
  font-size: 35px;
  margin-bottom: 30px;
}
.testimony .group {
  display: flex;
  align-items: center;
  gap: 50px;
  color: white;
}
.testimony .group .profile {
  text-align: center;
  flex: 2;
}
.testimony .group .text {
  text-align: justify;
  flex: 8;
}
.testimony .group .profile img {
  width: 300px;
  height: 300px;
  border-radius: 150px;
}
.contact {
  padding: 0 50px;
  margin-bottom: 100px;
}
.contact h2 {
  font-size: 35px;
}
.contact .group {
  display: flex;
  gap: 50px;
  color: white;
}
.contact .group .text {
  flex: 3;
  text-align: justify;
  margin-top: 20px;
}
.contact .group form {
  flex: 3;
  display: flex;
  flex-direction: column;
}
.contact .group form input,
.contact .group form textarea {
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-style: normal;
  border: 2px solid var(--link-color);
  background-color: black;
  color: white;
  padding: 10px;
  margin-bottom: 15px;
  outline: none;
}
.contact .group form button {
  padding: 15px;
  background-color: var(--link-color);
  font-family: "Poppins", sans-serif;
  color: rgb(0, 0, 0);
  font-weight: 400;
  font-style: normal;
  font-size: 16px;
  border: none;
  cursor: pointer;
}
.contact .group form button:hover {
  filter: brightness(0.9);
}
.copyrights p {
  text-align: center;
  padding: 20px;
  margin-bottom: 50px;
}
@media (max-width: 850px) {
  .hero .text h2 {
    font-size: 32px;
  }
}
@media (max-width: 740px) {
  .hero {
    flex-direction: column-reverse;
  }
  .hero .headshot img {
    width: 300px;
  }
  .testimony .group {
    flex-direction: column;
  }
  .hero .links a {
    margin-bottom: 20px;
  }
  .contact .group {
    flex-direction: column;
  }
}
@media (max-width: 600px) {
  nav {
    padding: 0 20px;
    display: flex;
  }
  .right a {
    font-size: 22px;
  }
  .right a span {
    display: none;
  }
  .right a:last-child {
    color: var(--text-color);
    background-color: transparent;
  }
  .hero {
    padding: 0 20px;
  }
  .hero .text h2 {
    font-size: 20px;
  }
  .skills {
    padding: 0 20px;
  }
  .skills .cells .cell span {
    font-size: 16px;
  }
  .contact {
    padding: 0 20px;
  }
}
