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

html {
  scroll-behavior: smooth;
  cursor: url("images/cursor/cursorButtons&A.cur"), auto;
}

body {
  background-color: #f7f3fb;
  background-image: url("images/backgrounds/background1.webp"),
    url("images/backgrounds/background2.webp");
  background-size: cover;
  background-position: left bottom;
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: #240046;
  line-height: 1.6;
  opacity: 1;
  font-family: "Manrope", "Lucida Sans", Verdana, sans-serif;
  transition: background-color 0.9s ease, color 0.3s ease;
}

body::before {
  position: fixed;
  content: "";
  background-image: url("images/backgrounds/background1.webp"),
    url("images/backgrounds/background2.webp");
  background-size: cover;
  background-position: 20% 90%;
  background-position: center;
  background-repeat: no-repeat;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  filter: blur(1px);
  opacity: 0;
  z-index: -1;
  animation: fadeIn 3s forwards;
  animation-delay: 2s;
}

@keyframes fadeIn {
  to {
    opacity: 0.1;
  }
}

body::after {
  content: none;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #14015e68;
  padding: 1rem 1.7rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  transition: background-color 0.9s ease, color 0.6s ease;
  backdrop-filter: blur(20px);
}

button,
a {
  font-family: "Orbitron", Impact, Haettenschweiler, "Arial Narrow Bold",
    sans-serif;
}

#toggleModeButton {
  background-color: #3a72ff;
  border: none;
  border-radius: 2rem;
  color: white;
  padding: 0.6rem 1.2rem;
  transition: background-color 0.3s ease, transform 0.6s ease,
    box-shadow 0.3s ease, outline 0.9s ease;
}

#toggleModeButton:hover,
#toggleModeButton:active {
  background-color: #ff5cf1;
  transform: scale(1.05);
  outline: 2px solid #ff5cf1;
  outline-offset: 2px;
}

#mobileMenuToggle {
  display: none;
  background: none;
  border: none;
  color: #f0f0f0;
  padding: 0.5rem;
  transition: color 0.3s ease, transform 0.3s ease;
}

#mobileMenuToggle .material-icons {
  font-size: 2.07rem;
}

#mobileMenuToggle:hover {
  color: #ff5cba;
  transform: translateY(-1px) scale(1.05);
}

#desktopMenu ul {
  display: flex;
  list-style: none;
  gap: 1.5rem;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: #ffffff;
  text-decoration: none;
}

#desktopMenu ul li a {
  transition: color 0.3s ease, font-size 0.3s ease;
}

#desktopMenu ul li a:hover,
#desktopMenu ul li a:focus {
  font-size: 1.1rem;
  transform: translateY(-4px) scale(1.2);
}

#desktopMenu ul li:nth-child(odd) a:hover {
  color: #38dbfc;
}

#desktopMenu ul li:nth-child(even) a:hover {
  color: #fb28db;
}

#mobileMenu {
  position: fixed;
  max-width: 320px;
  top: 0;
  right: 0;
  width: 60%;
  height: 100vh;
  padding: 2rem 4rem;
  background-color: #0b275bf3;
  z-index: 99;
  transform: translateX(100%);
  transition: transform 1.4s ease;
  box-shadow: -4px 0 12px rgba(0, 0, 0, 0.3);
}

#mobileMenu.active {
  display: block;
  transform: translateX(0);
}

#mobileMenu ul li {
  display: flex;
  flex-direction: column;
  color: #f0e9f3;
  font-size: 1.2rem;
  font-weight: 600;
  gap: 1.2rem;
  text-align: center;
  transition: transform 0.3s ease;
}

#mobileMenu ul li a:hover,
#mobileMenu ul li a:focus {
  color: #ff5cba;
  transform: scale(1.1);
  transform: translateY(-4px) scale(1.2);
}

nav a {
  color: #f0f0f0;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s ease, transform 0.2s ease;
  padding: 0.5rem 1rem;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1rem;
}

.heroSectionContainer {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  max-width: 1100px;
  min-height: 450px;
  background-image: url("images/backgrounds/background1.webp"),
    url("images/backgrounds/heroImageBackup.webp");
  background-size: cover;
  background-position: top left;
  position: relative;
  margin: 2rem auto;
  padding: 4rem 2rem;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.heroSectionContainer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
}

