html {
  scroll-behavior: smooth;
}

body {
  background-color: #222831;
  color: #f1b10b;
  font-family: "IBM Plex Mono", monospace;
  line-height: 1.8;
  box-sizing: border-box;
}

section {
  min-height: 100vh;
  margin: 3.5rem 0;
  padding-top: 80px;
}

section#bg-home .header {
  height: 80px;
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  z-index: 3;
  background-color: rgb(34 40 49 / 0.97);
  border-bottom: solid 1px rgb(241 177 11 / 0.2);
}

section#bg-home {
  height: 100vh;
  margin: 0 0;
  padding-top: 0;
  padding-bottom: 0;
}

.intro p:first-child {
  font-size: 22px;
}

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

.title {
  font-size: 1.6rem;
  border-top: solid 1px;
  border-bottom: solid 1px;
  padding: 20px 0;
}

.myname {
  font-size: 3rem;
}

.navbar {
  padding-left: 0;
  padding-right: 0;
}

.navbar *,
.nav-item * {
  color: #dfa612;
}

.social-links a i {
  font-size: 20px;
}

.content-wrapper {
  margin: 18rem auto auto;
}

.navbar-nav .nav-item .nav-link {
  color: #dfa612;
}

a {
  color: #dfa612;
}

.btn {
  background-color: #1a1d24;
  color: #dfa612;
  border: solid 1px #dfa612;
  border-radius: 0;
}

.btn:hover {
  color: #212529;
  text-decoration: none;
  background: #dfa612;
}

.work-box {
  background-color: #1a1d24;
  border-radius: 5px;
}

.project-links:hover {
  text-decoration: none;
  color: #d4c7b8;
}

nav {
  font-size: 1.3rem;
}

nav .navbar-brand {
  font-size: 2rem;
}

.work-box {
  max-width: 400px;
  min-height: 300px;
  box-shadow: rgba(2, 12, 27, 0.7) 0px 10px 30px -15px;
  display: flex;
  -moz-box-pack: justify;
  justify-content: space-between;
  -moz-box-align: center;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  padding: 2rem 1.75rem;
  height: 100%;
  border-radius: 3px;
  transition: all 0.25s cubic-bezier(0.645, 0.045, 0.355, 1) 0s;
  background-color: #daa51b;
  color: #222831;
}

.work-box header {
  width: 100%;
}

.work-box:hover {
  transform: translateY(-5px);
}

a svg {
  width: 20px;
  height: 20px;
}

svg {
  fill: #222831;
  vertical-align: middle;
}

ul#stack {
  margin-top: 20px;
  margin-bottom: 0;
  flex-wrap: wrap;
}

ul#stack .stack-item {
  margin-right: 10px;
}

div.link-out {
  margin-bottom: 10px;
}

h3.project-title {
  margin-bottom: 1rem;
}

div .project-content {
  font-size: 13px;
  font-weight: bold;
}

.profile-container {
  background-color: rgba(223, 166, 18, 0.5);
  width: 400px;
  height: 400px;
  border-radius: 3px;
  padding: 0;
}

.profile-container:hover {
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.645, 0.045, 0.355, 1) 0s;
  background: none;
}

.img-link {
  border-radius: 3px;
  margin-top: 80px;
}

.profile-pic:hover {
  filter: none;
  transition: all 0.25s cubic-bezier(0.645, 0.045, 0.355, 1) 0s;
}

.profile-pic {
  position: relative;
  z-index: -1;
  width: inherit;
  height: inherit;
  transition: all 0.7s;
  position: relative;
  filter: grayscale(100%) contrast(1);
  border-radius: 3px;
}

#contact h2 {
  font-size: 3rem;
}

#contact p {
  font-size: 1.3rem;
}

#contact .btn {
  padding: 1rem 2.5rem;
}

ul {
  list-style-type: disclosure-closed;
}

.subtitle {
  margin-top: 23px;
  margin-bottom: 2rem;
}

.navbar-collapse {
  flex-grow: 0;
}

.navbar-toggler {
  margin-bottom: -10px;
}

.about-container {
  margin-top: 100px;
}

p {
  font-size: 20px;
}

.about-btn {
  margin-top: 20px;
  padding: 15px 20px;
}

.myskills {
  font-size: 20px;
}

.skills-intro p {
  font-size: 1.3rem;
}

.myskills li {
  margin-top: 10px;
}

span.date {
  font-size: 12px;
  margin: 0;
}

@media screen and (max-width: 768px) {
  section#bg-home .header {
    background-color: transparent;
    border-bottom: none;
  }

  section#bg-home .header .container {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    z-index: 3;
    background-color: rgb(34 40 49 / 0.97);
    border-bottom: solid 1px rgb(241 177 11 / 0.2);
  }

  .work-box {
    margin: 0 auto;
  }

  .about-container {
    margin-top: 20px;
  }

  .img-link {
    margin-top: 0;
  }
}

@media screen and (max-width: 576px) {
  .myname {
    font-size: 1.5rem;
  }

  .skills-intro {
    text-align: center;
  }

  ul.myskills {
    font-size: 16px;
  }

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

  .intro p:last-child {
    font-size: 12px;
  }
}

@media screen and (max-width: 375px) {
  .profile-container {
    max-width: 320px;
    width: 100%;
    height: 320px;
  }

  a code {
    font-size: 70%;
  }

  #contact h2 {
    font-size: 2rem;
  }

  #contact p {
    font-size: 1.1rem;
  }

  .about-container {
    margin-top: 20px;
  }

  .about-container p {
    font-size: 18px;
  }
}
