/* General Document Styles */

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

nav::selection,
.hero::selection,
.skill::selection,
.contact::selection,
footer::selection {
  color: #f4f4f6;
  background-color: var(--accent-purple);
}

.about::selection,
.project::selection {
  color: #0f0f12;
  background-color: var(--accent-green);
}

html {
  scroll-behavior: smooth;
}
/* 

Color root and switch theme 

*/

:root {
  --bg-main: #0f0f12;
  --text-main: rgb(244, 244, 246);
  --text-secondary: #cfcfd6;
  --line-color: #27272a;
  --glass-bg: rgba(80, 78, 78, 0.2);
  --glass-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  --accent-purple: #6f5bff;
  --accent-green: rgb(63, 213, 139);
  --glow-purple: rgba(128, 0, 255, 0.28);
  --glow-green: rgba(63, 213, 139, 0.28);
  --green-shadow: -1px -1px 27px rgba(63, 213, 139, 0.94);
  --purple-shadow: -1px -1px 27px #6f5bfff0;
  --fill-color: #f4f4f6;
  --bg-button-shadow: -1px -1px 31px 1px rgba(244, 244, 246, 0.52);
  --bg-button-skill: rgba(255, 255, 255, 0.05);
}

body.light-theme {
  --bg-main: #f4f4f6;
  --text-main: #0f0f12;
  --text-secondary: #2b2b31;
  --line-color: #a0a1a7;
  --glass-bg: rgba(255, 255, 255, 0.45);
  --glass-shadow: 0 4px 30px rgba(15, 15, 18, 0.08);
  --accent-purple: rgb(91, 72, 230);
  --accent-green: rgb(28, 160, 103);
  --glow-purple: rgba(128, 0, 255, 0.74);
  --glow-green: rgba(63, 213, 139, 1);
  --green-shadow: -1px -1px 27px rgba(28, 160, 103, 0.35);
  --purple-shadow: -1px -1px 27px rgba(91, 72, 230, 0.35);
  --fill-color: #0f0f12;
  --bg-button-shadow: -1px -1px 31px 1px rgba(15, 15, 18, 0.52);
  --bg-button-skill: rgba(223, 223, 223, 0.55);
}

body {
  font-family: "Space Grotesk", sans-serif;
  background-color: var(--bg-main);
  color: var(--text-main);
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

/*


Animation Reveal


*/

.reveal {
  opacity: 0;
  will-change: opacity, transform;
}

.nav-reveal {
  animation: navReveal 0.8s ease-in-out;
}

@keyframes navReveal {
  from {
    opacity: 0;
    transform: translateY(-30%);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.badge-reveal {
  transform: translateY(-30%);
  transition:
    opacity 0.8s ease-in-out,
    transform 0.8s ease-in-out;
}

.badge-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.8s;
}

.title-reveal {
  transform: translateY(-10%);
  transition:
    opacity 0.8s ease-in-out,
    transform 0.8s ease-in-out;
}

.title-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 1.5s;
}

.text-reveal {
  transition: opacity 0.8s ease-in-out;
}

.text-reveal.is-visible {
  opacity: 1;
  transition-delay: 2s;
}

.button-reveal {
  transform: translateY(30%);
  transition:
    opacity 0.8s ease-in-out,
    transform 0.8s ease-in-out;
}

.button-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 2.2s;
}

.title-dot {
  animation: dotGlow 2s ease-in-out 2.8s infinite;
}

@keyframes dotGlow {
  0% {
    filter: brightness(1);
    transform: translateY(0);
    text-shadow: 0;
  }

  50% {
    filter: brightness(1.5);
    transform: translateY(10%);
    text-shadow: -1px -1px 31px 1px rgba(164, 94, 235);
  }

  100% {
    filter: brightness(1);
    transform: translateY(0);
    text-shadow: 0;
  }
}

.titleAbout-reveal {
  transform: translateY(-30%);
  transition:
    opacity 0.8s ease-in-out,
    transform 0.8s ease-in-out;
}

.titleAbout-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.8s;
}

.photoAbout-reveal {
  transform: translateY(-30%);
  transition:
    opacity 1.2s ease-in-out,
    transform 1.2s ease-in-out;
}

.photoAbout-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 1.2s;
}

.infoAbout-reveal {
  transform: translateY(30%);
  transition:
    opacity 1.2s ease-in-out,
    transform 1.2s ease-in-out;
}

.infoAbout-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 1.8s;
}

.titleSectionSkill-reveal {
  transform: translateY(30%);
  transition:
    opacity 1.2s ease-in-out,
    transform 1.2s ease-in-out;
}

.titleSectionSkill-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.8s;
}

.buttonMenuSkill-reveal {
  transform: translateY(30%);
  transition:
    opacity 1.2s ease-in-out,
    transform 1.2s ease-in-out;
}

.buttonMenuSkill-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 1.5s;
}

.sectionCardSkill-reveal {
  transform: translateY(30%);
  transition:
    opacity 1.2s ease-in-out,
    transform 1.2s ease-in-out;
}

.sectionCardSkill-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 2.5s;
}

.titleProjectSection-reveal {
  transform: translateY(30%);
  transition:
    opacity 1.2s ease-in-out,
    transform 1.2s ease-in-out;
}

.titleProjectSection-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 2.5s;
}

.swiperProject-reveal {
  transform: translateY(30%);
  transition:
    opacity 1.2s ease-in-out,
    transform 1.2s ease-in-out;
}

.swiperProject-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 2.5s;
}

/* Animation for modal */

.singleSkill {
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.singleSkill:hover {
  transform: translateY(-4px);
}

.singleSkill:active {
  transform: scale(0.98);
}

.skill-modal__panel {
  animation: modalEnter 0.28s ease;
}

@keyframes modalEnter {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Animation for Contact */

.textContact-reveal {
  transform: translateY(30%);
  transition:
    opacity 0.8s ease-in-out,
    transform 0.8s ease-in-out;
}

.textContact-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.8s;
}
.containerContact-reveal {
  transform: translateY(30%);
  transition:
    opacity 0.8s ease-in-out,
    transform 0.8s ease-in-out;
}

.containerContact-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 1s;
}

/* Animation for footer */
.footer-reveal {
  transform: translateY(30%);
  transition:
    opacity 0.8s ease-in-out,
    transform 0.8s ease-in-out;
}

.footer-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.8s;
}