.heroSectionContent h1 {
  font-size: 3.5rem;
  color: #fff;
  line-height: 1;
  margin-bottom: 0.8rem;
  font-family: "Orbitron", Impact, Haettenschweiler, "Arial Narrow Bold";
}

.headerAnimation {
  flex-wrap: wrap;
  gap: 0.6rem;
}

.headerAnimation span {
  display: inline-block;
  letter-spacing: -5px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.4s forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.lastLetter,
.accentLetters {
  color: #fb28db;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
  transition: color 0.3s ease;
}

.lastLetter:hover,
.accentLetters:hover {
  color: #38dbfc;
}

.heroSectionContent h2 {
  font-weight: 600;
  color: #ffffff;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeSlideUp 1s ease-out forwards;
  animation-delay: 0.3s;
  font-family: "Roboto Mono", "Lucida Sans", "Lucida Sans Regular", Verdana,
    sans-serif;
  font-size: 2.3rem;
}

@keyframes fadeSlideUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.aboutSectionContainer {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 1100px;
  background-color: #3f2e56e1;
  padding: 3rem;
  margin: 3rem auto;
  gap: 2rem;
  border-radius: 1.5rem;
  color: #e0e0e0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  transition: background-color 0.9s ease, color 0.6s ease;
  flex-wrap: nowrap;
}

#profileImage {
  width: 300px;
  height: 300px;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
  border: 5px solid #8338ec;
}

.aboutSectionText h2 {
  font-family: "Orbitron", Impact, Haettenschweiler, "Arial Narrow Bold";
  margin-bottom: 2rem;
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  color: #ec5cff;
}

.nameHighlight {
  color: #f73af4;
  font-family: "Orbitron", Impact, Haettenschweiler, "Arial Narrow Bold";
  font-weight: 900;
  font-size: 1.4rem;
  margin-left: 0.2rem;
}

.nameHighlight:hover {
  color: #38dbfc;
}

.aboutSectionText {
  padding: 1rem 1.5rem;
  border-radius: 2rem;
  color: #e0e0e0;
  max-width: 640px;

  text-align: left;
  font-size: 1.05rem;
}

.aboutSectionFirstParagraph {
  display: block;
  font-size: 1.3rem;
}

.aboutSectionText p {
  margin-bottom: 1rem;
  padding: 0rem;
  line-height: 1.6;
  font-size: 1.05rem;
  color: #fbdbff;
}

.aboutSectionButtons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

#seeMoreButton,
.cvButton {
  display: inline-block;
  background-color: transparent;
  font-size: 1rem;
  color: #ffffff;
  padding: 0.7rem 1.8rem;
  border: 2px solid #8338ec;
  border-radius: 2rem;
  font-weight: 700;
  margin: 0.3rem;
  margin-top: 1rem;
  text-decoration: none;
  transition: all 0.4s ease;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

#seeMoreButton {
  background-color: #843bd8;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

#seeMoreButton:hover,
#seeMoreButton:focus {
  background-color: #5b25a8;
  transform: scale(1.05);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
  outline: 2px solid #5b25a8;
  outline-offset: 2px;
}

.cvButton:hover,
.cvButton:focus {
  background-color: #8338ec;
  outline: 2px solid #8338ec;
  outline-offset: 2px;
  transform: scale(1.05);
}

.overlay {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgba(142, 119, 255, 0.247);
  backdrop-filter: blur(4px);
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  padding: 1rem;
  z-index: 1000;
}

.overlay.hidden {
  display: none;
}

.modalContent {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #020931d7;
  padding: 2.5rem 3rem;
  max-width: 650px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  border-radius: 1rem;
}
body.modalOpen {
  overflow: hidden;
}

.modalContent::-webkit-scrollbar {
  width: 12px;
}
.modalContent::-webkit-scrollbar-thumb {
  background-color: #e815ddec;
  border-radius: 1rem;
  border: 2px solid transparent;
  background-clip: content-box;
}

