/*
	Theme Name: Portfolio
	Theme URI: 
	Author: Valérie
	Author URI:
	Description: Personalised theme for my portfolio
	Requires at least:
	Version: 
*/

* {
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: "Inter", sans-serif;
  background-color: white;
  min-height: 100dvh;

  margin: 0px;
  background-color: #ffffff;
  background-image: radial-gradient(#d0b9b9 0.5px, #ffffff 0.5px);
  background-size: 10px 10px;
  padding-bottom: env(safe-area-inset-bottom);
}

body,
a,
button,
#mode,
* {
  cursor: pointer;
  cursor:
    url("../portfolio/assets/images/cursor_2.png") 16 16,
    auto;
}

body.wp-admin *,
body.login *,
.wp-core-ui * {
  cursor: pointer !important;
}

html,
body {
  min-width: 320px;
  transition:
    background-color 0.3s ease,
    color 0.3s ease;
  overscroll-behavior: none;
}

li {
  margin: 8px 0px;
}
body.dark-mode {
  background-image: radial-gradient(#545454 0.5px, #141414 0.5px);
  color: #f7f7f7;
}

body.dark-mode .cta_home {
  box-shadow: none;
}
html {
  margin: 0px;
  padding: 0px;
  height: 100%;
  scroll-behavior: smooth;
}

header {
  width: 100%;
  z-index: 9999;
}

.home,
.homeMP {
  height: 100%;
  width: 100%;
}

.homeMP {
  min-height: 320px;
}

.home_top {
  display: flex;
  margin-top: -2vh;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  height: 100%;
  position: relative;
  min-height: 570px;
}

.home_sec_1 {
  display: flex;
}

.title {
  display: flex;
  height: 80vh;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  min-width: fit-content;
  margin: auto;
  margin-right: 4vh;
}

.mode {
  position: fixed;
  top: 0px;
  height: 60px;
  width: 60px;
  position: fixed;
  margin: 35px 0px 0px 35px;
  cursor: pointer;
  z-index: 999;
  transition: transform 4s ease;
}

.dark-mode .mode {
  filter: invert(1);
}
.mode:hover {
  transform: rotate(270deg);
}

.home_top h1 {
  white-space: normal;
  font-size: 5rem;
  font-weight: bolder;
  margin: 0px -12px -5px 0px;
  letter-spacing: 10px;
  text-shadow: rgba(0, 0, 0, 0.08) 0px 4px 12px;
}

.home h3 {
  font-weight: lighter;
  letter-spacing: 11px;
  font-size: 1.6rem;
  margin: 5px 0px 5px 0px;
}

.home h2,
.homeMP h2 {
  font-weight: lighter;
  letter-spacing: 4px;
  font-size: 1.3rem;
  margin-right: 8px;
}

.main_button {
  display: flex;
  justify-content: center;
  align-items: center;
  width: fit-content;
  border-radius: 50%;
  text-decoration: none;
  font-weight: bold;
  transition: transform 0.3s ease;
  margin: auto;
}

.main_button_small {
  transition: transform 0.3s ease;
  margin-right: 70px;
}

.main_button:hover,
.main_button_small:hover {
  transform: scale(1.1);
}

.about {
  width: 100%;
  height: auto;
}

.about_me {
  margin: -180px 7vw 50px auto;
  height: 120%;
  display: flex;
  flex-direction: column;
  width: 200px;
  border-radius: 300px;
  background-image: linear-gradient(to right, #faffdd, #cec0f9);
  box-shadow: rgba(0, 0, 0, 0.15) 0px 4px 12px;
  scroll-margin-top: 120px;
}

.about_wrapper {
  position: sticky;
  top: 150px;
  margin: 14% auto 25% auto;
}

.about-me_icon {
  width: 100px;
  height: 100px;
  border: none;
}

.about-me_top {
  position: absolute;
  height: 170px;
  width: 170px;
  border: none;
  animation: rotation 10s infinite linear;
}

@keyframes rotation {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(359deg);
  }
}

.about_me .main_button {
  margin-top: 25%;
}

.about_p {
  margin: 100px 40px 40px 40px;
  text-align: left;
  font-size: 20px;
}

.my_projects_wrapper {
  width: 50%;
  min-width: 250px;
  overflow: hidden;
}

.my_projects {
  display: flex;
  height: 350px;
  width: 90%;
  margin: 4vh 0vh 4vh auto;
  border-radius: 400px 0px 0px 400px;
  background-image: linear-gradient(to bottom right, #ddffe7, #b1f5ff);
  box-shadow: rgba(0, 0, 0, 0.15) 0px 4px 12px;
  transition: all 0s ease-in-out;
  z-index: 0;
  transform-origin: top right;
}

.my_projects_small {
  position: fixed;
  display: flex;
  top: 140px;
  right: -120px;
  height: 100px;
  width: 110px;
  border-radius: 400px 0px 0px 400px;
  background-image: linear-gradient(to bottom right, #ddffe7, #b1f5ff);
  box-shadow: rgba(0, 0, 0, 0.15) 0px 4px 12px;
  transition: all 0.5s ease-in-out;
  align-items: center;
  z-index: 999;
  pointer-events: none;
}

.about_title h1,
.home_sec_2 h1 {
  font-size: 42px;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 2px;
}

.about_small {
  position: fixed;
  display: flex;
  top: 140px;
  right: -120px;

  height: 100px;
  width: 108px;
  border-radius: 400px 0px 0px 400px;
  background-image: linear-gradient(to right, #faffdd, #cec0f9);
  box-shadow: rgba(0, 0, 0, 0.15) 0px 4px 12px;
  transition: all 0.5s ease-in-out;
  align-items: center;
  z-index: 999;
  pointer-events: none;
}

#about_small.bottom-mode {
  transform: translateY(calc(100dvh - 380px));
}

.my_projects_small.visible {
  right: 0;
  pointer-events: auto;
}

.about_small.visible {
  right: 0;
  pointer-events: auto;
}

.my-projects_icon {
  width: 160px;
  height: 160px;
  margin-left: 100px;
  transition: all 0.3s ease-in-out;
}

.my-projects_icon_small {
  width: 45px;
  height: 45px;
  margin-left: 27px;
  transition: all 0.3s ease-in-out;
}

.my-projects_top {
  position: absolute;
  overflow: hidden;
  height: 250px;
  width: 250px;
  margin-left: 100px;
  animation: rotation 10s infinite linear;
  transition: all 0.3s ease-in-out;
}

.my-projects_top_small {
  position: absolute;
  height: 70px;
  width: 70px;
  margin-left: -58px;
  margin-top: -12px;
  animation: rotation 10s infinite linear;
  transition: all 0.3s ease-in-out;
}

.my_projects .main_button {
  margin-top: 95px;
  margin-left: -20px;
}

.contact {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 50%;
}

.contact_wrapper {
  position: fixed;
  top: 20px;
  right: 0px;
  width: 110px;
  display: flex;
  padding: 0px 35px 0px 35px;
  height: 100px;
  justify-content: center;
  border-radius: 50px 0px 0px 50px;
  box-shadow: rgba(0, 0, 0, 0.2) 0px 4px 12px;
  z-index: 9999;

  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: all 0.5s ease-in-out;
  transform: none;
}

#contact_wrapper.bottom-mode {
  transform: translateY(calc(100dvh - 140px));
}

#mp_cta.bottom-mode {
  opacity: 1;
  right: 200px;
}

.contact_wrapper_footer {
  position: fixed;
  bottom: 80px;
  right: 0px;
  width: 110px;
  display: flex;
  padding: 0px 35px 0px 35px;
  height: 100px;
  justify-content: center;
  border-radius: 50px 0px 0px 50px;
  box-shadow: rgba(0, 0, 0, 0.2) 0px 4px 12px;
  z-index: 9999;

  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.contact_under {
  position: static;
}

.contact_quote {
  text-align: center;
  margin: 70px 20% 70px 50px;
  font-size: 30px;
  text-align: center;
}

.img_pen {
  transform: rotate(35deg);
  max-width: 400px;
  right: -280px;
  top: -120px;
  position: absolute;
}

.dark-mode .img_pen {
  filter: invert(0.1);
}

.img_paperclip_1,
.img_paperclip_2,
.img_paperclip_3 {
  max-width: 125px;
  position: absolute;
}

.img_paperclip_1 {
  transform: rotate(10deg);
  margin: 160px auto 0px 6%;
}

.img_paperclip_2 {
  transform: rotate(80deg);
  margin: 220px auto 0px 5%;
}

.img_paperclip_3 {
  transform: rotate(20deg);
  margin: 350px auto 0px 7%;
}

.img_pin_1,
.img_pin_2,
.img_pin_3 {
  width: 80px;
  position: absolute;
}
.img_pin_1 {
  transform: rotate(330deg);
  margin: 450px auto 0px 0px;
}
.img_pin_2 {
  transform: rotate(10deg);
  margin: 500px auto 0px 30px;
}
.img_pin_3 {
  transform: rotate(0deg);
  margin: 320px auto 0px -50px;
}

.eraser {
  width: 220px;
  position: absolute;
  right: -80px;
  top: -130px;
  transform: rotate(10deg);
}
.contact_wrapper img,
.contact_wrapper_footer img {
  height: 45px;
  width: 45px;
  margin: 10px;
}

.intro {
  text-align: left;
  font-size: 28px;
  letter-spacing: 1.5;
  margin: 0px 150px 100px auto;
  padding-top: 150px;
}

.bubble {
  position: relative;
  display: flex;
  height: 160px;
  width: 160px;
  align-items: center;
  justify-content: center;
  border-radius: 100%;
  margin: 5px;
  background: radial-gradient(
    circle at 75% 30%,
    #f3f7e2a1 5px,
    #faffdda1 8%,
    #ddffe7a1 60%,
    #b1f5ffa1 100%
  );
  box-shadow: rgba(0, 0, 0, 0.2) 0px 4px 12px;
  transition: all 0.3s ease-in-out;
}

.home .bubble {
  animation: float 10s ease-in-out infinite;
}

.homeMP .bubble {
  animation: floatB 6s ease-in-out infinite;
}
.bubble:hover img {
  animation-play-state: paused;
  transform: scale(0.75);
}

.bubble:hover {
  animation-play-state: paused;
  height: 120px;
  width: 120px;
}

@keyframes float {
  0% {
    transform: translateY(0px) scale(1);
  }
  25% {
    transform: translateY(-30px) scale(1.1);
  }
  50% {
    transform: translateY(0px) scale(0.6);
  }
  75% {
    transform: translateY(30px) scale(1.1);
  }
  100% {
    transform: translateY(0px) scale(1);
  }
}

@keyframes floatB {
  0% {
    transform: translateY(0px) scale(1);
  }
  50% {
    transform: translateY(-15px) scale(1.05);
  }
  100% {
    transform: translateY(0px) scale(1);
  }
}

/* random looking offsets */
.bubble:nth-child(odd) {
  animation-duration: 7s;
  animation-delay: 0s;
}

.bubble:nth-child(even) {
  animation-duration: 6s;
  animation-delay: 1s;
}

.bubble:nth-child(3n) {
  animation-duration: 8s;
  animation-delay: 0.5s;
}

.bubble:nth-child(4n) {
  animation-duration: 5.5s;
  animation-delay: 1.5s;
}

.outro {
  font-size: 28px;
  letter-spacing: 1.5;
  margin: 60px 20% 40px 20%;
}

.home_sec_4 {
  height: 100px;
  overflow: hidden;
}
.home_sec_4:hover {
  transform: translateY(-100px);
  transition: transform 0.3s ease-in-out;
  display: block;
  height: 200px;
}

.pixel {
  display: flex;
  margin: auto;

  width: 381px;
  border-radius: 25px;
  z-index: 9;
}

.pixel_text {
  text-align: center;
  margin-bottom: 20px;
  color: black;
  font-size: 20px;
  font-weight: bold;
  letter-spacing: 1;
}

.dark-mode .pixel_text {
  color: white;
}
.home_sec_4 .phone-video {
  margin-top: 0px;
}

.pixel_about {
  animation: imageChange 8s infinite steps(1);
  background-size: contain;
  background-position: top;
  width: 375px;
  height: auto;
  border-radius: 35px;
  position: absolute;
}

/* Project - Most Rencent*/

.phone-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
}

.phone-frame {
  display: block;
  position: relative;
  z-index: 2;
  width: 420px;
  height: 582px;
}

.phone-video {
  margin-top: 10px;
  position: absolute;
  width: 360px;
  margin-bottom: 0px;
  background-color: white;
  object-fit: cover;
  z-index: 1;
}

#the-road-days {
  margin-top: 200px;
}

.mp_project_2 .phone-video {
  margin-top: 46.55px;
  width: 626.05px;
}

.trd-frame {
  z-index: 9;
  height: 465.5px;
  width: 813.12px;
}

.tc-frame {
  width: 742.05px;
  height: 518.5px;
  z-index: 9;
  margin-top: -35.7px;
}

.tc-video {
  position: absolute;
  width: 595px;
  background-color: white;
  object-fit: cover;
  z-index: 1;
  margin-top: 2.55px;
  border-radius: 20px;
}

.ah-frame {
  width: 720px;
  height: 640px;
  z-index: 9;
  margin-top: -22px;
}

.ah-video {
  position: absolute;
  width: 700px;
  background-color: white;
  object-fit: cover;
  z-index: 1;
  overflow: hidden;
  height: 370px;
  margin-top: 16px;
  border-radius: 10px;
}

#TJ_wrap {
  margin-top: 8px;
}

