:root {
  --color-dark: rgb(20, 20, 20);
  --color-1: #ffffff;
  --color-2: #7fa99b;
  --color-3: #fdc57b;
  --color-underline: #fbf2d5;
  --accent-font: "Major Mono Display", monospace;
}

body {
  background-color: var(--color-1);
  margin: 0;
  height: 1060px; /* Set body height to full viewport height */
  display: flex;
  flex-direction: column;
}

h1 {
  font-size: 60px;
  font-family: var(--accent-font);
  color: var(--color-dark);
}

footer {
  color: var(--color-dark);
}

a {
  text-decoration: none;
  color: var(--color-dark);
}

.np-logo {
  transition: all 0.1s ease-in-out;
}

.np-logo:hover {
  width: 40px;
}

.nav-body {
  background-color: var(--color-1);
}

.nav-link:hover {
  color: var(--color-dark);
  text-decoration: underline;
  text-decoration-thickness: 3px;
  text-decoration-color: var(--color-dark);
  text-underline-offset: 5px;
}

.navbar-toggler {
  border: none;
}

.footer-main {
  background-color: var(--color-1);
}

.frontend h4,
.architecture h4 {
  font-family: var(--accent-font);
  font-weight: bold;
}

.container-fluid {
  flex: 1; /* Allow the container to grow and take remaining height */
}

.row {
  display: flex;
  flex-wrap: wrap;
}

.header {
  padding: 120px 0px 60px;
}

.frontend {
  display: flex;
  flex-direction: column;
  justify-content: center; /* Vertically center the content */
  align-items: center; /* Horizontally center the content */
  height: 500px;
  width: 50%;
  background-color: var(--color-2);
}

.architecture {
  display: flex;
  flex-direction: column;
  justify-content: center; /* Vertically center the content */
  align-items: center; /* Horizontally center the content */
  height: 500px;
  width: 50%;
  background-color: var(--color-3);
}

.frontend-link-hover {
  transition: all 1s ease;
  background-image: linear-gradient(
      rgba(127, 169, 155, 0.7),
      rgba(127, 169, 155, 0.7)
    ),
    url(/images/frontend.jpg);
  background-size: cover;
  background-position: bottom;
  text-decoration: underline;
  text-decoration-thickness: 3px;
  text-underline-offset: 5px;
}

.architecture-link-hover {
  transition: all 1s ease;
  background-image: linear-gradient(
      rgba(253, 197, 123, 0.7),
      rgba(253, 197, 123, 0.7)
    ),
    url(/images/arch.jpg);

  background-size: cover;
  background-position: bottom;
  text-decoration: underline;
  text-decoration-thickness: 3px;
  text-underline-offset: 5px;
}

.intro-text {
  text-align: center;
  font-size: 16px;
  margin: 10px auto;
  max-width: 800px;
}

.active {
  text-decoration: underline;
  text-decoration-thickness: 3px;
  text-decoration-color: var(--color-dark);
  text-underline-offset: 5px;
}

.np-logo {
  opacity: 0.9;
}

.project-link {
  color: var(--color-dark);
  text-decoration: none;
  padding: 0 5px;
}

.project-link:hover {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-decoration-color: var(--color-dark);
}

.social-icons {
  font-size: 14px;
}

.xs-text {
  font-size: 12px;
}

.white-text {
  color: white;
}

#page-top::before {
  content: "";
  display: block;
  height: 150px;
  margin-top: -150px;
  visibility: hidden;
}

@media (max-width: 912px) {
  .text-end {
    margin-top: -36px;
  }

  .header {
    margin-top: 0px;
    margin-bottom: 0px;
  }

  .intro-text {
    width: 80%;
    font-size: 12px;
  }

  .name {
    font-size: 72px;
  }

  .surname {
    display: block;
    font-size: 26px;
    font-weight: bold;
  }

  .frontend,
  .architecture {
    text-align: center;
    height: 200px;
  }

  .frontend h4,
  .architecture h4 {
    font-size: 14px;
  }
}
