*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 7rem;
}

:root {
  --main-bg-color: #020225f3;
  --sec-bg-color: #022131;
  --turq-surf: #00b4d8;
  --frost-blue: #90e0ef;
  --font-color: white;
}

a {
  all: unset;
  cursor: pointer;
}

ul {
  list-style-type: none;
  padding: 0;
}

footer {
  margin-top: 2rem;
  padding: 1rem;
  border-top: 1px solid white;
}

a:hover {
  color: bisque;
}

section {
  margin-bottom: 3rem;
}

body {
  background-color: #002233;

  color: var(--font-color);
  font-family: "Inter", sans-serif;
  max-width: 100%;
  width: 1000px;
  margin: 0 auto;
  padding: 0;
  overflow-x: hidden;
}

.spacer {
  aspect-ratio: 3/2;
  width: 100vw;
  height: 300px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.layer1 {
  background-image: url("./images/background/wave-haikei.svg");
}

.layer2 {
  background-image: url("./images/background/upside-down-wave.svg");
}

.layer3 {
  background-image: url("./images/background/wave-strip.svg");
}

.layer4 {
  background-image: url("./images/background/circle-scatter-haikei.svg");
}

#experience {
  position: relative;
  isolation: isolate;
  padding: 3rem 0;
  margin-bottom: 0;
}

#experience::before {
  content: "";
  position: absolute;
  inset: 0 calc(50% - 50vw);
  background-color: #0066ff;
  z-index: -1;
}

.outer-contact {
  position: relative;
  isolation: isolate;
}

.outer-contact::before {
  content: "";
  position: absolute;
  inset: 0 calc(50% - 50vw);
  background-image: url(./images/background/circle-scatter-haikei.svg);
  z-index: -1;
}

.upproj-container-outside {
  position: relative;
  isolation: isolate;
  padding: 0;
  margin-bottom: 0;
}

.upproj-container-outside::before {
  content: "";
  position: absolute;
  inset: 10% calc(50% - 50vw) 0 calc(50% - 50vw);
  background-color: #0066ff;
  z-index: -1;
}

.animate-scroll {
  opacity: 0;
  scale: 0.75;
  transition:
    opacity 0.6s ease,
    scale 0.6s ease;
}

.animate-scroll.revealed {
  opacity: 1;
  scale: 1;
}

.above-nav-blur {
  position: fixed;
  top: 0;
  width: 1000px;
  height: 20px;
  background-color: transparent;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 100;
}

.nav-wrapper {
  background-color: hsl(216.3, 51.4%, 29%, 0.75);
  background: linear-gradient(
    to right,
    hsla(216, 52%, 45%, 0.75),
    hsla(217, 82%, 28%, 0.75)
  );
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: white;
  position: fixed;
  top: 0;
  margin-top: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1.5px solid rgba(87, 233, 243, 50%);
  border-radius: 10px;
  max-width: 100%;
  width: 1000px;
  height: 65px;
  font-size: 1rem;
  z-index: 100;
}

.link-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  list-style-type: none;
  margin-right: 1em;
}

.nav1 {
  font-size: 20px;
  font-weight: 500;
  opacity: 90%;
  margin-left: 32px;
  margin-right: auto;
  white-space: nowrap;
  min-width: 0;
}

.nav-item {
  margin: 0px 1em;
  opacity: 80%;
}

.nav1 a:hover {
  color: white;
}

.nav-item:hover a {
  color: rgb(104, 216, 224);
  text-shadow: 0px 0px 3px white;
}

.menu-item:hover a {
  text-shadow: 0px 0px 3px white;
}

.intro-container {
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
  text-align: center;
  padding: 5%;
  margin-top: 6rem;
  background-color: #052a55;
  background: radial-gradient(circle, var(--frost-blue), var(--main-bg-color));
  border-radius: 15px;
  box-shadow: 0px 4px 10px rgba(18, 88, 158, 0.877);
  transform-style: preserve-3d;
  transform: perspective(1000px) rotateX(0deg) rotateY(0deg);
}

.intro-container-image {
  height: 200px;
  max-width: 100%;
  width: 200px;
  object-fit: cover;
  border-radius: 50%;
  flex-shrink: 0;
  transform: translateZ(60px);
  box-shadow: 0 20px 30px rgba(0, 0, 0, 0.35);
}

