:root {
  --primary-color: #242423;
  --accent-color: #333533;
  --title-color: rgb(25, 37, 51);
  --accent2-color: #a6cee8;
  --accent3-color: #02a9d3;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-size: 16px;
  line-height: 1.6;
  font-family: "montserrat", sans-serif;
  overflow-x: hidden;
  position: relative;
}

img {
  max-width: 100%;
}

.loading {
  display: flex;
  position: fixed;
  height: 100vh;
  width: 100vw;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: black;
  opacity: 1;
  z-index: 1000;
  animation: fade 4s linear;
  -webkit-animation: fade 4s linear;
  z-index: 1000;
}
.loading::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  z-index: 100;
  animation: rise 5s linear;
  -webkit-animation: rise 5s linear;
}

.loading img {
  height: 70%;
  padding: 2em 0 0 0;
  filter: invert(100%);
  opacity: 0;
  margin: 7.5em auto 0 auto;
  animation: drop 5s linear 0.25s;
  -webkit-animation: drop 5s linear 0.25s;
  -webkit-filter: invert(100%);
}

@keyframes fade {
  0% {
    opacity: 1;
  }

  55% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}

@keyframes drop {
  0% {
    opacity: 1;
    transform: scale(5);
    -webkit-transform: scale(5);
    -moz-transform: scale(5);
    -ms-transform: scale(5);
    -o-transform: scale(5);
  }

  10% {
    opacity: 1;
    transform: scale(1);
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    -o-transform: scale(1);
  }

  100% {
    opacity: 1;
  }
}

@keyframes rise {
  0% {
    background: var(--primary-color);
    mix-blend-mode: multiply;
    transform: translateY(100%);
    -webkit-transform: translateY(100%);
    -moz-transform: translateY(100%);
    -ms-transform: translateY(100%);
    -o-transform: translateY(100%);
  }
  15% {
    background: var(--primary-color);
    mix-blend-mode: multiply;
    transform: translateY(100%);
    -webkit-transform: translateY(100%);
    -moz-transform: translateY(100%);
    -ms-transform: translateY(100%);
    -o-transform: translateY(100%);
  }

  35% {
    background: var(--primary-color);
    mix-blend-mode: multiply;
    transform: translateY(60%);
    -webkit-transform: translateY(60%);
    -moz-transform: translateY(60%);
    -ms-transform: translateY(60%);
    -o-transform: translateY(60%);
  }

  100% {
    background: var(--primary-color);
    mix-blend-mode: multiply;
    transform: translateY(0%);
    -webkit-transform: translateY(0%);
    -moz-transform: translateY(0%);
    -ms-transform: translateY(0%);
    -o-transform: translateY(0%);
  }
}
a {
  text-decoration: none;
  color: #cacaca;
}

h1,
h2,
h3,
h4 {
  color: rgb(70, 59, 51);
  margin: 0;
}

header {
  position: fixed;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  top: 0;
  bottom: 0;
  left: 0;
  background: var(--title-color);
  z-index: 100;
  padding: 0 3em;
  margin: 0;
  transition: all 250ms ease;
}

.main-nav {
  align-self: center;
  margin-top: 3em;
}

.nav-list {
  display: flex;
  flex-direction: column;
  list-style-type: none;
  padding: 0;
  margin: 0 auto;
}

.menuContact-list {
  list-style-type: none;
  padding: 0 10px;
  display: flex;
  border-radius: 3px;
}

.menuContact-item {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  margin: 0 0.25rem;
  background: white;
  border-radius: 50%;
  width: 30px;
  height: 30px;
}

.menuContact-link {
  color: var(--title-color);
}

.menuContact-item:hover,
.menuContact-item:focus {
  background: var(--accent2-color);
}

.nav-link {
  margin: 0 1em;
  align-self: center;
  font-variant: small-caps;
  letter-spacing: 2.6px;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--accent2-color);
  transition: all 150ms ease;
  -webkit-transition: all 150ms ease;
  -moz-transition: all 150ms ease;
  -ms-transition: all 150ms ease;
  -o-transition: all 150ms ease;
  padding: 0;
  position: relative;
  overflow: hidden;
}

.nav-link::before {
  content: "";
  position: absolute;
  height: 1px;
  width: 100%;
  background: var(--accent2-color);
  bottom: 0;
  right: 0;
  left: 0;
  transform: translateX(-110%);
  -webkit-transform: translateX(-110%);
  -moz-transform: translateX(-110%);
  -ms-transform: translateX(-110%);
  -o-transform: translateX(-110%);
  transition: transform 250ms ease;
  -webkit-transition: transform 250ms ease;
  -moz-transition: transform 250ms ease;
  -ms-transition: transform 250ms ease;
  -o-transition: transform 250ms ease;
}

.nav-link:hover::before,
.nav-link:focus::before {
  transform: translateX(0%);
  -webkit-transform: translateX(0%);
  -moz-transform: translateX(0%);
  -ms-transform: translateX(0%);
  -o-transform: translateX(0%);
}

