/* Box sizing rules */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Remove default margin */
body,
h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

/* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */
ul[role='list'],
ol[role='list'] {
  list-style: none;
}

/* Set core root defaults */
html:focus-within {
  scroll-behavior: smooth;
}

/* Set core body defaults */
body {
  line-height: 1.5;
  font-family: 'Manrope', sans-serif;
  background-color: black;
  width: 100%;
  overflow-x: hidden;
}

/* A elements that don't have a class get default styles */
a:not([class]) {
  text-decoration-skip-ink: auto;
}

/* Make images easier to work with */
img,
picture {
  max-width: 100%;
  display: block;
}

/* Inherit fonts for inputs and buttons */
input,
button,
textarea,
select {
  font: inherit;
}

/* Remove all animations, transitions and smooth scroll for people that prefer not to see them */
@media (prefers-reduced-motion: reduce) {
  html:focus-within {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

#logo {
  border-radius: 50%;
}

.navbar-brand {
  position: relative;
  left: 1rem;
  bottom: .7rem;
}

.nav-bar {
  position: fixed;
  width: 100%;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: rgba(0, 0, 0, .3);
  padding-top: 20px;
}

.nav-menu {
  display: flex;
  font-weight: 800;
  position: relative;
  right: 3rem;
  font-size: 18px;
  gap: 30px;
  justify-content: space-between;
  align-items: center;
}

.nav-menu li:hover {
  color: lightblue;
}

li {
  list-style: none;
}

.nav-link {
  transition: 0.7s ease;
  color: white;
}

.hamburger {
  display: none;
  cursor: pointer;
}

.bar {
  display: block;
  background-color: white;
  width: 25px;
  height: 3px;
  margin: 5px auto;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;

}

.nav-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: white;
  text-shadow: 2px 3px 10px;
  text-decoration: none;
}

.first-section {
  height: 832px;
  color: white;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  width: 100%;
}

.first-section-container {
  max-width: 100vw;
}

.header-icon-container {
  height: 0;
  position: absolute;
}

.header-icon {
  margin: 20px 0 0 60px;
  position: relative;
  bottom: 370px;
  padding: 5px;
  border-radius: 50%;
  border: 1px #cccccc solid;
}

.header-icon:hover {
  border: 1px lightblue solid;
  box-shadow: 0 0 15px #00aced;
  transition: all 0.5s ease;
}

.first-section-horizontal-line {
  width: 2px;
  height: 6rem;
  background-color: #ffffff80;
  position: relative;
  bottom: 110px;
  margin-left: 80px;
}

#name {
  font-size: 4em;
  text-shadow: 2px 3px 10px;
}

#background-image {
  opacity: 50%;
  position: fixed;
  z-index: -5;
  object-fit: cover;
  min-width: 100%;
  min-height: 100%;
  object-position: center;
}

#job-title {
  font-weight: bolder;
  font-size: 25px;
  margin: 10px 0 10px 0;
}

#description {
  white-space: nowrap;
  border-right: .1em solid white;
  animation: typing 3s steps(40, end),
    blink-caret .8s step-end infinite;
  overflow: hidden;
  font-size: 2rem;
  letter-spacing: .8rem;
}

@keyframes typing {
  from {
    width: 0
  }

  to {
    width: 650px
  }
}

@keyframes blink-caret {

  from,
  to {
    border-color: transparent
  }

  50% {
    border-color: white
  }
}

.reveal {
  position: relative;
  transform: translateY(150px);
  opacity: 0;
  transition: 1s all ease;
}

.reveal.active {
  transform: translateY(0);
  opacity: 1;
}

#headshot {
  zoom: .2;
  border-radius: 50%;
}

.sub-heading {
  color: #232829;
  display: block;
  font-size: 20px;
  margin: 40px 0 30px 20px;
}

.about-horizontal-line {
  width: 18rem;
  height: 1px;
  background-color: #ffffff80;
  position: relative;
  margin-left: 8.5rem;
  bottom: 1rem;
}

