#mainNav {
  min-height: 56px;
  background-color: #fff;
}

#mainNav .navbar-toggler {
  font-size: 80%;
  padding: 0.75rem;
  color: #525866;
  border: 1px solid #525866;
}

#mainNav .navbar-toggler:focus {
  outline: none;
}

#mainNav .navbar-brand {
  color: #161616;
  font-weight: 700;
  padding: .9rem 0;
}

#mainNav .navbar-nav .nav-item:hover {
  color: fade(white, 80%);
  outline: none;
  background-color: transparent;
}

#mainNav .navbar-nav .nav-item:active,
#mainNav .navbar-nav .nav-item:focus {
  outline: none;
  background-color: transparent;
}

@media (min-width: 992px) {
  #mainNav {
    padding-top: 0;
    padding-bottom: 0;
    border-bottom: none;
    background-color: transparent;
    transition: background-color 0.3s ease-in-out;
  }

  #mainNav .navbar-brand {
    padding: .5rem 0;
    color: #fff;
  }

  #mainNav .nav-link {
    transition: none;
    padding: 2rem 1.5rem;
    color: #fff;
  }

  #mainNav .nav-link:hover {
    color: rgba(255, 255, 255, 0.75);
  }

  #mainNav .nav-link:active {
    color: #525866;
  }

  #mainNav.navbar-shrink {
    background-color: #fff;
  }

  #mainNav.navbar-shrink .navbar-brand {
    color: #161616;
  }

  #mainNav.navbar-shrink .nav-link {
    color: #161616;
    padding: 1.5rem 1.5rem 1.25rem;
    border-bottom: 0.25rem solid transparent;
  }

  #mainNav.navbar-shrink .nav-link:hover {
    color: #525866;
  }

  #mainNav.navbar-shrink .nav-link:active {
    color: #30333c;
  }

  #mainNav.navbar-shrink .nav-link.active {
    color: #525866;
    outline: none;
    border-bottom: 0.25rem solid #525866;
  }
}

svg {
  max-width: 30%;
  margin-left: 5%;
}

.masthead {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 35rem;
  padding: 15rem 0;
}

@media (min-width: 576px) {
  .masthead {
    background: url("../img/masthead2.jpg");
    background-position: bottom center;
    background-repeat: no-repeat;
    background-attachment: scroll;
    background-size: cover;
  }
}

@media (max-width: 576px) {
  .masthead {
    background: url("../img/masthead.jpg");
    background-size: cover;
  }
}

.masthead h1 {
  font-family: 'Varela Round';
  font-size: 3.5rem !important;
  line-height: 2.5rem;
  color: #fff;
}

.masthead h2 {
  max-width: 20rem;
  font-size: 1rem;
}

.masthead i {
  font-size: xx-large;
  color: #fff;
}

@media (min-width: 768px) {
  .masthead h1 {
    font-size: 4rem;
    line-height: 4rem;
  }
}

@media (min-width: 992px) {
  .masthead {
    height: 100vh;
    padding: 0;
  }

  .masthead h1 {
    font-size: 6.5rem;
    line-height: 6.5rem;
    letter-spacing: 0.8rem;
  }

  .masthead h2 {
    max-width: 30rem;
    font-size: 1.25rem;
  }
}

.btn {
  box-shadow: 0 0.1875rem 0.1875rem 0 rgba(0, 0, 0, 0.1) !important;
  padding: 1.25rem 2rem;
  font-family: 'Varela Round';
  font-size: 80%;
  text-transform: uppercase;
  letter-spacing: .15rem;
  border: 0;
}

.btn-primary {
  background-color: #525866;
}

.btn-primary:hover {
  background-color: #3b404a;
}

.btn-primary:focus {
  background-color: #3b404a;
  color: white;
}

.btn-primary:active {
  background-color: #30333c !important;
}

.projects-section .featured-text {
  padding: 2rem 0;
}