.nav-link:hover,
.nav-link:focus {
  color: var(--accent3-color);
}

.navbtn {
  padding: 0;
  margin: 0;
  display: block;
  padding: 0.75em 1.5em;
  background: #dadada;
  border: none;
  border-radius: 5px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -ms-border-radius: 5px;
  -o-border-radius: 5px;
  cursor: pointer;
  transition: all 250ms ease-in-out;
  -webkit-transition: all 250ms ease-in-out;
  -moz-transition: all 250ms ease-in-out;
  -ms-transition: all 250ms ease-in-out;
  -o-transition: all 250ms ease-in-out;
}

.navbtn:hover,
.navbtn:focus {
  background: var(--title-color);
}

.logo {
  overflow: hidden;
  display: flex;
  align-items: center;
}

.logo img {
  display: block;
  width: 150px;
  padding: 0.25em 0;
  filter: invert(100%);
}

.logoImg {
  margin: 0;
  padding: 0;
}

.logo-scrolled {
  filter: invert(100%);
  padding-top: 0 !important;
}

.nav-scrolled {
  background: var(--accent-color);
  border-bottom: 1px solid var(--title-color);
  margin: 0;
  height: 50px;
  animation: headerScroll 500ms forwards;
}

.nav-scrolled a {
  color: var(--title-color);
}

