/* ------------------- BASE ------------------- */

:root {
  --color-black: #101010;
  --color-white: #F7F7F7;
  --color-pink: #DF3A8A;
  --color-pink-complementary: #10c36c;
  --color-light-grey: #ddd;
  --color-grey: #7a7a7a;
}


#screen-warning {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--color-black); 
  color: var(--color-white);
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: 'Sofia Sans Condensed Bold', sans-serif;
  font-size: clamp(1.5rem, 5vw, 3rem);
  z-index: 99998;
  text-align: center;
  padding: 2rem;
  box-sizing: border-box;
}

#screen-warning p::selection {
  color: var(--color-white);
  background: var(--color-pink);
}

#screen-warning.hidden {
  display: none;
}

body.scope-on { cursor: none; }  

#cursorScope {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 99999;
  mix-blend-mode: difference;  
}

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

::selection {
  background: var(--color-pink);
  color: var(--color-black);
}

body {
  font-family: 'Sofia Sans Mono Light', monospace;
  font-weight: 300;
  line-height: 1.6;
  background-color: var(--color-white);
  background-image: radial-gradient(#cccccc 1px, transparent 1px);
  background-size: 30px 30px; 
}


/* ------------------------------------------------ */
/* ------------------- SECTIONS ------------------- */
/* ------------------------------------------------ */


.section {
  min-height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: clamp(2rem, 6vw, 4rem) 10%;
  padding-bottom: 0;
  text-align: center;
  background-color: inherit;
  border: none;
  margin: 0;
}

.about-title, .projects-title, .connect-title {
  display: inline-block;
  white-space: nowrap;
}

.stack-space { 
  display: inline-block; 
  width: 0.4em; 
  height: 1em;
}

.stacked {
  position: relative;
  display: inline-block;
  height: 1em;
  line-height: 1em;
  overflow: hidden;
  vertical-align: baseline;
  will-change: transform;
}

.stacked > span {
  display: block;
  transform: translateY(0);
  will-change: transform;
}

.stacked > span:nth-child(1) { transform: translateY(-100%); }
.stacked > span:nth-child(2) { transform: translateY(0%); }
.stacked > span:nth-child(3) { transform: translateY(100%); }

.stacked.active > span:nth-child(1) {
  animation: stackDrop 0.55s cubic-bezier(0.2, 0.7, 0, 1) forwards;
}
.stacked.active > span:nth-child(3) {
  animation: stackRise 0.55s cubic-bezier(0.2, 0.7, 0, 1) forwards;
}

@keyframes stackDrop { to { transform: translateY(0%); } }
@keyframes stackRise { to { transform: translateY(0%); } }

.stacked span::selection, .stack-space span::selection {
  color: var(--color-white);
  background-color: var(--color-pink);
}


/* ------------------------------------------------ */
/* -------------------- HEADER -------------------- */
/* ------------------------------------------------ */


.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: clamp(1.5rem, 3.5vw, 2.5rem) clamp(1.5rem, 3.5vw, 2.5rem) 0 clamp(1.5rem, 3.5vw, 2.5rem);
  z-index: 999;
  color: var(--color-white);
  mix-blend-mode: difference;
}

.logo {
  font-family: 'Sofia Sans Condensed Bold', sans-serif;
  font-size: clamp(1rem, 1.15vw, 2rem);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 0.8;
  letter-spacing: -0.05rem;
  text-decoration: none;
  color: inherit;
}

.logo::selection, .logo br::selection, .logo span::selection, .nav-word span::selection, .menu a::selection, .contact::selection {
  color: var(--color-black);
  background: var(--color-pink-complementary);
}

.menu ul {
  list-style: none;
  display: flex;
  gap: clamp(2rem, 3.5vw, 5.5rem);
}

