:root {
  --primary-color: white;
  --secondary-color: #7f73ff;
  --tertiary-color: #68d1db;
  --primary-font: "Lexend", sans-serif;
  --secondary-font: "Audiowide", cursive;
  --tertiary-font: "Bungee", cursive;
}

html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  background-color: black;
}

.index {
  background-image: url("/images/underwater.png");
  background-repeat: no-repeat;
  background-size: 30%;
  background-position: bottom left;
}

.page-container {
  max-width: 1200px;
  margin: 0 auto;
  min-height: 100%;
  position: relative;
}

/* Navbar */

.navbar-nav {
  margin-top: 20px;
  margin-left: 40px;
}

.nav-link {
  color: var(--primary-color) !important;
  font-size: 16px;
  margin: 0 3px;
  padding: 3px;
  transition: all 300ms ease-in-out;
}

.nav-link:hover {
  background-color: var(--secondary-color);
}

.current {
  border-top: 1px solid var(--primary-color);
  border-bottom: 1px solid var(--primary-color);
}

/* CONSTANTS */

/* Section headers */

.section-header {
  font-weight: 800;
  font-size: 55px;
  margin-left: 15%;
  margin-bottom: 70px;
  color: transparent;
  -webkit-text-stroke: 0.5px var(--primary-color);
}

/* Buttons */

.buttons {
  /* NEED TO SET display: flex on parent element*/
  height: 35px;
  width: 100px;
  font-size: 16px;
  padding-top: 4px;
  text-decoration: none;
  border-radius: 45px;
  transition: all 0.3s ease;
}

.buttons:hover,
.contact-button:hover {
  cursor: pointer;
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
  color: var(--primary-color);
  transform: scale(1.1); /* NEED TO SET display: flex on parent element*/
  box-shadow: 2px 2px 10px var(--secondary-color),
    -2px -2px 10px var(--secondary-color);
}

.plain-button {
  border: 1px solid white;
  color: var(--tertiary-color);
}

.action-button {
  background-color: var(--secondary-color);
  border: 1px solid var(--secondary-color);
  border-radius: 45px;
  color: white;
}

/* Hero page */

.homepage {
  height: 700px;
}

.hero {
  position: absolute;
  top: 160px;
  left: 60%;
  margin-left: -550px;
  text-align: center;
}

.hero-heading {
  color: #818088;
  font-family: var(--tertiary-font);
  font-size: 38px;
  line-height: 140%;
}

.hero-h1 {
  color: var(--primary-color);
  font-size: 75px;
}

.hero h3 {
  color: var(--secondary-color);
  font-size: 20px;
  font-family: var(--secondary-font);
  letter-spacing: 3px;
}

.hero-links {
  display: flex;
  justify-content: center;
}

.hero-links .buttons {
  margin: 25px 10px;
}

/* Projects Page */

.projects-page {
  margin-top: 70px;
  margin-bottom: 200px;
}

.vertical-line {
  border-left: 1px dashed var(--primary-color);
  height: 700px;
  width: 1px;
  position: absolute;
  margin-top: 65px;
  margin-left: -65px;
}

.project-container {
  width: 800px;
  height: 320px;
  border: 1px solid var(--primary-color);
  border-radius: 90px;
  margin: 50px auto;
}

.project-image {
  background-color: var(--secondary-color);
  border: 1px solid var(--secondary-color);
  border-radius: 90px;
  height: 320px;
  margin: -1px -1px;
  box-shadow: -2px -2px 10px black, 2px 2px 10px black;
}

.project-image img {
  max-width: 250px;
  display: block;
  margin: auto;
  margin-top: 14%;
  border-radius: 20px;
  box-shadow: rgba(0, 0, 0, 0.2) 0px 1px 4px, rgba(0, 0, 0, 0.25) 0px 54px 55px,
    rgba(0, 0, 0, 0.12) 0px -12px 30px, rgba(0, 0, 0, 0.12) 0px 4px 6px,
    rgba(0, 0, 0, 0.17) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px;
}