@keyframes headerScroll {
  0% {
    opacity: 0;
    transform: translateY(-100%);
  }

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

.landing {
  display: flex;
  position: relative;
  /* flex-direction: column; */
  justify-content: space-evenly;
  margin: 0 auto;
  background-image: url(pics/acdev.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  /* background-position-y: -300px; */
  height: 100vh;
}

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

.landing-info h2 {
  font-size: 5.5rem;
  color: var(--title-color);
  font-family: "Lobster Two", sans-serif;
}

.subhead {
  font-weight: 900;
  font-size: 1.25rem;
  transform: scaleY(0);
  animation: scaleUp 250ms forwards 1s;
  -webkit-animation: scaleUp 250ms forwards 1s;
  -webkit-transform: scaleY(0);
  -moz-transform: scaleY(0);
  -ms-transform: scaleY(0);
  -o-transform: scaleY(0);
  color: var(--accent3-color) !important;
}

.subhead2 {
  font-size: 1.125rem;
  margin-top: 1em !important;
  transform: scaleY(0);
  animation: scaleUp 250ms forwards 1.25s;
  -webkit-animation: scaleUp 250ms forwards 1.25s;
  color: var(--accent2-color) !important;
}

.landBtn {
  position: absolute;
  left: 10em;
  top: 10vh;
  display: inline-block;
  padding: 1em 8em;
  border-radius: 5px;
  border: none;
  background: var(--accent2-color);
  transform: scaleY(0);
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -ms-border-radius: 5px;
  -o-border-radius: 5px;
  animation: scaleUp 250ms forwards 1.75s;
  -webkit-animation: scaleUp 250ms forwards 1.75s;
  -webkit-transform: scaleY(0);
  -moz-transform: scaleY(0);
  -ms-transform: scaleY(0);
  -o-transform: scaleY(0);
  cursor: pointer;
  transition: all 550ms ease;
  -webkit-transition: all 550ms ease;
  -moz-transition: all 550ms ease;
  -ms-transition: all 550ms ease;
  -o-transition: all 550ms ease;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.116),
    inset 1px 1px 2px rgba(255, 255, 255, 0.151);
}

.landBtn:hover,
.landBtn:focus {
  background: var(--accent3-color);
}

.landBtn img {
  width: 25px;
  animation: downCta 250ms infinite;
  -webkit-animation: downCta 1200ms cubic-bezier(0.455, 0.03, 0.515, 0.955)
    infinite;
}

@keyframes downCta {
  0% {
    transform: translateY(0);
    -webkit-transform: translateY(0);
    -moz-transform: translateY(0);
    -ms-transform: translateY(0);
    -o-transform: translateY(0);
    opacity: 0;
  }

  100% {
    transform: translateY(30%);
    -webkit-transform: translateY(30%);
    -moz-transform: translateY(30%);
    -ms-transform: translateY(30%);
    -o-transform: translateY(30%);
    opacity: 1;
  }
}

@keyframes slideover {
  0% {
    transform: translateX(0);
    -webkit-transform: translateX(0);
    -moz-transform: translateX(0);
    -ms-transform: translateX(0);
    -o-transform: translateX(0);
  }
  100% {
    transform: translateX(60%);
    -webkit-transform: translateX(60%);
    -moz-transform: translateX(60%);
    -ms-transform: translateX(60%);
    -o-transform: translateX(60%);
  }
}

.landing-img img {
  overflow: hidden;
  height: 100%;
  margin: 0 auto;
  justify-self: center;
}

.cta {
  display: inline-block;
  width: max-content;
  margin: 1em auto;
  padding: 0.75em 2.75em;
  background: var(--title-color);
  border: none;
  border-radius: 5px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -ms-border-radius: 5px;
  -o-border-radius: 5px;
  color: var(--accent3-color);
  font-size: 1.125rem;
  cursor: pointer;
  transition: background 150ms ease-in-out;
  -webkit-transition: background 150ms ease-in-out;
  -moz-transition: background 150ms ease-in-out;
  -ms-transition: background 150ms ease-in-out;
  -o-transition: background 150ms ease-in-out;
}

.cta:hover,
.cta:focus {
  background: var(--primary-color);
}

.tools {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 1em 0;
  gap: 1em;
}

.toolImg {
  width: 10vw;
  object-fit: contain;
  max-height: 150px;
  background: transparent;
  padding: 2em 0;
  transition: transform 250ms cubic-bezier(0.5, 1, 0.955, 1);
  -webkit-transition: transform 250ms cubic-bezier(0.5, 1, 0.955, 1);
  -moz-transition: transform 250ms cubic-bezier(0.5, 1, 0.955, 1);
  -ms-transition: transform 250ms cubic-bezier(0.5, 1, 0.955, 1);
  -o-transition: transform 250ms cubic-bezier(0.5, 1, 0.955, 1);
}

.toolinfo {
  text-align: center;
  margin: 0 auto;
  background: white;
  padding: 0;
  z-index: 10;
  border-top-right-radius: 5px;
  border-top-left-radius: 5px;
  flex: 0 1 20vw;
}

.toolImg:hover,
.toolImg:focus {
  transform: scale(2) rotate(5deg);
  -webkit-transform: scale(2) rotate(5deg);
  -moz-transform: scale(2) rotate(5deg);
  -ms-transform: scale(2) rotate(5deg);
  -o-transform: scale(2) rotate(5deg);
}

.toolinfo p {
  font-weight: 700;
  font-size: 0.85rem;
  background: var(--title-color);
  margin: 0;
  padding: 0.5em;
  color: var(--primary-color);
}

.certificate {
  display: flex;
  margin: 0 3em;
  padding: 3em 0;
}

.certificate img {
  margin: 0 auto;
  width: 60%;
  padding: 3em;
  z-index: 10;
}

.split-container {
  display: flex;
}

.split-container > header {
  max-width: 13vw;
}

.split-container > main {
  max-width: 89.85vw;
  margin-left: auto;
}

.container {
  border-radius: 7px;
  margin: 4em 0;
  box-sizing: border-box;
  padding: 10em 7em;
  -webkit-border-radius: 7px;
  -moz-border-radius: 7px;
  -ms-border-radius: 7px;
  -o-border-radius: 7px;
  position: relative;
  overflow: hidden;
  background-color: var(--accent2-color);
}

.gfxcontainer {
  z-index: 0;
}

.gfxcontainer h1 {
  text-align: right !important;
  padding-right: 7.5em !important;
}

.vidInfo {
  margin: 1em;
  background: var(--title-color);
  text-align: center;
  border-radius: 15px;
  color: rgb(41, 41, 41);
  font-weight: 600;
  font-size: 0.75rem;
}

video {
  width: 100%;
}

.vids {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  z-index: 2;
}

.title {
  margin: 0;
  padding: 0;
  justify-content: center;
  z-index: 11;
  position: relative;
  width: max-content;
}

.title h1 {
  font-size: 4rem;
  font-weight: 500;
  text-align: center;
  margin: 0;
  padding: 0;
  letter-spacing: 1.6px;
  color: var(--title-color);
  border-bottom: 1px solid var(--accent3-color);
}

.title p {
  margin-top: 0;
}

.mywork {
  display: flex;
  justify-content: space-between;
  padding: 5em 0;
  margin: 0 auto;
}

.overlay {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin: 0 auto;
  padding: 5em 0;
  background-color: #333533d5;
  border: 1px solid var(--title-color);
  backdrop-filter: blur(2px);
  box-shadow: inset -1px -1px 5px rgba(0, 0, 0, 0.37),
    inset 1px 1px 2px rgba(255, 255, 255, 0.151);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transform: translateY(100%);
  transition: all 250ms ease-in-out;
  -webkit-transition: all 250ms ease-in-out;
  -moz-transition: all 250ms ease-in-out;
  -ms-transition: all 250ms ease-in-out;
  -o-transition: all 250ms ease-in-out;
  cursor: pointer;
  -webkit-transform: translateY(110%);
  -moz-transform: translateY(100%);
  -ms-transform: translateY(100%);
  -o-transform: translateY(100%);
  text-align: left;
}

.overlay h2 {
  font-size: 1.125rem !important;
  border-radius: 0 !important;
}

.overlay p {
  color: white !important;
  font-size: 0.95rem !important;
  padding: 0 1rem;
  font-weight: 400;
}

.siteinfo {
  font-size: 0.85rem !important;
  padding: 1em 5em;
}

.overlay button {
  display: inline-block;
  padding: 0.45em 3em;
  margin: 0 auto;
  border-radius: 5px;
  border: none;
  background-color: var(--primary-color);
  border: 1px solid var(--title-color);
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  transform: translateY(400%);
  -webkit-transform: translateY(400%);
  -moz-transform: translateY(400%);
  -ms-transform: translateY(400%);
  -o-transform: translateY(400%);
  transition: all 200ms ease-in-out;
  -webkit-transition: all 200ms ease-in-out;
  -moz-transition: all 200ms ease-in-out;
  -ms-transition: all 200ms ease-in-out;
  -o-transition: all 200ms ease-in-out;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -ms-border-radius: 5px;
  -o-border-radius: 5px;
}

.overlay button:hover,
.overlay button:focus {
  background: var(--title-color);
  color: #f3f3f3;
}

.work-img {
  display: flex;
  flex-direction: column;
  text-align: center;
  position: relative;
  margin: 0 1em;
  overflow: hidden;
  z-index: 10;
  min-width: 300px;
}

.work-img h2 {
  margin: 0 auto;
  font-size: 0.75rem;
  min-width: 100%;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0.5em 0;
  color: white;
  background: var(--title-color);
  border-radius: 5px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -ms-border-radius: 5px;
  -o-border-radius: 5px;
}

.work-img p {
  color: #fff;
  text-align: center;
}

.work-img:hover .overlay,
.work-img:focus .overlay {
  opacity: 1;
  transform: translateY(0%);
  border-radius: 10px;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  -ms-border-radius: 10px;
  -o-border-radius: 10px;
  -webkit-transform: translateY(0%);
  -moz-transform: translateY(0%);
  -ms-transform: translateY(0%);
  -o-transform: translateY(0%);
}

.work-img:hover .overlay button,
.work-img:focus .overlay button {
  transform: translateY(0%);
  -webkit-transform: translateY(0%);
  -moz-transform: translateY(0%);
  -ms-transform: translateY(0%);
  -o-transform: translateY(0%);
}

.work-img img {
  box-sizing: border-box;
  width: 100%;
  min-width: 300px;
  margin: 1em auto;
  object-fit: cover;
  border-radius: 0 0 1em 1em;
}

.section-title {
  margin-bottom: 2em;
}

.section-title h1 {
  font-size: 4rem;
  text-align: center;
  margin: 0;
  padding: 0;
  letter-spacing: 1.6px;
  background: rgb(27, 25, 32);
  color: var(--title-color);
}

.graphics-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 10px;
}