.intro-container-name-text {
  font-size: 30px;
  font-weight: 800;
  padding: 1rem;
  transform: translateZ(40px);
  text-shadow: 2px 3px 5px rgb(177, 190, 218);
}

.intro-container-tagline {
  margin: 0;
  transform: translateZ(25px);
  text-shadow: 2px 3px 5px rgb(177, 190, 218);
}

.valued-items {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  padding: 1rem;
  margin: 1rem 0 0rem 0rem;
  text-wrap: nowrap;
  font-size: 1rem;
  font-weight: 700;
}

.chrome-text {
  background: linear-gradient(
    to left,
    #8a8a8a 0%,
    #b0b0b0 12%,
    #f5f5f5 25%,
    #ffffff 32%,
    #c9c9c9 42%,
    #8a8a8a 50%,
    #eaeaea 60%,
    #ffffff 68%,
    #b0b0b0 82%,
    #8a8a8a 100%
  );
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.dev-exp-header {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  width: fit-content;
  text-wrap: nowrap;
  gap: 1rem;
  padding: 0 1rem 0 1rem;
  margin-bottom: 1rem;
  margin: auto;
  text-shadow: 1.5px 2px 5px rgba(177, 190, 218, 0.8);
}

.prj-exp-header {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  width: fit-content;
  text-wrap: nowrap;
  gap: 1rem;
  padding: 0 1rem 0 1rem;
  margin: auto auto 4% auto;
  text-shadow: 1.5px 2px 5px rgba(177, 190, 218, 0.8);
}

.upproj-header {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  width: fit-content;
  text-wrap: nowrap;
  gap: 1rem;
  padding: 0 1rem 0 1rem;
  margin: auto;
  text-shadow: 1.5px 2px 5px rgba(177, 190, 218, 0.8);
}

.work-experience-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 3rem;
  background-clip: content-box;
  border-radius: 5px;
  border: 10px solid transparent;
  width: 100%;
  box-sizing: border-box;
}

.work-experience-wrapper:hover {
  color: white;
}

.box-shadow-red,
.box-shadow-gray {
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}

.box-shadow-red:hover,
.box-shadow-gray:hover {
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.8);
}

.work-experience-wrapper-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: start;
  max-width: 35ch;
  margin-right: auto;
  padding-left: 2rem;
}

.work-experience-wrapper-text h4 {
  margin: 0.5rem 0 1rem 0;
}

.work-experience-img-wrapper {
  width: 490px;
  height: 490px;
}

.work-experience-img {
  width: 100%;
  height: 100%;
  border-radius: 5px;
  object-fit: cover;
  object-position: left top;
}

.hymnary-img-offset {
  object-view-box: xywh(40px 90px 800px 800px);
}

.hymnary-logo {
  width: 100%;
  height: 100%;
  object-position: -10px top;
}

.myhymnary-logo {
  width: 100%;
  height: 100%;
}