.about-section {
  display: block;
  background-color: #3e5860;
  display: flex;
  align-items: center;
  flex-direction: column;
}

.about-section-background {
  font-family: sans-serif;
  color: #F1C40F;
  width: 75%;
  display: flex;
  flex-wrap: wrap;
}

.intro {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.intro-description {
  padding-left: 40px;
  color: whitesmoke;
  margin-right: 40px;
  text-align: center;
  font-size: 20px;
  font-family: sans-serif
}

#intro-bold {
  color: #F1C40F;
}

.skill-heading {
  color: #232829;
  font-size: 25px;
  padding-top: 40px;
}

.skills-container {
  color: #F1C40F;
  display: flex;
  width: 100%;
  justify-content: space-evenly;
  text-align: center;
  padding: 30px 0 60px 0;
}

.outer-circle {
  padding: 20px;
  border-radius: 50%;
  -webkit-animation: spin 4s linear infinite;
  -moz-animation: spin 4s linear infinite;
  animation: spin 4s linear infinite;
}




@-moz-keyframes spin {
  100% {
    -moz-transform: rotate(360deg);
  }
}

@-webkit-keyframes spin {
  100% {
    -webkit-transform: rotate(360deg);
  }
}

@keyframes spin {
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

.projects-horizontal-line {
  width: 18rem;
  height: 1px;
  background-color: #ffffff80;
  position: relative;
  margin-left: 8rem;
  bottom: 1rem;
}

.projects-section {
  background-color: #3e5860;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding-top: 50px;
}

.projects-sub-container img {
  border-radius: 10px;

}

.projects-sub-container a {
  text-decoration: none;
  color: inherit;
}

.projects-section-background {
  width: 75%;
}

.projects-container {
  max-width: 100%;
  display: flex;
  flex-direction: row;
}

.projects-sub-container {
  margin: 30px;
  color: white;
  display: flex;
  flex-direction: column;
}

.flashgram,
.ai-ask-me,
.tip-calculator,
.advice-generator,
.ip-address-tracker,
.sweatcritique {
  background-color: #324449;
  padding: 30px;
  display: flex;
  align-items: center;
  flex-direction: column;
  border-radius: 10px;
}

.project-image {
  max-width: 400px;
  max-height: 180px;
}

.project-skills {
  word-spacing: 3px;
  text-align: center;
  color: white;
  margin-top: 20px;
  max-width: 420px;
  min-height: 50px;
}

.date-created {
  margin-top: 20px;
  font-size: 12px;
  color: #a8a8a8d0;
}

h4 {
  padding-bottom: 30px;
}

.button-container {
  display: flex;
  flex-direction: row !important;
  justify-content: space-evenly;
  margin: 20px 0 40px 0;
  max-width: 100%;
}

.view-code-button,
.watch-live-button {
  width: 150px;
  border-radius: 5px;
  padding: 5px;
  margin: 0 10px 0 10px;
  font-size: 18px;
  border: none;
}

.view-code-button {
  border: 1px white solid;
  background-color: transparent;
  color: white;
}

.watch-live-button {
  background-color: #6f8b97;
  color: white;
}


.view-code-button:hover {
  border: 1px lightblue solid;
}

.watch-live-button:hover {
  border: 1px white solid;
}


.contact-form-horizontal-line {
  width: 18rem;
  height: 1px;
  background-color: #ffffff80;
  position: relative;
  margin-left: 12rem;
  bottom: 1rem;
}

.form-section {
  background-color: #3e5860;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.form-section-background {
  margin-bottom: 40px;
  width: 75%;
  position: relative;
}

.contact-form {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  color: white;
  background-color: #324449;
  padding: 35px;
  margin: 20px;
  width: 50%;
  border-radius: 10px;
}

footer {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.footer-container {
  display: flex;
  flex-direction: row;
  padding: 20px 0 40px 0;
  height: 0;
}

.footer-icon {
  margin: 0 50px 0 35px;
  padding: 5px;
  border-radius: 50%;
  border: 1px #F1C40F solid;
}

.footer-icon:hover {
  box-shadow: 0 0 15px #F1C40F;
  transition: all 0.5s ease;
}

.copyright {
  margin-top: 20px;
  font-family: 'Courier New', Courier, monospace;
  color: white;
}

@media screen and (max-width:1024px) {
  .projects-container {
    flex-direction: column;
  }
}

@media screen and (max-width:768px) {
  .hamburger {
    display: block;
    margin: 0 20px 20px 0;
  }

  .hamburger.active .bar:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .hamburger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .nav-menu {
    transition: 0.3s;
    flex-direction: column;
    left: -100%;
    width: 100%;
    position: fixed;
    text-align: center;
    gap: 0;
    top: 70px;
    background-color: rgba(0, 0, 0, .3);
  }

  .nav-item {
    margin: 16px;
  }

  .nav-menu.active {
    left: 0;
  }

  .first-section {
    position: relative;
    bottom: 20px;
  }

  #job-title {
    font-size: 1.05rem;
  }

  #description {
    font-size: 1.05rem;
    letter-spacing: .4rem;
  }

  @keyframes typing {
    from {
      width: 0
    }

    to {
      width: 330px
    }
  }

  #name {
    font-size: 2.6em;
  }

  .intro {
    flex-direction: column;
  }

  #headshot {
    order: -1;
    zoom: .15;
    margin-bottom: 200px;
  }

  .intro-description {
    margin-bottom: 30px;
  }

  .advice-generator,
  .ai-ask-me,
  .flashgram,
  .ip-address-tracker,
  .tip-calculator,
  .sweatcritique{
    padding: 10px;
  }

  .project-description {
    margin: 20px;
    font-size: 12px;
    padding: 5px;
  }

  .skills-container {
    flex-wrap: wrap;
  }

  .circle-container {
    margin: 20px;
  }

  .contact-form {
    width: 80%;
  }

  .skill-heading {
    padding: 0;
  }
}



