/* Branding */

body {
  font-family: 'Montserrat', sans-serif;
  -webkit-perspective: 100px;
          perspective: 100px;
  display: flex;
  flex-direction: column;
}

.section {
  flex: 1 0 auto;
}

.section.nav {
  margin: 0 2rem !important ;
}

.flex-content {
  display: flex;
  flex-wrap: wrap;
}

.flex-margin li:not(:last-child) {
  margin-right: 5rem;
}

/* Overrides */
nav {
  box-shadow: none !important;
}

nav .brand-logo {
  background-color: none !important;
  color: #444 !important;
}

b {
  font-weight: 800;
}

/* Navigation */

nav ul li a {
  font-size: 1.6rem;
  font-family: 'Major Mono Display', monospace;
  color: #4db6ac;
  position: relative;
  text-decoration: none;
}

nav ul li a:before { 
  background-color: #cddc39;
  bottom: 0;
  content: "";
  height: 6px;
  left: 0;
  position: absolute;
  visibility: hidden;
  width: 100%;
  -webkit-transform: scaleX(0);
  transform: scaleX(0);
  -webkit-transition: all 0.3s ease-in-out 0s;
  transition: all 0.3s ease-in-out 0s;
}

nav ul a:hover:before {
  visibility: visible;
  -webkit-transform: scaleX(1);
  transform: scaleX(1);
}

nav ul a:hover {
  background-color: #f5f5f5 !important;
  color: #26a69a;
}

nav ul li a.active {
  color: #136086;
  font-size: 1.8rem;
}

a {
  font-family: 'Raleway', sans-serif;
  font-weight: bold;
}

p {
  line-height: 2rem;
}

h3 {
  color: #136086;
  font-family: 'Oswald', sans-serif;
}

h4 { 
  /* font-size: 2rem !important; */
  font-family: inherit;
}

.about {
  margin-top: 2rem;
  padding: 1rem 0;
}

.about p, ul {
  font-size: 1.1rem;
}

.about .employment ul:first-child {
  margin-right: 6rem;
}

.icon-block {
  padding: 0 15px;
}
.icon-block .material-icons {
  font-size: inherit;
}

.home { 
  border-radius: 3rem;
  font-size: 2.2rem;
  padding: 5px
}


/* footer overrides */

footer.page-footer {
  background-color: #F1F5F8 !important;
  flex-shrink: 0;
}

footer.page-footer .footer-copyright {
  height: inherit !important;
  padding: 0 !important;
}

footer.page-footer .footer-copyright .row {
  margin-bottom: 0px;
  padding-top: 0px;
}

.page-footer .footer-copyright p.special {
  padding-top: 6px;
}

.footer-copyright a {
  color: #4db6ac;
}
.button-collapse {
  color: #26a69a;
}

.card .card-content {
  padding: 0px !important;
}

.card .overlay {
  display: flex;
  flex-direction: column;

  position: absolute;
  bottom: 0;
  width: 100%;
  height: 100%;
  padding: 5rem;
  background-color: rgb(186, 221, 80, 0.89);
  color: rgba(0, 0, 0, 0.65);
  font-weight: 900;
  opacity: 0;
  transition: all .7s ease;
}

.card .overlay:hover {
  cursor: pointer;
  opacity: 1;
}

.card .card-content .card-title {
  font-family: 'Oswald', sans-serif;
  font-size: 2.6rem;
  line-height: 4rem !important;
  margin-bottom: 2rem !important;
}
.card .card-content .card-description {
  font-size: 1.6rem;
  font-weight: 400;
}

.card .card-content .card-button {
  background: #607d8b;
  border: 1px solid #607d8b;
  border-radius: 0.4rem;
  color: #fff;
  font-size: 1.2rem;
  font-weight: 400;
  font-family: 'Oswald';
  margin-top: 1.2rem;
  padding: 0.7rem 1.1rem;
}
.card .card-content .card-button .soon {
  font-style: italic;
}

.card img {
  margin-bottom: -0.4rem;
  transition: .6s;
  width: 100%;
}
.card img:hover {
  cursor: pointer;
  opacity: 0.2;
}

.section.index {
  padding-top: 10rem;
}

.section .container.projects h3 {
  margin-left: 0.8rem !important;
}

.section .container .resume {
  height: 100vh;
  width: 100%;
}

.index nav {
  margin-left: -1.7rem;
}

.index nav a {
  font-weight: 600;
}

.work .row .col {
  margin: inherit !important;
}
.about a {
  color: #4db6ac;
}

.about a:hover {
  text-decoration: underline;
}

 /* Responsive */ 
 @media only screen and (max-width : 1024px) {
  .card .overlay {
    padding: 3rem !important;
  }

  .card .card-content .card-title {
    font-size: 2.3rem !important;
    margin-bottom: 1rem !important;
  }

  .card .card-content .card-description {
    font-size: 1.3rem !important;
  }

  .card .card-content .card-button {
    font-size: 1rem !important;
    padding: 0.6rem !important;
  }
}