.myhymnary-wrapper {
  background-color: whitesmoke;
  background: radial-gradient(circle, #f3f1db, #a05a65 100%) border-box;
  border-radius: 5px;
  padding: 5%;
}

.myhymnary-img-offset {
  object-view-box: xywh(0px 90px 1050px 1050px);
}

.gentex-img-offset {
  object-fit: contain;
  object-position: center;
}

.ace-img-offset {
  object-fit: fill;
  object-view-box: xywh(300px 750px 2600px 2600px);
}

.ace-logo {
  border-radius: 8px;
  width: 100%;
  height: 100%;
  object-fit: fill;
  object-position: -40px top;
}

.reverse-flex {
  flex-direction: row-reverse;
}

.hymnary-color {
  background: linear-gradient(to bottom right, #3a0d14, #9b1c2e, #e9e6cd)
    border-box;
}

.myhymnary-color {
  background: linear-gradient(to top left, #3a0d14, #9b1c2e, #e9e6cd) border-box;
}

.gentex-color {
  background: linear-gradient(
      to bottom right,
      #0d0d0d,
      #4a4a4a,
      #b0b0b0,
      #f5f5f5
    )
    border-box;
}

.ace-color {
  background: linear-gradient(
      to bottom right,
      #1a1a1a,
      #1a1a1a,
      #4a4a4a,
      #6e6e6e,
      #4a7ac7,
      #e0559e
    )
    border-box;
}

.hamburger {
  display: none;
}

.drop-down-links {
  display: none;
}

.menu-item {
  height: 100px;
  width: 100%;
  border-radius: 5px;
  border: 2px solid rgba(0, 0, 0, 0.5);
  border-top: none;
}

.menu-item:hover {
  border: 2px solid var(--frost-blue);
}

.menu-item a {
  height: 100%;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 16px;
}

.projects {
  margin: 0;
}

.project-carousel-container {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  height: 40vh;
  width: 100vw;
  margin: 0 0 0 calc(50% - 50vw);
  overflow-x: clip;
  perspective: 1500px;
  transform-style: flat;
}

.project-card {
  flex: 0 0 40rem;
  height: 30rem;
  width: 45rem;
  margin: -7rem;
  box-shadow: 0px 0px 30px rgb(49, 49, 49);
  border-radius: 6px;
  position: relative;
  transition: 0.5s ease;
  transform-style: flat;
  transition:
    transform 0.4s ease,
    filter 0.4s ease;
  backface-visibility: hidden;
}

.project-card h2 {
  position: absolute;
  top: 2rem;
  left: 4rem;
  padding: 1rem;
  background-color: rgba(0, 0, 0, 0.9);
  border-radius: 5px;
}

.project-card p {
  position: absolute;
  top: 20rem;
  padding: 1rem;
  margin: 1rem;
  text-align: center;
  background-color: rgba(0, 0, 0, 0.9);
  border-radius: 5px;
}

.project-card-bg {
  border-radius: 6px;
  width: 100%;
  height: 100%;
}

.chess-background {
  background-image: url("images/ChessPhoto.png");
  background-position: 40% 30%;
}

.ourkitchen-background {
  background-image: url("images/OurKitchenPhoto.png");
  background-position: 50% 35%;
  background-size: 150% 130%;
}

.lootraiders-background {
  background-image: url("images/LootRaidersPhoto.png");
  background-size: 100% 100%;
}

.zork-background {
  background-image: url("images/ZorkPhoto.png");
}

.sw-galaga-background {
  background-image: url("images/StarWarsGalagaPhoto.png");
  background-size: 100% 100%;
  background-position: -1rem 0%;
}

.buttons-wrapper {
  display: flex;
  justify-content: center;
  margin: 5% 0 0 0;
}

.project-btn {
  color: white;
  background-color: black;
  border: 1px solid black;
  border-radius: 50%;
  height: 5rem;
  width: 5rem;
  padding: 0.75rem;
  margin: 0.5rem;
  cursor: pointer;
  transition: transform 0.2 ease;
}

.project-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  background-color: rgb(18, 126, 226);
}

.project-btn:active {
  transform: translateY(0px);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.upproj-container {
  display: flex;
  justify-content: center;
  align-items: start;
  flex-wrap: wrap;
  margin: 0;
}

.upproj-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 20rem;
  min-width: 29rem;
  margin: 1rem;
  box-shadow: 0px 6px 10px rgba(15, 29, 44, 0.418);
  background-color: black;
  border-radius: 6px;
  position: relative;
}

.upproj-card:hover {
  transform: translateY(-4px);
  box-shadow: 0px 6px 10px rgba(15, 29, 44, 0.925);
}

.upproj-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background-size: cover;
  opacity: 0;
  transition: opacity 3s ease;
}

.upproj-card.displayed::before {
  opacity: 1;
}

.bible-guesser-bg::before {
  background-image: url(images/project-teasers/Bible-guesser-cover.png);
}

.find-hobby-bg::before {
  background-image: url(images/project-teasers/Find-hobby-cover.png);
}

.paddle-finder-bg::before {
  background-image: url(images/project-teasers/Paddle-finder-cover.png);
}

.upproj-card h4 {
  background: black;
  width: 100%;
  padding: 1rem 2rem;
  margin: 0;
  border-radius: 6px;
  position: absolute;
  top: 0;
}

.upproj-card.displayed h4 {
  display: none;
}

.question-icon {
  position: absolute;
  top: 45%;
  left: 37.5%;
  opacity: 1;
  color: rgb(82, 202, 242);
  transition: opacity 1s ease;
}

.upproj-card.displayed .question-icon {
  opacity: 0;
}

.mystory-container,
.pickleball-container,
.gamer-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: #074b8b;
  border-radius: 6px 6px 0 0;
  padding: 2rem 2rem 0 2rem;
  margin-bottom: 4rem;
  box-shadow: 0px 4px 10px rgba(250, 251, 252, 0.534);
}

