/*************************************************************************************************************/
/* GENERAL */
/*********************/

.grecaptcha-badge {
  display: none !important;
}

:root {
  --bg-colour-black: #141414;
  --bg-colour-white: #ffffff;
  --accent-colour: #ff005c;
  --white-text: #fff;
  --black-text: #000;
}

html {
  background-color: var(--bg-colour-black);
  -webkit-font-smoothing: antialiased;
}

em {
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 500;
}

h2 a {
  text-decoration: none;
  color: inherit;
  font-weight: inherit;
}

h3 {
  font-family: 'IBM Plex Serif', serif;
  font-weight: 400;
}

#about button,
#contact button {
  font-family: 'IBM Plex Mono', serif;
  font-weight: 700;
  margin-top: 50px;
  background-color: white;

  transition: all 0.2s ease-in-out 0s;
}

#about button:hover,
#contact button:hover {
  color: var(--white-text);
  background-color: var(--accent-colour);
}

#about button:active,
#contact button:active {
  background-color: var(--white-text);
}

.mdl-textfield__label:after {
  background-color: var(--accent-colour);
}

.black-section p,
.white-section p,
li {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 2rem;
}

ul {
  margin-top: -16px;
  list-style-type: none;
  padding-left: 0;
}

.section-title {
  width: 100%;
  text-align: center;
  margin-bottom: 50px;
  margin-top: 25px;
}

.black-section {
  background: var(--bg-colour-black);
  color: var(--white-text);
}

.white-section {
  background: var(--bg-colour-white);
  color: var(--black-text);
}

.mdl-cell h2 {
  text-transform: capitalize;
  font-size: 4.5rem;
  font-family: 'IBM Plex Serif', serif;
  font-weight: 900;
  margin: 0;
}

/*************************************************************************************************************/
/* HEADER */
/*********************/
/*DRAWER*/
.mdl-layout__drawer-button {
  display: none;
  color: var(--white-text);
  -webkit-tap-highlight-color: transparent !important;
  outline: 0 !important;
}

.mdl-layout__drawer-button i {
  width: 100%;
  padding-top: 12px;
}

.mdl-layout__drawer {
  background-color: var(--bg-colour-black);
  border-right: none;
}

.mdl-layout-title {
  margin-top: 75% !important;
  margin-bottom: 8%;
}

.mdl-layout-title a {
  font-family: 'IBM Plex Mono', monospace;
  color: var(--bg-colour-white);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.25rem;
}

.mdl-layout-title img {
  margin-top: -4px;
  width: 32px;
}

.mdl-layout__drawer .mdl-navigation a {
  font-family: 'IBM Plex Mono', monospace;
  color: var(--bg-colour-white) !important;
  opacity: 0.7;
  -webkit-tap-highlight-color: transparent;
}

.mdl-layout__drawer .mdl-navigation .mdl-navigation__link:hover {
  background-color: var(--accent-colour);
  opacity: 1;
}

/*NAVBAR*/
.mdl-layout__header {
  display: inherit !important;
}

.mdl-layout__header-row .mdl-navigation__link {
  font-family: 'IBM Plex Mono', monospace;
  opacity: 0.7;
  color: var(--white-text);
  position: relative;
  transition: all 0.3s ease-in-out 0s;
}

.mdl-layout__header-row .mdl-navigation__link:hover {
  opacity: 1;
  font-weight: 700;
}

.mdl-layout__header-row .mdl-navigation__link:before {
  content: '';
  position: absolute;
  width: 65%;
  height: 2px;
  bottom: 18px;
  left: 17.5%;
  background-color: var(--accent-colour);
  visibility: hidden;
  transform: scaleX(0);
  transition: all 0.3s ease-in-out 0s;
}

.mdl-layout__header-row .mdl-navigation__link:hover:before {
  visibility: visible;
  transform: scaleX(1);
}

#headerLogo {
  line-height: 1;
  letter-spacing: 0.02em;

  transition-timing-function: ease-in-out;
  transition-duration: 0.2s;
}

#headerLogo:active {
  opacity: 0.6;
  margin-top: -10px;
}

#headerLogo a {
  color: var(--white-text);
  text-decoration: none;
}

#headerLogo img {
  margin-top: -15px;
  margin-right: 15px;
  height: 40px;

  margin-left: 15px;
  transition-timing-function: ease-in-out;
  transition-duration: 0.2s;
}

#headerLogo:hover img {
  margin-left: 0;
}

#headerLogo p {
  opacity: 0;
  margin-top: 15px;
  font-family: 'IBM Plex Mono', monospace;
  display: inline-block;
  font-weight: 700;

  font-size: 1.5rem;
  margin-left: -50px;
  transition-timing-function: ease-in-out;
  transition-duration: 0.2s;
}

#headerLogo:hover p {
  font-size: 2rem;
  margin-left: 0;
  opacity: 1;
}

/*************************************************************************************************************/
/* HOME */
/*********************/

#home {
  padding: 150px 0 140px 0;
  min-height: 200px;
}

#profilepic {
  max-width: 100%;
  max-height: 500px;
}

#profileShortDesc {
  color: white;
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 400;
  line-height: 1.5;
  font-size: 2.5rem;
  position: absolute;
  margin: -400px 0 0 -200px;
}

/* FOR MAKING THE TYPEWRITER EFFECT*/
mark {
  background-color: var(--accent-colour);
}

mark a {
  pointer-events: none;
  font-size: 4.5rem;
  font-weight: 700;
  text-decoration: none;
  color: white;
}

.special-highlight {
  background-color: var(--bg-colour-white);
}