.graphics-container img {
  /* height: 15em; */
  /* width: 15em; */
  aspect-ratio: 1 / 1;
  object-fit: cover;
  /* margin: 0.5em; */
  cursor: pointer;
  display: block;
  transition: all 150ms ease-out;
  -webkit-transition: all 150ms ease-out;
  -moz-transition: all 150ms ease-out;
  -ms-transition: all 150ms ease-out;
  -o-transition: all 150ms ease-out;
  max-width: 100%;
}

.graphics-container img:hover,
.graphics-container img:focus {
  opacity: 1;
  transform: scale(0.95);
  -webkit-transform: scale(0.95);
  -moz-transform: scale(0.95);
  -ms-transform: scale(0.95);
  -o-transform: scale(0.95);
}

.enlarged {
  position: fixed;
  background: #1a1a1ae8;
  text-align: center;
  width: 100vw !important;
  height: 100vh !important;
  opacity: 1 !important;
  transform: scale(1);
  /*transform-origin: left;
    */
  padding: 6em 4em;
  margin: 0;
  object-fit: contain !important;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 15;
  transition: all 300ms ease-out;
  -webkit-transition: all 300ms ease-out;
  -moz-transition: all 300ms ease-out;
  -ms-transition: all 300ms ease-out;
  -o-transition: all 300ms ease-out;
  -webkit-transform: scale(1);
  -moz-transform: scale(1);
  -ms-transform: scale(1);
  -o-transform: scale(1);
}

.contact-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 0 auto;
}

.contact-form {
  z-index: 1;
  color: var(--accent2-color);
}

form {
  margin: 0 auto;
  width: 500px;
  display: flex;
  flex-direction: column;
  font-weight: 700;
  font-family: "Open Sans", sans-serif;
  text-align: left;
  border-radius: 3px;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  -ms-border-radius: 3px;
  -o-border-radius: 3px;
}

input,
textarea {
  border: none;
  margin-bottom: 1em;
  width: 100%;
  padding: 0.5em 0;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 3px;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  -ms-border-radius: 3px;
  -o-border-radius: 3px;
  background: var(--primary-color);
  color: var(--accent3-color);
}

input:nth-of-type(4) {
  margin-bottom: 1em;
}

