@font-face {
  font-family: "Neutral Face";
  src: url("assets/NeutralFace.woff2") format("woff2"), url("assets/NeutralFace.woff") format("woff"), url("assets/NeutralFace.otf") format("otf");
  font-weight: normal;
  font-style: normal;
}

:root {
  --background-color: #e3e3e3;
  --color-1: #3841f2;
  --color-2: #f5a6e6;
  --color-4: #f7f7f7;
  --font-1: "Neutral Face";
}

body {
  background-color: var(--background-color);
  margin: 0;
  padding: 0;
}

header {
  display: flex;
  justify-content: space-between;
  align-content: center;
}

.logo {
  padding: 1rem;
  margin-left: 3rem;
}

nav {
  display: flex;
  flex-direction: column;
  margin-top: 5%;
  margin-left: 3rem;
}
ul {
  list-style: none;
  margin: 0;
  padding: 2rem;
}

#menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--color-2);
  display: flex;
  justify-content: center;
  align-items: center;
  overflow-y: auto;
  transform: scale(0);
  transition: 0.5s;
  z-index: 2; /*changed from 1 to 2 bc changes in slider*/
}

#menu-overlay.active {
  transform: scale(1);
}

#menu-overlay ul {
  position: relative;
}

#menu-overlay ul li {
  position: relative;
  list-style: none;
  text-align: center;
  display: block;
}

#menu-overlay ul li a {
  text-decoration: none;
  position: relative;
  font-size: 3em;
  padding: 0 10px;
  margin-bottom: 10px;
  color: blue;
  display: inline-block;
  font-family: var(--font-1);
}

#menu-overlay ul li a:before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--color-1);
  transform: translateY(-50%) scaleX(0);
  transform-origin: right;
  transition: 0.5s transform;
}

#menu-overlay ul li a:hover:before {
  transform: translateY(-50%) scaleX(1);
  transform-origin: left;
  transition: 0.5s transform;
}

#toggleIcon {
  position: fixed;
  top: 5px;
  right: 20px;
  z-index: 3; /*changed from 2 to 3 bc changes in slider*/
  /* color: #c2aa90; */
  cursor: pointer;
}

#toggleIcon p {
  color: var(--color-1);
  font-family: var(--font-1);

  font-size: 1.5em;
}

#toggleIcon.active {
  text-decoration: line-through;
  color: var(--color-1);
}

#toggleIcon p:hover {
  opacity: 50%;
}

/* end of menu */

nav li {
  font-family: var(--font-1);
  color: var(--color-1);
  font-size: 3.5rem;
  padding: 1.5rem 0;
  font-weight: 100;
}

.wrapper ul li:nth-child(1) {
  font-family: Arial, Helvetica, sans-serif;
  color: black;
  font-size: 1.5rem;
  width: 30rem;
}

.wrapper ul li:nth-child(1):hover {
  text-decoration: none;
  color: black;
  cursor: auto;
}
.welcome_page {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.circle {
  width: 25rem;
  height: auto;
  margin: 3rem;
  margin-right: 7rem;
  animation-name: circle;
  animation-duration: 30000ms;
  animation-iteration-count: infinite;
  animation-timing-function: linear;
}

@keyframes circle {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

#arrow {
  display: flex;
  justify-content: center;
}

.arrow {
  height: 10rem;
  width: auto;
  animation-name: pulse;
  animation-duration: 1s;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
}

@keyframes pulse {
  from {
    transform: scale(0.95);
  }

  to {
    transform: scale(1.2);
  }
}

.wrapper {
  display: flex;
  flex-direction: row;
}

.wrapper p {
  margin-top: 3.5rem;
  width: 300px;
}

.wrapper p,
.project_insight p {
  font-family: Arial, Helvetica, sans-serif;
  color: black;
}

.wrapper ul li {
  cursor: pointer;
}

.wrapper li:hover {
  color: var(--color-2);
  text-decoration: underline;
}

a {
  text-decoration: none;
  margin: 0;
  padding: 0;
}

.wrapper li:active,
.wrapper li:visited,
.wrapper li:link,
.wrapper li a:active,
.wrapper li a:visited,
.wrapper li a:link {
  color: var(--color-1);
}

.wrapper li a:hover {
  color: var(--color-2);
}
#projects,
h1 {
  font-family: var(--font-1);
  color: var(--color-1);
  text-decoration: underline;
  text-align: center;
  font-size: 3.5rem;
  font-weight: 100;
}

#projects {
  margin-top: 10rem;
}
/* Project Box */