.modalContent h2 {
  font-family: "Orbitron", Impact, Haettenschweiler, "Arial Narrow Bold";
  margin-top: 0;
  margin-bottom: 1.8rem;
  text-align: center;
  font-size: 2.6rem;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 4px;
  text-decoration-color: #e815ddec;
  color: #f0e7ff;
  letter-spacing: 1.5px;
}

.modalContent p {
  line-height: 1.6;
  text-align: left;
  max-width: 560px;
  margin-bottom: 1.5rem;
  padding: 0;
  font-size: 1.1rem;
  color: #ffffff;
  font-family: "Manrope", "Roboto Mono", "Lucida Sans", "Lucida Sans Regular";
}

#modalCloseButton,
#mobileMenuCloseButton {
  position: absolute;
  top: 0.4rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.7rem;
  color: #ffffff;
  transition: color 0.3s ease, transform 0.2s ease;
}

#modalCloseButton {
  top: 1.1rem;
  right: 1.1rem;
}

#modalCloseButton:hover,
#modalCloseButton:active,
#mobileMenuCloseButton:hover,
#mobileMenuCloseButton:active {
  color: #ff5cba;
  transform: rotate(90deg);
}

.projectSectionContainer {
  margin: 2rem;
}

.projectSectionContainer h2 {
  text-align: center;
  font-family: "Orbitron", Impact, Haettenschweiler, "Arial Narrow Bold";
  margin-bottom: 2.5rem;
  font-size: 2.8rem;
  color: #ffffff;
  font-weight: 700;
}