.copy-reveal {
  transform: translateY(30%);
  transition:
    opacity 0.8s ease-in-out,
    transform 0.8s ease-in-out;
}

.copy-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 1s;
}
/* Navbar Style */

.logo {
  z-index: 2;
}

.logo img {
  width: 5rem;
  height: auto;
}

nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 20;
  display: flex;
  border-bottom: 0.05em solid var(--line-color);
  justify-content: center;
  padding: 1.5em 0;
}

nav::before {
  content: "";
  position: absolute;
  inset: 0;
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  z-index: -1;
}

.container-nav {
  position: relative;
  width: 80%;
  height: auto;
  display: flex;
  justify-content: space-between;
  padding: 0 5em;
  align-items: center;
}

.navbar {
  display: flex;
  gap: 2em;
}

.nav-items {
  text-decoration: none;
  list-style: none;
}
.nav-items a {
  font-family: "Space Mono", monospace;
  color: var(--text-main);
  text-decoration: none;
  text-shadow: none;
  transition:
    color 0.2s ease-in-out,
    text-shadow 0.2s ease-in-out;
}

.navbar li:nth-child(odd) a:hover,
.navbar li:nth-child(odd) a:active,
.navbar li:nth-child(odd) a.is-active {
  color: var(--accent-green);
  text-shadow: var(--green-shadow);
}
.navbar li:nth-child(even) a:hover,
.navbar li:nth-child(even) a:active,
.navbar li:nth-child(even) a.is-active {
  color: var(--accent-purple);
  text-shadow: var(--purple-shadow);
}

/* Style for Light and Dark Mode and Language Switcher */

.buttonThemeAndLanguage {
  display: flex;
  gap: 1em;
}

.buttonTheme {
  width: 3em;
  height: 3em;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  background: var(--glass-bg);
  box-shadow: var(--glass-shadow);
  margin: 0;
  -webkit-backdrop-filter: blur(10.7px);
  backdrop-filter: blur(10.7px);
  border: none;
  cursor: pointer;
  transition:
    transform 0.2s ease-in-out,
    box-shadow 0.2s ease-in-out;
}

.fa-moon,
.fa-sun {
  color: var(--text-main);
}

.buttonTheme:hover {
  transform: rotate(60deg);
  -webkit-box-shadow: -1px -1px 31px 1px rgba(128, 0, 255, 0.52);
  -moz-box-shadow: -1px -1px 31px 1px rgba(128, 0, 255, 0.52);
  box-shadow: -1px -1px 31px 1px rgba(128, 0, 255, 0.52);
}

.buttonTheme:active {
  transform: scale(0.7) rotate(180deg);
}

/* Switcher Language */

.lang-switcher {
  position: relative;
  display: inline-block;
}

.lang-switcher__toggle {
  width: 3em;
  height: 3em;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  background: var(--glass-bg);
  box-shadow: var(--glass-shadow);
  margin: 0;
  -webkit-backdrop-filter: blur(10.7px);
  backdrop-filter: blur(10.7px);
  border: none;
  cursor: pointer;
  color: var(--text-main);
  transition: box-shadow 0.2s ease-in-out;
  font-family: "Space Mono", monospace;
}

.lang-switcher__toggle:hover {
  -webkit-box-shadow: -1px -1px 31px 1px rgba(128, 0, 255, 0.52);
  -moz-box-shadow: -1px -1px 31px 1px rgba(128, 0, 255, 0.52);
  box-shadow: -1px -1px 31px 1px rgba(128, 0, 255, 0.52);
}

.lang-switcher__toggle:focus-visible {
  outline: 2px solid #111;
  outline-offset: 2px;
}

.lang-switcher__arrow {
  font-size: 0.8rem;
  line-height: 1;
  transition: transform 0.2s ease;
}

.lang-switcher.is-open .lang-switcher__arrow {
  transform: rotate(180deg);
}

.lang-switcher__menu {
  position: absolute;
  top: calc(100% + 0.45rem);
  right: 0;
  min-width: 150px;
  margin: 0;
  padding: 0.4rem;
  list-style: none;
  background: var(--glass-bg);
  box-shadow: var(--glass-shadow);
  margin: 0;
  -webkit-backdrop-filter: blur(10.7px);
  backdrop-filter: blur(10.7px);
  border-radius: 14px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  z-index: 1;
  transition:
    opacity 0.2s ease,
    transform 0.2s ease,
    visibility 0.2s ease;
}