@media only screen and (max-width : 992px) {
  .parallax-container .section {
    position: absolute;
    top: 40%;
  }

  #index-banner .section {
    top: 10%;
  }

  .section.index .container .row {
    padding-top: 2rem !important;
  }

  .trunk {
    height: 2.5vmin !important;
    width: 25vmin !important;
    margin-left: -17.5vmin !important;
    left: 85% !important;
  }
}

@media only screen and (max-width : 600px) {
  #index-banner .section {
    top: 0;
  }

  .flex-margin li:not(:last-child) {
    margin-right: 2rem;
  }

  nav ul {
    float: none !important;
    margin-top: 0.4rem !important;
  }

  .section.work {
    margin: 0 1rem !important;
  }

  .section {
    padding-top: 0 !important;
  }

  .section.index {
    padding: 1.2rem !important;
  }

  .section.index .container .row {
    padding-top: 4rem !important;
  }

  h1 {
    font-size: 2.6rem !important;
  }

  h4 {
    font-size: 1.4rem !important;
  }

  nav ul li a {
    font-size: 1.3rem !important;
  }
}


/* Utilities */

.mb2 {
  margin-bottom: 2rem;
}

.mb3 {
  margin-bottom: 3rem;
}

.pt1 {
  padding-top: 1.3rem;
}

.pt6 {
  padding-top: 6rem;
}

.disabled {
  display: none;
}


/* Trees are Cool */

.tree-blue {
  background-color: #136086 !important;
}

.body-index {
  overflow: hidden !important;
}

body,
html {
  padding: 0;
  margin: 0;
  height: 100%;
  width: 100%;
}
body {
  -webkit-perspective: 100px;
          perspective: 100px;
}
.trunk,
.trunk div {
  background: #136086;
  will-change: transform;
  width: 25vmin;
  height: 2.5vmin;
  position: absolute;
  margin-left: -2.5vmin;
  -webkit-animation-name: rot;
          animation-name: rot;
  -webkit-animation-duration: 2.26562s;
          animation-duration: 2.26562s;
  -webkit-animation-iteration-count: infinite;
          animation-iteration-count: infinite;
  -webkit-animation-direction: alternate;
          animation-direction: alternate;
  -webkit-transform-origin: 1.25vmin 1.25vmin;
          transform-origin: 1.25vmin 1.25vmin;
  -webkit-animation-timing-function: ease-in-out;
          animation-timing-function: ease-in-out;
}
.trunk.trunk,
.trunk div.trunk {
  bottom: 0;
  left: 71%;
  -webkit-animation-name: rot-root;
          animation-name: rot-root;
  -webkit-animation-duration: 2.46428s;
          animation-duration: 2.46428s;
}
.trunk >div,
.trunk div >div {
  top: 0;
  left: 25vmin;
  -webkit-animation-duration: calc((inherit / 2));
          animation-duration: calc((inherit / 2));
}
.trunk >div:nth-child(2),
.trunk div >div:nth-child(2) {
  -webkit-animation-name: rot-inv;
          animation-name: rot-inv;
  -webkit-animation-duration: 1.777351213486541s;
          animation-duration: 1.777351213486541s;
}
@-webkit-keyframes rot {
  from {
    -webkit-transform: rotate(15deg) scale(0.72);
            transform: rotate(15deg) scale(0.72);
  }
  to {
    -webkit-transform: rotate(45deg) scale(0.72);
            transform: rotate(45deg) scale(0.72);
  }
}
@keyframes rot {
  from {
    -webkit-transform: rotate(15deg) scale(0.72);
            transform: rotate(15deg) scale(0.72);
  }
  to {
    -webkit-transform: rotate(45deg) scale(0.72);
            transform: rotate(45deg) scale(0.72);
  }
}
@-webkit-keyframes rot-inv {
  from {
    -webkit-transform: rotate(-45deg) scale(0.72);
            transform: rotate(-45deg) scale(0.72);
  }
  to {
    -webkit-transform: rotate(-15deg) scale(0.72);
            transform: rotate(-15deg) scale(0.72);
  }
}
@keyframes rot-inv {
  from {
    -webkit-transform: rotate(-45deg) scale(0.72);
            transform: rotate(-45deg) scale(0.72);
  }
  to {
    -webkit-transform: rotate(-15deg) scale(0.72);
            transform: rotate(-15deg) scale(0.72);
  }
}
@-webkit-keyframes rot-root {
  from {
    -webkit-transform: rotate(-95deg);
            transform: rotate(-95deg);
  }
  to {
    -webkit-transform: rotate(-85deg);
            transform: rotate(-85deg);
  }
}
@keyframes rot-root {
  from {
    -webkit-transform: rotate(-95deg);
            transform: rotate(-95deg);
  }
  to {
    -webkit-transform: rotate(-85deg);
            transform: rotate(-85deg);
  }
}
