:root {
    --branding-color: #131313;
    --secondary-color: #505050;
    --tertiary-color: #F5F5F5;
    --default-font-family: 'Poppins';
}

body {
    font-family: var(--default-font-family);
    background-color: var(--branding-color);
}

span {
    margin-top: 10px;
    margin-bottom: 8px;
}

.center {
    text-align: center;
}

.code-quote {
    width: 700px;
    padding-top: 100px;
    margin-right: 0;
    margin: auto;
}

h2, h3, h4, h5, h6 {
    font-family: var(--default-font-family);
    color: var(--tertiary-color);
}

#h2 {
    font-size: 40px;
}

h3 {
    font-size: 36px;
    line-height: 1,5;
    margin: 20px 0 0;
}

h4 {
    font-size: 24px;
}

h5 {
    font-size: 20px;
}

.branding  img {
    max-width: 65px;
    margin-left: 0;
    text-align: left;
    color: var(--branding-color);
}

.intro {
    max-width: 700px;
    margin: 0 auto 30px;
    margin-top: 150px;
    text-align: center;
}

a {
  text-decoration: none;
}

.fa-github {
  font-size: 3em;
}

.fa-github:hover {
    color: var(--secondary-color);
}

.fa-linkedin {
  font-size: 3em;
}

.fa-linkedin:hover {
    color: var(--secondary-color);
}

.fa-envelope {
    font-size: 3em;
}

.fa-envelope:hover {
  color: var(--secondary-color);
}

p {
    font-weight: 400;
    vertical-align: middle;
}

.hero {
    background-color: var(--branding-color);
    text-align: center;
    padding: 50px 20px;
}

.hero p {
    font-size: 26px;
    font-weight: normal;
    color: var(--tertiary-color);
    line-height: 1.5;
    margin: 0;
}

.hero h2 {
    font-family: var(--default-font-family);
    font-weight: normal;
    color: var(--secondary-color);
    font-size: 20px;
    line-height: 2;
}

.projects-button {
    background: var(--secondary-color);
    color:  var(--tertiary-color);
    font-family: var(--default-font-family);
    font-size: 20px;
    margin: 0 auto;
    line-height: 27px;
    padding: 15px 30px;
    border-radius: 10px;
}

.projects-button:hover {
    border: 1.5px solid var(--branding-color);
    background-color: var(--tertiary-color);
    color: var(--branding-color);
}

.intro p {
    color: var(--tertiary-color);
    font-family: var(--default-font-family);
    font-size: 24px;
}

* {
  font-family: var(--default-font-family);
  box-sizing: border-box;
}

.top-nav {
  width: 100%;
  top: 0;
  position: fixed;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  background: var(--branding-color);
  height: 50px;
  padding: 1em;
}

.menu {
  display: flex;
  flex-direction: row;
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.menu > li {
  margin: 0 1rem;
  overflow: hidden;
}

.menu > li:last-child {
    margin-right: 35px;
  }

small {
  color: var(--tertiary-color);
}

li a {
  font-size: 17px;
  gap: 30px;
  color: var(--tertiary-color);
  text-decoration: none;
}

.menu-button-container {
  display: none;
  height: 100%;
  width: 30px;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#menu-toggle {
  display: none;
}

.menu-button,
.menu-button::before,
.menu-button::after {
  display: block;
  background-color: var(--tertiary-color);
  position: absolute;
  height: 4px;
  width: 30px;
  transition: transform 400ms cubic-bezier(0.23, 1, 0.32, 1);
  border-radius: 2px;
}

.menu-button::before {
  content: '';
  margin-top: -8px;
}

.menu-button::after {
  content: '';
  margin-top: 8px;
}

#menu-toggle:checked + .menu-button-container .menu-button::before {
  margin-top: 0px;
  transform: rotate(405deg);
}

#menu-toggle:checked + .menu-button-container .menu-button {
  background: var(--branding-color);
}

#menu-toggle:checked + .menu-button-container .menu-button::after {
  margin-top: 0px;
  transform: rotate(-405deg);
}

ul {
  background-color: var(--branding-color);
}

a {
    color: var(--tertiary-color);
}

#active:hover {
    transition: all 100ms ease-in-out;
    color:#000080;
}

#inactive:hover {
    transition: all 100ms ease-in-out;
    color:#000080;
}

.branding {
  max-width: 260px;
  margin-left: 0;
  text-align: left;
}

.branding:hover {
    color: var(--secondary-color);
}

.toggler {
    background-color: var(--tertiary-color);
    border-color: var(--tertiary-color);
}

.icons {
    padding-top: 200px;
    height: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

footer .credits {
    font-size: 14px;
    margin-top: 5px;
    color: var(--tertiary-color);
}

.credits a {
    color: var(--tertiary-color);
}


@media (max-width: 700px) {
    .project-description {
        padding: 0;
        text-align: center;
    }

.code-quote {
  width: 400px;
  padding-top: 100px;
  margin-right: 0;
  margin: auto;
}

h1 {
  font-size: 44px;
  line-height: 1.5;
}

h2 {
  font-size: 36px;
}

#h2 {
  font-size: 20px;
}

h3 {
  font-size: 26px;
}

.intro p {
  font-size: 16px;
}

.menu-button-container {
  display: flex;
}

.menu {
  position: absolute;
  top: 0;
  margin-top: 50px;
  left: 0;
  flex-direction: column;
  width: 100%;
  justify-content: center;
  align-items: center;
}
  
#menu-toggle ~ .menu li {
  height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  transition: height 400ms cubic-bezier(0.23, 1, 0.32, 1);
}

#menu-toggle:checked ~ .menu li {
  border: 1px solid #333;
  height: 2.5em;
  padding: 0.5em;
  transition: height 400ms cubic-bezier(0.23, 1, 0.32, 1);
}

.menu > li {
  display: flex;
  justify-content: center;
  margin: 0;
  padding: 0.5em 0;
  width: 100%;
  color: white;
  background-color: #222;
}

.menu > li:not(:last-child) {
  border-bottom: 1px solid #444;
}

.projects-button {
  max-width: 350px;
  max-height: 50px;
}

.hero a {
  font-size: 14px;
  padding-top: 10px;
}

.fa-github {
  font-size: 1.5em;
}

.fa-linkedin {
  font-size: 1.5em;
}

.fa-envelope {
  font-size: 1.5em;
}

footer .credits {
    font-size: 11px;
}

}