.submit {
  display: inline-block;
  margin: 1em 0;
  padding: 0.5em 3em;
  font-size: 1rem;
  border: none;
  border-radius: 3px;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  -ms-border-radius: 3px;
  -o-border-radius: 3px;
  align-self: flex-end;
  cursor: pointer;
  transition: all 250ms ease-in-out;
  -webkit-transition: all 250ms ease-in-out;
  -moz-transition: all 250ms ease-in-out;
  -ms-transition: all 250ms ease-in-out;
  -o-transition: all 250ms ease-in-out;
}

.submit:hover,
.submit:focus {
  color: black;
  background: #f066438a;
}

.submit i {
  transition: all 250ms ease-in-out;
  -webkit-transition: all 250ms ease-in-out;
  -moz-transition: all 250ms ease-in-out;
  -ms-transition: all 250ms ease-in-out;
  -o-transition: all 250ms ease-in-out;
}

.submit:hover i,
.submit:focus i {
  color: var(--primary-color);
  transform: translateX(10px);
  -webkit-transform: translateX(10px);
  -moz-transform: translateX(10px);
  -ms-transform: translateX(10px);
  -o-transform: translateX(10px);
}

.names {
  display: flex;
  justify-content: space-between;
}

.name {
  max-width: 225px;
}

.formHeading {
  margin: 0 0 4em 0;
  position: relative;
}

.formTitle {
  font-size: 2.25rem;
  color: var(--main-primary-color);
  text-align: left;
  margin: 0 auto;
  min-width: max-content;
  padding: 0;
}

.formInfo {
  font-weight: 400;
  margin: 0;
}

.submitMessage {
  text-align: center;
  margin: 0 auto;
  color: var(--main-primary-color);
}

.thankyou,
.thankyou p {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  margin-bottom: 1em;
}

.socialmedia {
  margin: 0 auto;
  text-align: center;
  color: var(--primary-color);
}

footer {
  color: var(--accent3-color);
  display: flex;
  flex-direction: column;
  padding: 1em 0;
  box-sizing: border-box;
  background: var(--accent-color);
  margin: 3em auto 0 auto;
}

footer a:hover,
footer a:focus {
  color: var(--accent3-color);
}

.social {
  display: flex;
  list-style: none;
  justify-content: center;
  margin: 0 auto;
  width: 100%;
  padding: 0;
}

.social {
  justify-self: end;
  align-self: flex-end;
}

footer li {
  margin: 0 0.6em;
}

.footer-end {
  display: flex;
  flex-direction: column;
  grid-column: 1 / -1;
  margin: 0 auto;
  justify-content: center;
}