@media screen and (max-width:600px) {
  .projects-horizontal-line {
    margin-left: 8rem;
    width: 10rem;
    ;
  }

  .about-horizontal-line {
    width: 9rem;
    margin-left: 7.5rem;
  }

  .contact-form-horizontal-line {
    width: 8rem;
    margin-left: 10.5rem;
  }
}



@media screen and (max-width:425px) {
  #job-title {
    font-size: .8rem;
  }

  #description {
    font-size: .8rem;
    letter-spacing: .4rem;
  }

  @keyframes typing {
    from {
      width: 0
    }

    to {
      width: 300px
    }
  }

  #headshot {
    width: 80%;
  }

  .intro-description {
    font-size: 15px;
    text-align: center;
    padding: 0;
    margin: 0 0 50px 0;
  }

  #name {
    font-size: 2em;
  }

  .contact-form {
    width: 80%;
  }

  .view-code-button,
  .watch-live-button {
    margin: 0 10px 0 10px;
  }

  .projects-container {
    width: 90%;
  }

  .skill-heading {
    padding: 0;
  }

  .contact-form-horizontal-line {
    width: 6rem;
    margin-left: 10rem;
  }

  .projects-horizontal-line {
    margin-left: 6.5rem;
    width: 10rem;
    ;
  }

  .about-horizontal-line {
    width: 9rem;
    margin-left: 7rem;
  }

  .header-icon {
    margin: 20px 0 0 30px;
    position: relative;
    bottom: 370px;
    padding: 5px;
    border-radius: 50%;
    border: 1px #cccccc solid;
    zoom: .8;
  }

  .first-section-horizontal-line {
    height: 4.5rem;
    bottom: 80px;
    margin-left: 40px;
  }

}