.tj-frame {
  width: 295px;
  z-index: 9;
  height: 595px;
  margin-top: -12px;
}

.crop-box {
  width: 290px;
  height: 595px;
  overflow: hidden;
  position: absolute;
  border-radius: 0px 5px 22px 0px;
}

.tj-video {
  position: absolute;
  width: 320px;
  background-color: white;
  object-fit: cover;
  z-index: 1;
  border-radius: 18px;
  left: 50%;
  transform: translateX(-50%);
}

.scv-frame {
  width: 785.7px;
  height: 549px;
  z-index: 9;
  margin-top: -37.8px;
}

.scv-video {
  position: absolute;
  width: 581.4px;
  background-color: white;
  object-fit: cover;
  z-index: 1;
  margin-top: 19.8px;
}

.mp_other {
  flex-direction: row;
  display: flex;
  gap: 100px;
  width: 100%;
  height: fit-content;
  overflow-x: auto;
  white-space: nowrap;
  scroll-behavior: smooth;
  scrollbar-width: none;
  align-items: center;
}

.mp_other > * {
  flex: 0 0 100%; /* each child takes full width */
}

.carousel_wrapper {
  position: absolute;
  width: 100%;
}
#pauseBtn {
  position: absolute;
  left: 40px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: black;
  border: none;
  cursor: pointer;
  z-index: 10;
  overflow: hidden;
}