#project_boxes {
  display: flex;
  flex-direction: row;
  /* flex-wrap: wrap; */
  justify-content: flex-start;
  overflow-x: auto;
  margin: 2rem 5rem 7rem 5rem;
}

.box-arrow {
  height: 5rem;
  align-self: center;
  position: absolute;
  z-index: 2;
  transform: rotate(180deg);
}

.box-arrow-2 {
  height: 5rem;
  align-self: center;
  position: absolute;
  left: 86%;
  z-index: 2;
}
.projects {
  display: flex;
  flex-direction: row;
  justify-content: center;
  margin-bottom: 5rem;
}

.filmImg {
  width: 25rem;
  align-self: center;
  margin: 1.5rem 0;
  -webkit-box-shadow: 5px 5px 4px 5px rgba(0, 0, 0, 0.76);
  box-shadow: 5px 5px 4px 5px rgba(0, 0, 0, 0.76);
}
.project_box {
  display: flex;
  flex-direction: column;
  width: 32rem;
  height: 32rem;
  background-color: white;
  border: 2px solid var(--color-1);
  margin: 1rem 2rem;
  z-index: 1;
}

.project_box:hover {
  transform: scale(1.2);
  transform: translate(-10px, 10px);
  -webkit-box-shadow: 5px 5px 0px 5px var(--color-1);
  box-shadow: 5px 5px 0px 5px var(--color-1);
  transition: 0.2s;
}

.filmImgIns:hover {
  transform: scale(1.05);
  transition: 0.2s;
}
.project_overview h2,
.project_insight h2 {
  font-family: Arial, Helvetica, sans-serif;
  color: var(--color-1);
  font-size: 1.5rem;
}

.project_overview p {
  font-family: Arial, Helvetica, sans-serif;
  color: black;
  font-size: 1rem;
  margin: 0 2rem;
}

.overview hr,
.project_insight hr {
  background-color: var(--color-1);
  height: 1px;
  border: none;
}

.overview h2 hr {
  margin: 0.4rem 4rem;
}
.overview h2 {
  text-align: center;
}
.project_box:hover > .project_overview h2 {
  color: var(--color-2);
}

.arrow-right {
  height: 3rem;
  justify-self: flex-end;
  margin-left: 70%;
}

.arrow-left {
  height: 3rem;
  margin-left: -70%;
}
.project_box:hover > .cls-1 {
  stroke: white;
}

/* PROJECT PAGE */

#projecthead {
  display: flex;
  flex-direction: column;
  align-items: center;
  /* justify-content: center; */
}
#next_project {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  padding: 0;
}

#next_project h2 {
  font-family: Arial, Helvetica, sans-serif;
  color: var(--color-1);
  font-weight: 100;
  margin: 2rem 1rem;
  padding: 0;
}
#next_project img {
  height: 2.5rem;
  width: auto;
  margin: 0.8rem;
  position: relative;
  cursor: pointer;
}

.other-project {
  display: flex;
  flex-direction: row;
  justify-content: center;
  margin: 1rem 10rem;
}

.other-project p {
  margin: 0.8rem;
  align-self: center;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--color-1);
  font-size: 1.2rem;
  font-weight: 100;
}

.other-project p:active,
.other-project p:link,
.other-project p:hover,
.other-project p:visited {
  text-decoration: none;
  color: var(--color-1);
}

.hover_text {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(29, 106, 154, 0.72);
  color: #fff;
  visibility: hidden;
  opacity: 0;
}

#next_project img:hover > .hover_text {
  visibility: visible;
  opacity: 1;
}