.project-info {
  max-width: 375px;
  margin-left: 25px;
}

.project-info h2 {
  text-align: center;
  font-size: 35px;
  font-weight: 900;
  color: var(--primary-color);
  margin-top: 35px;
}

.coming-soon {
  padding-top: 100px;
}

.coming-soon-img {
  filter: blur(3px);
}

.project-info h3 {
  text-align: center;
  font-family: var(--secondary-font);
  color: var(--secondary-color);
  font-size: 25px;
}

.project-info p {
  color: var(--primary-color);
  font-size: 14px;
  line-height: 15px;
  padding-left: 20px;
}

.project-links {
  display: flex;
  justify-content: center;
}

.projects-nav {
  text-align: center;
  margin: 10px;
}

/* Footer */

.footer {
  position: absolute;
  width: 100%;
  bottom: 0;
  height: 100px;
  text-align: center;
}

.footer p {
  color: var(--primary-color);
  opacity: 70%;
  font-size: 12px;
}

i {
  font-size: 30px;
  margin: 20px;
  color: var(--primary-color);
  transition: all 0.3s ease;
}

i:hover {
  transform: scale(1.2);
  text-shadow: 2px 2px 1px white, -2px -2px 1px white, 2px -2px 1px white,
    -2px 2px 1px white;
}

/* Homepage images */

.hero-picture img {
  position: absolute;
  width: 55%;
  left: 45%;
  z-index: -1;
}

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

.about-me {
  margin-top: 10px;
  height: 500px;
}

#about-me {
  margin: 150px auto 50px auto;
  padding-left: 50px;
}

#about-me h1 {
  font-family: var(--tertiary-font);
  color: var(--primary-color);
  font-size: 55px;
}

#about-me p {
  color: var(--primary-color);
}

#about-me p a {
  text-decoration: none;
  color: var(--secondary-color);
}

.about-me-button {
  display: flex;
  text-align: center;
}

#about-me a {
  margin-top: 10px;
}

.portrait {
  text-align: center;
}

.about-me img {
  position: relative;
  top: 125px;
  border-radius: 50%;
  background-color: #c0bbed;
  outline: 3px solid var(--secondary-color);

  width: 85%;
}

.techonology {
  margin-top: 20px;
  padding-left: 50px;
  margin-bottom: 40px;
}

.techonology h2 {
  font-family: var(--secondary-font);
  color: var(--secondary-color);
}

.toolbox {
  margin-top: 30px;
  margin-bottom: 100px;
  padding: 5px 0px;
  max-width: 600px;
  text-align: center;
}

.tools {
  margin: 10px;
}

.tools .col img {
  width: 50px;
  margin: 5px;
}

figcaption {
  color: var(--primary-color);
  font-size: 12px;
}

.work-inquiry-container {
  padding-bottom: 100px;
}

.work-inquiry {
  display: flex;
  background-color: var(--secondary-color);
  padding: 30px 30px;
  border-radius: 5px;
  margin: 0 auto 50px auto;
  width: 1000px;
}

.work-col h2 {
  color: black;
  font-size: 40px;
  font-family: var(--secondary-font);
  margin-top: 25px;
}

.work-col p {
  color: var(--primary-color);
  font-size: 20px;
}

.lets-talk {
  display: flex;
  text-align: center;
  padding: 40px 8px 40px 30px;
}

.lets-talk a {
  background-color: black;
  padding: 20px 35px;
  border-radius: 5px;
  font-size: 20px;
  color: var(--primary-color);
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}

.lets-talk a:hover {
  cursor: pointer;
  background-color: black;
  border-color: var(--secondary-color);
  color: var(--primary-color);
  transform: scale(1.1); /* NEED TO SET display: flex on parent element*/
  box-shadow: 4px 4px 20px var(--tertiary-color),
    -4px -4px 20px var(--tertiary-color);
}

/* CONTACT ME */