.footer-end h1,
.footer-end p {
  margin: 0 auto;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.footer-end h1 {
  font-size: 1.5rem;
  color: var(--accent3-color);
}

.footer-end p {
  font-size: 0.5rem;
}

@media (max-width: 1160px) {
  html {
    scroll-behavior: smooth;
  }

  header {
    flex-direction: column;
    position: fixed;
    justify-content: space-between;
    padding: 0 2.5em;
    margin: 0;
    height: 75px;
    width: 100%;
    max-width: unset !important;
  }

  .bars {
    width: 30px;
    height: 3px;
    background: white;
    margin: 0 auto;
    position: relative;
    cursor: pointer;
    transition: all 250ms ease-in-out;
    -webkit-transition: all 250ms ease-in-out;
    -moz-transition: all 250ms ease-in-out;
    -ms-transition: all 250ms ease-in-out;
    -o-transition: all 250ms ease-in-out;
  }

  .bars::before {
    content: "";
    position: absolute;
    top: -10px;
    left: 0;
    width: 30px;
    height: 3px;
    background: white;
    transition: all 250ms ease-in-out;
    -webkit-transition: all 250ms ease-in-out;
    -moz-transition: all 250ms ease-in-out;
    -ms-transition: all 250ms ease-in-out;
    -o-transition: all 250ms ease-in-out;
  }

  .bars::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 30px;
    height: 3px;
    background: white;
    transition: all 250ms ease-in-out;
    -webkit-transition: all 250ms ease-in-out;
    -moz-transition: all 250ms ease-in-out;
    -ms-transition: all 250ms ease-in-out;
    -o-transition: all 250ms ease-in-out;
  }

  .logo {
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 0;
  }

  .logo img {
    width: 100px;
  }

  .logo-scrolled {
    /* filter: invert(100%); */
    padding-top: 1em !important;
  }

  .head-title {
    padding: 0.5em 0;
    margin-left: 0;
  }

  .head-title h1 {
    font-size: 1.5rem;
    letter-spacing: 0.5px;
    margin: -10px;
    color: var(--accent3-color);
    padding: 0;
  }

  .head-title p {
    margin: 0;
    letter-spacing: 1.5px;
    color: var(--primary-color);
    padding: 0;
  }

  .logo img {
    margin: 0 auto;
    display: block;
    /* height: 50px; */
    transform: translateY(0);
    -webkit-transform: translateY(0);
    -moz-transform: translateY(0);
    -ms-transform: translateY(0);
    -o-transform: translateY(0);
  }

  .menuClose {
    background: transparent;
    transition: all 250ms ease-in-out;
    -webkit-transition: all 250ms ease-in-out;
    -moz-transition: all 250ms ease-in-out;
    -ms-transition: all 250ms ease-in-out;
    -o-transition: all 250ms ease-in-out;
  }

  .menuClose::after {
    bottom: 0;
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transition: all 250ms ease-in-out;
    -webkit-transition: all 250ms ease-in-out;
    -moz-transition: all 250ms ease-in-out;
    -ms-transition: all 250ms ease-in-out;
    -o-transition: all 250ms ease-in-out;
  }

  .menuClose::before {
    top: 0;
    transform: rotate(130deg);
    -webkit-transform: rotate(130deg);
    -moz-transform: rotate(130deg);
    -ms-transform: rotate(130deg);
    -o-transform: rotate(130deg);
    transition: all 250ms ease-in-out;
    -webkit-transition: all 250ms ease-in-out;
    -moz-transition: all 250ms ease-in-out;
    -ms-transition: all 250ms ease-in-out;
    -o-transition: all 250ms ease-in-out;
  }

  .main-nav {
    background-color: rgba(16, 24, 31, 0.897);
    backdrop-filter: blur(3px);
    position: absolute;
    width: 100%;
    top: 0px;
    transform: scaleY(0);
    padding: 1.5em 0;
    z-index: -100;
    transform-origin: top;
    transition: all 250ms ease;
    -webkit-transition: all 250ms ease;
    -moz-transition: all 250ms ease;
    -ms-transition: all 250ms ease;
    -o-transition: all 250ms ease;
    -webkit-transform: scaleY(0);
    -moz-transform: scaleY(0);
    -ms-transform: scaleY(0);
    -o-transform: scaleY(0);
  }

  .nav-list {
    flex-direction: column;
    justify-content: space-evenly;
    height: 100%;
    margin: 2em auto;
    text-align: center;
  }

  .nav-item {
    border-bottom: 1px solid rgba(97, 122, 68, 0.199);
    width: 100vw;
    padding-bottom: 2em;
  }

  .nav-link {
    color: var(--accent3-color);
    font-size: 1.25rem;
  }

  .menuContact-links {
    background: var(--accent2-color);
  }

  .menuContact-list {
    display: flex;
    justify-content: center;
    list-style-type: none;
    padding: 0;
    background: var(--accent3-color);
    display: none;
  }

  .menuContact-item {
    margin: 0 1em;
    font-size: 2rem;
  }

  .navbtn {
    margin-top: 1em;
  }

  .nav-button {
    margin: 0 auto;
  }

  .showNav {
    top: 0;
    height: 100vh;
    transform: scaleY(1);
    -webkit-transform: scaleY(1);
    -moz-transform: scaleY(1);
    -ms-transform: scaleY(1);
    -o-transform: scaleY(1);
  }

  .container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 3em auto;
    width: 100vw;
    padding: 1rem;
  }

  .split-container > main {
    max-width: 100%;
    margin-left: 0;
    margin-top: 75px;
    height: auto;
  }

  .loading img {
    padding: 0;
    height: unset;
    width: 65%;
    max-width: 65%;
    filter: invert(100%);
    margin: 0 auto;
    animation: drop 4s cubic-bezier(0.165, 0.84, 0.44, 1) 0.5s;
    -webkit-animation: drop 4s cubic-bezier(0.165, 0.84, 0.44, 1) 0.5s;
  }

  #logo {
    animation: unset;
    padding: 0 2em;
    max-width: 350px;
  }

  @keyframes slideup {
    0% {
      transform: translateY(0) scale(1);
      -webkit-transform: translateY(0) scale(1);
      -moz-transform: translateY(0) scale(1);
      -ms-transform: translateY(0) scale(1);
      -o-transform: translateY(0) scale(1);
    }
    100% {
      transform: translateY(-20%) scale(0.9);
      -webkit-transform: translateY(-20%) scale(0.9);
      -moz-transform: translateY(-20%) scale(0.9);
      -ms-transform: translateY(-20%) scale(0.9);
      -o-transform: translateY(-20%) scale(0.9);
    }
  }

  .landing {
    flex-direction: column;
    justify-content: center;
    justify-content: space-evenly;
    background-size: cover;
    background-position: center;
    height: 200px;
  }

  .landing-img {
    width: 100%;
    padding: 0;
    text-align: center;
  }

  .landBtn {
    padding: 0.5em 1.75em;
    width: 100%;
    margin: 0.5em auto;
    display: inline-block;
    background: var(--title-color);
  }

  @keyframes textfade {
    0% {
      opacity: 0;
      transform: translateY(100%);
      -webkit-transform: translateY(100%);
      -moz-transform: translateY(100%);
      -ms-transform: translateY(100%);
      -o-transform: translateY(100%);
    }

    95% {
      opacity: 0;
      filter: invert(100%);
      transform: translateY(100%);
      -webkit-transform: translateY(100%);
      -moz-transform: translateY(100%);
      -ms-transform: translateY(100%);
      -o-transform: translateY(100%);
      -webkit-filter: invert(100%);
    }

    100% {
      filter: invert(0);
      opacity: 1;
      transform: translateY(0%);
      -webkit-transform: translateY(0%);
      -moz-transform: translateY(0%);
      -ms-transform: translateY(0%);
      -o-transform: translateY(0%);
      -webkit-filter: invert(0);
    }
  }

  .landing-info {
    margin: 2em auto 0 auto;
    max-width: 100%;
  }

  .landing-info h2 {
    font-size: 3.5rem;
  }

  .subhead {
    font-weight: 700;
    font-size: 1rem;
    min-width: max-content;
    color: var(--accent2-color);

    font-weight: 800;
  }

  .subhead2 {
    font-size: 0.9rem;
    font-weight: 600 !important;
    margin: 0;
  }

  .landing-img {
    height: auto;
    margin: 0;
    padding: 0;
    display: block;
  }

  .landing-img img {
    max-width: 100%;
    filter: invert(-10%);
    -webkit-filter: invert(-10%);
  }

  .tools {
    flex-wrap: wrap;
    justify-content: space-evenly;
  }

  .toolImg {
    width: 25vw;
    max-height: 75px;
    padding: 1em 0;
  }

  .toolinfo {
    text-align: center;
    border-radius: 10px;
    box-shadow: 0.5px 0 10px rgba(43, 32, 25, 0.678);
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
    flex: unset;
  }

  .toolinfo p {
    font-size: 0.55rem;
    padding: 1em 0;
    margin: 0 auto;
  }

  .certificate {
    display: flex;
  }

  .certificate img {
    margin: 0 auto;
    width: 100%;
    padding: 0em;
    box-shadow: 2px 2px 10px rgba(43, 32, 25, 0.678);
  }

  .section-title h1 {
    font-size: 3rem;
  }

  .title {
    grid-row: 1;
    grid-column: 1 / -1;
    z-index: 10;
    background: none;
  }

  .title h1 {
    font-size: 2.5rem;
    width: max-content;
    margin: 0;
    color: var(--title-color);
    text-transform: uppercase;
    font-weight: 300;
    border-bottom: 1px solid var(--accent3-color);
  }

  .title h1::before {
    left: -120px;
  }

  .siteinfo {
    padding: 0 3em !important;
  }

  .mywork {
    flex-direction: column;
    padding: 0;
  }

  .work-img {
    margin: 2em auto;
    max-width: 100%;
    padding: 0 1em;
    gap: 5px;
  }

  .work-img h2 {
    font-size: 1rem;
  }

  .graphics-container {
    padding: 0;
    margin: 4em auto 0 auto;
    width: 100vw;
    max-width: 100%;
  }

  .graphics-container img {
    display: block;
    width: 30%;
    height: 115px;
    margin: 0.5px;
  }

  .vids {
    flex-direction: column;
  }

  form {
    width: 80%;
    font-size: 0.85rem;
    margin: 0 auto;
    color: var(--title-color);
    letter-spacing: 2.6px;
  }

  .submit {
    background: var(--primary-color);
    color: var(--accent3-color);
    width: 100%;
    margin: 0 auto;
  }

  .names {
    justify-content: space-between;
  }

  .name {
    margin-right: 1em;
    max-width: unset;
  }

  .lname {
    margin-right: 0;
  }

  .socialmedia p {
    font-weight: 900;
    text-align: center;
    margin-bottom: 0;
    color: var(--primary-color);
  }
}