.vert_line {
  border-left: 2px solid var(--color-1);
  max-width: 100%;
}

#main_overview {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 4rem;
}

.project_insight {
  display: flex;
  flex-direction: row;
  justify-content: center;
  margin-top: 2rem;
}

.column_left,
.column_right {
  max-width: 50%;
  margin: 0 3rem;
}
.column_right {
  width: 15rem;
}

.column_right a {
  text-decoration: underline;
  text-decoration-color: var(--color-1);
}
.column_left p {
  width: 25rem;
  line-height: 1.4rem;
}

h3 {
  font-family: var(--font-1);
  color: var(--color-1);
  font-weight: 100;
  letter-spacing: 0.1rem;
}

.filmImgIns {
  max-width: 1000px;
  border: 4px solid var(--color-1);
}

.column_left h2 {
  margin-bottom: 3rem;
}

h1 a:active,
h1 a:visited,
h1 a:link {
  color: var(--color-1);
  text-decoration: none;
}

.mobileHead {
  display: none;
}

/* tools  */

#tools {
  display: grid;
  grid-column: 2;
  grid-template-columns: 1fr 1fr;
}

#tools p,
#skill p {
  padding: 0.4rem 0.5rem;
  background-color: white;
  color: black;
  border: solid 1.3px var(--color-1);
  margin: 0.3rem 0.5rem;
  text-align: center;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.9rem;
  border-radius: 25px;
}

#tools p:nth-child(odd) {
  margin-left: 0;
}

.horz_line {
  border: solid 4px var(--color-2);
  margin: 2rem 0;
  display: none;
}

/* ABOUT ME PAGE */

.about_intro {
  display: flex;
  flex-direction: row;
  justify-content: center;
  margin: 1rem 2rem;
}

#about_me_overview {
  display: flex;
  flex-direction: row;
  justify-content: center;
}

.about_intro img {
  max-width: 30%;
}

.about_intro_text {
  max-width: 30rem;
  align-self: center;
}
.about_me_page h1 {
  font-family: var(--font-1);
  color: var(--color-1);
  text-decoration: none;
  font-weight: 100;
  font-size: 3.5rem;
  text-align: left;
}

.about_me_page h2 {
  font-family: Arial, Helvetica, sans-serif;
  color: var(--color-1);
  font-weight: 100;
  font-size: 2rem;
}

.about_me_page h2 span {
  font-style: italic;
}

.about_description {
  font-family: Arial, Helvetica, sans-serif;
  color: black;
  font-size: 1rem;
  width: 25rem;
  line-height: 1.4rem;
}
#about_description {
  display: flex;
  flex-direction: row-reverse;
  justify-content: center;
  margin: 3rem 0;
}

#about_description img {
  max-width: 33%;
}

.skill-desc,
.description {
  margin: 2rem 4rem;
}

.skill-desc h2 {
  margin: 1.2rem 0.8rem;
}
#skill {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
}

.skills {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 5rem;
}
.skills h2 {
  margin-top: 0;
  margin-left: 0.5rem;
  width: 20rem;
  align-self: center;
}

.skill p {
  width: 10rem;
  margin: 1rem 0.5rem;
  font-family: Arial, Helvetica, sans-serif;
}

.circle-about {
  width: 15rem;
  height: auto;

  animation-name: circle;
  animation-duration: 30000ms;
  animation-iteration-count: infinite;
  animation-timing-function: linear;
}

@keyframes circle {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

#fun-fact p {
  font-family: Arial, Helvetica, sans-serif;
  width: 35rem;
  font-size: 1rem;
}

#fun-fact h2 {
  font-size: 1.5rem;
  cursor: pointer;
  margin: 0;
}

footer {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem;
  background-color: var(--color-1);
}

footer h1 {
  color: white;
  font-family: Arial, Helvetica, sans-serif;
  text-decoration: none;
  font-size: 2rem;
}
footer a {
  text-align: center;
  color: white;
  font-family: Arial, Helvetica, sans-serif;
  cursor: pointer;
  font-size: 1.5rem;
  padding: 1rem;
}