/* 🔵 progress ring */
.ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 3px solid black;
  background: conic-gradient(
    white 0deg,
    white 0deg,
    rgba(255, 255, 255, 0.2) 0deg
  );

  mask: radial-gradient(circle, transparent 60%, black 61%);
  -webkit-mask: radial-gradient(circle, transparent 60%, black 61%);
}

/* icon centered */
#pauseBtn img {
  position: absolute;
  top: 50%;
  left: 42%;
  width: 24px;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 2;
}

.play {
  height: 25px;
  display: flex;
  justify-self: center;
  margin-left: 5px;
  filter: invert(1);
}

.lineup_logo {
  height: 50px;
  width: auto;
  margin: 20px auto;
}

.dark-mode .lineup_logo {
  filter: invert(1);
}

.TheRoadDays_logo {
  height: 55px;
  width: auto;
  filter: contrast(10);
  align-self: baseline;
  margin-bottom: 20px;
}

.dark-mode .TheRoadDays_logo {
  filter: invert(1);
}

.TheRoadDays_logo .mp_other_p {
  filter: grayscale(1);
}

.tech_box {
  display: flex;
  flex-direction: row;
  justify-content: left;
  align-items: center;
  gap: 10px;
}

.tech_box .bubble {
  height: 90px;
  aspect-ratio: 1;
  width: auto;
}

.tech_box img {
  transition: all 0.3s ease-in-out;
}

@keyframes imageChange {
  0% {
    background-image: url("../portfolio/assets/images/pixel_1.png");
  }
  16.6% {
    background-image: url("../portfolio/assets/images/pixel_3.png");
  }
  33.3% {
    background-image: url("../portfolio/assets/images/pixel_6.png");
  }
  50% {
    background-image: url("../portfolio/assets/images/pixel_2.png");
  }
  66.6% {
    background-image: url("../portfolio/assets/images/pixel_5.png");
  }
  83.3% {
    background-image: url("../portfolio/assets/images/pixel_4.png");
  }
  100% {
    background-image: url("../portfolio/assets/images/pixel_4.png");
  }
}

a {
  text-decoration: none;
}

.homeMP section {
  min-height: 100dvh;
  align-items: center;
  display: flex;
}
.home_sec_2 {
  display: flex;
  align-items: center;
}

.home_sec_3 {
  display: flex;
  margin: auto;
  padding: 70px 0px 120px 0px;
  position: relative;
  overflow: hidden;
}

.mp_project_1 .project_intro {
  padding: 0px 20px 20px 50px;
}

.project_des {
  width: 450px;
}

.project_details {
  display: flex;
  gap: 30px;
  margin: 30px 0px;
  background-color: white;
  width: 400px;
  border-radius: 20px;
  padding: 20px;
  box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}

