:root {
  --primary-background: #212030;
  --primary-text: #e7e7e7;
  --accent-text: #8178ff;
  --secondary-text: #e7e7e7;
}

html {
  height: 100%;
  width: 100%;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

body {
  font-family: "Josefin Sans", sans-serif;
  color: var(--primary-text);
  height: 100%;
  width: 100%;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  background-color: var(--primary-background);
  box-sizing: border-box;
  border-bottom: none;
  font-weight: 300px;
}
p {
  font-size: 20px;
  line-height: 1.2;
  font-weight: 300;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 80px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--primary-background);

  z-index: 10;
}

header nav {
  padding-left: 75px;
  padding-right: 75px;
}

nav {
  position: relative;
}

header ul {
  display: flex;
  column-gap: 50px;
  list-style: none;
}

header img {
  height: 80px;
  padding-left: 50px;
}

header ul a {
  text-decoration: none;
  color: var(--primary-text);
}

header ul li {
  font-size: 20px;
}

/* .resume {
  border: solid 2px var(--accent-text);
  border-radius: 3px;
  padding: 10px 14px;
} */

.hamburger,
.close {
  position: absolute;
  right: 10px;
  font-size: 35px;
  color: var(--accent-text);
  top: 50%;
  transform: translateY(-50%);
  z-index: 100;
  padding: 10px;
  cursor: pointer;
}

.close:hover {
  color: var(--accent-text);
}

.hamburger-dropdown {
  position: absolute;
  display: flex;
  flex-direction: column;
  right: 0;
  top: -35px;
  background-color: #33314a;
  padding: 50px;
}

.hide {
  display: none;
}

.hamburger-dropdown li {
  margin-bottom: 15px;
}

.hamburger-dropdown li a {
  padding: 10px 14px;
}

/* .resume-dropdown {
  border: var(--accent-text) 2px solid;
  padding: 10px 14px;
} */

@media (max-width: 700px) {
  .horizontal-nav {
    display: none;
  }
  header img {
    padding-left: 10px;
  }
}

@media (min-width: 701px) {
  .hamburger-dropdown {
    display: none;
  }

  .horizontal-nav {
    display: flex;
  }

  .hamburger {
    display: none;
  }
}

/* @media (max-width: 650px) {
  header nav {
    padding: 0;
  }
  header img {
    padding: 0;
    height: 70px;
  }
  header ul {
    column-gap: 10px;
    font-size: 14px;
  }
} */

#hero {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  flex-direction: column;
  width: 100%;
  height: 100%;
  background-size: cover;
  overflow: hidden;
}

.hero-intro {
  max-width: 550px;
  padding: 25px 50px;
}

.hero-intro-big {
  font-weight: 200;
  line-height: 1.2;
  margin: 0;
  color: var(--secondary-text);
  font-size: 80px;
  position: relative;
}

.hero-intro-small {
  font-size: 24px;
  color: var(--accent-text);
  font-weight: 400;
  margin-bottom: 100px;
}

#about {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-bottom: 100px;
  padding-top: 100px;
  position: relative;
}

h1 {
  color: var(--accent-text);
  font-size: 48px;
  margin: 0px auto;
  margin-bottom: 50px;
  font-weight: 300;
}

.text-container {
  max-width: 675px;
  margin-bottom: 40px;
  padding: 0 50px;
}

.text-container p {
  text-align: left;
  margin-top: 0;
}

.profile-pic-container img {
  border-radius: 50%;
  max-width: 250px;
}

.skills-container {
  margin-top: 50px;
}

.skills-container .row {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  column-gap: 40px;
  margin-bottom: 10px;
}

.skills-container span {
  background-color: transparent;
  border: solid 3px #33314a;
  color: #e7e7e7;
  padding: 8px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-weight: 300;
}

@media (max-width: 500px) {
  .skills-container .row {
    column-gap: 10px;
  }
  .skills-container span {
    padding: 4px 8px;
  }
}

@media (max-width: 400px) {
  .skills-container span {
    padding: 2px 4px;
  }
  .skills-container .row {
    column-gap: 5px;
  }
}

.line {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50%;
}
/* 
.line::after,
.line::before {
  content: "";
  flex-grow: 1;
  background: rgb(147, 147, 216);
  background-color: var(--accent-text);
  height: 0.5px;
  margin: 0 20px;
} */

/* .line::after {
  content: "";
  flex-grow: 1;
  background: rgb(147, 147, 216);
  background-color: var(--primary-text);
  height: 0.5px;
  margin: 0 20px;
} */

#projects {
  padding-top: 100px;
}

.project-container {
  margin: 0 auto;
}

.screenshots {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  width: 100%;
}

.screenshots .desktop {
  transform: translateX(-5%);
  width: 60%;
  z-index: 1;
}

.screenshots .mobile {
  position: absolute;
  left: 70%;
  width: 16%;
  z-index: 2;
}

.project-description-container {
  transform: translateX(24%);
  width: 69%;
  margin-top: 15px;
}

.desktop,
.mobile {
  box-shadow: 0 5px 10px 0 rgba(0, 0, 0, 0.75);
  border-radius: 2px;
}

.title-and-links-container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  margin: 30px 0;
}

.title-and-links-container h2 {
  font-size: 24px;
  margin: 0;
  padding: 0;
}

.github-site-links-container {
  display: flex;
  flex-direction: row;
  column-gap: 15px;
  /* margin-bottom: 30px; */
}

.title-and-links-container a {
  color: var(--accent-text);
  color: #212030;
  /* border: 2px solid var(--accent-text); */
  font-size: 18px;
  background-color: transparent;
  background-color: var(--accent-text);
  border-radius: 3px;
  padding: 9px 11px 6px;
  text-decoration: none;
}

.tools {
  display: flex;
  flex-direction: row;
  column-gap: 10px;
  font-size: 12px;
}

.tools span {
  background-color: #33324b;
  border: none;
  color: #9c9c9c;
  border-radius: 2px;
  padding: 7px 8px 5px 8px;
  margin-bottom: 10px;
}

@media (max-width: 820px) {
  .title-and-links-container {
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    margin-bottom: 25px;
  }

  .title-and-links-container h2 {
    margin-bottom: 15px;
  }

  .tools {
    flex-wrap: wrap;
  }
}

/* CONTACT */
#contact {
  margin-top: 100px;
  position: relative;
  padding: 40px;
  text-align: center;
  margin-bottom: 75px;
}

.social-icons i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #e7e7e7;
  font-size: 20px;
  padding: 3px;
  width: 40px;
  height: 40px;
  border: 2px solid #e7e7e7;
  border-radius: 50%;
  margin: 0 10px;
}

.footer-logo {
  opacity: 70%;
  width: 120px;
  margin-bottom: 10px;
}
@media (max-width: 500px) {
  .social-icons i {
    font-size: 16px;
    width: 20px;
    height: 20px;
    margin: 0 5px;
  }
  h1 {
    font-size: 30px;
  }
  .footer-logo {
    width: 75px;
  }
}

footer {
  height: 100px;
  margin-bottom: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9c9c9c;
  text-align: center;
}

@media (max-width: 600px) {
  .hero-intro-big {
    font-size: 45px;
  }
  .hero-intro-small {
    font-size: 18px;
  }
  .scroll {
    height: 40px;
    width: auto;
  }
}