.gamer-container {
  margin-bottom: 0rem;
}

.mystory-container:hover,
.pickleball-container:hover,
.gamer-container:hover {
  color: rgb(238, 238, 238);
  background-color: #0a5da1;
  box-shadow: 0px 4px 5px rgba(250, 251, 252, 0.877);
}

#about {
  position: relative;
}

.tooltip-text {
  position: absolute;
  color: white;
  background-color: rgba(96, 112, 141, 0.9);
  border-radius: 6px;
  top: -30px;
  left: 51%;
  padding: 0.5rem;
  visibility: hidden;
  z-index: 4;
  transition: visibility 0.3s ease 0.75s;
}

.mystory-read-btn,
.pickleball-read-btn,
.gamer-read-btn {
  position: relative;
  align-self: end;
  cursor: pointer;
  z-index: 3;
  height: 2rem;
  width: calc(100% + 4rem);
  transform: translateX(2rem);
  border-radius: 0 0 5px 5px;
}

.mystory-read-btn:hover,
.pickleball-read-btn:hover,
.gamer-read-btn:hover {
  color: white;
  transform: translate(2rem, -2px);
  background-color: #063470;

  .tooltip-text {
    visibility: visible;
  }
}

.mystory-read-btn:active,
.pickleball-read-btn:active,
.gamer-read-btn:active {
  transform: translate(2rem, 0px);
}
.mystory-container h2,
.pickleball-container h2,
.gamer-container h2 {
  align-self: start;
  text-shadow: 1.5px 2px 5px rgba(177, 190, 218, 0.8);
}

.mystory-orig-text,
.pickleball-orig-text,
.gamer-orig-text {
  max-width: 100%;
}

.mystory-dots,
.pickleball-dots,
.gamer-dots {
  display: inline;
}

.mystory-more-text,
.pickleball-more-text,
.gamer-more-text {
  display: none;
  opacity: 0;
  transition:
    opacity 0.5s ease,
    display 0.5s allow-discrete;
}

.aboutme-br {
  display: block;
  margin-top: 1rem;
}
.about-img-carousel {
  display: flex;
  overflow: hidden;
  width: 100%;
  margin: 1.5rem 0 1.5rem 0;
}

.carousel-track-gamer {
  display: flex;
  animation: scroll 40s linear infinite;
}

.carousel-track-pickle {
  display: flex;
  animation: scroll 120s linear infinite;
}

.carousel-track-mystory {
  display: flex;
  animation: scroll 180s linear infinite;
}

.about-img {
  width: 300px;
  height: 240px;
  object-fit: cover;
  border-radius: 6px;
  margin-right: 1rem;
}

.shift-pic-down {
  object-view-box: inset(20% 0 0 0);
}

.shift-pic-up {
  object-view-box: inset(0 0 20% 0);
}

@keyframes scroll {
  to {
    transform: translateX(-100%);
  }
}

.lethal-video {
  width: 200px;
  height: 300px;
  object-fit: cover;
  margin: 1rem 0;
  border-radius: 6px;
}

.pickle-video-1 {
  width: 200px;
  height: 300px;
  object-fit: cover;
  object-view-box: inset(10% 0 40% 10%);
  margin-top: 1rem;
  border-radius: 6px;
}

.pickle-video-2 {
  width: 200px;
  height: 300px;
  object-fit: cover;
  object-view-box: inset(10% 0 0 0);
  margin-top: 1rem;
  border-radius: 6px;
}

.pickle-video-container-1,
.gamer-video-container {
  display: inline;
  float: right;
  margin-left: 1rem;
  position: relative;
}