.dark-mode .project_details {
  background-color: black;
}
.LU_device {
  justify-content: right;
  display: flex;
}

#fin {
  position: absolute;
  margin-top: -150;
  height: 500;
  transform: rotate(168deg);
  left: -50px;
  z-index: -1;
}

#car_scent {
  margin-top: 150;
  position: absolute;
  height: 200;
  right: 40;
  transform: rotate(15deg);
  z-index: -1;
}

#car_scent .dark-mode {
  filter: invert(0.3);
}
#clip {
  margin-top: -300;
  position: absolute;
  height: 150;
  right: 100;
  transform: rotate(15deg);
  z-index: -1;
}

#post-it {
  margin-top: 150;
  position: absolute;
  height: 200;
  right: 40;
  transform: rotate(15deg);
  z-index: -1;
}

#sharpie {
  margin-top: 600;
  position: absolute;
  width: 450px;
  left: -230;
  transform: rotate(170deg);
  z-index: -1;
}

.skills_box {
  margin: 50px 10% auto 10%;
  width: 100%;

  position: relative;
}

.img_down-arrow {
  height: 50px;
}

.logo_about {
  display: flex;
  flex-wrap: wrap;
  max-width: 100%;
  justify-content: center;
  align-items: center;
  margin: 0px 10vw 0px 10vw;
}

.logo_about img {
  height: 60px;
  width: auto;
  margin: 30px;
  transition: all 0.3s ease-in-out;
}

#portrait-down-btn .img_down-arrow {
  display: none;
}

#scroll-down-btn {
  position: fixed;
  bottom: 30px;
  right: 50px;

  width: 60px;
  height: 60px;
  border-radius: 50%;

  background: black;
  color: #fff;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 28px;
  text-decoration: none;

  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);

  z-index: 1000;
  transition:
    opacity 0.4s ease,
    transform 0.3s ease;
}

.dark-mode #scroll-down-btn {
  background-color: rgba(255, 255, 255, 0.8);
}

#scroll-down-btn img {
  filter: invert(1);
}

.dark-mode #scroll-down-btn img {
  filter: invert(0);
}
#scroll-down-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.my_projects_wrapper_mp {
  width: 100%;
  overflow: hidden;
}

.my_projects_mp {
  display: flex;
  height: 350px;
  width: 70%;
  min-width: fit-content;
  border-radius: 0px 400px 400px 0px;
  background-image: linear-gradient(to bottom left, #ddffe7, #b1f5ff);
  box-shadow: rgba(0, 0, 0, 0.15) 0px 4px 12px;
  transition: all 0s ease-in-out;
  z-index: 0;
  transform-origin: top right;
  margin: 30px 0px;
}

.title_mp {
  display: flex;
  height: 80vh;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  width: 100%;
  margin: auto auto auto -15%;
}

.main_button_mp {
  display: flex;
  justify-content: center;
  align-items: center;
  width: fit-content;
  border-radius: 50%;
  text-decoration: none;
  font-weight: bold;
  transition: transform 0.3s ease;
  margin: auto 100px auto auto;
  animation-name: slideInFromLeft;
  animation-duration: 0.8s;
  animation-timing-function: ease-out;
  animation-fill-mode: forwards;
}

@keyframes slideInFromLeft {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(0);
  }
}

.mp_project_1 {
  width: 100%;
  min-height: 100dvh;

  display: flex;
  justify-content: center;
  align-self: center;
  align-items: center;
}

.mp_project_2 {
  width: 100%;
  display: flex;
  justify-content: center;
  align-self: center;
  margin: auto;
  flex-direction: row;
  overflow: hidden;
  padding-top: 60px;
  padding-left: 40px;
}

.mp_project_2 .project_intro {
  display: flex;
  flex-direction: row;
}

.mp_project_2 .project_des {
  width: 640px;
}
#line-up {
  display: flex;
  margin: 30px 0px;
}

#the-road-days > :first-child .TRD_device {
  align-items: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.TRD_device .tech_box {
  justify-content: center;
  margin-top: -25px;
}

.mp_project_2 .mp_ind_more {
  border-radius: 0px 20px 20px 20px;
  margin: 15px 21% 15px 15px;
}

.mp_project_2 .mp_ind_main {
  border-radius: 20px 0px 20px 20px;
  margin: 15px 15px 15px 70px;
  width: 70%;
  align-self: center;
}

.mp_ind_main h2,
.mp_other_p h2 {
  font-size: 38px;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 2px;
  text-align: left;
  width: fit-content;
}

.mp_cta h2 {
  font-size: 24px;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 2px;
  text-align: right;
  align-self: baseline;
  display: flex;
}

.mp_ind_more {
  background-color: #f0f0f0;
  border-radius: 20px 20px 0px 20px;
  height: 350px;
  width: 20%;
  padding: 15px 50px 50px 50px;
  margin: auto 15px 15px auto;
}

#other-projects {
  width: 100%;
  align-items: center;
  display: flex;
  margin-bottom: -138px;
  margin-top: 130px;
}

.mp_other_p {
  font-size: 18px;
  text-align: left;

  width: 20%;
  margin-left: 50px;
}

.mp_cta {
  width: 200px;
  display: flex;
  overflow: hidden;
  position: fixed;
  right: -200;
  bottom: 15;
  transition: all 0.5s ease-in-out;
  opacity: 0;
}

.Wordpress_logo {
  height: 20px;
  height: 32px;
  margin-bottom: -9px;
  filter: contrast(10);
}

.dark-mode .Wordpress_logo {
  filter: invert(1);
}

.mp_project_2 {
  flex-direction: column;
  align-items: center;
}

.TRD_2 .project_details {
  width: 230px;
  margin-top: 0px;
}

.TRD_device {
  margin-left: -110px;
}

.TRD_2 .tech_box {
  width: 230px;
  height: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: 30px auto;
}

#TRD_portrait {
  display: none;
}

#TRD_landscape {
  display: block;
}