.lang-switcher.is-open .lang-switcher__menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-switcher__menu a {
  display: block;
  padding: 0.7rem 0.85rem;
  border-radius: 10px;
  font-family: "Space Mono", monospace;
  color: var(--text-main);
  font-size: 0.8em;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.lang-switcher__menu a:hover,
.lang-switcher__menu a:focus-visible {
  background-color: var(--accent-purple);
  outline: none;
}

.menu-toggle {
  position: relative;
  display: none;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  width: 3em;
  height: 3em;
  z-index: 1;
}

/* Main Style */

/* 

Hero Section

*/
section {
  width: 80%;
  height: 80vh;
  margin-top: 5em;
}

main {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 1.5em 0;
}

.hero {
  width: 100%;
  max-width: 80%;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.heroContent {
  display: flex;
  flex-direction: column;
  gap: 2em 0;
}

.hero p:first-child {
  color: var(--text-main);
  display: inline-block;
  width: fit-content;
  border-radius: 2em;
  padding: 1em;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
  font-size: 0.8em;
  background: var(--glass-bg);
  margin-bottom: 2em;
}

.hero p span {
  background: linear-gradient(
    135deg,
    var(--fill-color),
    var(--bg-main),
    var(--fill-color)
  );
  background-clip: text;
  color: transparent;
  background-size: 200% 100%;
  animation: shimmer 5s linear infinite;
}

@keyframes shimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

.heroContent h1 {
  font-size: 3rem;
  font-weight: 500;
  letter-spacing: 0.1em;
}

.heroContent h1 span {
  color: var(--accent-purple);
}

.heroContent p:last-of-type {
  font-weight: 300;
}

/* 

Button CTA Hero Section

*/

.heroCTA {
  display: flex;
  gap: 1em;
}

.heroCTA a {
  font-family: "Space Mono", monospace;
  font-weight: 500;
  font-size: 1.2rem;
  width: 14em;
  height: 3em;
  border-radius: 2em;
  border: none;
  color: var(--bg-main);
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: box-shadow 0.2s ease-in-out;
  text-decoration: none;
}

.heroCTA a:first-of-type {
  background-color: var(--text-main);
  color: var(--bg-main);
}

.heroCTA a:last-of-type {
  background-color: var(--accent-purple);
  color: #f4f4f6;
}

.heroCTA a:first-of-type:hover {
  -webkit-box-shadow: var(--bg-button-shadow);
  -moz-box-shadow: var(--bg-button-shadow);
  box-shadow: var(--bg-button-shadow);
}

.heroCTA a:last-of-type:hover {
  -webkit-box-shadow: -1px -1px 31px 1px rgba(91, 72, 230, 0.52);
  -moz-box-shadow: -1px -1px 31px 1px rgba(91, 72, 230, 0.52);
  box-shadow: -1px -1px 31px 1px rgba(91, 72, 230, 0.52);
}

/* 

About Section

*/

.about {
  position: relative;
  display: flex;
  justify-content: center;
  gap: 2rem;
}

.aboutContent {
  width: 100%;
  max-width: 70%;
  display: flex;
  align-items: center;
  gap: 3rem;
}

.profilePicAbout {
  width: fit-content;
  flex: 0 0 auto;
}

.framePic {
  position: relative;
  width: fit-content;
}

.profileImg {
  display: block;
  width: 100%;
  max-width: 20rem;
  height: auto;
}

.infoAbout {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.mobileTitle {
  display: none;
}

.infoAbout h2 {
  display: block;
  margin: 0;
  font-size: 2.5rem;
}

.infoAbout h2 span {
  color: var(--accent-green);
}

.infoAbout p {
  font-size: 1.2rem;
  line-height: 2rem;
  text-align: justify;
}

/* 

Skill Section

*/

.skill {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  margin-top: 15em;
}

.skillContent {
  width: 100%;
  max-width: 70%;
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 3rem;
}

.sectionCard {
  display: none;
}

.sectionCard.activeSkillSection {
  display: flex;
  margin-top: 3em;
  flex-direction: column;
  gap: 7em;
}

.buttonSection {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.3rem;
  border-radius: 999px;
  background-color: var(--bg-button-skill);
}

.buttonSection button {
  position: relative;
  z-index: 2;
  font-size: 1.2rem;
  font-family: "Space Mono", monospace;
  color: var(--text-main);
  background: none;
  border: none;
  padding: 0.5em 1em;
  border-radius: 2em;
  cursor: pointer;
  transition: color 0.3s ease;
}

.buttonSection button.activeSkillSection {
  color: #f4f4f6;
}

.activeIndicator {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  height: calc(100% - 0.6rem);
  border-radius: 999px;
  background-color: var(--accent-purple);
  z-index: 1;
  transition: all 0.35s ease;
}

.sectionCard p {
  font-size: 1.1rem;
}

.firstRowSkill,
.secondRowSkill {
  display: flex;
  gap: 8em;
}

.singleSkill {
  background: none;
  border: none;
  color: var(--text-main);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  width: 10rem;
  height: 13rem;
  cursor: pointer;
}

.singleSkill svg {
  width: 40%;
  height: auto;
  fill: var(--text-main);
}

.skill h2 {
  font-size: 2.5rem;
}

.skill h2 span {
  color: var(--accent-purple);
}

body.modal-open {
  overflow: hidden;
}

/* Style for modal popup skill */

.skill-modal[hidden] {
  display: none;
}

.skill-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1.5rem;
}

.skill-modal__backdrop {
  position: absolute;
  inset: 0;
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(10.7px);
  backdrop-filter: blur(10.7px);
}

.skill-modal__panel {
  position: relative;
  z-index: 1;
  width: min(100%, 40vw);
  max-height: min(85dvh, 900px);
  overflow-y: auto;
  padding: 2rem;
  border: 0.05em solid var(--line-color);
  border-radius: 2rem;
  background: var(--glass-bg);
  box-shadow: var(--glass-shadow);
  margin: 0;
  -webkit-backdrop-filter: blur(10.7px);
  backdrop-filter: blur(10.7px);
}

.skill-modal__top {
  display: flex;
  align-items: center;
  gap: 2em;
}

.skill-modal__icon {
  width: fit-content;
  width: 15%;
}

.skill-modal__icon svg {
  width: 100%;
  height: auto;
  fill: var(--text-main);
}

.skill-modal__intro {
  display: flex;
  flex-direction: column;
  gap: 1em;
}

.skill-modal__status {
  font-family: "Space Mono", monospace;
  color: var(--accent-purple);
  font-size: 1rem;
}

.skill-modal__title {
  font-size: 2rem;
  color: var(--text-main);
}

.skill-modal__content {
  margin-top: 3em;
  display: flex;
  flex-direction: column;
  gap: 1.3em;
  color: var(--text-main);
}

.skill-modal__card {
  display: flex;
  flex-direction: column;
  gap: 1em;
}

.skill-modal__label {
  font-family: "Space Mono", monospace;
  color: var(--accent-purple);
  font-size: 1.2rem;
  font-weight: 600;
}

.skill-modal__card p:last-of-type {
  font-family: "Space Mono", monospace;
  margin-left: 1em;
  font-weight: 100;
}

.skill-modal__close {
  background: none;
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  width: 2em;
  height: 2em;
  display: flex;
  justify-content: center;
  align-items: center;
  border: none;
  cursor: pointer;
}

.skill-modal__close span {
  color: rgb(156, 1, 1);
  font-size: 3rem;
}

/* Style for Project Section */

.project {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  margin-top: 15em;
}

.projectContent {
  width: 100%;
  max-width: 70%;
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 3rem;
}

.projectContent h2 {
  font-size: 2.5rem;
}

.projectContent h2 span {
  color: var(--accent-green);
}

.swiper {
  width: 100%;
  height: 100%;
}

.swiper-slide {
  position: relative;
  width: 100%;
  height: 50px;
  display: flex;
  align-items: center;
  border: 0.15em solid var(--line-color);
  background: none;
  z-index: 1;
}

.swiper-pagination {
  position: relative !important;
  margin-top: 1em;
}

.swiper-pagination-bullet {
  background: var(--text-main) !important;
}
.swiper-pagination-bullet-active {
  background: var(--accent-green) !important;
}

.swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.infoProject {
  padding-left: 0.5em;
  margin-top: 1em;
  text-align: left;
}

.infoProject h3 {
  font-size: 1.3rem;
  color: var(--text-main);
  margin-bottom: 0.2em;
  font-family: "Space Grotesk", sans-serif;
}

.infoProject p {
  font-size: 1rem;
  color: var(--text-main);
  font-family: "Space Grotesk", sans-serif;
}

.tagProject ul {
  padding: 1em;
  padding-left: 1.2em;
  font-family: "Space Mono", monospace;
  font-size: 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.2em;
  color: var(--text-main);
}

.tagProject ul li::marker {
  color: var(--accent-green);
}

.infoProject a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: fit-content;
  text-decoration: none;
  color: #0f0f12;
  background-color: var(--accent-green);
  padding: 1em;
  margin-bottom: 1em;
  border-radius: 2em;
  transition: transform 0.15s ease-in-out;
}

.infoProject a:hover {
  transform: translateY(-2%);
}

.infoProject a:active {
  transform: scale(0.95);
  background-color: rgb(121, 224, 172);
}

/* Style for Contact Section */

.contact {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  margin-top: 15em;
  margin-bottom: 20em;
}

.contactContent {
  width: 100%;
  max-width: 70%;
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 3rem;
}

.contactContent h2 {
  font-size: 2.5rem;
}

.contactContent h2 span {
  color: var(--accent-purple);
}

.formAndInfoContainer {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 2rem;
  gap: 5rem;
}

.form {
  width: 40%;
  height: auto;
}

#name,
#email,
#message {
  outline: none;
  width: 100%;
  height: 3.5rem;
  margin-bottom: 1rem;
  background: none;
  border: 0.1rem solid;
  border-color: var(--line-color);
  font-family: "Space Mono", monospace;
  color: var(--text-main);
}

