:root {
  --green: rgb(123, 255, 0);
  --font: "Press Start 2P", cursive;
  font-family: var(--font);
  font-size: 16px;
  color: var(--green);
  scroll-behavior: smooth;
}
body {
  display: flex;
  flex-direction: column;
  gap: 30px;
  background-color: #0f1819;
  line-height: 25px;
  max-width: 1000px;
  padding: 30px;
  margin: 0 auto;
}

/* NAV */
nav {
  display: flex;
  justify-content: space-between;
}
.logo-container img {
  max-width: 100px;
}
.collapsible-menu-container {
  text-align: right;
  position: relative;
}
.collapsible-menu-trigger {
  background: none;
  border: none;
  box-shadow: none;
  color: var(--green);
  font-size: 40px;
  font-family: var(--font);
  transition: 0.5s;
}
.collapsible-menu-trigger:hover {
  color: white;
  transition: 0.5s;
  cursor: pointer;
}
.collapsible-menu-content {
  list-style: none;
  position: absolute;
  bottom: -70px;
  right: 0;
  width: max-content;
}
.collapsible-menu-content a {
  text-decoration: none;
  color: var(--green);
  transition: 0.5s;
}
.collapsible-menu-content a:hover {
  color: white;
  transition: 0.5s;
}

/* HELLO WORLD LANDING */
.landing-container {
  height: 80vh;
  min-height: 500px;
  display: flex;
  background-image: url(images/computer-screen.png);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: contain;
  align-items: center;
  flex-direction: column;
  justify-content: space-around;
  position: relative;
}
#hello {
  color: var(--green);
  border-right: 0.15em solid var(--green); /* The typewriter cursor */
  white-space: nowrap; /* Keeps the content on a single line */
  animation: blink-caret 0.4s step-end infinite;
  width: 280px;
  text-align: center;
  position: absolute;
  top: 20%;
}
@keyframes blink-caret {
  from,
  to {
    border-color: transparent;
  }
  50% {
    border-color: var(--green);
  }
}

/* GENERAL */
p {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 18px;
}
.hidden {
  display: none;
}
.main-container {
  display: flex;
  border-radius: 10px;
  border: 3px solid var(--green);
  padding: 30px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  box-shadow: 10px 10px white;
}
a {
  text-decoration: none;
  cursor: pointer;
  display: block;
}

/* BUTTONS */
.button,
.project button {
  border: none;
  margin: 10px;
  padding: 10px;
  background-color: var(--green);
  color: black;
  border-radius: 10px;
  font-size: 16px;
  font-family: var(--font);
  transition: 0.5s;
  align-items: center;
  box-shadow: 0 4px white;
}
.button:hover,
.project button:hover {
  background-color: rgb(93, 131, 57);
  cursor: pointer;
  transition: 0.5s;
}
.button:active,
.project button:active {
  background-color: var(--green);
  transition: 0.5s;
  transform: translateY(4px);
  box-shadow: unset;
}

/* NEXT SECTION ARROWS */
.next-btn {
  display: inline-block;
  vertical-align: middle;
  transform: perspective(1px) translateZ(0);
  transition-duration: 0.5s;
  transition-property: transform;
  transition-timing-function: ease-out;
  color: var(--green);
  margin-top: 20px;
}
.next-btn .fa-chevron-down,
.next-btn .fa-chevron-up {
  font-size: 40px;
  transition: 0.5s;
}
.next-btn .fa-chevron-down:hover,
.next-btn .fa-chevron-up:hover {
  color: white;
  transition: 0.5s;
}
.next-btn:hover,
.next-btn:focus,
.next-btn:active {
  transform: translateY(8px);
}

/* ABOUT ME */
.about-me {
  padding-top: 10px;
}

/* SKILLS SECTION */
.skills button {
  max-width: fit-content;
}

/* RECENT PROJECTS */
.project {
  display: flex;
  justify-content: space-evenly;
}
.project .col {
  height: 325px;
  justify-content: space-between;
  transition: 0.5s;
  text-align: center;
}
.project .col:hover {
  transform: scale(110%);
  transition: 0.5s;
}

/* ADD ME */
.add-me .main-container {
  justify-content: space-evenly;
}
@media (max-width: 767px) {
  .project {
    gap: 20px;
  }
}
@media (max-width: 1080px) {
  body {
    gap: 50px;
  }
  .landing-container {
    margin-top: 20px;
  }
  #hello {
    font-size: 18px;
    width: 200px;
    top: 26%;
  }
  .mobile-hide-next-btn {
    display: none;
  }
}