/*************************************************************************************************************/
/* PROJECTS */
/*********************/

.project-card {
  width: 100%;
}

.project-card img {
  height: auto;
  width: 100%;
}

.project-card-wrapper {
  margin-bottom: 75px;
}

#projects .section-title {
  margin-bottom: 100px;
}

.project-number {
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 700;
  line-height: 1.5;
  font-size: 7rem;
  position: absolute;
  margin-top: -75px;
  z-index: 2;
  text-align: center;
  width: inherit;
  margin-left: auto;
  margin-right: auto;
}

#projects .mdl-cell--3-col {
  margin-left: auto;
  margin-right: auto;
  transition-timing-function: ease-in-out;
  transition-duration: 0.2s;
}

#projects .mdl-cell--3-col:hover {
  margin-top: -20px;
  margin-bottom: 103px;
}

#projects .mdl-cell--3-col:hover .overlay {
  opacity: 0.75;
}

.overlay {
  opacity: 0;
  width: 100%;
  height: 100%;
  position: absolute;
  z-index: 2;
  background-color: white;
  transition-timing-function: ease-in-out;
  transition-duration: 0.15s;
}

.project-details {
  opacity: 0;
  color: var(--black-text);
  position: absolute;
  z-index: 6;
  text-align: center;
  width: 100%;
  margin-top: 60%;
  transition-timing-function: ease-in-out;
  transition-duration: 0.15s;
}

#projects .mdl-cell--3-col:hover .project-details {
  margin-top: 50%;
  opacity: 1;
}

.project-card h3 {
  font-family: 'IBM Plex Serif', serif;
  font-weight: 700;
  font-size: 3rem;
}

.project-card p {
  width: calc(100% - 50px);
  margin: auto;
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 400;
  font-size: 2rem;
  line-height: 1.2;
}

.project-card p em {
  font-size: 1.7rem;
}

/*************************************************************************************************************/
/* ABOUT ME */
/*********************/

#about {
  padding-bottom: 100px;
}

#about h3 {
  margin-top: 50px;
}

#about p,
li {
  opacity: 0.7;
}

#about p+h4 {
  margin-top: 50px;
}

#about h4 {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 2.25rem;
  font-style: italic;
  margin: 0;
}

#more-info {
  margin-right: 24px;
}

/*************************************************************************************************************/
/* CONTACT ME */
/*********************/

#contact {
  padding-bottom: 100px;
}

#contact button {
  float: right;
  margin-top: 0;
  background-color: var(--bg-colour-black);
  color: var(--white-text);
}

#contact .mdl-card {
  width: 100%;
  padding: 15px 30px;
}

#contact .mdl-textfield {
  width: 100%;
  font-family: 'IBM Plex Sans', sans-serif;
}

#formLegal {
  opacity: 0.5;
  font-size: 0.8rem;
  line-height: 1.2rem;
}

#messageicon {
  vertical-align: inherit !important;
  margin-top: -2px;
}

#form-messages-chip {
  display: none;
  margin-bottom: 25px;
}

/* SOCIAL NETWORKS */

.social-wrapper {
  text-decoration: none;
  width: 100%;
  color: var(--black-text);
  font-family: 'IBM Plex Mono', serif;
  margin-top: 50px;

  transition: all 0.2s ease-in-out 0s;
}

.social-wrapper p {
  margin-top: 4px;
  width: 100%;
  font-family: 'IBM Plex Mono', monospace;
  text-transform: lowercase;
  font-size: 1rem;

  transition: all 0.2s ease-in-out 0s;
}

.social-wrapper img {
  text-align: center;
  border-radius: 2px;
  color: var(--bg-colour-white);
  font-size: 2rem;
  width: 30px;
  height: 30px;
  background-color: var(--bg-colour-black);
  padding: 15px;

  transition: all 0.2s ease-in-out 0s;
}

.social-wrapper:hover img {
  background-color: var(--accent-colour);
}

.social-wrapper:hover p {
  color: var(--accent-colour);
}

.social-wrapper:active img {
  background-color: var(--white-text);
}

/*************************************************************************************************************/
/* FOOTER */
/*********************/
.mdl-mini-footer {
  font-family: 'IBM Plex Mono', monospace;
  height: 50px;
  padding: 8px 16px;
}

.mdl-mini-footer span {
  font-size: 0.7rem;
}

/*************************************************************************************************************/
/* MEDIA QUERIES */
/*********************/

@media only screen and (max-width: 839px) {
  /* For mobile phones: */

  /*GENERAL*/
  .project-number {
    margin-left: -10px;
  }

  .mdl-cell h2 {
    width: 100%;
    font-size: 3rem;
    text-align: center;
  }

  .section-title {
    margin-bottom: 25px;
  }

  /*HOME*/
  #profileShortDesc {
    font-size: 1.5rem;
    margin: -104px -5px;
  }

  #profilepic {
    padding-left: 15px;
    width: calc(100% - 15px);
  }

  #home {
    padding-top: 56px;
    padding-bottom: 168px;
  }

  /*HEADER*/
  header .mdl-navigation {
    display: none;
  }

  #headerLogo {
    width: 100%;
    text-align: center;
  }

  #headerLogo p {
    display: none;
  }

  #headerLogo img {
    margin: 0;
  }

  .mdl-layout__header-row {
    padding: 0;
    margin: 0;
  }

  /*NAVBAR*/
  .mdl-layout__drawer-button {
    display: inherit;
  }

  .mdl-layout__drawer-button:active {
    opacity: 0.5;
  }
}