/* SNAKE GAME */

iframe {
  width: 100%;
  height: 500px;
  margin-top: 5em;
}

.snake-container {
  height: 500px;
}

.app h1 {
  font-size: 4rem;
  font-family: "perspire";
  color: rgb(206, 207, 112);
  margin: 0;
}

.app h2 {
  color: khaki;
}

.game-grid {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  width: 200px;
  height: 200px;
  margin: 0 auto;
  position: relative;
}

.game-grid-stopped {
  position: relative;
  transition: all 350ms ease-in-out;
  -webkit-transition: all 350ms ease-in-out;
  -moz-transition: all 350ms ease-in-out;
  -ms-transition: all 350ms ease-in-out;
  -o-transition: all 350ms ease-in-out;
}

.game-grid-stopped::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: url(pics/images/Game_Over.jpg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  animation: fadeIn 500ms;
  -webkit-animation: fadeIn 500ms;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: rotate(360deg) scale(0);
    -webkit-transform: rotate(360deg) scale(0);
    -moz-transform: rotate(360deg) scale(0);
    -ms-transform: rotate(360deg) scale(0);
    -o-transform: rotate(360deg) scale(0);
  }
  25% {
    transform: rotate(270deg) scale(0.25);
    -webkit-transform: rotate(270deg) scale(0.25);
    -moz-transform: rotate(270deg) scale(0.25);
    -ms-transform: rotate(270deg) scale(0.25);
    -o-transform: rotate(270deg) scale(0.25);
  }

  50% {
    opacity: 0.5;
    transform: rotate(180deg) scale(0.5);
    -webkit-transform: rotate(180deg) scale(0.5);
    -moz-transform: rotate(180deg) scale(0.5);
    -ms-transform: rotate(180deg) scale(0.5);
    -o-transform: rotate(180deg) scale(0.5);
  }

  75% {
    transform: rotate(45deg) scale(0.75);
    -webkit-transform: rotate(45deg) scale(0.75);
    -moz-transform: rotate(45deg) scale(0.75);
    -ms-transform: rotate(45deg) scale(0.75);
    -o-transform: rotate(45deg) scale(0.75);
  }

  100% {
    opacity: 1;
    transform: rotate(0deg) scale(1);
    -webkit-transform: rotate(0deg) scale(1);
    -moz-transform: rotate(0deg) scale(1);
    -ms-transform: rotate(0deg) scale(1);
    -o-transform: rotate(0deg) scale(1);
  }
}