footer img {
  width: 10rem;
  align-self: center;
}
@media only screen and (max-width: 414px) {
  #menu-overlay ul {
    line-height: 2.5rem;
  }
  .horz_line {
    display: block;
  }
  header {
    justify-content: center;
    padding: 0;
    margin: 0;
  }

  .logo {
    justify-self: center;
    padding: 0;
    margin: 0;
    align-self: center;
  }
  .welcome_page {
    flex-direction: column;
  }

  nav {
    margin: 0;
    justify-content: center;
  }
  nav ul {
    display: flex;
    flex-direction: column;
  }
  ul {
    margin: 0;
    line-height: 0.1rem;
    text-align: center;
    justify-content: left;
  }
  nav li {
    font-size: 1.8rem;
  }

  .circle {
    width: 15rem;
    margin: 0;
  }

  #circle {
    display: flex;
    justify-content: center;
  }

  .arrow {
    height: 5rem;
    margin-top: 2rem;
  }
  .wrapper {
    display: flex;
    flex-direction: column;
  }

  .wrapper ul li:nth-child(1) {
    font-family: Arial, Helvetica, sans-serif;
    color: black;
    font-size: 0.8rem;
    width: 17rem;
    line-height: 1.5rem;
    text-align: left;
    margin: 0 2rem;
    text-align: center;
  }
  /* projext boxes */
  #project_boxes {
    margin: 1rem 2rem 3rem 2rem;
    flex-direction: column;
    justify-content: center;
  }
  #projects {
    font-size: 2rem;
    margin-top: 3rem;
  }
  .projects {
    flex-direction: column;
    align-items: center;
  }
  .project_box {
    height: 19rem;
    width: 15rem;
    margin-top: 1rem;
    margin-bottom: 0;
  }

  .filmImg {
    width: 12em;
    margin: 1rem 0;
    align-self: center;
  }
  .project_overview {
    margin: 0 1rem;
  }
  .project_overview h2 {
    font-size: 0.9rem;
  }

  .project_overview p {
    font-size: 0.7rem;
    margin: 0 0.5rem;
  }

  hr {
    margin: 0.4rem 0.5rem;
  }

  .arrow-right,
  .arrow-left {
    margin-left: 80%;
  }

  /* 35 mm page */
  h1 {
    font-size: 1rem;
    margin: 1rem 0;
  }
  #next_project {
    margin: 1rem 0;
  }
  #next_project h2 {
    font-size: 1rem;
  }
  #next_project img {
    height: 1rem;
  }
  .compHead {
    display: none;
  }

  .project_insight {
    flex-direction: column;
  }

  .mobileHead {
    display: inline;
  }

  .filmImgIns {
    max-width: 300px;
  }

  .vert_line {
    display: none;
  }

  .project_insight h2 {
    font-family: Arial, Helvetica, sans-serif;
    color: var(--color-1);
    font-size: 1.4rem;
  }

  .column_left,
  .column_right {
    width: 100%;
    margin: 0;
  }

  .column_left p {
    width: 18rem;
    font-size: 0.9rem;
    line-height: 1.4rem;
  }
  .column_right {
    width: 20rem;
  }
  .column_left h3 {
    font-size: 1.4rem;
    letter-spacing: 1.2px;
  }

  h1 a {
    font-size: 2rem;
  }

  .project_insight hr {
    margin: 0.5rem 0;
  }

  /* about me */

  .about_intro {
    flex-direction: column;
  }
  .about_intro img {
    max-width: 70%;
  }
  .about_me_page h1 {
    font-size: 1.5rem;
    text-align: left;
  }
  .about_me_page h2 {
    font-size: 1rem;
    text-align: left;
    width: 15rem;
  }

  .about_intro_text {
    align-self: flex-start;
  }
  #about_description {
    flex-direction: column-reverse;
  }
  #about_description img {
    max-width: 60%;
    margin: 1rem;
  }
  .about_description {
    font-size: 0.8rem;
    width: 15rem;
    margin: 0 1.5rem;
  }
  #about_description h2 {
    margin: 0.5rem 1.5rem;
  }
}
