@import url("https://fonts.googleapis.com/css?family=Roboto:300");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  body {
    background-color: #f6f9fc;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    font-feature-settings: "pnum";
    font-variant-numeric: proportional-nums;
    line-height: 1;
  }
}

a {
  text-decoration: none;
  list-style: none;
}

.page-wrap {
  max-width: 1000px;
  margin: 0 auto;
  /* padding: 0 40px; */
}

.hero-text,
.hero-btn {
  animation: fadeInUp 0.9s ease-in;
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(10%);
  }

  100% {
    opacity: 1;
    transform: translateY(0%);
  }
}

@keyframes caret {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}

.navbar-wrap {
  display: flex;
  justify-content: flex-end;
  margin: 0 auto;
}

.navbar {
  display: flex;
  justify-content: space-around;
  width: 286px;
  font-family: Camphor, Open Sans, Segoe UI, sans-serif;
  font-size: 1.2em;
  margin-top: 40px;
}

.navbar a {
  position: relative;
  color: #5a5d7a;
}

.navbar a::after {
  display: block;
  position: absolute;
  left: 0;
  bottom: -30px;
  width: 0;
  height: 8px;
  background-color: #747fe0;
  content: "";
  transition: width 0.15s;
}

.hero-container {
  margin: 0 auto;
  margin-top: 20vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.hero-title {
  font-family: Monaco, Consolas, Lucida Console, monospace;
  font-size: 4.5em;
  color: #747fe0;
}

.hero-title::before {
  content: ">\A0";
}

.hero-title span {
  /* width: 8px; */
  background-color: rgba(116, 127, 224, 0.65);
  animation: caret 1s steps(1) infinite;
}

.hero-container .hero-description {
  font-family: Camphor, Open Sans, Segoe UI, sans-serif;
  font-weight: 200;
  font-size: 1.3em;
  line-height: 40px;
  color: #525f7f;
  margin: 80px 0;
}

.about-container {
  margin: 0 auto;
}

.terminal-header {
  height: 28px;
  background-color: #e4e3e5;
  border-radius: 10px 10px 0 0;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.header-button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin-left: 9px;
}

.terminal-header .red {
  background-color: #f96256;
  border: 1px solid #f65549;
}

.terminal-header .yellow {
  background-color: #fdbc3d;
  border: 1px solid #ffb524;
}

.terminal-header .green {
  background-color: #33c948;
  border: 1px solid #2dbb41;
}

.terminal-window {
  background-color: #5a5d7a;
  border-radius: 0 0 4px 4px;
  box-shadow: 0 50px 100px rgba(50, 50, 93, 0.15),
    0 15px 35px rgba(50, 50, 93, 0.2), 0 5px 15px rgba(0, 0, 0, 0.12);
  font-family: Monaco, Consolas, Lucida Console, monospace;
}

.terminal-window a {
  color: #35feff;
}

.statement:first-child {
  padding-top: 35px;
}

.statement {
  margin-bottom: 25px;
  margin-left: 35px;
  margin-right: 35px;
  line-height: 24px;
}

.input-statement::before {
  content: "> ";
}

.input-statement {
  color: #f7f7f7;
}

.return-statement {
  color: #e7d184;
}

.statement:last-child {
  padding-bottom: 60px;
}

.input-statement span {
  background: hsla(0, 0%, 97%, 0.65);
  animation: caret 1s steps(1) infinite;
}

.section-title {
  color: #525f7f;
  font-family: Camphor, Open Sans, Segoe UI, sans-serif;
  font-weight: 500;
  font-size: 1.5em;
  text-align: center;
  padding-top: 50px;
  margin-top: 50px;
  margin-bottom: 80px;
}

.section-title::after {
  content: " ";
  border: 4px solid #747fe0;
  display: block;
  margin: 0 auto;
  margin-top: 30px;
  width: 50px;
}

.projects-container {
  margin: 0 auto;
}

.projects-container > :nth-child(3) img {
  width: 90%;
}

.project-card {
  position: relative;
  flex-direction: row;
  justify-content: flex-end;
  margin-bottom: 60px;
  background-color: #fff;
  border-radius: 4px;
  box-shadow: 0 50px 100px rgba(50, 50, 93, 0.05),
    0 15px 35px rgba(50, 50, 93, 0.1), 0 5px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.project-content {
  display: flex;
  flex-direction: column;
  margin-bottom: 2.5rem;
}

.project-image-container {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #475569;
}

.project-image-container img {
  display: block;
  width: 75%;
  margin: 3rem 0;
  height: auto;
  max-width: 100%;
}

.project-content-container {
  padding: 1.25rem;
}

.project-content-container h3 {
  font-weight: 500;
  font-size: 1.8em;
  line-height: 38px;
  color: #525f7f;
  margin-top: 0;
  margin-bottom: 35px;
  text-align: center;
}

.project-content-container > p {
  line-height: 27px;
  color: #525f7f;
  /* font-size: 1.2rem; */
}

.project-content-container h3,
p {
  font-family: Camphor, Open Sans, Segoe UI, sans-serif;
}

.tech-span {
  font-family: Camphor, Open Sans, Segoe UI, sans-serif;
  font-size: 0.875rem;
  color: #525f7f;
  border-width: 2px;
  border-style: solid;
  border-radius: 6px;
  border: 2px solid rgb(186 230 253);
  padding: 0.5rem;
}

.project-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 2rem 0.3rem 2rem 0;
}

.project-links ul {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.project-links ul a {
  transition: transform 0.2s ease;
  box-shadow: 0 4px 6px rgba(50, 50, 93, 0.11), 0 1px 3px rgba(0, 0, 0, 0.08);
}

.project-links ul a:hover {
  /* transform: translateY(-1px); */
  transform: scale(1.05);
  box-shadow: 0 7px 14px rgba(50, 50, 93, 0.1), 0 3px 6px rgba(0, 0, 0, 0.08);
}

.project-link {
  font-family: Camphor, Open Sans, Segoe UI, sans-serif;
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 0.8rem;
  font-size: 0.875rem;
  color: #ffffff;
  border-radius: 0.375rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -2px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  background-color: #64748b;
}

.project-link p {
  margin-left: 0.5rem;
}

.contact-section-heading {
  color: #525f7f;
  font-family: Camphor, Open Sans, Segoe UI, sans-serif;
  font-weight: 500;
  font-size: 1.5em;
  text-align: center;
  padding-top: 50px;
  margin-top: 50px;
  margin-bottom: 80px;
}

.contact-section-heading::after {
  content: " ";
  border: 4px solid #747fe0;
  display: block;
  margin: 0 auto;
  margin-top: 30px;
  width: 50px;
}

.contact-links {
  font-family: Camphor, Open Sans, Segoe UI, sans-serif;
  font-size: 1.2em;
  text-align: center;
  margin-top: 150px;
  padding-bottom: 200px;
}

.contact-links span::after {
  content: "||";
  color: #525f7f;
  margin: 0 30px;
}

.contact-links span:nth-child(3)::after {
  content: "";
  margin: 0;
}

.contact-links a::after {
  display: block;
  position: absolute;
  left: 0;
  bottom: -30px;
  width: 0;
  height: 8px;
  background-color: #747fe0;
  content: "";
  transition: width 0.15s;

  .contact-links a::after {
    bottom: -15px;
  }
}

.contact-links a {
  position: relative;
  text-decoration: none;
  color: #5a5d7a;
}

/* a {
  color: #747fe0;
  transition: 0.1s ease-in-out;
} */

.footer {
  margin: 0 auto;
  font-size: 0.8em;
  line-height: 1.5em;
  font-family: Camphor, Open Sans, Segoe UI, sans-serif;
  text-align: center;
  padding-bottom: 50px;
  color: #525f7f;
}

/* MEDIA QUERIES */

@media (max-width: 767px) {
  .hero-title {
    font-size: 2.3rem;
  }
}
@media (max-width: 1280px) {
  .page-wrap {
    padding: 0 20px;
  }
  .navbar-wrap {
    justify-content: center;
  }

  .contact-links span {
    display: flex;
    justify-content: center;
    margin-top: 80px;
    padding-bottom: 80px;
  }

  .contact-links span {
    margin: 20px 0;
  }

  .contact-links span::after {
    content: "";
    margin: 0;
  }
}

@media (min-width: 1280px) {
  .project-card {
    display: flex;
  }
  .project-content {
    flex-direction: row;
  }
  .project-image-container {
    width: 50%;
  }
  .project-content-container {
    width: 50%;
  }
  .project-content-container h3 {
    text-align: left;
  }
}