#pauseBtn_wrap {
  position: absolute;
  bottom: 28%;
  left: 0;
  z-index: 1;
}

.bottom-mode {
  will-change: transform;
}

#scroll-sentinel {
  height: 10px;
  width: 100%;
  display: block;
}

/* 404 */

#page_404 {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100dvh;
}

#page_404 a {
  color: white;
  background-color: black;
  padding: 10px;
  border: 1px solid black;
  border-radius: 10px;
}

#page_404 header {
  margin-bottom: 40px;
}
@media (max-width: 1500px) {
  .mp_project_1 {
    min-height: 100dvh;
  }

  .project_intro {
    margin-top: 20px;
  }

  .lineup_logo {
    height: 40px;
  }
  .mp_project_1 .phone-frame {
    z-index: 2;
    width: 294px;
    height: 407.4px;
  }

  .mp_project_1 .phone-video {
    margin-top: 7px;

    width: 252px;
  }

  .project_des {
    width: 450px;
  }

  .project_details {
    width: 380px;
    margin-top: 30px;
    margin-bottom: 0px;
  }

  .tech_box {
    margin-top: -15px;
  }

  .tech_box .bubble {
    height: 80px;
  }
  .trd-frame {
    height: 343px;
    width: 599.2px;
  }

  .mp_project_2 .phone-video {
    margin-top: 36.3px;
    width: 461.3px;
  }

  .TheRoadDays_logo {
    height: 40px;
    width: 500px;
    object-fit: contain;
    align-self: self-end;
    object-position: left;
  }

  .TRD_text {
    margin-left: -30px;
  }

  .mp_project_2 .project_des {
    width: 480px;
  }
  .mp_ind_main h2,
  .mp_other_p h2 {
    font-size: 34px;
  }
  .mp_other_p {
    width: 20%;
    font-size: 16px;
    margin-top: -150px;
  }

  .Wordpress_logo {
    height: 25px;
    margin-bottom: -7px;
  }

  .tc-frame {
    width: 611.1px;
    height: 427px;
    margin-top: -29.4px;
  }

  .tc-video {
    width: 490px;

    margin-top: 2.1px;
  }

  .ah-frame {
    width: 507px;
    height: 448px;

    margin-top: -15.4px;
  }
  .ah-video {
    width: 490px;

    height: 259px;
    margin-top: 11.2px;
  }

  .tj-frame {
    width: 206.5px;

    height: 416.5px;
    margin-top: -8.4px;
  }

  .crop-box {
    width: 203px;
    height: 416.5px;
  }

  .tj-video {
    width: 224px;
  }

  .scv-frame {
    width: 611.1px;
    height: 427px;
    margin-top: -29.4px;
  }

  .scv-video {
    width: 452.2px;

    margin-top: 15.4px;
  }

  .mp_cta {
    width: 200px;
    bottom: 20;
  }

  .mp_cta h2 {
    font-size: 24px;
  }

  #pauseBtn {
    left: 40px;
  }

  #travel_map {
    position: absolute;
    height: 500px;
    left: 60px;
    transform: rotate(-12deg);
    margin-top: 102px;
    z-index: -1;
  }

  #fin {
    left: -75px;
    height: 400px;
  }

  #mp_cta {
    width: 200px;
  }
}