@media (min-width: 992px) {
  .projects-section .featured-text {
    padding: 0 0 0 2rem;
    border-left: 0.5rem solid #525866;
  }
}

.projects-section .project-text {
  padding: 3rem;
  font-size: 90%;
}

@media (min-width: 992px) {
  .projects-section .project-text {
    padding: 5rem;
  }

  .projects-section .project-text hr {
    border-color: #fff;
    border-width: .25rem;
    width: 30%;
  }
}

.border-primary {
  border-color: #525866 !important;
}

@media (min-width: 992px) {
  .groot {
    transform: scale(2.3);
  }
}

@media (max-width: 992px) and (min-width: 576px) {
  .groot {
    transform: scale(5);
  }
}

@media (max-width: 576px) {
  .groot {
    position: relative;
    left: 37vw;
    transform: scale(6);
    z-index: 10000;
  }
}

.contact-section {
  padding: 5rem 0 0;
}

.contact-section .card {
  border: 0;
  border-bottom: 0.25rem solid #525866;
}

.contact-section .card h4 {
  font-size: 0.8rem;
  font-family: 'Varela Round';
  text-transform: uppercase;
  letter-spacing: 0.15rem;
}

.contact-section .card hr {
  border-color: #525866;
  border-width: 0.25rem;
  width: 3rem;
}

.row col-md-4 {
  margin-bottom: 2%;
}

.timeline {
  position: relative;
  padding: 0;
  list-style: none;
}

.timeline:before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 40px;
  width: 2px;
  margin-left: -1.5px;
  content: '';
  background-color: #e9ecef;
}

.timeline>li {
  position: relative;
  min-height: 50px;
  margin-bottom: 50px;
}

.timeline>li:after,
.timeline>li:before {
  display: table;
  content: ' ';
}

.timeline>li:after {
  clear: both;
}

.timeline>li .timeline-panel {
  position: relative;
  float: right;
  width: 100%;
  padding: 0 20px 0 100px;
  text-align: left;
}

.timeline>li .timeline-panel:before {
  right: auto;
  left: -15px;
  border-right-width: 15px;
  border-left-width: 0;
}

.timeline>li .timeline-panel:after {
  right: auto;
  left: -14px;
  border-right-width: 14px;
  border-left-width: 0;
}

.timeline>li .timeline-image {
  position: absolute;
  z-index: 100;
  left: 0;
  width: 80px;
  height: 80px;
  margin-left: 0;
  text-align: center;
  color: white;
  border: 7px solid #e9ecef;
  border-radius: 100%;
  background-color: #525866;
}

.timeline>li .timeline-image h4 {
  font-size: 10px;
  line-height: 14px;
  margin-top: 12px;
}

.timeline>li.timeline-inverted>.timeline-panel {
  float: right;
  padding: 0 20px 0 100px;
  text-align: left;
}

.timeline>li.timeline-inverted>.timeline-panel:before {
  right: auto;
  left: -15px;
  border-right-width: 15px;
  border-left-width: 0;
}

.timeline>li.timeline-inverted>.timeline-panel:after {
  right: auto;
  left: -14px;
  border-right-width: 14px;
  border-left-width: 0;
}

.timeline>li:last-child {
  margin-bottom: 0;
}

.timeline .timeline-heading h4 {
  margin-top: 0;
  color: inherit;
}

.timeline .timeline-heading h4.subheading {
  text-transform: none;
}

.timeline .timeline-body>ul,
.timeline .timeline-body>p {
  margin-bottom: 0;
}

@media (min-width: 768px) {
  .timeline:before {
    left: 50%;
  }

  .timeline>li {
    min-height: 100px;
    margin-bottom: 100px;
  }

  .timeline>li .timeline-panel {
    float: left;
    width: 41%;
    padding: 0 20px 20px 30px;
    text-align: right;
  }

  .timeline>li .timeline-image {
    left: 50%;
    width: 100px;
    height: 100px;
    margin-left: -50px;
  }

  .timeline>li .timeline-image h4 {
    font-size: 13px;
    line-height: 18px;
    margin-top: 16px;
  }

  .timeline>li.timeline-inverted>.timeline-panel {
    float: right;
    padding: 0 30px 20px 20px;
    text-align: left;
  }
}