.menu a {
  text-decoration: none;
  font-family: 'Sofia Sans Mono Light', monospace;
  font-weight: 300;
  font-size: clamp(0.9rem, 1vw, 2rem);
  line-height: 1.2;
  letter-spacing: 0.1em;
  color: var(--color-white); 
  padding: 0 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-word {
  display: inline-block;
  overflow: hidden;
  height: 1.2em; 
}

.nav-word .letter {
  display: inline-block;
  position: relative;
  height: 1.2em;
  overflow: hidden;
}

.nav-word .letter span {
  display: block;
  transition: transform 0.6s cubic-bezier(0.76, 0, 0.24, 1);
}

.nav-word .letter span:nth-child(1) {
  transform: translateY(0%);
}

.nav-word .letter span:nth-child(2) {
  position: absolute;
  top: 0;
  left: 0;
  transform: translateY(100%);
}

.menu a:hover .letter span:nth-child(1) {
  transform: translateY(-100%);
  transition-delay: var(--delay);
}

.menu a:hover .letter span:nth-child(2) {
  transform: translateY(0%);
  transition-delay: var(--delay);
}

.nav-word.unhover .letter span:nth-child(1) {
  transform: translateY(0%);
  transition-delay: var(--delay);
}
.nav-word.unhover .letter span:nth-child(2) {
  transform: translateY(100%);
  transition-delay: var(--delay);
}

.contact {
  position: relative;
  text-decoration: none;
  font-family: 'Sofia Sans Mono Regular', monospace;
  font-weight: 700;
  font-size: clamp(1rem, 1.3vw, 2rem);
  letter-spacing: -0.015em;
  color: transparent; 
  padding: 0.25em 0.5em;
  overflow: hidden;
  background-image: linear-gradient(
    to right,
    var(--color-black) 0%,
    var(--color-black) 50%,
    var(--color-white) 50%,
    var(--color-white) 100%
  );
  background-size: 200% 100%;
  background-position: right;
  -webkit-background-clip: text;
  background-clip: text;
  transition: background-position 0.6s ease;
}

.contact::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--color-pink-complementary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s ease;
  z-index: -1;
}

.contact:hover {
  background-position: left; 
}

.contact:hover::before {
  transform: scaleX(1); 
}


/* ------------------------------------------------ */
/* ---------------- LANDING SECTION --------------- */
/* ------------------------------------------------ */


.hero {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(1rem, 2vw, 2rem);
  padding-top: 7%;
}

.hero-title {
  font-family: 'Sofia Sans Condensed Bold', sans-serif;
  font-weight: 900;
  font-size: clamp(5rem, 12vw, 20rem);
  line-height: 0.8;
  white-space: nowrap;
  margin: 1rem 0 0.5rem 0;
  color: var(--color-black);
  z-index: 3;
  text-align: justify;
  width: 100%;
}

.hero-title::selection, .hero-subtitle::selection, .hero-box p::selection {
  color: var(--color-white);
  background: var(--color-pink);
}

.hero-subtitle {
  font-family: 'Sofia Sans Mono', monospace;
  font-size: clamp(0.7rem, 1vw, 1rem);
  letter-spacing: clamp(2px, 0.8vw, 8px);
  text-transform: uppercase;
  margin-left: 0.3rem;
  padding-left: 0.5%;
  color: var(--color-black);
}

.hero-media {
  position: relative;
  margin-left: 51%;
  margin-top: -6%;
  z-index: 2;
  flex: 1 1 280px;
  max-width: 350px;   
}

.hero-image {
  width: clamp(150px, 20vw, 350px);
  height: auto;
  object-fit: cover;
  user-select: none;
  border-radius: 6px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.6);
}

.hero-box {
  display: flex;
  justify-content: space-between;
  align-items: center;

  width: clamp(20rem, 40%, 80rem);
  min-height: clamp(30vh, 55vh, 90vh);

  margin-top: clamp(-0.5rem, -0.7vh, -0.1rem);
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 0;
  padding: clamp(0.4rem, 1.2vw, 1rem);

  background: #1e1e1e;
  border: 1px solid #575757;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.6);
  background-image: url("../images/florence.png");
  background-repeat: no-repeat;
  background-position: left;
  background-size: contain;
  background-blend-mode: overlay;

}

.hero-text {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  margin-top: 27%;
}