@media (max-width: 1024px) {
  .title_mp h1 {
    font-size: 40px !important;
  }

  .mode {
    height: 50px;
    width: 50px;
  }

  .my_projects {
    height: 250px;
  }

  .home .my-projects_icon {
    height: 130px;
    width: 130px;
  }
  .home .my-projects_top {
    height: 200px;
    width: 200px;
  }

  .my_projects .main_button {
    margin-top: 60px;
    margin-left: -40px;
  }
  .about_me {
    margin: -180px 10vw 50px auto;
  }

  .intro {
    font-size: 20px;
    margin-right: 100px;
  }

  .bubble {
    height: 130px;
    width: 130px;
  }

  .logo_about img {
    height: 50px;
  }
  .img_pen {
    right: -380px;
  }

  .img_paperclip_1,
  .img_paperclip_2,
  .img_paperclip_3 {
    max-width: 100px;
    z-index: -1;
  }

  .img_paperclip_1 {
    margin: 160px auto 0px 2%;
  }

  .img_paperclip_2 {
    margin: 220px auto 0px 1%;
  }

  .img_paperclip_3 {
    margin: 350px auto 0px 3%;
    z-index: 10;
  }

  .img_pin_1,
  .img_pin_2,
  .img_pin_3 {
    z-index: -1;
    width: 70px;
  }

  .img_pin_1 {
    margin: 400px auto 0px 0px;
  }
  .img_pin_2 {
    margin: 450px auto 0px 30px;
  }
  .img_pin_3 {
    margin: 280px auto 0px -50px;
  }

  .eraser {
    width: 200px;
    position: absolute;
    right: -140px;
    top: -130px;
    transform: rotate(10deg);
  }

  .home_sec_2 {
    overflow-x: clip;
  }

  .outro {
    font-size: 20px;
  }

  /*My Projects*/

  .homeMP .home_top {
    flex-direction: column;
    justify-content: center;
    min-width: 320px;
  }

  .homeMP .my_projects_wrapper_mp {
    width: 220px;
    position: absolute;
    top: 0px;
    transform: rotate(90deg);
    overflow: visible;
  }

  .homeMP .main_button_mp {
    margin: 12px;
  }
  .homeMP .my-projects_icon {
    position: absolute;
    height: 80px;
    width: 80px;

    left: -50px;
  }

  .homeMP .my-projects_top {
    height: 130px;
    width: 130px;
    margin-top: 0;
    margin-left: 180px;
  }

  .homeMP .my_projects_mp {
    height: 200px;
    width: 190px;
    min-width: auto;
    margin: 0px;
  }

  .homeMP .title_mp {
    margin: auto;
  }

  .homeMP .my_projects_wrapper {
    overflow: visible;
    align-self: flex-end;
    width: 100%;
    margin-left: 10%;
    min-width: 220px;
    position: static;
    bottom: 110px;
  }
  .homeMP .my_projects {
    height: 170px;
    width: 190px;
  }

  #pauseBtn_wrap {
    bottom: 50%;
  }

  #fin {
    height: 350;
    margin-top: 650px;
  }
  #car_scent {
    margin-top: 150;

    height: 200;
  }

  #other-projects {
    margin-top: 270px;
  }
}
@media (max-width: 950px) and (orientation: landscape), (max-width: 865px) {
  /*About Me*/

  .contact_wrapper {
    width: 72.72px;
    height: 80px;
  }

  .about_small {
    height: 80px;
    width: 86.4px;
    top: 120;
  }

  #about_small.bottom-mode {
    transform: translateY(calc(100dvh - 315px));
  }

  #contact_wrapper.bottom-mode {
    transform: translateY(calc(100dvh - 120px));
  }

  #mp_cta.bottom-mode {
    opacity: 1;
    right: 168px;
  }

  .my-projects_icon_small {
    height: 36px;
    width: 36px;
    margin-right: -25px;
  }

  .my-projects_top_small {
    height: 56px;
    width: 56px;
    margin-left: -21px;
    margin-top: -9px;
  }
  .contact_wrapper img,
  .contact_wrapper_footer img {
    height: 36px;
    width: 36px;
  }
  .home_top {
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    min-height: 320px;
    min-width: 320px;
  }

  .title {
    margin-right: auto;
    margin-bottom: -20px;
    margin-left: auto;
    margin-top: clamp(40px, 10vh, 120px);

    justify-content: center;
    height: auto;
    position: static;

    top: 175px;
  }

  .title h1 {
    font-size: 55px;
  }

  .title h3 {
    font-size: 0.9rem;
  }

  .title h2 {
    font-size: 0.95rem;
  }

  .my_projects_wrapper {
    overflow: visible;
    align-self: flex-end;
    width: 100%;
    margin-left: 10%;
    min-width: 220px;
    position: static;
    bottom: 110px;
    z-index: 1;
  }
  .my_projects {
    height: 170px;
    width: 190px;
  }

  .home .my-projects_icon {
    height: 80px;
    width: 80px;
    margin-top: -13px;
    margin-left: 80px;
  }

  .home .my-projects_top {
    height: 130px;
    width: 130px;
    margin-top: -13px;
    margin-left: 80px;
  }

  .my_projects_small {
    top: 115px;
    height: 90px;
    width: 95px;
  }
  .home_sec_1 {
    flex-direction: column;
  }

  .about_me {
    height: 350px;
    width: 170px;
    margin: -150px auto -600px auto;
  }

  .about-me_icon {
    height: 80px;
    width: 80px;
  }

  .about-me_top {
    height: 130px;
    width: 130px;
  }
  .intro {
    padding-top: 300px;
    margin: -50px auto 30px auto;
    justify-content: center;
    text-align: center;
  }

  .img_paperclip_3 {
    margin: 350px auto 0px -30px;
    z-index: 10;
  }

  .contact {
    max-width: 70%;
    margin: auto;
  }
  .skills_box {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }

  .logo_about {
    flex: 1;
    margin: 0px 1vw 0px 1vw;
  }

  .img_pin_1 {
    left: -50px;
  }

  .img_pin_2 {
    left: -60px;
  }
  .img_pin_3 {
    left: -20px;
  }

  .eraser {
    margin-top: -20px;
    margin-right: 30px;
    width: 160px;
  }

  .outro {
    font-size: 18px;
    margin: 20px 20% 0px 20%;
  }
  .img_pen {
    top: 30%;
    transform: rotate(80deg);
    right: -260px;
    width: 300px;
    height: auto;
  }

  .img_down-arrow {
    height: 30px;
  }
  .home_sec_3 {
    height: fit-content;
  }
}

@media (max-width: 1500px) and (orientation: portrait), (max-width: 1022px) {
  /*My Projects*/

  #scroll-down-btn {
    display: none;
  }

  #portrait-down-btn {
    position: absolute;
    bottom: 30px;

    width: 60px;
    height: 60px;
    border-radius: 50%;

    background: black;
    color: #fff;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 28px;
    text-decoration: none;

    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);

    transition: all 0.3s ease;
    z-index: 1000;
    transition: opacity 0.4s ease;
  }

  .dark-mode #portrait-down-btn {
    background-color: rgba(255, 255, 255, 0.8);
  }

  #portrait-down-btn img {
    filter: invert(1);
  }

  .dark-mode #portrait-down-btn img {
    filter: invert(0);
  }
  #portrait-down-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  }

  #portrait-down-btn .img_down-arrow {
    display: block;
  }
  #line-up {
    margin: 0px;
    padding-top: 40px;
  }
  .mp_project_1 {
    flex-direction: column-reverse;
  }

  .mp_project_1 .project_intro {
    margin: 0px;
    padding: 0px;
    width: 100%;
    justify-content: center;
    align-items: center;
    display: flex;
    flex-direction: column;
  }

  .tech_box {
    margin-top: -50px;
  }

  .lineup_logo {
    height: 60px;
    margin: 150px auto 0px 20%;
  }

  .project_des {
    width: fit-content;
    margin: 30px 20%;
    font-size: 20px;
  }

  .mp_project_1 .phone-frame {
    width: 420px;
    height: 582px;
  }

  .mp_project_1 .phone-video {
    margin-top: 10px;

    width: 360px;
    margin-bottom: 0px;
  }

  #the-road-days {
    margin: 0px;
    padding-top: 40px;
  }

  .mp_project_2 {
    padding: 0px;
  }
  .TRD_2 {
    margin-left: 0px;
  }

  #TRD_portrait {
    display: block;
  }

  #TRD_landscape {
    display: none;
  }
  .project_details {
    width: 57%;
    margin: 30px 15%;
    font-size: 18px;
  }

  .TRD_2 .project_details {
    width: fit-content;
    margin: 30px 19.5%;
  }
  .LU_device {
    margin-top: 110px;
    width: auto;
  }

  .mp_project_2 .project_intro {
    margin: 100px 0px 0px 0px;
    padding: 0px;
    width: 100%;
    justify-content: center;
    align-items: center;
    display: flex;
    flex-direction: column;
  }

  .TheRoadDays_logo {
    height: 50px;
    display: flex;
    object-position: left;
    margin: 100px auto -5px 20%;
  }

  .TRD_text {
    margin: auto;
  }

  .mp_project_2 .project_des {
    width: fit-content;
    margin: 45px 20%;
    font-size: 18px;
  }

  .TRD_2 .tech_box {
    margin-top: -50px;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .TRD_device {
    margin-left: 0px;
    margin-top: 100px;
  }

  .trd-frame {
    height: 412.17px;
    width: 720.5px;
  }

  .mp_project_2 .phone-video {
    margin-top: 42.83px;
    width: 554.86px;
  }

  .mp_other_p {
    margin: -700px 20% 0px 20%;
    width: 565px;
  }

  .mp_cta {
    width: fit-content;
    bottom: 25px;
  }

  .mp_cta h2 {
    font-size: 20px;
  }

  #pauseBtn {
    left: 28px;
    margin-bottom: 40px;
  }
  .mp_other {
    margin-top: 150px;
    overflow-y: hidden;
    margin-bottom: 90px;
  }

  .mp_other_p h2 {
    font-size: 35px;
  }

  #TJ_wrap {
    margin-top: 10px;
  }
  .tj-frame {
    width: 175.52px;
    height: 354.02px;
    margin-top: -7.14px;
  }

  .tj-video {
    width: 190.4px;
  }

  .crop-box {
    width: 172.55px;
    height: 354, 02px;
  }

  #clip {
    margin-top: -500px;
    height: 110px;
    right: 60;
  }
}
@media (max-width: 865px) and (orientation: portrait) {
  /*About Me*/
  .home .home_top {
    min-height: 520px;
  }

  /*My Projects*/

  #fin {
    margin-top: 700;
  }
  #car_scent {
    margin-top: 250;
  }
}

