@font-face {
}

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

:root {
  /* Colors */
  --text: black;
  --bg: white;
  --primary: rgb(119, 205, 93);
  --secondary: #ce51c3;
  ----shadow1: rgba(159, 61, 151, 0.3);

  /* Fonts */
  --font-primary: "Poppins", sans-serif;
  --font-displayAlt: "Anton", sans-serif;
}

html {
  scroll-behavior: smooth;
}

/* Global */
body {
  margin: 0;
  font-family: var(--font-primary);
  font-size: 23px;
  --webkit-font-smoothing: antialiased;
}

h1 {
  font-size: 3rem;
  margin-bottom: -1.3rem;
  margin-left: -3rem;
}

h2 {
  font-size: 4rem;
}

h3 {
  font-size: 2rem;
  padding: 0rem 1rem;
  margin-right: 1rem;
}

h4 {
  font-size: 1rem;
}

section {
  padding: 3rem;
}

/* Navigation */
#navbar {
  position: absolute;
  width: 100%;
  height: 5rem;
  background: none;

  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-end;
}

#socialLinks {
  font-size: 2rem;
  bottom: 0;
  left: 1rem;
  position: fixed;
  z-index: 1000;
}

#socialLinks a {
  color: rgb(195, 195, 195);
}

#socialLinks a:hover i {
  transition: all 0.1s ease;
  transform: scale(0.92);
}

#navbar ul {
  list-style: none;
  display: flex;
  flex-direction: row;
}

#navbar li {
  padding: 0rem 1rem;
  font-size: 1rem;
}

#navbar a {
  color: var(--text);
  text-decoration: none;
  padding: 0.5rem;
  border-radius: 3px;
}

#navbarLinks a:hover {
  background-color: var(--primary);
  transition: background-color 0.5s ease, box-shadow 0.2s ease;
}

.resume a {
  border: solid 2px black;
  background-color: var(--primary);
}

.resume a:hover {
  box-shadow: var(----shadow1) 2.5px 2.5px 3.1px;
}

/* Hero Section */
#hero {
  width: 100%;
  height: 100dvh;
  display: flex;
  justify-content: center;
  align-items: center;
}

#hero .container {
  width: 80%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

#hero p {
  margin-left: 3rem;
}

#hero a {
  background-color: var(--bg);
  border: solid 2px black;
  border-radius: 3px;
  color: var(--text);
  text-decoration: none;
  padding: 0.5rem;
  margin-top: 0.5rem;
  display: inline-block;
  font-size: 1rem;
  margin-left: 3.3rem;
  margin-top: 1rem;
}

#hero a:hover {
  background-color: var(--primary);
  box-shadow: var(----shadow1) 2.5px 2.5px 3.1px;
  transition: background-color 0.5s ease, box-shadow 0.2s ease;
}

#hero img {
  position: absolute;
  right: 0;
  bottom: 0;
}

/* Projects Section */
#projects {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.projectsContainer {
  width: 80%;
  display: flex;
  flex-direction: row;
}

#projectsDisplay {
  width: 100%;
}

.project {
  border: solid 2px black;
  padding: 1rem;
  border-radius: 3px;
  margin-bottom: 1rem;
  position: relative;
}

.project h4 i {
  position: relative;
  bottom: 0.5rem;
  left: 0.3rem;
}

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

.project p {
  width: 100%;
  font-size: 1rem;
  color: var(--text);
}

.project ul {
  list-style: none;
  display: flex;
  width: 100%;
  font-size: 1rem;
}

.project li {
  border: solid 1px black;
  margin: 1rem 0.5rem 0rem 0rem;
  padding: 0.5rem 1rem;
  border-radius: 3px;
}

.projectLinks {
  position: absolute;
  right: 1rem;
  bottom: 0.5rem;
}

.project:hover .fa-arrow-up-right-from-square {
  transform: translate(0.1rem, -0.1rem);
  transition: transform 0.3s ease;
  will-change: transform;
}

.project:hover {
  background-color: var(--primary);
  box-shadow: var(----shadow1) 2.5px 2.5px 3.1px;
  transition: background-color 0.5s ease, box-shadow 0.5s ease !important;
}

.project:hover li {
  background-color: var(--bg);
}

.projectLinks i:hover {
  opacity: 0.1;
  transition: opacity 0.3s ease;
  cursor: pointer;
}

#projectInfoModal {
  border: solid 2px black;
  border-radius: 3px;
  background-color: white;
  width: 60%;
  max-height: 90%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  position: fixed;
  z-index: 1000;
}

.projectInfo {
  width: 100%;
  display: flex;
  flex-direction: column;
  padding: 1rem;
}

.projectInfo h5 {
  font-size: 1.5rem;
}

.projectInfo .projectInfoContainer {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: row;
}

.projectInfo .projectInfoBio {
  width: 50%;
}

.projectInfo p {
  font-size: 1rem;
  margin-right: 1rem;
}

.projectInfo img {
  width: 50%;
  height: 280px;
  border-radius: 3px;
  border: solid 1px black;
}

/* Skills Section */
#skills {
  width: 100%;
  color: white;
  background-color: black;
}

#skills .wrapper {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}

#skills i {
  margin: 1rem;

  -moz-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
  transition: transform 0.2s;
}

#skills i:hover {
  transform: translate(0, -3px);
}

#skills i:active {
  transform: translate(0, 1px);
}

#skills span {
  font-family: var(--font-displayAlt);
  margin-left: 0.5rem;
  font-weight: 300;
  letter-spacing: 2px;
}