.projectSectionContent {
  display: flex;
  flex-direction: row;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.project {
  display: flex;
  flex-direction: column;
  text-align: center;
  background-color: #212845d8;
  width: 370px;
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project:hover {
  transform: translateY(-18px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
}

.project h3 {
  font-family: "Orbitron", Impact, Haettenschweiler, "Arial Narrow Bold";
  margin-bottom: 0.8rem;
  text-transform: uppercase;
  color: #efa7ff;
  font-weight: 700;
  font-size: 1.7rem;
}

.project p {
  font-size: 1rem;
  color: #ffffff;
  line-height: 1.6;
  margin-top: auto;
  margin-bottom: 1rem;
}

.project a {
  position: relative;
  text-decoration: none;
  font-family: "Orbitron", Impact, Haettenschweiler, "Arial Narrow Bold";
  color: #82f9ed;
  font-weight: 600;
  font-size: 1.2rem;
  margin-top: 0.5rem;
  margin: 0.1rem;
  transition: color 0.3s ease;
}

.project a:hover,
.project a:focus {
  color: rgb(251, 0, 255);
  text-decoration: underline;
}

.projectLinks {
  margin-top: auto;
}

.projectImage {
  object-fit: cover;
  width: 100%;
  border-radius: 0.8rem;
  margin-bottom: 1rem;
  max-width: 700px;
  height: 300px;
  border: 3px solid #ff69b4;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
  display: block;
}

.skillsSectionContainer {
  max-width: 1000px;
  margin: 3rem auto;
  background-color: #242468c9;
  color: #240046;
  padding: 4rem 2rem;
  text-align: center;
  border-radius: 1.5rem;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
  transition: background-color 0.9s ease, color 0.6s ease;
  flex-wrap: wrap;
}

.skillsSectionContainer h2 {
  font-size: 2.8rem;
  margin-bottom: 1.5rem;
  color: #87dffd;
  font-family: "Orbitron", Impact, Haettenschweiler, "Arial Narrow Bold";
}

.skillsSectionContainer p {
  color: #f0eaf9;
  font-size: 1.1rem;
  max-width: 760px;
  line-height: 1.6;
}

.skillsList {
  display: flex;
  justify-content: center;
  align-items: center;
  text-transform: uppercase;
  gap: 1.5rem;
  font-family: "JetBrains Mono", Impact, "Arial Narrow Bold", sans-serif;
  list-style: none;
  flex-wrap: wrap;
}

.skillsList li {
  background-color: rgba(31, 7, 95, 0.538);
  font-family: "Audiowide", Impact, "Arial Narrow Bold", sans-serif;
  padding: 0.8rem 1.7rem;
  font-weight: 800;
  text-shadow: 2px 2px 2px #7106bd;
  color: rgb(206, 254, 255);
  border-radius: 2rem;
  align-items: center;
  background-color: background-color 0.3s ease, outline 0.4s ease;
  box-shadow: 3px 3px 1px #cf04b4, 6px 6px 0px #2551e1;
}

.skillsList li:hover,
.skillsList li:active {
  background-color: #e722b9e9;
  outline: 2px solid #e722b9e9;
   box-shadow: none;
  outline-offset: 6px;
}

.skillsSectionIntro {
  max-width: 750px;
  margin: 0 auto 2.5rem;
  font-size: 1.1rem;
  color: #3b2c57;
  line-height: 1.7;
}

.skillsIcon {
  vertical-align: middle;
  width: auto;
  height: 2.5rem;
  margin-right: 0.7rem;
  filter: drop-shadow(0 2px 12px rgba(0, 0, 0, 0.3));
  object-fit: contain; /*Ensure they fit*/
}

.contactSectionContainer {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 450px;
  background-color: #03386ddb;
  padding: 3rem 1rem;
  border-radius: 2rem;
  margin: 0 auto;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  transition: background-color 50s ease;
}

.contactSectionContainer:hover {
  background-color: #03386dc8;
}

.contactFormGroup h2 {
  font-family: "Orbitron", Impact, Haettenschweiler, "Arial Narrow Bold";
  font-size: 2.5rem;
  color: #ffffff;
  margin-bottom: 2rem;
  text-align: center;
  font-weight: 700;
  animation: fadeIn 5s forwards;
}

.contactFormWrapper {
  display: flex;
  flex-direction: column;
  max-width: 700px;
  margin: 0 auto;
  gap: 0.9rem;
  transition: transform 0.3s ease;
}

.contactFormGroup label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  padding: 0;
  margin: -1px;
  clip: rect(0, 0, 0, 0);
  border: 0;
  white-space: nowrap;
}

.contactFormGroup input,
.contactFormGroup textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border-radius: 1em;
  border: 1.5px solid #31a3d4;
  background-color: #131328;
  color: #eee;
  font-size: 1rem;
  font-family: "Orbitron", Impact, Haettenschweiler, "Arial Narrow Bold";
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.contactFormGroup input:focus,
.contactFormGroup textarea:focus {
  outline: none;
  border: 1.5px solid #c631d4;
  transform: scale(1.05);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.contactSubmitButton {
  display: block;
  background-color: #388dfc;
  border: 5px solid transparent;
  padding: 0.8rem 1.6rem;
  margin: 2rem auto 0 auto;
  font-size: 1rem;
  margin-top: 1rem;
  border-radius: 2rem;
  color: #fff;
  font-weight: 700;

  transition: background-color 0.3s ease, transform 0.2s ease,
    box-shadow 0.3s ease;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.contactSubmitButton:hover,
.contactSubmitButton:focus {
  background-color: #ff5cf1;
  transform: scale(1.1) translateY(-2px);
  border: none;
  color: #fff;
  cursor: url("images/cursor/cursorIcon.cur"), auto;
  box-shadow: 3px 3px 1px #bd1c6d, 6px 6px 0px #1719ba;
}

.socialMediaLinks {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
  text-align: center;
  gap: 0.9rem;
}

.socialMediaIconHero {
  width: 33px;
  height: 33px;
  cursor: url("images/cursor/cursorIcon.cur"), auto;
  transition: filter 0.3s ease, transform 0.3s ease;
}

.socialMediaIconContact {
  margin-top: 0rem;
  margin-bottom: 1rem;
  width: 33px;

  height: 33px;
  cursor: url("images/cursor/cursorIcon.cur"), auto;
}

.socialMediaLinks a {
  transition: filter 0.6s ease, transform 0.6s ease;
}

.socialMediaLinks a:hover,
.socialMediaLinks a:focus {
  transform: scale(1.2);
}

#backToTopButton {
  position: fixed;
  z-index: 1000;
  background-color: #8338ec;
  bottom: 2rem;
  right: 2rem;
  border: none;
  padding: 0.8rem 1.4rem;
  border-radius: 3rem;
  color: #fff;
  font-weight: 600;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
  transition: background-color 0.3s ease, transform 0.7s ease, outline 0.2s ease;
}

#backToTopButton:hover,
#backToTopButton:focus {
  background-color: #6a00b8;
  transform: translateY(-3px);
  outline: 2px solid #8338ec;
  outline-offset: 2px;
}

footer {
  display: block;
  background-color: #14015e9d;
  padding: 2rem 1rem;
  font-size: 1rem;
  margin-top: 2rem;
  text-align: center;
}

footer ul {
  display: flex;
  justify-content: center;
  font-size: 1.2rem;
  list-style: none;
  text-transform: uppercase;
  gap: 0.7rem;
}

footer ul li a {
  font-size: 1.2rem;
  display: inline-block;
  transition: color 0.3s ease, font-size 0.3s ease, transform 0.9s;
}

footer ul li a:hover,
footer ul li a:focus {
  font-size: 1.1rem;
  transition: all 0.3s ease;
  transform: translateY(-4px) scale(1.2);
}

footer ul li:nth-child(odd) a:hover {
  color: #38dbfc;
}

footer ul li:nth-child(even) a:hover {
  color: #ff1efb;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.reveal.visible.fadeIn {
  opacity: 1;
  transform: translateY(0);
}

.fadeIn.visible.slideUp {
  animation: fadeIn 0.6s ease-out forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

body.darkMode {
  background-color: #121212;
  color: #f0f0f0;
}

body.darkMode::before {
  background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(32, 10, 51, 0.905)),
    url("images/backgrounds/background1.webp"),
    url("images/backgrounds/background2.webp");
}

body.darkMode header {
  background-color: #1a1a1a86;
  color: #ffffff;
}

body.darkMode #desktopMenu ul li:nth-child(odd) a:hover {
  color: #0ea3de;
}

body.darkMode #desktopMenu ul li:nth-child(even) a:hover {
  color: #ee076f;
}