@media (max-width: 710px) and (orientation: portrait) {
  /*My Projects*/

  .homeMP .home_top {
    min-height: 520px;
  }

  .mp_other .phone-wrapper {
    margin: 90px auto auto auto;
  }
  .tc-frame {
    width: 427.77px;
    height: 298.9px;
    margin-top: -20.3px;
  }

  .tc-video {
    width: 343px;
    margin-top: 1.47px;
  }

  .ah-frame {
    width: 354.9px;
    height: 313.6px;
    margin-top: -10.78px;
  }

  .ah-video {
    width: 343px;
    height: 181.3px;
    margin-top: 7.84px;
  }

  .scv-frame {
    width: 427.77px;
    height: 298.9px;
    margin-top: -20.3px;
  }

  .scv-video {
    width: 316.54px;
    margin-top: 10.78px;
  }

  .carousel_wrapper {
    margin-top: -100px;
  }

  #TJ_wrap {
    margin-top: 75px;
  }

  #pauseBtn {
    margin-bottom: 50px;
  }

  #mp_cta {
    width: 170px;
  }
}

@media (max-width: 710px) {
  /*My Projects*/

  .title_mp h1 {
    font-size: 30px !important;
  }

  .homeMP h2 {
    font-size: 16px;
    width: 240px !important;
  }

  .homeMP .my_projects_mp {
    width: 270px;
  }

  .homeMP .main_button_mp {
    margin-left: 90px;
  }

  .homeMP .title_mp {
    margin-top: 170px;
    min-height: 320px;
  }

  .lineup_logo {
    height: 40px;
    margin: 150px auto 0px 15%;
  }

  .project_des,
  .project_details,
  .mp_project_2 .project_des {
    font-size: 16px;
  }

  .project_des {
    margin-left: 15%;
    margin-right: 15%;
  }

  .mp_project_2 .project_des {
    margin: 45px 15%;
  }

  ul {
    padding-left: 17px;
  }

  .tech_box .bubble {
    height: 50px;
  }

  .LU_device {
    margin-top: 50px;
  }
  .mp_project_1 .phone-frame {
    width: 297.67px;
    height: 412.48px;
  }

  .mp_project_1 .phone-video {
    margin-top: 7.08px;
    width: 255.15px;
  }

  .TRD_device {
    margin-top: 40px;
  }
  .TheRoadDays_logo {
    height: 40px;
    margin: 50px auto -15px 15%;
  }

  .trd-frame {
    height: 289.33;
    width: 505.77;
  }

  .mp_project_2 .phone-video {
    margin-top: 30.06;
    width: 389.49;
  }

  .mp_other {
    margin-bottom: 90px;
  }

  .mp_other_p h2 {
    font-size: 24px;
  }

  #pauseBtn {
    bottom: -30px !important;
    margin-bottom: 50px;
  }
  #pauseBtn_wrap {
    bottom: 35%;
    z-index: 10;
  }

  #fin {
    margin-top: 550;
    height: 250px;
    left: 20;
  }
}

@media (orientation: landscape) and (max-width: 515px) {
  /*About Me*/
  .home .home_top {
    min-height: 460px;
  }

  /*My Projects*/
  .homeMP .home_top {
    min-height: 320px;
    min-width: 430px;
  }

  #fin {
    height: 250;
    margin-top: 700;
    left: 130;
  }
}

@media (max-width: 615px) {
  .mp_cta h2 {
    font-size: 18px;
    width: 150px;
  }

  #fin {
    height: 270px;
    margin-top: 600;
    left: -50;
  }

  #car_scent {
    height: 150px;
    margin-top: 60px;
  }
}