.pickle-video-container-2 {
  display: inline;
  float: left;
  margin-right: 1rem;
  position: relative;
}

.mute-icon,
.volume-icon {
  position: absolute;
  top: 2rem;
  right: 0.7rem;
  z-index: 3;
  background-color: rgba(0, 0, 0, 0.8);
  border-radius: 50%;
  min-width: 1.75rem;
  height: 1.75rem;
}

.play-icon,
.pause-icon {
  position: absolute;
  top: 50%;
  left: 53%;
  transform: translate(-50%, -50%);
  z-index: 2;
  background-color: rgba(0, 0, 0, 0.8);
  border-radius: 50%;
  min-width: 3rem;
  height: 3rem;
}

.pause-icon,
.mute-icon {
  visibility: hidden;
}

.play-icon::before,
.volume-icon::before,
.mute-icon::before,
.pause-icon::before {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.mystory-more-text.open,
.pickleball-more-text.open,
.gamer-more-text.open {
  display: inline;
  opacity: 1;
}

.gamer-img.open {
  display: block;
  opacity: 1;
}

@starting-style {
  .mystory-more-text.open,
  .pickleball-more-text.open,
  .gamer-more-text.open {
    opacity: 0;
  }
  .gamer-img.open {
    opacity: 0;
  }
}

.contact-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  max-width: 80%;
  margin: auto;
  padding: 3.5rem;
  min-height: 30rem;
  border-radius: 6px;
  background-image: linear-gradient(
    to right bottom,
    #042696,
    rgb(15, 110, 139)
  );
  font-family: inherit;
  font-size: inherit;
  box-shadow: 0px 4px 10px #e0e0e093;
}

.contact-container:hover {
  box-shadow: 0px 4px 10px #e0e0e0;
}

.contact-container h2 {
  margin-bottom: 3rem;
  text-shadow: 1px 2px 4px rgb(177, 190, 218);
}

.contact-form {
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: center;
  row-gap: 0.5rem;
  font-family: inherit;
  font-size: inherit;
}

.contact-form label {
  align-self: start;
  margin-left: 0.5rem;
  font-size: 12px;
  font-family: inherit;
  font-size: inherit;
}

.contact-form input {
  height: 3rem;
  width: 100%;
  max-width: 20rem;
  border-radius: 8px;
  padding: 1rem;
  margin-bottom: 0.25rem;
  font-family: inherit;
  font-size: 14px;
}

*::placeholder {
  font-size: 12px;
}

.contact-form textarea {
  height: 6rem;
  width: 100%;
  max-width: 20rem;
  border-radius: 8px;
  padding: 1rem;
  font-family: inherit;
  font-size: 14;
  margin-bottom: 0.25rem;
}

.contact-form button {
  color: white;
  background-color: rgb(35, 125, 209);
  font-family: inherit;
  height: 3rem;
  width: 13rem;
  border-radius: 8px;
  cursor: pointer;
}

.contact-form button:hover {
  color: white;
  background-color: rgb(13, 46, 77);
  transform: translateY(2px);
}

footer ul {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
}

footer ul li {
  margin: 1em;
  text-wrap: nowrap;
}

footer ul li:last-child {
  margin-left: auto;
}

footer ul li a i {
  font-size: x-large;
  color: rgb(223, 221, 221);
}

footer ul li a i:hover {
  font-size: x-large;
  color: rgb(180, 235, 253);
}

.resume-download:hover {
  span {
    color: rgb(180, 235, 253);
    text-shadow: 0px 0px 5px rgb(180, 235, 253);
  }
  i {
    color: rgb(180, 235, 253);
  }
}

@media (max-width: 1000px) {
  .spacer {
    height: 200px;
  }

  .buttons-wrapper {
    margin: 10% 0 0 0;
  }

  .valued-items {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    justify-items: center;
    padding: 3%;
  }
  .chrome-text {
    padding: 0.5rem;
  }

  .work-experience-wrapper {
    flex-direction: column;
    padding: 3%;
  }

  body {
    padding: 1% 3%;
    overflow-x: hidden;
  }

  .nav-wrapper {
    width: 94%;
  }
  .above-nav-blur {
    width: 94%;
  }

  .work-experience-wrapper-text {
    justify-content: center;
    align-items: center;
    margin: 0;
    padding: 0 0 1% 0;
    text-align: center;
  }

  .work-experience-img-wrapper {
    width: 300px;
    height: 300px;
  }
  .ace-logo {
    object-position: center;
  }
}