#contact-me {
  background-image: url("/images/jelly.png");
  background-size: 70%;
  background-repeat: no-repeat;
  background-position: top right;
  color: var(--primary-color);
  margin: 0;
}

.container-contact-me {
  padding-left: 50px;
}

.contact {
  margin-top: 50px;
}

.contact-me-page h1 {
  font-size: 55px;
  font-family: var(--tertiary-font);
  margin: 0 auto 20px auto;
  padding-top: 160px;
}

.contact-me-page p {
  max-width: 270px;
}

.email-me {
  font-size: 40px;
  font-family: var(--secondary-font);
  color: var(--secondary-color);
  margin-bottom: 0;
}
.my-email {
  font-size: 30px;
  color: var(--primary-color);
  font-family: var(--primary-font);
}

.hr-contact-page {
  margin: 0 0 10px 0;
  width: 670px;
  border: 1px dashed black;
}

.contact-methods {
  font-family: var(--secondary-font);
  color: var(--secondary-color);
  text-decoration: none;
}

.contact-button {
  background: var(--secondary-color);
  padding: 20px 30px;
  border-radius: 45px;
  margin-top: 50px;
  color: var(--primary-color);
  font-size: 18px;
}

hr {
  border-top: 1px dashed white;
  width: 50%;
  margin: 25px auto;
}

.contact-nav {
  padding-bottom: 100px;
  margin-bottom: 100px;
}

/* RESPONSIVE */

@media (max-width: 1000px) {
  .navbar-nav {
    margin: 0;
    width: 120px;
    background-color: #7f73ff !important;
  }

  .index {
    background-image: none;
  }

  .page-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    min-height: 100%;
  }

  .hero-picture {
    margin-top: -30px;
  }

  .homepage {
    margin: 20px 10px 0 5px;
    height: 210px;
    padding-top: 60px;
  }

  .hero {
    margin: 50px auto;

    position: static;
  }

  .hero-heading {
    font-size: 25px;
  }

  .hero-h1 {
    font-size: 35px;
  }

  .hero h3 {
    font-size: 14px;
  }

  #hero-project-nav {
    display: none;
  }

  .projects-page {
    margin-top: 50px;
    margin-bottom: 30px;
    padding-top: 160px;
  }

  .project-container {
    max-height: 300px;
    max-width: 300px;
    top: 0;
    margin: 10px auto;
    text-align: center;
  }

  .section-header {
    font-size: 30px;
    margin: 20px;
    text-align: center;
  }

  .project-image {
    display: none;
  }

  .project-info {
    margin: 0px auto;
  }

  .project-info h2 {
    font-size: 20px;
  }

  .project-info h3 {
    font-size: 16px;
  }

  .project-info p {
    padding: 0 4px;
  }

  .vertical-line {
    height: 400px;
  }

  .about-me {
    margin: 0 30px;
    text-align: center;
    display: block;
    min-width: 250px;
  }

  .col-about-me {
    margin: 0 auto;
  }

  #about-me {
    padding-left: 0;
  }

  .about-me-button {
    display: none;
  }

  .portrait {
    display: none;
  }

  .techonology {
    padding-top: 70px;
    padding-left: 0;
    text-align: center;
  }

  .toolbox {
    margin: 0 40px;
  }

  hr {
    display: none;
  }

  .container-contact-me {
    padding: 0;
    margin: 0 30px;
  }

  .email-me {
    font-size: 30px;
  }

  .my-email {
    font-size: 20px;
  }

  .work-inquiry {
    width: 300px;
    flex-wrap: wrap;
  }

  .work-col h2 {
    font-size: 25px;
    margin: 10px 0 10px 30px;
  }

  .work-col p {
    display: none;
  }

  .lets-talk {
    padding: 0;
    margin: 0 auto;
  }

  .lets-talk a {
    padding: 5px 20px;
  }

  .footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    margin-top: 10px;
    margin-bottom: 15px;
    padding: 0 10px;
    height: 100px;
  }
}