@media screen and (orientation: landscape) and (max-height: 500px) {
  /* My Projects */

  .homeMP .my_projects_mp {
    width: 190px;
  }

  .homeMP .main_button_mp {
    margin-left: 20px !important;
  }

  .homeMP .title_mp {
    margin-top: 160px;
  }

  #portrait-down-btn {
    right: 25px;
    bottom: 25px;
    height: 50px;
    width: 50px;
  }

  #lineup {
    padding-top: 0px !important;
  }

  .lineup_logo {
    margin-top: 50px;
  }

  .mp_project_1 .phone-frame {
    width: 241px;
    height: 327.37px;
  }

  .mp_project_1 .phone-video {
    margin-top: 5.62px;
    width: 202.5px;
  }

  #the-road-days {
    padding-top: 0px;
  }

  #other-projects {
    margin-top: 360px;
  }

  .mp_other_p {
    padding-top: 0px;
  }

  .mp_other_p h2 {
    font-size: 28px;
  }

  .tc-frame {
    width: 427.77px;
    height: 298.9px;
    margin-top: -20.3px;
  }

  .tc-video {
    width: 343px;
    margin-top: 1.47px;
  }

  .ah-frame {
    width: 354.9px;
    height: 313.6px;
    margin-top: -10.78px;
  }

  .ah-video {
    width: 343px;
    height: 181.3px;
    margin-top: 7.84px;
  }

  .scv-frame {
    width: 427.77px;
    height: 298.9px;
    margin-top: -20.3px;
  }

  .scv-video {
    width: 316.54px;
    margin-top: 10.78px;
  }

  .tj-frame {
    width: 157.96;
    height: 318.61px;
    margin-top: -6.42;
  }

  .crop-box {
    width: 155.29px;
    height: 318.61px;
  }

  .tj-video {
    width: 171.36px;
  }

  .carousel_wrapper {
    margin-bottom: 150px;
  }

  #fin {
    height: 250px;
    left: 140px;
  }

  #sharpie {
    margin-top: 450px;
  }
}

@media screen and (orientation: landscape) and (max-height: 391px) {
  #fin {
    left: 80px;
    margin-top: 750px;
  }
}

@media screen and (orientation: landscape) and (max-height: 380px) {
  #fin {
    height: 200px;
    margin-top: 462px;
    left: -40;
  }
}

@media (max-width: 525px) {
  /*About Me*/
  .pixel {
    width: 285.75px;
  }

  .pixel_about {
    width: 281.25px;
  }
  /*My Projects*/
  .lineup_logo {
    height: 35px;
    width: 220px;
    margin: 80px auto 0px auto;
    object-fit: contain;
    object-position: left;
  }
  .project_des {
    width: 220px;
    margin: 30px auto;
  }
  .mp_project_2 .project_des {
    width: 220px;
    margin: 40px auto;
  }

  .project_details {
    width: 220px;
    margin: 30px auto;
  }

  .TheRoadDays_logo {
    height: 30px;
    margin: 50px auto -15px auto;
    width: 220px;
  }
  .TRD_2 .project_details {
    width: 220px;
    margin: 30px auto;
  }

  .trd-frame {
    width: 372.85px;
    height: 213.29px;
  }
  .mp_project_2 .phone-video {
    width: 287.13px;
    margin-top: 22.16px;
  }

  #pauseBtn_wrap {
    bottom: 34%;
    z-index: 10;
  }

  #fin {
    margin-top: 770;
    left: -70;
  }

  #car_scent {
    margin-top: 250px;
  }

  #clip {
    margin-top: -450;
    height: 80;
    right: 50;
  }

  #post-it {
    height: 180px;
  }

  #sharpie {
    width: 400px;
  }
}

@media (max-width: 470px) {
  .mp_other_p {
    margin: -500px 20% 0px 20%;
  }
  .tc-frame {
    width: 299.43;
    height: 216.23px;
    margin-top: -17.21px;
  }

  .tc-video {
    width: 242px;
    margin-top: 1.02px;
    border-radius: 0px;
  }

  .ah-frame {
    width: 301.66px;
    height: 266.56px;
    margin-top: -9.16px;
  }

  .ah-video {
    width: 291.55px;
    height: 154.1px;
    margin-top: 6.66px;
  }

  .tj-frame {
    width: 157.96;
    height: 318.61px;
    margin-top: -6.42;
  }

  .crop-box {
    width: 155.29px;
    height: 318.61px;
  }

  .tj-video {
    width: 171.36px;
  }

  .scv-frame {
    width: 299.43;
    height: 209.23;
    margin-top: -14.21;
  }

  .scv-video {
    width: 221.57px;
    margin-top: 7.54px;
  }

  #pauseBtn {
    left: 13;
    position: absolute;
    top: 10;
  }

  #pauseBtn_wrap {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.3);

    backdrop-filter: blur(5px);

    box-shadow: rgba(0, 0, 0, 0.2) 0px 4px 12px;
    border-radius: 0px 100px 100px 0px;

    width: 85px;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(5px);
    height: 79px;
    bottom: 14%;
  }

  #fin {
    height: 200;
    margin-top: 660;
  }

  #car_scent {
    margin-top: 200;
    height: 120px;
    right: 20;
  }

  #other-projects {
    margin-top: 180px;
  }

  #clip {
    margin-top: -680px;
  }

  #sharpie {
    margin-top: 325px;
    width: 370px;
  }
}

@media (max-width: 440px) {
  #sharpie {
    margin-top: 650px;
  }
}

@media (max-width: 415px) {
  .mode {
    margin: 35px 0px 0px 25px;
  }
  .img_pen {
    top: 60%;
    width: 280px;
  }

  .mp_other_p {
    margin: -500px auto 0px auto;
    width: 220;
  }

  #car_scent {
    margin-top: -190;
    height: 70px;
  }

  #clip {
    margin-top: -750px;
    height: 70px;
    right: 30;
  }

  #sharpie {
    margin-top: 650px;
  }
}

@media (max-width: 390px) {
  .bubble {
    width: 90px;
    height: 90px;
  }

  .logo_about img {
    height: 40px;
  }

  #sharpie {
    margin-top: 390px;
    width: 370px;
  }
}