#message,
.message {
  height: 20rem;
  resize: none;
}

.name:focus,
.email:focus,
.message:focus,
#privacy:focus,
.name:active,
.email:active,
.message:active,
#privacy:active {
  outline: none;
  border-color: var(--accent-purple);
}

input[placeholder] {
  padding-left: 0.5rem;
}

.message [placeholder] {
  padding: 0.5rem;
}

#privacy {
  width: 1rem;
  margin: 0;
  padding: 0;
  margin-top: 1rem;
  cursor: pointer;
}

input[type="checkbox" i] {
  background-color: none !important;
  border-radius: none;
}

label[for="privacy"] {
  text-align: justify;
  font-size: 0.8rem;
  width: 100%;
}

.sendForm {
  font-family: "Space Mono", monospace;
  border-radius: 2em;
  border: none;
  outline: none;
  width: 50%;
  height: auto;
  color: #f4f4f6;
  background-color: var(--accent-purple);
  padding: 1em;
  cursor: pointer;
  margin-top: 1rem;
  transform: translateX(50%);
}

.sendForm:hover {
  -webkit-box-shadow: -1px -1px 31px 1px rgba(91, 72, 230, 0.52);
  -moz-box-shadow: -1px -1px 31px 1px rgba(91, 72, 230, 0.52);
  box-shadow: -1px -1px 31px 1px rgba(91, 72, 230, 0.52);
}

.social p {
  font-size: 1.3rem;
  margin: 1rem 0;
}