.hero-text p {
  color: var(--color-white);
  opacity: 0.6;
  margin: 0.4rem 0;
  text-align: left;
  font-family: 'Sofia Sans Mono', monospace;
  font-size: clamp(1rem, 1.5vw, 8rem);
  font-weight: 900;
  line-height: 0.75;
}

.hero-image-container {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image {
  height: clamp(20vh, 51vh, 80vh);
  width: auto;
  border-radius: 0.5rem;
  box-shadow: 0 5px 15px rgba(0,0,0,0.4);
}

.hero-description {
  margin-top: 3rem;
  margin-bottom: 0;
  max-width: 60ch;
  text-align: center;
  font-family: 'Sofia Sans Mono', monospace;
  font-size: clamp(1rem, 1.2vw, 3rem);
  color: var(--color-black);
  opacity: 0.8;
  margin-left: auto;
  margin-right: auto;
}

.hero-description::selection {
  color: var(--color-white);
  background-color: var(--color-pink);
}


/* ------------------------------------------------ */
/* ---------------- ABOUT SECTION ----------------- */
/* ------------------------------------------------ */


.about-section {
  padding: 0;
}

.about-header {
  width: 100%;
  text-align: center;
}

.about-title {
  font-family: 'Sofia Sans Condensed Bold', sans-serif;
  font-size: clamp(4rem, 8vw, 16rem);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1;
  letter-spacing: 0.15rem;
}

.about-title::selection {
  color: var(--color-white);
  background-color: var(--color-pink);
}

.about-layout {
  display: flex;
  flex-wrap: wrap;
  column-gap: clamp(1rem, 4vw, 3rem);
  align-items: stretch;
  margin: clamp(1.5rem, 4vh, 3rem) 0 0;
  background: var(--color-black);
}

.about-window {
  flex: 0.9;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(300px, 40vh, 600px);
  max-width: 90%;
  margin-left: 2%;
  margin-bottom: 2rem;
}

.about-window {
  margin-top: 4%;
  background: #1e1e1e;
  font-family: "Menlo", "Courier New", monospace;
  height: clamp(15rem, 50vh, 45rem);
  border-radius: 6px;
  border: 1px solid #444;
  color: #e6e6e6;
  line-height: 1.5;
  text-align: left;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.6);
}

.terminal-header {
  align-items: center;
  position: relative;
  display: flex;
  justify-content: flex-start;
  padding: 6px 10px;
  background: #2c2c2c;
  border-bottom: 1px solid #444;
  border-top-left-radius: 6px;
  border-top-right-radius: 6px;
  gap: 6px;
  width: 100%;
  box-sizing: border-box;
}

.terminal-btn {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
}
.terminal-btn.red { background: #ff5f56; }
.terminal-btn.yellow { background: #ffbd2e; }
.terminal-btn.green { background: #27c93f; }

.terminal-title {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  color: #ccc;
  font-size: clamp(0.75rem, 0.8vw, 1rem);
  user-select: none;
}

#terminal {
  flex: 1;
  padding: 12px 0 12px 16px;
  color: #e6e6e6;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  font-size: clamp(0.75rem, 0.8vw, 1rem);
  overflow-y: auto;
  scrollbar-width: thin;           
  scrollbar-color: #444 #1e1e1e;
  width: 100%;             
  box-sizing: border-box;
}

#terminal::-webkit-scrollbar {
  width: 6px;
}
#terminal::-webkit-scrollbar-track {
  background: #1e1e1e;
}
#terminal::-webkit-scrollbar-thumb {
  background: #444;
  border-radius: 3px;
}
#terminal::-webkit-scrollbar-thumb:hover {
  background: #666;
}

#terminal-output {
  color: var(--color-pink);
  font-family: inherit;
  font-size: inherit;
  line-height: 1.5;
  white-space: pre-line; 
}

#terminal-output::selection {
  color: var(--color-white);
  background-color: var(--color-pink);
}

.prompt {
  color: var(--color-pink); 
  font-family: "Menlo", "Courier New", monospace;
}

#terminal-options {
  margin: 0;
  padding: 0;
  line-height: 1.5;
}