/* About Section */
#about {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

#about .container {
  width: 80%;
  display: flex;
  flex-direction: row;
}

#about p {
  padding-left: 2rem;
}

/* Contact Section */
#contact {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  top: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(255, 255, 255, 0.75);
}

#contact .container {
  background-color: white;
  border: solid 2px black;
  border-radius: 3px;
  padding: 1rem;
  width: 33%;
  display: flex;
  justify-content: left;
  align-items: center;
}

#contact form {
  width: 100%;
  height: 100%;
}
#contact input {
  width: 100%;
  padding: 0.5rem;
  margin-bottom: 1rem;
  pointer-events: auto;
}

#contact textarea {
  width: 100%;
  max-width: 100%;
  resize: none;
  height: 10rem;
  padding: 0.5rem;
  pointer-events: auto;
}

#contact input:focus,
textarea:focus {
  background-color: var(--primary);
  outline-color: rgb(84, 84, 84);
  transition: background-color 0.3s ease;
}

#contact button {
  width: 100%;
  background-color: white;
  border: solid 2px black;
  border-radius: 3px;
  height: 3rem;
}

/* Footer */
#footer {
  text-align: center;
  background-color: var(--text);
  color: var(--bg);
  font-size: 1rem;
}

/* Animations */
.slide-in-left {
  -webkit-animation: slide-in-left 0.75s cubic-bezier(0.25, 0.46, 0.45, 0.94) 1s
    both;
  animation: slide-in-left 0.75s cubic-bezier(0.25, 0.46, 0.45, 0.94) 1s both;
}

@-webkit-keyframes slide-in-left {
  0% {
    -webkit-transform: translateX(-1000px);
    transform: translateX(-1000px);
    opacity: 0;
  }
  100% {
    -webkit-transform: translateX(0);
    transform: translateX(0);
    opacity: 1;
  }
}
@keyframes slide-in-left {
  0% {
    -webkit-transform: translateX(-1000px);
    transform: translateX(-1000px);
    opacity: 0;
  }
  100% {
    -webkit-transform: translateX(0);
    transform: translateX(0);
    opacity: 1;
  }
}

.fade-in-fwd {
  -webkit-animation: fade-in-fwd 0.5s cubic-bezier(0.39, 0.575, 0.565, 1) 0.75s
    both;
  animation: fade-in-fwd 0.5s cubic-bezier(0.39, 0.575, 0.565, 1) 0.75s both;
}
@-webkit-keyframes fade-in-fwd {
  0% {
    -webkit-transform: translateZ(-80px);
    transform: translateZ(-80px);
    opacity: 0;
  }
  100% {
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    opacity: 1;
  }
}
@keyframes fade-in-fwd {
  0% {
    -webkit-transform: translateZ(-80px);
    transform: translateZ(-80px);
    opacity: 0;
  }
  100% {
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    opacity: 1;
  }
}

.fade-in {
  -webkit-animation: fade-in 0.5s cubic-bezier(0.39, 0.575, 0.565, 1) both;
  animation: fade-in 0.5s cubic-bezier(0.39, 0.575, 0.565, 1) both;
}
@-webkit-keyframes fade-in {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@keyframes fade-in {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.fade-in-project {
  -webkit-animation: fade-in 0.25s cubic-bezier(0.39, 0.575, 0.565, 1) both;
  animation: fade-in 0.25s cubic-bezier(0.39, 0.575, 0.565, 1) both;
}
@-webkit-keyframes fade-in-project {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@keyframes fade-in-project {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

/* JavaScript Functions */
.scrollLock {
  overflow: hidden;
}

.displayNone {
  display: none !important;
}

/* Media Qs */

@media screen and (max-width: 1200px) {
  nav ul {
    width: 100%;
    align-items: center;
    justify-content: center;
  }

  .projectsContainer {
    flex-direction: column;
    width: 100%;
  }

  #about .container {
    flex-direction: column;
    width: 100%;
  }

  #aboutBio p {
    padding-left: 0;
  }

  h3 {
    margin-bottom: 1rem;
    padding-left: 0;
  }

  .projectInfoContainer {
    flex-direction: column !important;
  }

  .projectInfoContainer img {
    width: 100%;
  }

  .projectInfoBio {
    width: 100% !important;
    margin-bottom: 2rem;
  }

  #contact .container {
    width: 50%;
  }
}

@media (max-width: 830px) {
  #hero .container {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  #hero p {
    margin: 0;
  }

  #hero a {
    margin-left: 0;
  }
}

@media screen and (max-width: 800px) {
  .resume {
    display: none;
  }

  #hero {
    width: 100%;
  }

  #navbar {
    padding: 0;
  }

  #navbarLinks {
    width: 100% !important;
  }

  .navbarLink {
    padding: 0rem !important;
    text-align: center;
  }

  #hero {
    padding: 0;
  }
  #hero .container {
    width: 100%;
    padding: 1rem;
  }

  h1 {
    width: 100%;
    margin: 0;
    text-align: center;
    font-size: 1.5rem;
  }

  h2 {
    text-align: center;
    font-size: 2rem;
    width: 100%;
    border-bottom: 2px solid black;
  }

  #hero p {
    display: none;
  }

  #hero a {
    margin: auto;
    margin-top: 1.5rem;
    text-align: center;
  }

  .project ul {
    display: none;
  }

  .projectLinks {
    display: none;
  }
}
