@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,400;0,900;1,700&display=swap");

:root {
  --ft-family: "Roboto", sans-serf;
  --ft-small: 100;
  --ft-normal: 400;
  --ft-bold: 700;
  --ft-bolder: 900;

  --bg-primary: #2c2c2c;
  --bg-primary-100: #797979;
  --bg-secondary: #f1f0f0;
  /* #3AB0FF <-- electric blue suggested by chatgpt, old: #00cdd4*/
  --text-primary: #00cdd4;
  --text-secondary: #ffae45;
  --shadow-primary: #8b8eaf;
  --shadow-secondary: #a17a69;

  --mb-1: 0.5rem;
  --mb-2: 1rem;

  --line-height: 1.7rem;
  --transition: 0.3s;
}

html {
  scroll-behavior: smooth;
  font-size: 1.2em;
}

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

ul {
  list-style-type: none;
}

a {
  text-decoration: none;
  color: var(--text-primary);
}

a:hover {
  color: var(--text-secondary);
}

body {
  font-family: var(--ft-family);
  padding-top: 0rem;
}

#title {
  color: var(--text-primary);
  font-weight: var(--ft-bolder);
}

nav {
  position: sticky;
  top: 0;
  left: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 1.5rem;
  margin-bottom: 0rem;
  background-color: var(--bg-primary);
  box-shadow: 0 3px 5px rgba(0, 0, 0, 0.1);
}

nav h1 {
  color: var(--text-primary);
}

nav a {
  color: var(--text-primary);
  transition: var(--transition);
}

nav a:hover {
  color: var(--text-secondary);
  border-bottom: 2px solid var(--text-secondary);
}

nav ul {
  display: flex;
  gap: 1.5rem;
}

nav ul li {
  font-weight: var(--ft-bolder);
}

#tagline {
  color: var(--text-primary);
}

.burger-menu {
  color: var(--text-primary);
  font-size: 2rem;
  border: 0;
  background-color: transparent;
  cursor: pointer;
  display: none;
}

.main-wrapper {
  margin-top: 0em;
}

.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  max-width: 68.75rem;
  margin: 1rem auto;
  padding: 1rem 0;
}

.hero-card {
  width: 15rem;
  position: relative;
  display: inline-block;
}

.hero-img {
  height: 20rem;
  width: 20rem;
  border-radius: 50%;
}

.bio {
  width: 25rem;
  padding: 0.625rem;
  border-radius: 5px;
  box-shadow: 0px 2px 15px 2px var(--shadow-primary);
  background-color: var(--bg-primary-100);
}

.bio-sir {
  font-size: xx-large;
  font-weight: bolder;
  color: var(--text-primary);

}

.bio-role {
  font-weight: bolder;
  font-size: larger;
  color: var(--bg-primary);
}

.bio-niche {
  font-weight: bold;
  font-size: large;
}

.strike-thru {
  text-decoration: line-through;
  color: rgba(0, 0, 0, 0.2);
}

.more-about {
  padding: 1rem 6rem;
  text-align: center;
  background-color: var(--bg-secondary);
}

.more-body {
  padding: 1rem 6rem;
  display: flex;
  justify-content: center;
}

.more-about-card {
  background-color: #fff;
  border-radius: 10px;
  padding: 20px;
  margin: 10px;
  height: auto;
  width: 33.3rem;
}

.more-about h2 {
  margin-bottom: var(--mb-1);
  text-align: center;
  display: inline-block;
}

.more-about p {
  line-height: var(--line-height);
  padding: 0.4rem 0;
}

.bio p {
  line-height: var(--line-height);
  padding: 0.4rem;
}

.what-i-do {
  width: 85%;
  text-align: center;
  margin: auto;
  box-sizing: content-box;
}

.skills-container {
  padding: 0.25rem;
  padding-bottom: 2rem;
}

.skills {
  max-width: 68.75rem;
  margin: auto;
  text-align: center;
  margin-top: 2.5rem;
}

.skill-header {
  margin-bottom: 1rem;
}

.skills-wrapper img {
  padding: 2.25rem;
}

.icon-card {
  width: 12rem;
  height: 12rem;
  border-radius: 10px;
  box-shadow: 0 3px 10px var(--shadow-secondary);
  margin: 0.875rem;
}

.projects {
  padding: 32px 0;
  margin-top: 2rem;
}

.project-link {
  border-radius: 5px;
  padding: 5px;
  background-color: var(--bg-primary-100);
}

