::-moz-selection {
  color: #c6a510;
  background: black;
}

::selection {
  color: #c6a510;
  background: black;
}

nav ul a,
nav .brand-logo-override {
  color: #444;
}

p {
  line-height: 2rem;
}

.sidenav-trigger {
  color: #26a69a;
}

.non-parallax-container {
  margin-top: -70px;
  padding-top: 70px;
  min-height: 450px;
  height: auto;
  color: rgba(255, 255, 255, 0.9);
  background-color: #000;
  z-index: 0;
}
.non-parallax-container .section {
  width: 100%;
}

@media only screen and (max-width: 600px) {
  .non-parallax-container {
    min-height: 600px;
    height: auto;
  }
}

@media only screen and (max-width: 992px) {
  .non-parallax-container .section {
    position: absolute;
    top: 40%;
  }
}

.parallax-container.valign-wrapper.smaller-one {
  min-height: 200px;
}

.parallax-container.align-wrapper {
  display: flex;
  align-items: flex-end;
  align-content: flex-end;
}

.parallax-container {
  margin-top: -70px;
  min-height: 250px;
  line-height: 0;
  height: auto;
  color: rgba(255, 255, 255, 0.9);
}
.parallax-container .section {
  width: 100%;
}

@media only screen and (max-width: 992px) {
  .parallax-container .section {
    position: absolute;
    top: 40%;
  }
  #index-banner .section {
    top: 10%;
  }
  #index-banner .section {
    /* top: 0; */
    position: relative;
    padding: 0;
  }
}

.icon-block {
  padding: 0 15px;
}
.icon-block .material-icons {
  font-size: inherit;
}

.expand.material-icons {
  color: #fff;
  font-weight: 100;
}

.toggle-exp-timeline {
  text-align: center;
  margin: 10px auto 30px;
  display: block;
  /* width: 500px; */
}

footer.page-footer {
  margin: 0;
}

.links-container {
  margin-top: 30px;
}

/* Override default materialize features */
nav[role="navigation"] {
  background-color: #000;
  display: flex;
  justify-content: space-between;
}
nav .brand-logo-override {
  /* -webkit-transform: translateX(-50%); */
  /* transform: translateX(-50%); */
  order: 2;
  position: relative;
  font-size: 2.4em;
}

@media only screen and (max-width: 600px) {
  nav .brand-logo-override {
    font-size: 1.3em;
  }
}

nav a.sidenav-trigger {
  display: block;
}

.sidenav-trigger i {
  color: #655000;
}
a.brand-logo-override {
  color: #546e7a;
}

.main-links {
  /* width: 50px; */
  /* height: 50px; */
  /* border: 1px solid #fff; */
  order: 3;
  display: flex;
}

.section {
  padding-top: 1rem;
  padding-bottom: 5rem;
}

.divider {
  background-color: #292929;
}
/* End of override */

/* Secondary color */
i.material-icons {
  color: #655000;
}

.sidenav li > a > i,
.sidenav li > a > [class^="mdi-"],
.sidenav li > a li > a > [class*="mdi-"],
.sidenav li > a > i.material-icons {
  color: #fff;
}

.sidenav li a {
  color: #a29e9e;
}
.sidenav li a:hover,
.sidenav li a:active {
  background-color: #0d1242;
}

.logo-default {
  display: none;
}

.logo-surround-text {
  color: #a29e9e;
  font-family: "Wire One", sans-serif;
  text-transform: uppercase;
  font-size: 0.8em;
  font-weight: bold;
  letter-spacing: 5px;
  line-height: 69px;
}

.logo-zh {
  color: #655000;
  font-weight: 100;
}

.hero {
  display: flex;
  flex-direction: row;
}

.hero-desc {
  display: flex;
  align-items: center;
  text-align: right;
}

.header-logo-img {
  height: 22px;
  margin: -11.5px 0 0 -4px;
  position: relative;
}

.indigo.darken-ultimate {
  background-color: #655000 !important;
}
.indigo.darken-ultimate-2 {
  background-color: rgb(8, 14, 31) !important;
}
.indigo.darken-ultimate-3 {
  background-color: rgb(2, 6, 16) !important;
}
.indigo.darken-extravagant-2 {
  background-color: #0c1325 !important;
}
.indigo-text.text-darken-ultimate {
  color: #655000 !important;
}
.amber.darken-ultimate {
  background-color: #655000 !important;
}
.amber-text.text-darken-ultimate {
  color: #655000 !important;
}

/**
*  Custom styling rules
*/

.contrast-btn-color {
  background-color: #0a205f;
}

.custom-contrast-icon {
  color: #655000;
}

/**
* End of custom styling rules
*/

.sidenav {
  background-color: #080b2b;
}

.non-parallax-container h1.header {
  margin-bottom: -15px;
}

.my-pic-idx {
  margin-left: 50px;
  width: 390px;
  margin-bottom: -5px;
}

@media screen and (max-width: 993px) {
  .my-pic-idx {
    width: 280px;
  }
}

.col {
  padding-bottom: -20px;
}

.social-icon i {
  font-size: 1.4em;
}

blockquote {
  border-color: #655000 !important;
}

a.ig-link:hover,
a.ig-link:active > div > i {
  color: #e4405f !important;
}
a.fb-link:hover,
a.fb-link:active > div > i {
  color: #3b5999 !important;
}
a.yt-link:hover,
a.yt-link:active > div > i {
  color: #6fdeff !important;
}
a.tw-link:hover,
a.tw-link:active > div > i {
  color: #55acee !important;
}
a.gh-link:hover,
a.gh-link:active > div > i {
  color: #000 !important;
}
a.mail-link:hover,
a.mail-link:active > div > i {
  color: #f5d907 !important;
}