@media (max-width: 800px) {
  .project-carousel-container {
    height: fit-content;
  }

  .project-card {
    flex: 0 0 30rem;
    margin: 0 -7rem;
    height: fit-content;
  }

  .project-card-bg {
    height: 25rem;
    border-radius: 6px 6px 0 0;
  }

  .project-card p {
    position: static;
    background-color: rgba(0, 0, 0, 0.95);
    padding: 1.5rem;
    margin: 0;
    width: 100%;
    border-radius: 0 0 6px 6px;
  }

  .project-card h2 {
    font-size: 1.5rem;
    top: 1rem;
    left: 2rem;
  }

  .ourkitchen-background {
    background-size: cover;
  }

  .lootraiders-background {
    background-size: cover;
  }

  .sw-galaga-background {
    background-size: cover;
  }
}

@media (max-width: 700px) {
  .intro-container-image {
    width: 250px;
    height: 250px;
    margin: 5% 0 5% 0;
  }
  .valued-items {
    grid-template-columns: 1fr 1fr;
  }

  .project-card {
    flex: 0 0 23.5rem;
  }

  .project-card-bg {
    height: 20rem;
  }

  footer ul li {
    font-size: 14px;
  }

  footer ul li a i {
    font-size: large;
  }
}

@media (max-width: 600px) {
  .link-wrapper {
    display: none;
  }

  .dev-exp-header i:nth-child(n + 4) {
    display: none;
  }

  .hamburger {
    display: flex;
    background-color: transparent;
    color: white;
    border: none;
    margin-right: 4%;
    cursor: pointer;
    z-index: 1;
  }

  .hamburger:hover {
    text-shadow: 0px 0px 3px white;
  }

  .drop-down-links {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 65px;
    width: 94%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
    border-radius: 5px;
    background-color: rgba(22, 81, 170, 0.95);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 100;
  }

  .open {
    max-height: 700px;
  }

  .project-card h2 {
    top: 1rem;
    left: 2rem;
  }

  .buttons-wrapper {
    text-align: center;
  }
  .project-btn {
    height: 3.5rem;
    width: 3.5rem;
    padding: 0.5rem;
    margin: 0.5rem;
  }

  .contact-container {
    max-width: 100%;
    padding: 1rem;
  }

  footer ul {
    flex-wrap: wrap;
  }

  footer ul li:last-child {
    margin-left: auto;
  }
}

@media (max-width: 500px) {
  .dev-exp-header i {
    display: none;
  }

  .dev-exp-header,
  .upproj-header {
    text-wrap: wrap;
  }

  .prj-exp-header i:nth-child(n + 4) {
    display: none;
  }

  .upproj-header i {
    display: none;
  }

  .upproj-card {
    min-height: 20rem;
    min-width: 17rem;
  }

  .bible-guesser-bg::before {
    background-position: center;
  }

  .find-hobby-bg::before,
  .paddle-finder-bg::before {
    background-position: left;
    background-position-x: -1.5rem;
  }

  .question-icon {
    top: 50%;
    left: 30%;
  }

  .project-card-bg {
    height: 12.5rem;
  }

  .pickle-video-container-1 {
    display: block;
    float: none;
    width: fit-content;
    margin: 0 auto 1rem auto;
  }

  .pickle-video-container-2 {
    display: block;
    float: none;
    width: fit-content;
    margin: 0 auto 1rem auto;
  }

  .gamer-video-container {
    display: block;
    float: none;
    width: fit-content;
    margin: 0 auto;
  }
}

@media (max-width: 400px) {
  .valued-items {
    grid-template-columns: 1fr;
  }

  .work-experience-img-wrapper {
    width: 250px;
    height: 250px;
  }

  .project-card {
    flex: 0 0 18rem;
  }

  .project-card h2 {
    font-size: 1rem;
  }

  .upproj-card p {
    padding: 1rem 2rem;
  }
}