#terminal-options div {
  cursor: pointer;
  color: #e6e6e6;
  line-height: 1.5;
  transition: color 0.2s ease;
}

#terminal-options div:hover {
  content: "niccolo@cli ~ % ";
  color: var(--color-pink);
}

#terminal-options div::selection, #terminal-options div span::selection, .pdf-download a::selection {
  color: var(--color-white);
  background-color: var(--color-pink);
}

.popup {
  position: absolute;
  top: 20%;
  left: 20%;
  width: clamp(25rem, 30rem, 45rem);
  background: #1e1e1e;
  color: #e6e6e6;
  border: 1px solid #555;
  border-radius: 6px;
  font-family: "Menlo", "Courier New", monospace;
  font-size: clamp(0.5rem, 0.7vw, 1.2rem);
  box-shadow: 0 0 20px rgba(0,0,0,0.5);
  z-index: 9999;
}

.pdf-embed {
  width:100%; 
  height:450px; 
  border:none; 
  border-radius:4px; 
  overflow:hidden;
}

.pdf-download {
  margin-top: 10px;
  text-align: right;
  width: 100%;
}

.pdf-download a {
  text-decoration: none;
  padding: 8px 14px;
  background: #2c2c2c;
  color: #fff;
  border-radius: 4px;
  border: 1px solid #555;
  transition: background 0.4s ease, border-color 0.4s ease;
  text-transform: uppercase;
}

.pdf-download a:hover {
  background: var(--color-pink);
  border-color: var(--color-light-grey);
}

.popup-header {
  align-items: center;
  position: relative;
  display: flex;
  justify-content: flex-start;
  background: #2c2c2c;
  color: #e6e6e6;
  padding: 6px 10px;
  cursor: move;
  font-weight: bold;
  border-bottom: 1px solid #444;
  font-size: clamp(0.75rem, 0.9vw, 0.9rem);
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 8px;
  border-top-left-radius: 6px;
  border-top-right-radius: 6px;
}