#mobileMenuToggle:hover {
  color: #ee076f;
}

body.darkMode nav a:hover,
body.darkMode nav a:focus {
  color: #b38feb;
}

body.darkMode .heroSectionContent h1,
body.darkMode .heroSectionContent h2 {
  color: #ffffff;
}

body.darkMode .aboutSectionText h2,
body.darkMode .projectSectionContainer h2,
body.darkMode .skillsSectionContainer h2,
body.darkMode .contactFormGroup h2 {
  color: #f5f1fd;
}

body.darkMode #toggleModeButton {
  background-color: #6d308e;
  color: #ffffff;
}

body.darkMode #toggleModeButton:hover {
  background-color: #5c06e69e;
  outline: 2px solid #5c06e69e;

}

body.darkMode .lastLetter,
body.darkMode .accentLetters {
  color: #cd0a7c;
}

body.darkMode .lastLetter:hover,
body.darkMode .accentLetters:hover {
  color: #0ea3de;
}

body.darkMode #mobileMenu {
  background-color: #101010e6;
}

body.darkMode #mobileMenu a:hover {
  color: #cd0a7c;
}

body.darkMode .heroSectionContainer::before {
  background-image: linear-gradient(
    rgba(237, 82, 162, 0.305),
    rgba(32, 10, 51, 0.135)
  );
}

body.darkMode .overlay {
  background-color: rgba(34, 34, 34, 0.596);
}

body.darkMode .modalContent h2 {
  color: #ffffff;
}

body.darkMode .modalContent {
  background-color: rgba(28, 28, 28, 0.95);
}

body.darkMode .aboutSectionContainer {
  background-color: #031417b1;
  color: #f0f0f0;
}

body.darkMode .nameHighlight {
  color: #cd0a7c;
}

body.darkMode .project {
  background-color: #060b148b;
  color: #f0f0f0;
}