.sidenav li.active {
  color: rgb(4, 5, 31);
}

/* About custom stylings */

.btn-red {
  background-color: #b52c2c;
}
.btn-red:hover {
  background-color: #8c0707;
}

div#about-ct {
  position: inherit;
  min-height: 260px;
  background-color: rgb(0, 0, 0);
  padding-top: 40px;
  z-index: 0;
}

p.flow-text {
  font-size: 1.3em;
  color: rgba(255, 255, 255, 0.7);
  font-weight: lighter;
  text-align: justify;
}
img.happier-img {
  height: 110px;
  float: left;
  position: relative;
  margin: 20px;
}

.timeline ul li {
  list-style-type: none;
  position: relative;
  width: 6px;
  margin: 0 auto;
  padding-top: 50px;
  background: #fff;
}

.timeline ul li:after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 80px;
  transform: translateX(-50%);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: inherit;
}

.timeline ul li div {
  position: relative;
  bottom: 0;
  width: 400px;
  padding: 15px;
  background: #04070e;
}

.timeline ul li:nth-child(odd) div {
  left: 45px;
  /* top: 90px; */
}

.timeline ul li:nth-child(odd) div:before {
  left: -15px;
  border-width: 8px 16px 8px 0;
  border-color: transparent #f45b69 transparent transparent;
}

.timeline ul li:nth-child(even) div {
  left: -439px;
  bottom: 30px;
}

.timeline ul li:nth-child(even) div:after {
  right: -15px;
  border-width: 8px 0 8px 16px;
  border-color: transparent transparent transparent #f45b69;
}

.timeline ul li div time {
  color: #fff;
}

@media screen and (max-width: 900px) {
  .timeline ul li div {
    width: 250px;
  }
  .timeline ul li:nth-child(even) div {
    left: -289px; /*250+45-6*/
  }
}

@media screen and (max-width: 600px) {
  .header-logo-img {
    margin-right: -40px;
  }

  .timeline ul li {
    margin-left: 10px;
  }

  .timeline ul li div {
    width: 290px;
  }

  .timeline ul li:nth-child(even) div {
    left: 45px; /*250+45-6*/
  }
}

.timeline.closed {
  height: 570px;
  overflow: hidden;
}

.waves-effect.link-exp-buttons {
  background-color: #000424;
}
.waves-effect.link-exp-buttons:hover {
  background-color: #01041d;
}

.toggle-exp-timeline {
  background-color: #000424;
  width: auto;
  margin-top: -60px;
}
.toggle-exp-timeline:hover,
.toggle-exp-timeline:active,
.toggle-exp-timeline:focus {
  background-color: #01041d;
}

.toggle-exp-timeline-open {
  margin-top: 60px;
}

.skills-container {
  width: 100%;
  background-color: #080e1f;
}

.skills {
  text-align: right;
  padding-right: 20px;
  line-height: 40px;
  color: white;
  background-color: #655000;
}

p.skill-title {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.5em;
  margin-bottom: 5px;
}

.html {
  width: 100%;
}
.css {
  width: 90%;
}
.php {
  width: 80%;
}
.python {
  width: 75%;
}
.protocols {
  width: 85%;
}
.c {
  width: 65%;
}
.cpp {
  width: 75%;
}

.tap-target {
  background-color: transparent !important;
}
.tap-target-wrapper {
  width: auto;
  height: auto;
}
.tap-target.open {
  left: 0 !important;
}
.menu-floating-btn {
  background-color: #000;
}

#gdpr-table-w-cookies tbody td:nth-child(2) {
  width: 80%;
}

.second-pic {
  height: 360px;
  /* margin: 0 auto; */
  /* display: block; */
}

.timeline-closed-gradient {
  height: 148px;
  background: linear-gradient(1deg, #080e1f, transparent);
  position: relative;
  top: -145px;
}

.col-half-offset {
  margin-left: 4.166666667%;
}

.links-button {
  width: 100px;
  height: 35px;
  /* border: 2px solid; */
  order: 1;
  margin-top: 6px;
  border-radius: 4px;
  text-align: center;
  line-height: 35px;
  color: #a29e9e;
  font-size: 1.1em;
  padding: 0;
  background-color: #01041d;
  border-color: #01041d;
}

.blog-button {
  border-color: #655000;
  background-color: #655000;
}

.gh-button {
  margin-right: 5px;
  width: auto;
  padding: 0 5px 0 15px;
}

.gh-button > i {
  color: #fff;
}

.cv-button > i {
  line-height: 37px !important;
  font-size: 1em !important;
  color: #fff;
  margin-right: 0;
  margin-left: 5px;
}

.flex-container {
  display: flex;
  flex-direction: row;
}

.flex-left {
  margin-right: 20px;
}

@media only screen and (max-width: 600px) {
  .hero {
    flex-direction: column;
  }
  .hero-desc {
    text-align: left;
  }
  .hero-image {
    order: 2;
  }
  .my-pic-idx {
    margin: 0 auto;
    display: block;
  }
  .cv-button {
    width: auto;
    padding: 0 10px 0 5px;
  }
  .cv-button span {
    display: none;
  }
  .blog-button span {
    display: none;
  }
  .blog-button {
    padding: 0 5px;
    width: auto;
  }
  .second-pic {
    margin: 10px auto;
    display: block;
    width: 80%;
    height: auto;
  }
  .flex-container {
    flex-direction: column;
  }
  .flex-left {
    order: 1;
  }
  .flex-right {
    order: 2;
  }
}