.popup-header .popup-btn {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
  cursor: pointer;
}
.popup-header .popup-btn.red { background: #ff5f56; }
.popup-header .popup-btn.yellow { background: #ffbd2e; }
.popup-header .popup-btn.green { background: #27c93f; }

.popup-header .title {
  color: #ccc;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.popup-body {
  padding: 1rem;
  line-height: 1.5;
}

.popup-body::selection, .popup-body span::selection, .popup-header .title::selection {
  color: var(--color-white);
  background-color: var(--color-pink);
}

.echo-line {
  font-family: inherit;
  font-size: clamp(0.75rem, 0.8vw, 1rem);
  line-height: 1.5;
  color: #e6e6e6;
}

.echo-line .prompt {
  color: var(--color-pink);  
}

.echo-line::selection, .echo-line .prompt::selection {
  color: var(--color-white);
  background-color: var(--color-pink);
}

.about-text {
  flex: 1;
  text-align: justify;
  text-transform: uppercase;
  color: var(--color-white);
  display: flex;
  flex-direction: column;
  gap: clamp(1rem, 3vh, 2rem);
  margin-right: 5%;
  margin: clamp(1.5rem, 4vh, 3rem) clamp(1.5rem, 4vh, 3rem) 0 0;
}

.about-text h2 {
  font-family: 'Sofia Sans Mono Light', monospace;
  margin-bottom: 0.5rem;
  font-size: clamp(0.8rem, 1vw, 1.5rem);
  color: var(--color-grey);
  font-weight: 300;
  line-height: 1.6;
  text-align: right;
}

.about-text p {
  line-height: 1.8;
  color: var(--color-light-grey);
  font-size: clamp(0.65rem, 1vw, 1.5rem);
  font-weight: 300;
}

.about-text h2::selection {
  color: var(--color-white);
  background-color: var(--color-black);
}

.about-text p::selection {
  color: var(--color-black);
  background-color: var(--color-white);
}


/* ------------------------------------------------ */
/* --------------- PROJECTS SECTION --------------- */
/* ------------------------------------------------ */


.projects-section {
  padding: 0;
}

.projects-header {
  width: 100%;
  text-align: center;
  padding: clamp(1rem, 3vh, 3rem) 0;
  background: transparent;
  order: 3;
}

.projects-title {
  font-family: 'Sofia Sans Condensed Bold', sans-serif;
  font-size: clamp(4rem, 8vw, 16rem);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1;
  letter-spacing: 0.15rem;
  color: var(--color-white);
}

.projects-title::selection {
  color: var(--color-white);
  background-color: var(--color-pink);
}

.projects-grid {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  gap: 0;
  width: 100%;
  height: clamp(350px, 70vh, 800px);
  text-transform: uppercase;
  margin: clamp(1rem, 2vh, 4rem) 0 0 0;
}

.project-card {
  flex: 1;
  border: 1px solid var(--color-black);
  border-top: none;
  border-bottom: none;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: flex 1.5s ease;
  position: relative;
}

.project-card:hover {
  flex: 4;
}

.card-front {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: clamp(0.5rem, 1vh, 1rem);
  text-align: left;
  transform: scaleX(0.8);
  padding: clamp(1rem, 2vw, 2rem);
}

.card-front .card-title {
  clip-path: inset(0 0 0 0);
  transition: clip-path 0.6s ease-in-out;
}

.project-card:hover .card-front .card-title {
  clip-path: inset(100% 0 0 0);
}

.card-front h3 {
  font-family: 'Sofia Sans Condensed Bold', sans-serif;
  font-weight: 700;
  font-size: clamp(1.5rem, 2.75vw, 2.5rem);
  line-height: 1.1;
  letter-spacing: -0.1em;
  margin-bottom: clamp(0.5rem, 1vh, 1rem);
  color: var(--color-black);
}

.card-back {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(1rem, 2vw, 2rem);
}

.card-header {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  font-weight: bold;
  margin-bottom: clamp(0.5rem, 2vh, 1.5rem);
}

.card-header .card-title {
  margin: 0;
  text-align: right;
  clip-path: inset(100% 0 0 0); 
  transition: clip-path 0.6s ease-in-out;
}

.project-card:hover .card-header .card-title {
  clip-path: inset(0 0 0 0);    
  transition-delay: 0.6s;      
}

.card-number {
  font-size: clamp(1rem, 1.5vw, 1.75rem);
  font-weight: bold;
  display: inline-block;
  transition: transform 0.6s ease, font-size 0.6s ease;
}

.project-card:hover .card-number {
  font-size: clamp(1.5rem, 2.5vw, 2.25rem);
  transform: scale(1.2);
}

.card-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: clamp(0.5rem, 2vw, 1.5rem);
}

.card-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-weight: bold;
  clip-path: inset(0 0 100% 0);
  transform: translateY(10px);
  transition: clip-path 0.2s ease-in-out, transform 0.2s ease;
}

.project-card:hover .card-list {
  clip-path: inset(0 0 0 0);
  transform: translateY(0);
    transition: clip-path 0.8s ease-in-out, transform 0.8s ease;
  transition-delay: 1.2s;
}

.card-list li {
  text-align: left;
  font-size: clamp(0.8rem, 1.5vw, 2rem);
  line-height: 1.1;
  letter-spacing: -0.1em;
}

.card-back img {
  display: block;
  width: clamp(250px, 60%, 700px);
  height: auto;
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.2s ease-in-out;
}

.project-card:hover .card-back img {
  clip-path: inset(0 0 0 0);
  transition: clip-path 0.8s ease-in-out;
  transition-delay: 1.4s; 
  user-select: none;
}

.card-description {
  text-align: justify;
  margin-top: clamp(0.5rem, 2vh, 1.5rem);
  font-size: clamp(0.65rem, 1.1vw, 1.5rem);
  line-height: 1.3;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.2s ease, transform 1s ease;
}

.project-card:hover .card-description {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 1s ease, transform 1s ease;
  transition-delay: 1.6s; /* after image */
}

.card-back .card-number,
.card-title {
  font-size: clamp(1.5rem, 2.75vw, 2.5rem);
  letter-spacing: -0.075em;
}

.card-list::selection,
.card-description::selection,
.card-title::selection,
.card-number::selection,
.card-list li::selection {
  color: var(--color-white);
  background-color: var(--color-pink);
}


/* ------------------------------------------------ */
/* ---------------- CONNECT TITLE ----------------- */
/* ------------------------------------------------ */


.connect-header {
  text-align: center;
}

.connect-overline {
  font-size: clamp(0.75rem, 0.9vw, 1rem);
  text-transform: uppercase;
  letter-spacing: 0.6rem; 
  margin: 1rem 0;
  color: var(--color-black);
}

.connect-title {
  font-family: 'Sofia Sans Condensed Bold', sans-serif;
  font-size: clamp(2.5rem, 5vw, 7rem);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1;
  letter-spacing: 0.15rem;
  margin: 0.5rem 0;
  color: var(--color-black);
}

.connect-subline {
  font-size: clamp(0.75rem, 0.9vw, 1rem);
  text-transform: uppercase;
  letter-spacing: 0.6rem; 
  margin: 1rem 0;
  color: var(--color-black);
}

.connect-form {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  max-width: 600px;
  width: 100%;
  margin: 4rem auto 4rem auto;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-family: 'Sofia Sans Condensed', sans-serif; 
  font-size: clamp(0.75rem, 0.9vw, 1rem);
  letter-spacing: 1px;
  font-weight: 500;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  color: var(--color-black);
}

.form-group input,
.form-group textarea {
  border: none;
  border-bottom: 1px solid #000;
  background: transparent;
  padding: 0.6rem 0;
  font-size: clamp(0.875rem, 1vw, 1.25rem);

  font-family: inherit;
  outline: none;
  resize: none;
  transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--color-pink);
}