body.darkMode .project:hover,
body.darkMode .project:active {
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

body.darkMode .project h3 {
  color: rgb(255, 68, 127);
}

body.darkMode .project a {
  color: #049ea9;
}

body.darkMode .project a:hover {
  color: #cd0a7c;
}

.projectImage {

  border: 3px solid #cd0a7c;

}

body.darkMode .skillsSectionContainer {
  background-color: #031417b1;
  color: #f0f0f0;
}

body.darkMode .skillsSectionIntro {
  color: #e0e0e0;
}

body.darkMode .skillsList li {
  background-color: #540483;

  box-shadow: 6px 6px 0px #cd0a7c, 4px 4px 1px #0b0344;
}

body.darkMode .skillsList li:hover {
  background-color: #30024a;
   box-shadow: none;
}

body.darkMode .contactSectionContainer {
  background-color: #060b14c5;
  color: #fbb9ff;
}

body.darkMode .contactFormGroup input,
body.darkMode .contactFormGroup textarea {
  border-color: #dd8bf8;
  background-color: #0d0d0d;
  color: #ffffff;
}

body.darkMode .contactFormGroup input:focus,
body.darkMode .contactFormGroup textarea:focus {
  border-color: #ee2ad1;
  box-shadow: 0 0 20px rgba(194, 8, 223, 0.3);
}

body.darkMode .contactSubmitButton {
  background-image: linear-gradient(#000000),
    linear-gradient(45deg, #ed08e9, #350aa3, #be30e9, #388dfc);
  background-size: 200% 200%;
  background-clip: padding-box, border-box;
  color: #ffffff;
  transition: background-image 0.4s ease, transform 0.3s ease,
    box-shadow 0.4s ease;
  animation: borderMove 2s linear infinite;
}

@keyframes borderMove {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

body.darkMode .contactSubmitButton:hover,
body.darkMode .contactSubmitButton:focus {
  background-image: linear-gradient(#000000);
  color: #ffffff;
  transform: scale(1.05) translateY(-2px);
  box-shadow: 0 6px 15px rgba(255, 30, 251, 0.7);
}

body.darkMode footer {
  background-color: #09142b5e;
  color: white;
}

body.darkMode footer ul li:nth-child(odd) a:hover {
  color: #0ea3de;
}

body.darkMode footer ul li:nth-child(even) a:hover {
  color: #ee076f;
}

@media (max-width: 980px) {
  body {
    background-image: url("images/backgrounds/background1Medium.webp"),
      url("images/backgrounds/background2Medium.webp");
  }

  body::before {
    background-image: url("images/backgrounds/background1Medium.webp"),
      url("images/backgrounds/background2Medium.webp");
  }

  #mobileMenuToggle {
    display: block;
  }
  #desktopMenu {
    display: none;
  }
}

@media (max-width: 900px) {
  .aboutSectionContainer {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 85vw;
    margin: 0 auto;
  }

  .aboutSectionText p {
    max-width: 60vw;
    text-align: left;
    margin: 0 auto;
    margin-bottom: 1rem;
  }

  .projectSectionContainer {
    gap: 0;
    margin: 0;
  }

  .projectSectionContainer h2 {
    margin-top: 2rem;
  }

  .nameHighlight {
  font-size: 1.2rem;

}
}

@media (max-width: 860px) {
  .modalContent {
    max-width: 90vw;
    max-height: 90vh;
    margin-top: 2rem;
    overflow: hidden;
    overflow-y: auto;
  }

  .modalContent p {
    font-size: 1rem;
    font-weight: 400;
  }

  #modalCloseButton {
    top: 1rem;
  }

  footer {
    display: none;
  }
}

@media (max-width: 820px) {
  .project {
    width: 500px;
  }
}

@media (max-width: 768px) {
  .heroSectionContainer {
    min-height: 350px;
  }

  .heroSectionContent h1 {
    font-size: 3rem;
    letter-spacing: 3px;
  }

  .heroSectionContent h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
  }

  .socialMediaIconHero {
    z-index: 10;
  }

  .aboutSectionContainer {
    padding: 2rem 1.5rem;
  }

  .aboutSectionFirstParagraph {
    font-size: 1rem;
  }

  .aboutSectionText p {
    font-size: 1rem;
    max-width: 400px;
  }

  .aboutSectionText h2 {
    font-size: 2.1rem;
    margin-bottom: 0.6rem;
  }



  .projectSectionContainer h2 {
    font-size: 3rem;
    margin-bottom: 2rem;
    margin-top: 2rem;
  }

  .project h3 {
    font-size: 1.3rem;
  }

  .skillsSectionContainer {
    padding: 3rem 1.5rem;
  }

  .skillsSectionContainer h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
  }

  .skillsSectionIntro {
    font-size: 1rem;
    margin-bottom: 2rem;
  }

  .skillsList li {
    padding: 0.8rem 1.2rem;
    font-size: 0.9rem;
  }

  .skillsIcon {
    width: auto;
    height: 2.2rem;
    margin-right: 0.4rem;
  }

  .contactSectionContainer {
    padding: 3rem 1.5rem;
  }

  .contactFormGroup h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
  }

  .contactFormGroup input,
  #message {
    margin: 0;
    margin-top: 0.1rem;
  }

  .contactSubmitButton {
    width: auto;
    max-width: 250px;
  }

  .socialMediaIconContact {
    margin-top: 0.2rem;
    width: 30px;
    height: 30px;
  }
}
@media (max-width: 680px) {
  body {
    background-image: url("images/backgrounds/background1Small.webp"),
      url("/images/backgrounds/background2Small.webp");
  }

  body::before {
    background-image: url("images/backgrounds/background1Small.webp"),
      url("/images/backgrounds/background2Small.webp");
  }

  .heroSectionContent h1 {
    font-size: 2.7rem;
  }

    .nameHighlight {
  font-size: 1.1rem;

}
}
@media (max-width: 580px) {
  .project {
    padding: 1rem;
    width: 56vh;
  }
}