@media (min-width: 992px) {
  .timeline>li {
    min-height: 150px;
  }

  .timeline>li .timeline-panel {
    padding: 0 20px 20px;
  }

  .timeline>li .timeline-image {
    width: 150px;
    height: 150px;
    margin-left: -75px;
  }

  .timeline>li .timeline-image h4 {
    font-size: 18px;
    line-height: 26px;
    margin-top: 30px;
  }

  .timeline>li.timeline-inverted>.timeline-panel {
    padding: 0 20px 20px;
  }
}

@media (min-width: 1200px) {
  .timeline>li {
    min-height: 170px;
  }

  .timeline>li .timeline-panel {
    padding: 0 20px 20px 100px;
  }

  .timeline>li .timeline-image {
    width: 170px;
    height: 170px;
    margin-left: -85px;
  }

  .timeline>li .timeline-image h4 {
    margin-top: 40px;
  }

  .timeline>li.timeline-inverted>.timeline-panel {
    padding: 0 100px 20px 20px;
  }
}

#skills {
  margin-bottom: 10%;
}

.skillbar {
  position: relative;
  display: block;
  width: 100%;
  margin-bottom: 30px;
}

.skillbar-bar:before {
  background: #eee;
  content: "";
  height: 3px;
  position: absolute;
  width: 100%;
  z-index: -1;
}

.skillbar-bar {
  height: 3px;
  width: 0px;
  background-color: #525866;
  transition-property: width, background-color;
}

.skillbar-title {
  color: #525866;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  display: inline-block;
}

.skill-bar-percent {
  float: right;
  display: inline-block;
  color: #525866;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
}

/* CENTERING ONLY */
.wrapper {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
}

@media (min-width: 992px) {
  #aboutPic {
    grid-area: pic;
  }

  #aboutContact {
    grid-area: contact;
  }

  #aboutText {
    grid-area: text;
  }

  .gridAbout {
    display: grid;
    grid-template-areas: 'pic text text text text text';
    grid-gap: -30px;
  }

  .gridContact {
    width: 215px;
    display: grid;
    grid-template-areas: 'pic'
      'contact';
    text-align: center;
    margin: 0 1rem 0 -1rem;
  }

  #aboutContact {
    align-self: end;
  }

  .picSmall {
    display: none;
  }
}

@media (max-width: 992px) {
  #aboutPic {
    display: none;
  }

  .picSmall {
    width: 22vw;
    border-radius: 20px;
    float: left;
  }

  .aboutme {
    padding-top: 2vh;
    padding-left: 25vw;
    text-align: left;
  }
}

#aboutContact i {
  font-size: 25px;
}

body {
  font-family: 'Nunito';
  letter-spacing: 0.0625em;
}

a {
  color: #525866;
}

a:focus,
a:hover {
  text-decoration: none;
  color: #0e0f11;
}

p a:focus,
p a:hover {
  text-decoration: underline !important;
  color: #25272d;
}

h4.subheading a {
  text-decoration: underline !important;
}

.bg-black {
  background-color: #161616 !important;
}

.bg-primary {
  background-color: #525866 !important;
}

.text-primary {
  color: #525866 !important;
}

footer {
  padding: 5rem 0;
}

#videoModal .modal-dialog {
  max-width: 1000px;
  height: auto;
  padding: 0.2rem 2.2rem 0.2rem 0.2rem;
}

#videoModal .modal-body {
  position: relative;
  padding: 0px;
}

#videoModal .close {
  position: absolute;
  right: -30px;
  top: 0;
  z-index: 999;
  font-size: 2rem;
  font-weight: normal;
  color: #fff;
  opacity: 1;
}

p a {
  text-decoration: underline;
}



.timeline>li .timeline-image {
  background-color: white;
}