.connect-btn {
  margin-top: 1rem;
  align-self: center;
  font-family: 'Sofia Sans Condensed Bold', sans-serif;
  font-size: 0.9rem;

  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0.8rem 1.6rem;
  border: 1px solid var(--color-black);
  background: transparent;
  color: var(--color-black);
  cursor: pointer;
  transition: all 0.3s ease;
  overflow: hidden; 
  position: relative;  
}

.connect-btn span {
 font-size: 1.1rem; 
}

.connect-btn::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -75%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(255, 255, 255, 0.6) 50%,
    transparent 100%
  );
  transform: translateX(-100%) rotate(25deg);
  transition: transform 0.6s ease;
  pointer-events: none;
}

.connect-btn:hover {
  color: var(--color-white);
  background: var(--color-pink);
  border-color: var(--color-pink);
}

.connect-btn:hover::after {
  transform: translateX(100%) rotate(25deg);
}

.connect-header::selection, .connect-overline::selection, .connect-title::selection, .connect-subline::selection, .form-group input::selection, .form-group textarea::selection, .connect-btn::selection, .connect-btn span::selection {
  color: var(--color-white);
  background-color: var(--color-pink);
}


/* ------------------------------------------------ */
/* -------------------- FOOTER -------------------- */
/* ------------------------------------------------ */


.footer {
  color: var(--color-black);
  padding: 0rem 2rem 1.5rem 2rem;
  font-family: 'Sofia Sans Mono', monospace;
  font-size: 1.1rem;
}

.footer-content {
  display: flex;
  justify-content: space-between;  
  align-items: flex-end;     
  flex-wrap: wrap;            
}

.footer-left {
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
}

.footer-socials {
  display: flex;
  gap: 1rem;
  font-size: 1.5rem;
}

.footer-socials a {
  color: var(--color-black);
  transition: color 0.3s ease;
}

.footer-socials a:hover {
  color: var(--color-pink);
}

.footer-location {
  font-size: 1.1rem;
}

.footer-contact {
  text-align: right;
}

.footer-contact p {
  margin: 0.05rem 0;
}

.footer-contact .email {
  cursor: pointer;
}

.footer-contact .email:hover {
  text-decoration: underline;
}

.footer-location::selection,
.footer-location span::selection,
.footer-contact::selection,
.footer-contact p::selection,
.footer-contact .email::selection {
  color: var(--color-white);
  background-color: var(--color-pink);
}