@media (max-width: 480px) {
  header {
    padding: 0.8rem 1rem;
  }

  #toggleModeButton {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
  }

  .heroSectionContainer {
    padding: 2.5rem 1rem;
    min-height: 300px;
    margin-top: 1.5rem;
  }

  .heroSectionContent h1 {
    font-size: 2.4rem;
  }

  .heroSectionContent h2 {
    font-size: 1.3rem;
  }

  .aboutSectionContainer {
    padding: 2rem 1rem;
    gap: 1.5rem;
  }

  #profileImage {
    width: 200px;
    height: 200px;
  }

  .aboutSectionText h2 {
    font-size: 1.8rem;
  }

  .aboutSectionText p {
    font-size: 0.95rem;
  }

  .modalContent {
    padding: 2rem 1.5rem;
  }

  .modalContent h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
  }

  .modalContent p {
    font-size: 0.9rem;
  }

  #modalCloseButton {
    font-size: 1.5rem;
  }

  #seeMoreButton {
    padding: 0.7rem 1.5rem;
    font-size: 0.95rem;
  }

  .projectSectionContainer {
    margin: 2rem auto;
  }

  .projectSectionContainer h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
  }

  .project {
    padding: 1rem;
  }

  .project h3 {
    font-size: 1.2rem;
  }

  #backToTopButton {
    bottom: 1rem;
    right: 1rem;
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
    z-index: 1000;
    position: fixed;
  }

  .skillsSectionContainer {
    padding: 2.5rem 1rem;
  }

  .skillsSectionContainer h2 {
    font-size: 1.8rem;
  }

  .skillsSectionIntro {
    font-size: 0.9rem;
  }

  .skillsList li {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
  }

  .skillsIcon {
    width: auto;
    height: 1.5rem;
    margin-right: 0.3rem;
  }

  .contactSectionContainer {
    padding: 2.5rem 1rem;
  }

  .contactFormGroup h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
  }

  .contactFormGroup label {
    font-size: 0.95rem;
  }

  .contactFormGroup input,
  .contactFormGroup textarea {
    padding: 0.7rem 0.8rem;
    font-size: 0.9rem;
  }

  .contactSubmitButton {
    padding: 0.7rem 1.5rem;
    font-size: 0.8rem;
    margin: 0 auto;
    margin-top: 1rem;
  }

  .socialMediaLinks {
    margin-top: 1rem;
    gap: 1rem;
  }
}