.inactive-link {
  text-decoration: line-through;
  pointer-events: none;
  cursor: default;
}

.project-logo {
  width: 80%;
  height: 40%;
  margin-bottom: var(--mb-2);
}

.projects-container {
  display: flex;
  align-items: center;
  justify-content: center;
}

.projects-title {
  text-align: center;
  margin-bottom: 1rem;
}

.project-container {
  width: 21.875rem;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.project-container p {
  padding: 0.4rem;
}

.project-title {
  margin-bottom: var(--mb-1);
}

.project-body {
  margin-bottom: var(--mb-1);
}

.project-card {
  border-radius: 10px;
  box-shadow: 0 3px 10px var(--shadow-primary);
  padding: 20px;
  margin: 10px;
  height: auto;
}

.contact-container label {
  line-height: 2.5em;
  font-weight: var(--ft-bold);
  color: var(--bg-primary);
}

.contact-container textarea {
  min-height: 6rem;
  font-size: 15px;
}

.contact-container .input-field {
  width: 100%;
  padding: 10px 2px;
  border-radius: 5px;
  border: none;
  border: 1px outset var(--bg-primary);
  font-size: 0.875rem;
  outline: none;
}

.contact {
  margin-top: 2rem;
  padding: 2rem auto;
}

.contact h2 {
  text-align: center;
  margin: 1.2em auto;
}

.contact-container {
  max-width: 40.75rem;
  margin: 0 auto;
  padding: 0.9rem;
  border-radius: 5px;
  box-shadow: 0 1px 15px var(--shadow-primary);
}

.input-field::placeholder {
  padding: 0.5rem;
  color: var(--bg-primary);
}

.submit {
  min-width: 20%;
  padding: 10px;
  margin: 10px 0;
  background-color: var(--bg-primary);
  border: 1px solid var(--bg-primary);
  border-radius: 10px;
  font-size: 1rem;
  transition: var(--transition);
  color: var(--bg-secondary);
  font-weight: var(--ft-bold);
}

.submit:hover {
  background-color: var(--bg-secondary);
  border: 2px solid var(--bg-secondary);
  color: var(--bg-primary);
  border: 1px solid var(--bg-primary);
  cursor: pointer;
}

.socials {
  display: flex;
  flex-direction: column;
  position: fixed;
  left: 1%;
  bottom: 50%;
}

.handle {
  width: 2rem;
  height: 2rem;
  border-radius: 5px;
}

footer {
  background-color: var(--bg-secondary);
  padding: 1.2rem;
  text-align: center;
  margin: 2rem 0 0;
  font-size: smaller;
}

.credit {
  color: rgba(0, 0, 0, 0.3);
}

footer p {
  margin-top: 1rem;
}

.blog {
  background-color: var(--bg-secondary);
  padding: 1.5rem;
  text-align: center;
}

.blog p {
  margin: 1rem 0;
}

.blog li {
  line-height: 1.5em;
  box-shadow: 0 3px 5px rgba(0, 0, 0, 0.1);
  width: 33rem;
  margin: 5px auto;
  padding: 5px;
  border-radius: 4px;
}

.scroll-up {
  position: fixed;
  left: 1%;
  bottom: 0%;
  cursor: pointer;
  color: var(--text-primary);
}

.up-arrow {
  width: 3rem;
  height: 3rem;
}

.unnumbered-list {
  list-style-type: none;
}

.unnumbered-list li {
  background-color: #fff;
}

.cta {
  background-color: var(--text-secondary);
  padding: 2rem 0;
  text-align: center;
  width: 50%;
  border-radius: 10rem;
  margin: 5rem auto;
}

.cta-text p {
  margin: 2rem 0.5rem;
  font-size: x-large;
}

.hire-button {
  background-color: var(--text-secondary);
  padding: 16px 32px;
  display: inline-block;
  font-size: 1.5rem;
  font-weight: var(--ft-bold);
  margin: 1.2rem 0 0 0;
  cursor: pointer;
  border: 2px solid var(--bg-primary);
  border-radius: 5px;
}

.hire-button a {
  color: var(--bg-primary);
}

.hire-button a:hover {
  color: var(--bg-secondary);
}

.hire-button:hover {
  background-color: var(--bg-primary);
  border: 2px solid var(--bg-primary);
}

.hire-button:hover>.hire-a {
  color: var(--text-secondary);
  background-color: var(--bg-primary);
}

.more-contacts,
.more-contacts p {
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin: auto 0;
  padding: 0.2rem;
}

.contacts-img {
  width: 2rem;
  padding: 0.25rem;
}

.border-primary {
  border-bottom: 5px dotted var(--text-primary);
  border-radius: 15px;
  width: fit-content;
  margin: 1rem auto;
  padding: 0.5rem;
}

.react-projects-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.react-project-img {
  width: 4rem;
  height: 6rem;
}

.react-project {
  border: 1px solid rgb(223, 223, 223);
  min-width: 50%;
  min-height: 9.7rem;
  border-radius: 5px;
  box-shadow: 0 3px 5px rgba(0, 0, 0, 0.1);
  margin: 5px;
  padding: 2px;
  font-size: small;
  text-align: center;
}

.react-project>a {
  text-decoration: none;
  color: black;
}

.bio-description {
  text-align: justify;
}

.calendly-call {
  font-size: xx-large;
  text-align: center;
}



.get-in-touch {
  margin: 5rem 0;
}


/* responsive web design - via media queries */
@media screen and (max-width: 992px) {
  nav {
    padding: 0.75rem 1rem;
  }

  .main-wrapper {
    margin-top: 80px;
  }

  nav ul {
    position: fixed;
    background-color: var(--bg-primary);
    flex-direction: column;
    top: 30px;
    right: 10%;
    min-width: 10rem;
    text-align: center;
    transform: translateX(150%);
    transition: transform 0.3s ease-in;
    border-radius: 5px;
    padding: 2rem 0;
    border: 1px solid var(--text-primary);
  }

  nav ul li {
    margin: 0px;
  }

  .burger-menu {
    display: block;
  }

  nav ul.show {
    transform: translateX(0);
  }

  .hero {
    margin-top: -4rem;
    flex-direction: column-reverse;
    gap: 0;
  }

  .hero-img {
    height: 15rem;
    width: 15rem;
    margin: auto;
    display: block;
  }

  .bio-sir,
  .bio-role {
    font-size: x-large
  }



  .more-about {
    padding: 0;
    margin: 2rem 0 0 3rem;
  }

  .more-about h2 {
    margin: 1rem 0;
  }

  .more-about p {
    text-align: left;
  }

  .more-body {
    padding: 0;
    flex-direction: column;
  }

  .more-about-card {
    margin: 1rem;
    padding: 0.5rem;
    width: fit-content;
  }

  .icon-card {
    width: 9rem;
    height: 9rem;
    box-shadow: 0 2px 6px var(--shadow-secondary);
  }

  .projects-container {
    flex-direction: column;
  }

  .project-container {
    text-align: justify;
  }

  .react-project>a>p {
    height: 0;
  }

  .react-project-img {
    flex-shrink: 0;
    min-width: 70%;
    min-height: 100%;
    border-radius: 2px;
  }

  .react-project-description {
    visibility: hidden;
  }

  .blog {
    padding: 1.2rem;
  }

  .blog li {
    width: 90%;
  }

  .contact-container {
    max-width: 24rem;
  }


  .cta {
    width: 100%;
    border-radius: 0rem;
    margin: 1rem 0;

  }

  .up-arrow {
    width: 1.5rem;
  }
}

/* small screens */
@media screen and (max-width: 576px) {
  nav {
    padding: 0.25rem 0.5rem;
  }

  .hero-img {
    height: 10rem;
    width: 10rem;
  }

  .bio {
    width: 16rem;
  }

  .more-about {
    margin: 0;
    padding: 0;
    text-align: center;
  }

  .more-about-card {
    margin: 1rem auto;
    padding: 0.5rem;
    width: 80%;
  }

  .icon-card {
    width: 8rem;
    height: 8rem;
    padding: 0;
    margin: 2px;
  }

  .cta p {
    width: 70%;
    text-align: center;
    margin: 1rem auto;
  }

  .project-container {
    width: 100%;
    height: 24rem;
    border-radius: 0;
    text-align: center;
    margin: 1rem 0;
    padding: 1rem 0;
  }

  .project-body p {
    margin: 0 auto;
    width: 80%;
    text-align: justify;
  }

  .blog p {
    width: 80%;
    margin: 0 auto;
  }

  .blog li {
    width: 80%;
  }

  .contact-container {
    max-width: 18rem;
  }

  .more-contacts {
    display: flex;
    flex-direction: column;
  }

  .socials {
    visibility: hidden;
  }

  .up-arrow {
    width: 1.5rem;
  }
}