.app {
  height: 500px;
  margin: 0 auto;
  padding: 2em 0;
  font-family: "Monsterrat", sans-serif;
  text-align: center;
  background: rgb(41, 39, 30);
  /* overflow-y: hidden; */
  max-width: 550px;
}

.square {
  width: 20px;
  height: 20px;
  background: rgb(211, 203, 131);
}

.snake {
  background-image: url(pics/images/snake.png);
  background-size: contain;
  background-repeat: no-repeat;
}

.apple {
  background-image: url(pics/images/Single_apple.png);
  background-size: contain;
  background-repeat: no-repeat;
}

#start {
  background: rgb(63, 51, 19);
  padding: 0.75em 3em;
  border: 2px solid rgba(255, 255, 255, 0.151);
  border-radius: 10px;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  -ms-border-radius: 10px;
  -o-border-radius: 10px;
  color: var(--accent3-color);
  font-weight: 900;
  font-size: 0.75rem;
  outline: none;
}

.finalScore {
  color: rgb(224, 193, 125);
  font-weight: 900;
  transform: translateX(-100%);
  transition: all 350ms ease-in-out;
  -webkit-transition: all 350ms ease-in-out;
  -moz-transition: all 350ms ease-in-out;
  -ms-transition: all 350ms ease-in-out;
  -o-transition: all 350ms ease-in-out;
  -webkit-transform: translateX(-100%);
  -moz-transform: translateX(-100%);
  -ms-transform: translateX(-100%);
  -o-transform: translateX(-100%);
  margin: 0;
}

.arrows {
  font-size: 3rem;
  opacity: 0.5;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 200px;
  height: 200px;
}

.updown {
  height: 100%;
  width: 50px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  /* z-index: 10; */
}

.up,
.down,
.left,
.right {
  cursor: pointer;
  color: var(--accent3-color);
}
.leftright {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 50px;
  transform: translateY(150%);
  -webkit-transform: translateY(150%);
  -moz-transform: translateY(150%);
  -ms-transform: translateY(150%);
  -o-transform: translateY(150%);
}

.landBtn2 {
  width: 300px;
  margin-bottom: 1em;
}

#lightbox {
  position: fixed;
  margin: auto;
  min-height: 100% !important;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.76);
  backdrop-filter: blur(5px);
  z-index: 100;
  opacity: 0;
  transition: all 250ms ease-in-out;
  -webkit-transition: all 250ms ease-in-out;
  -moz-transition: all 250ms ease-in-out;
  -ms-transition: all 250ms ease-in-out;
  -o-transition: all 250ms ease-in-out;
  z-index: 1000;
  display: none;
}

#lightbox.active {
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 1;
  transition: all 250ms ease-in-out;
  -webkit-transition: all 250ms ease-in-out;
  -moz-transition: all 250ms ease-in-out;
  -ms-transition: all 250ms ease-in-out;
  -o-transition: all 250ms ease-in-out;
}

#lightbox.active img {
  max-height: 90vh;
  max-width: 80vw;
  border: 1px solid var(--accent3-color);
  padding: 4px;
  background: transparent;
  animation: lightbox 250ms cubic-bezier(0.39, 0.575, 0.565, 1);
  -webkit-animation: lightbox 250ms cubic-bezier(0.39, 0.575, 0.565, 1);
}

@keyframes lightbox {
  0% {
    opacity: 0;
    transform: scale(0);
    -webkit-transform: scale(0);
    -moz-transform: scale(0);
    -ms-transform: scale(0);
    -o-transform: scale(0);
  }

  100% {
    opacity: 1;
    transform: scale(1);
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    -o-transform: scale(1);
  }
}