.addressContact p:first-child {
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.addressContact a {
  font-family: "Space Mono", monospace;
  color: var(--text-main);
}

.socialIcon a {
  color: var(--text-main);
  text-decoration: none;
  font-size: 2.5rem;
  transition: opacity 0.15s ease-in-out;
}

.socialIcon a:hover {
  opacity: 0.9;
}

.form-message.error {
  margin-top: 1rem;
  padding: 1rem;
  -webkit-backdrop-filter: blur(13px) saturate(1%);
  backdrop-filter: blur(13px) saturate(1%);
  background-color: rgba(89, 17, 18, 0.81);
  color: rgba(160, 28, 30, 0.81);
  border: 1px solid rgba(255, 255, 255, 0.125);
  text-align: center;
}
.form-message.success {
  margin-top: 1rem;
  padding: 1rem;
  -webkit-backdrop-filter: blur(13px) saturate(1%);
  backdrop-filter: blur(13px) saturate(1%);
  background-color: rgba(21, 114, 74, 0.81);
  color: rgba(28, 160, 103, 0.81);
  border: 1px solid rgba(255, 255, 255, 0.125);
  text-align: center;
}

/* 

Style Footer 

*/

.logoFooter img {
  width: 7rem;
  height: auto;
}

footer {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding-bottom: 2rem;
  border-top: 0.05em solid var(--line-color);
}

.copy {
  position: absolute;
  width: 100%;
  height: 20%;
  background: #6f5bff;
  background: linear-gradient(
    0deg,
    rgba(111, 91, 255, 1) 31%,
    rgba(111, 91, 255, 0.01) 100%
  );
  bottom: 0;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.containerCopy {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  bottom: 0;
}

.copy p {
  margin-bottom: 1rem;
  color: #f4f4f6;
}

.footerContentPrincipal {
  width: 100%;
  max-width: 80.1%;
  position: relative;
  display: flex;
  justify-content: center;
  gap: 2rem;
  padding: 3rem 0;
  border-left: 0.05em solid var(--line-color);
  border-right: 0.05em solid var(--line-color);
}

.footerContent {
  padding: 5rem;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10rem;
}

.leftSideFooter {
  display: flex;
  width: 50%;
  flex-direction: column;
  gap: 1.3rem;
}

.leftSideFooter p {
  width: 70%;
  line-height: 1.6rem;
}

.leftSideFooter .backToTop {
  font-family: "Space Mono", monospace;
  width: fit-content;
  padding: 1rem;
  background-color: var(--accent-purple);
  border: none;
  outline: none;
  color: #f4f4f6;
  text-decoration: none;
}

.socialIconFooter a {
  color: var(--text-main);
  text-decoration: none;
  font-size: 1.5rem;
}

.rightSideFooter {
  display: flex;
  gap: 5rem;
}

.siteMap .menu .navbar,
.menuLegal .navbar {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.6em;
}

.socialIconFooter {
  transition: opacity 0.15s ease-in-out;
}

.socialIconFooter a:hover {
  opacity: 0.9;
}
/* 



Object Glow Styles and Lines



*/

/* First bg-glow purple */
.bg-glow::before {
  position: absolute;
  content: "";
  top: -10vh;
  right: -10vw;
  width: clamp(50rem, 60vw, 50rem);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: var(--glow-purple);
  filter: blur(clamp(60px, 8vw, 140px));
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  animation:
    glow-enter 1.8s ease-out forwards,
    glow-float 12s ease-in-out infinite 1.8s,
    glow-pulse 8s ease-in-out infinite 1.8s;
}

@keyframes glow-enter {
  from {
    opacity: 0;
    transform: translate(8vw, -8vh) scale(0.85);
  }
  to {
    opacity: 1;
    transform: translate(0, 0) scale(1);
  }
}

@keyframes glow-float {
  0% {
    transform: translate(0, 0) scale(1);
  }
  25% {
    transform: translate(-2vw, 1.5vh) scale(1.03);
  }
  50% {
    transform: translate(-1vw, 3vh) scale(1.06);
  }
  75% {
    transform: translate(1vw, 1vh) scale(1.02);
  }
  100% {
    transform: translate(0, 0) scale(1);
  }
}

@keyframes glow-pulse {
  0%,
  100% {
    opacity: 0.55;
  }
  50% {
    opacity: 0.8;
  }
}

/* Second bg-glow green */
.bg-glow-two::before {
  content: "";
  position: absolute;
  top: 70vh;
  left: -10vw;
  width: clamp(50rem, 60vw, 50rem);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: var(--glow-green);
  filter: blur(clamp(60px, 8vw, 140px));
  pointer-events: none;
  z-index: 0;
  opacity: 0;

  animation:
    glow-enter 1.8s ease-out forwards,
    glow-float 12s ease-in-out infinite 1.8s,
    glow-pulse 8s ease-in-out infinite 1.8s;
}

@keyframes glow-enter {
  from {
    opacity: 0;
    transform: translate(8vw, -8vh) scale(0.85);
  }
  to {
    opacity: 1;
    transform: translate(0, 0) scale(1);
  }
}

@keyframes glow-float {
  0% {
    transform: translate(0, 0) scale(1);
  }
  25% {
    transform: translate(-2vw, 1.5vh) scale(1.03);
  }
  50% {
    transform: translate(-1vw, 3vh) scale(1.06);
  }
  75% {
    transform: translate(1vw, 1vh) scale(1.02);
  }
  100% {
    transform: translate(0, 0) scale(1);
  }
}

@keyframes glow-pulse {
  0%,
  100% {
    opacity: 0.55;
  }
  50% {
    opacity: 0.8;
  }
}

/* Three bg-glow purple */
.bg-glow-three::before {
  position: absolute;
  content: "";
  top: 130em;
  right: -10vw;
  width: clamp(50rem, 60vw, 50rem);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: var(--glow-purple);
  filter: blur(clamp(60px, 8vw, 140px));
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  animation:
    glow-enter 1.8s ease-out forwards,
    glow-float 12s ease-in-out infinite 1.8s,
    glow-pulse 8s ease-in-out infinite 1.8s;
}

@keyframes glow-enter {
  from {
    opacity: 0;
    transform: translate(8vw, -8vh) scale(0.85);
  }
  to {
    opacity: 1;
    transform: translate(0, 0) scale(1);
  }
}

@keyframes glow-float {
  0% {
    transform: translate(0, 0) scale(1);
  }
  25% {
    transform: translate(-2vw, 1.5vh) scale(1.03);
  }
  50% {
    transform: translate(-1vw, 3vh) scale(1.06);
  }
  75% {
    transform: translate(1vw, 1vh) scale(1.02);
  }
  100% {
    transform: translate(0, 0) scale(1);
  }
}

@keyframes glow-pulse {
  0%,
  100% {
    opacity: 0.55;
  }
  50% {
    opacity: 0.8;
  }
}

/*Four bg-glow green */
.bg-glow-four::before {
  content: "";
  position: absolute;
  top: 270vh;
  left: -10vw;
  width: clamp(50rem, 60vw, 50rem);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: var(--glow-green);
  filter: blur(clamp(60px, 8vw, 140px));
  pointer-events: none;
  z-index: 0;
  opacity: 0;

  animation:
    glow-enter 1.8s ease-out forwards,
    glow-float 12s ease-in-out infinite 1.8s,
    glow-pulse 8s ease-in-out infinite 1.8s;
}

@keyframes glow-enter {
  from {
    opacity: 0;
    transform: translate(8vw, -8vh) scale(0.85);
  }
  to {
    opacity: 1;
    transform: translate(0, 0) scale(1);
  }
}

@keyframes glow-float {
  0% {
    transform: translate(0, 0) scale(1);
  }
  25% {
    transform: translate(-2vw, 1.5vh) scale(1.03);
  }
  50% {
    transform: translate(-1vw, 3vh) scale(1.06);
  }
  75% {
    transform: translate(1vw, 1vh) scale(1.02);
  }
  100% {
    transform: translate(0, 0) scale(1);
  }
}

@keyframes glow-pulse {
  0%,
  100% {
    opacity: 0.55;
  }
  50% {
    opacity: 0.8;
  }
}
/* Lines */

main::after {
  position: absolute;
  content: "";
  width: 80%;
  height: 100%;
  border-left: 0.05em solid var(--line-color);
  border-right: 0.05em solid var(--line-color);
  top: 0;
  pointer-events: none;
}

nav::after {
  position: absolute;
  content: "";
  width: 80%;
  height: 100%;
  border-left: 0.05em solid var(--line-color);
  border-right: 0.05em solid var(--line-color);
  top: 0;
  pointer-events: none;
}

.container-nav::before {
  position: absolute;
  content: "";
  width: 0.5em;
  height: 0.5em;
  bottom: 0;
  left: 0;
  background-color: var(--line-color);
  transform: translate(-50%, 350%);
  pointer-events: none;
}

.container-nav::after {
  position: absolute;
  content: "";
  width: 0.5em;
  height: 0.5em;
  bottom: 0;
  right: 0;
  background-color: var(--line-color);
  transform: translate(50%, 350%);
  pointer-events: none;
}

/* Lines for Picture */

.framePic::before {
  position: absolute;
  content: "";
  transform: translate(-12%);
  width: 130%;
  height: 100%;
  border-top: 0.1em solid var(--line-color);
  border-bottom: 0.1em solid var(--line-color);
  pointer-events: none;
}
.framePic::after {
  position: absolute;
  content: "";
  transform: translate(0, -90%);
  width: 100%;
  height: 120%;
  border-left: 0.1em solid var(--line-color);
  border-right: 0.1em solid var(--line-color);
  pointer-events: none;
}

.top-frame,
.right-frame,
.bottom-frame,
.left-frame {
  position: absolute;
  width: 0.5em;
  height: 0.5em;
  background-color: var(--line-color);
  pointer-events: none;
}

.top-frame {
  transform: translate(-40%, -50%);
}

.right-frame {
  right: 0;
  transform: translate(70%, -50%);
}

.bottom-frame {
  bottom: 0;
  transform: translate(-50%, 70%);
}

.left-frame {
  right: 0;
  bottom: 0;
  transform: translate(70%, 70%);
}

/* Lines for skill */

.singleSkill::before {
  position: absolute;
  content: "";
  width: 130%;
  height: 100%;
  border-top: 0.1em solid var(--line-color);
  border-bottom: 0.1em solid var(--line-color);
  pointer-events: none;
}

.singleSkill::after {
  position: absolute;
  content: "";
  width: 100%;
  height: 120%;
  border-left: 0.1em solid var(--line-color);
  border-right: 0.1em solid var(--line-color);
  pointer-events: none;
}

.left-top-square,
.right-top-square,
.right-bottom-square,
.left-bottom-square {
  position: absolute;
  width: 0.5em;
  height: 0.5em;
  background-color: var(--line-color);
  pointer-events: none;
}

.left-top-square {
  top: 0;
  left: 0;
  transform: translate(-60%, -60%);
}

.right-top-square {
  top: 0;
  right: 0;
  transform: translate(60%, -60%);
}

.right-bottom-square {
  bottom: 0;
  right: 0;
  transform: translate(60%, 60%);
}

.left-bottom-square {
  bottom: 0;
  left: 0;
  transform: translate(-60%, 60%);
}

/* Lines for contact */

.formAndInfoContainer::before {
  position: absolute;
  content: "";
  width: 106%;
  height: 100%;
  top: 0;
  border-top: 0.1em solid var(--line-color);
  border-bottom: 0.1em solid var(--line-color);
  pointer-events: none;
}

.formAndInfoContainer::after {
  position: absolute;
  content: "";
  width: 100%;
  height: 110%;
  transform: translateY(-8%);
  border-left: 0.1em solid var(--line-color);
  border-right: 0.1em solid var(--line-color);
  pointer-events: none;
}

.left-top-square-contact,
.right-top-square-contact,
.right-bottom-square-contact,
.left-bottom-square-contact {
  position: absolute;
  width: 0.5em;
  height: 0.5em;
  background-color: var(--line-color);
  pointer-events: none;
}

.left-top-square-contact {
  top: 0;
  left: 0;
  transform: translate(-60%, -60%);
}

.right-top-square-contact {
  top: 0;
  right: 0;
  transform: translate(60%, -60%);
}

.right-bottom-square-contact {
  bottom: 0;
  right: 0;
  transform: translate(60%, 60%);
}

.left-bottom-square-contact {
  bottom: 0;
  left: 0;
  transform: translate(-60%, 60%);
}

/* Square for footer */

.left-top-square-footer,
.right-top-square-footer {
  position: absolute;
  width: 0.5em;
  height: 0.5em;
  background-color: var(--line-color);
  pointer-events: none;
}

.left-top-square-footer {
  top: 0;
  left: 0;
  transform: translate(-60%, -60%);
}

.right-top-square-footer {
  top: 0;
  right: 0;
  transform: translate(60%, -60%);
}

/* 



Media Query 



*/

@media (max-width: 576px) {
  .logo img {
    width: 4rem;
    height: auto;
  }
}

@media (max-width: 1200px) {
  /* Style for Menù for Mobile */

  body,
  html {
    overflow-x: hidden !important;
    overflow-y: scroll;
  }

  .logo {
    z-index: 35;
  }

  .menu-toggle {
    display: block;
    z-index: 35;
  }

  .hamburger {
    width: 100%;
    height: 100%;
    position: relative;
  }

  .menu-toggle span {
    position: absolute;
    width: 2em;
    height: 0.2em;
    background-color: var(--text-main);
    border-radius: 1em;
    left: 50%;
    transform: translateX(-50%);
    transition: all 0.5s ease;
  }
  .menu-toggle span:nth-child(1) {
    top: 0.6em;
  }
  .menu-toggle span:nth-child(2) {
    top: 1.2em;
  }
  .menu-toggle span:nth-child(3) {
    top: 1.8em;
  }

  .menu-toggle span.firstLineMenu.open {
    top: 1.2em;
    transform: translateX(-50%) rotate(45deg);
  }

  .menu-toggle span.secondLineMenu.open {
    transform: scale(0);
  }

  .menu-toggle span.thirthyLineMenu.open {
    top: 1.2em;
    transform: translateX(-50%) rotate(-45deg);
  }

  /* Status button on click */

  .menu.menu-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  body.menu-open-body {
    overflow: hidden;
  }

  .menu .navbar,
  .menu .navbar.items-open {
    list-style: none;
    margin: 0;
    padding: 0 3rem 0 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    gap: 1.25rem;
    font-size: clamp(1.8rem, 4vw, 2rem);
    font-weight: 500;
    max-width: 14rem;
    width: 100%;
  }

  .buttonThemeAndLanguage.button-setting-open {
    position: fixed;
    right: 2rem;
    bottom: 2rem;
    z-index: 35;
    display: flex;
    gap: 1rem;
    animation: button-setting-enter 1.2s ease-in-out 1.9s both;
  }

  @keyframes button-setting-enter {
    from {
      opacity: 0;
      transform: translate(00vw, 100vh);
    }
    to {
      opacity: 1;
      transform: translate(0, 0);
    }
  }

  .menu .nav-items.single-items-open:nth-child(1) {
    animation: items-enter 1s ease-in-out 0.4s both;
  }
  .menu .nav-items.single-items-open:nth-child(2) {
    animation: items-enter 1s ease-in-out 0.8s both;
  }
  .menu .nav-items.single-items-open:nth-child(3) {
    animation: items-enter 1s ease-in-out 1.2s both;
  }
  .menu .nav-items.single-items-open:nth-child(4) {
    animation: items-enter 1s ease-in-out 1.6s both;
  }
  @keyframes items-enter {
    from {
      opacity: 0;
      transform: translate(0vw, 1000vh);
    }
    to {
      opacity: 1;
      transform: translate(0, 0);
    }
  }

  .lang-switcher__menu.items-open-mobile {
    top: auto;
    bottom: calc(100% + 0.45rem);
    right: 0;
    min-width: 150px;
    padding: 0.4rem;
    transform: translateY(6px);
  }

  .menu {
    display: flex;
    position: fixed;
    justify-content: flex-end;
    width: 100vw;
    height: 100vh;
    background: var(--glass-bg);
    box-shadow: var(--glass-shadow);
    -webkit-backdrop-filter: blur(10.7px);
    backdrop-filter: blur(10px);
    top: 0;
    right: 0;
    z-index: 30;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(100%);
    transition: none;
  }

  body.page-ready .menu {
    transition:
      opacity 0.45s ease-in-out,
      transform 1.8s ease-in-out,
      visibility 0.45s ease-in-out;
  }

  .container-nav {
    width: 80%;
    padding: 0 1rem;
  }

  nav::after {
    width: 80%;
    height: 100%;
  }

  .buttonThemeAndLanguage {
    display: none;
  }

  /* Style for hero for Mobile */

  .heroContent {
    justify-content: center;
    align-items: center;
  }

  .heroContent h1 {
    font-size: 1.5rem;
    text-align: center;
    font-weight: 500;
    letter-spacing: 0.1em;
  }

  .heroContent p:last-of-type {
    text-align: center;
    font-weight: 300;
  }

  .heroContent p:last-child {
    text-align: center;
  }

  .heroCTA {
    display: flex;
    flex-direction: column;
    gap: 1em;
  }

  .heroCTA button {
    font-family: "Space Mono", monospace;
    font-weight: 500;
    font-size: 1rem;
    width: 15em;
    height: 3em;
    border-radius: 2em;
    border: none;
    color: var(--bg-main);
    cursor: pointer;
    transition: box-shadow 0.2s ease-in-out;
  }

  /* Style for about for Mobile */

  .about {
    height: auto;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 2rem;
  }

  .aboutContent {
    width: 100%;
    max-width: 70%;
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 3rem;
  }

  .profilePicAbout {
    width: fit-content;
    flex: 0 0 auto;
    order: 1;
    margin: 2em 0;
  }

  .framePic {
    position: relative;
    width: fit-content;
  }

  .profileImg {
    display: block;
    width: 100%;
    max-width: 20rem;
    height: auto;
  }

  .infoAbout {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    order: 2;
  }

  .mobileTitle {
    display: block;
    margin: 0;
    font-size: 1.5rem;
  }

  .about h2:first-of-type span {
    color: var(--accent-green);
  }

  .infoAbout h2 {
    display: none;
  }

  .infoAbout p {
    font-size: 1rem;
    line-height: 2rem;
    text-align: justify;
  }

  /* Style for skill for Mobile */

  .skill {
    height: auto;
    min-height: 80vh;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 2rem;
  }

  .skillContent {
    width: 100%;
    max-width: 70%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }

  .sectionCard.activeSkillSection {
    display: flex;
    margin-top: 3em;
    flex-direction: column;
    gap: 3em;
  }

  .buttonSection {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.2rem;
    border-radius: 4rem;
    background-color: var(--bg-button-skill);
  }

  .buttonSection button {
    position: relative;
    z-index: 2;
    font-size: 1rem;
    font-family: "Space Mono", monospace;
    color: var(--text-main);
    background: none;
    border: none;
    padding: 0.1em 1em;
    border-radius: 2em;
    cursor: pointer;
    transition: color 0.3s ease;
  }

  .buttonSection button.activeSkillSection {
    color: #f4f4f6;
  }

  .activeIndicator {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    height: calc(100% - 0.6rem);
    border-radius: 4rem;
    background-color: var(--accent-purple);
    z-index: 1;
    transition: all 0.35s ease;
  }

  .sectionCard p {
    font-size: 1.1rem;
  }

  .firstRowSkill,
  .secondRowSkill {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 3em;
  }

  .singleSkill {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    width: 4.3rem;
    height: 6rem;
  }

  .singleSkill svg {
    width: 30%;
    height: auto;
    fill: var(--text-main);
  }

  .skill h2 {
    font-size: 1.5rem;
    text-align: center;
  }

  .skill h2 span {
    color: var(--accent-purple);
  }

  .singleSkill p {
    font-size: 0.8em;
  }

  /* Style for modal popup skill for mobile*/

  .skill-modal__panel {
    position: relative;
    z-index: 1;
    width: min(100%, 100vw);
    max-height: min(85dvh, 900px);
    overflow-y: auto;
    padding: 2rem;
    border: 0.05em solid var(--line-color);
    border-radius: 2rem;
    background: var(--glass-bg);
    box-shadow: var(--glass-shadow);
    margin: 0;
    -webkit-backdrop-filter: blur(10.7px);
    backdrop-filter: blur(10.7px);
  }

  .skill-modal__top {
    display: flex;
    align-items: center;
    gap: 1.5em;
  }

  .skill-modal__icon {
    width: fit-content;
    width: 60%;
  }

  .skill-modal__icon svg {
    width: 100%;
    height: auto;
    fill: var(--text-main);
  }

  .skill-modal__intro {
    display: flex;
    flex-direction: column;
    gap: 0.5em;
  }

  .skill-modal__status {
    font-family: "Space Mono", monospace;
    color: var(--accent-purple);
    font-size: 1rem;
  }

  .skill-modal__title {
    font-size: 2rem;
    color: var(--text-main);
  }

  .skill-modal__content {
    margin-top: 3em;
    display: flex;
    flex-direction: column;
    gap: 1.3em;
    color: var(--text-main);
  }

  .skill-modal__card {
    display: flex;
    flex-direction: column;
    gap: 1em;
  }

  .skill-modal__label {
    font-family: "Space Mono", monospace;
    color: var(--accent-purple);
    font-size: 1.2rem;
    font-weight: 600;
  }

  .skill-modal__card p:last-of-type {
    font-family: "Space Mono", monospace;
    margin-left: 1em;
    font-weight: 100;
  }

  .skill-modal__close {
    background: none;
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    width: 2em;
    height: 2em;
    display: flex;
    justify-content: center;
    align-items: center;
    border: none;
    cursor: pointer;
  }

  .skill-modal__close span {
    color: rgb(156, 1, 1);
    font-size: 3rem;
  }

  /* Style for Contact Section for mobile*/

  .formAndInfoContainer::before {
    position: absolute;
    content: "";
    width: 110%;
    height: 100%;
    top: 0;
    border-top: 0.1em solid var(--line-color);
    border-bottom: 0.1em solid var(--line-color);
    pointer-events: none;
  }

  .formAndInfoContainer::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 103%;
    transform: translateY(0%);
    border-left: 0.1em solid var(--line-color);
    border-right: 0.1em solid var(--line-color);
    pointer-events: none;
  }

  .left-top-square-contact,
  .right-top-square-contact,
  .right-bottom-square-contact,
  .left-bottom-square-contact {
    position: absolute;
    width: 0.5em;
    height: 0.5em;
    background-color: var(--line-color);
    pointer-events: none;
  }

  .contact {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-top: 15em;
    margin-bottom: 20em;
  }

  .contactContent {
    width: 100%;
    max-width: 85%;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    gap: 3rem;
  }

  .contactContent h2 {
    font-size: 1.5rem;
  }

  .formAndInfoContainer {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0.2rem;
    gap: 3rem;
    flex-direction: column;
  }

  .form {
    margin-top: 2rem;
    width: 80%;
    height: auto;
  }

  #name,
  #email,
  #message {
    outline: none;
    width: 100%;
    height: 3.5rem;
    margin-bottom: 1rem;
    background: none;
    border: 0.1rem solid;
    border-color: var(--line-color);
    font-family: "Space Mono", monospace;
    color: var(--text-main);
  }

  #message,
  .message {
    height: 20rem;
    resize: none;
  }

  .name:focus,
  .email:focus,
  .message:focus,
  #privacy:focus,
  .name:active,
  .email:active,
  .message:active,
  #privacy:active {
    outline: none;
    border-color: var(--accent-purple);
  }

  input[placeholder] {
    padding-left: 0.5rem;
  }

  .message [placeholder] {
    padding: 0.5rem;
  }

  #privacy {
    width: 1rem;
    margin: 0;
    padding: 0;
    margin-top: 1rem;
    cursor: pointer;
  }

  input[type="checkbox" i] {
    background-color: none !important;
    border-radius: none;
  }

  label[for="privacy"] {
    text-align: justify;
    font-size: 0.8rem;
    width: 100%;
  }

  .social p {
    font-size: 1.3rem;
    margin: 1rem 0;
  }

  .addressContact p:first-child {
    margin-bottom: 1rem;
    font-size: 1rem;
  }

  .addressContact p:last-child {
    font-family: "Space Mono", monospace;
  }

  .socialIcon a {
    color: var(--text-main);
    text-decoration: none;
    font-size: 1.5rem;
    transition: opacity 0.15s ease-in-out;
  }

  .socialIcon a:hover {
    opacity: 0.9;
  }

  /* Style Footer for mobile */

  .logoFooter img {
    width: 7rem;
    height: auto;
  }

  footer {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding-bottom: 2rem;
    border-top: 0.05em solid var(--line-color);
  }

  .copy {
    position: absolute;
    width: 100%;
    height: 15%;
    background: #6f5bff;
    background: linear-gradient(
      0deg,
      rgba(111, 91, 255, 1) 31%,
      rgba(111, 91, 255, 0.01) 100%
    );
    bottom: 0;
    display: flex;
    justify-content: center;
    align-items: flex-end;
  }

  .copy p {
    margin-bottom: 0.8rem;
    color: #f4f4f6;
    text-align: center;
    font-size: 0.6rem;
  }

  .footerContentPrincipal {
    width: 100%;
    max-width: 80.5%;
    position: relative;
    display: flex;
    justify-content: flex-start;
    flex-direction: column;
    gap: 2rem;
    padding: 3rem 0;
    border-left: 0.05em solid var(--line-color);
    border-right: 0.05em solid var(--line-color);
  }

  .footerContent {
    padding: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2rem;
  }

  .leftSideFooter {
    display: flex;
    width: 100%;
    flex-direction: column;
    gap: 1.3rem;
    padding: 1rem;
  }

  .leftSideFooter p {
    width: 100%;
    line-height: 1.6rem;
  }

  .leftSideFooter .backToTop {
    font-family: "Space Mono", monospace;
    width: fit-content;
    padding: 1rem;
    background-color: var(--accent-purple);
    border: none;
    outline: none;
    color: #f4f4f6;
    text-decoration: none;
  }

  .socialIconFooter a {
    color: var(--text-main);
    text-decoration: none;
    font-size: 1.5rem;
  }

  .rightSideFooter {
    display: flex;
    gap: 5rem;
  }

  .siteMap .menu .navbar,
  .legal .menu .navbar {
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.6em;
  }

  .socialIconFooter {
    transition: opacity 0.15s ease-in-out;
  }

  .socialIconFooter a:hover {
    opacity: 0.9;
  }

  .siteMap {
    display: none;
  }

  .legal {
    padding: 1rem;
    padding-bottom: 5rem;
  }

  .legal .menuLegal,
  .navbar {
    display: flex;
    flex-direction: column;
  }

  /* 



Object Glow Styles and Lines



*/

  /* First bg-glow purple */
  .bg-glow::before {
    top: -10vh;
    right: -10vw;
    width: clamp(25rem, 30vw, 25rem);
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    filter: blur(clamp(60px, 8vw, 140px));
  }

  /* Second bg-glow green */
  .bg-glow-two::before {
    top: 105vh;
    left: -10vw;
    width: clamp(25rem, 30vw, 25rem);
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    filter: blur(clamp(60px, 8vw, 140px));
  }

  /* Three bg-glow purple */
  .bg-glow-three::before {
    top: 120em;
    right: -10vw;
    width: clamp(25rem, 30vw, 25rem);
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    filter: blur(clamp(60px, 8vw, 140px));
  }

  /*Four bg-glow green */
  .bg-glow-four::before {
    top: 350vh;
    left: -10vw;
    width: clamp(25rem, 30vw, 25rem);
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    filter: blur(clamp(60px, 8vw, 140px));
  }
}