* {
  box-sizing: border-box;
}

.contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  background-color: var(--white);
}


/* HEADER */

.header-desktop {
  display: flex;
  height: 3rem; /* Converted from 48px */
  align-items: flex-start;
  justify-content: space-around;
  padding: 0.75rem 2.30rem; /* Converted from 12px 36px */
  position: relative;
  align-self: center;
  width: 100%;
  flex: 0 0 auto;
  background-color: var(--white);
  border-bottom-width: 1px;
  border-bottom-style: solid;
  border-color: var(--neutral-400-primary);
  position: fixed;
  top: 0;
  z-index: 1000;
}

@media (max-width: 612px) {
  .header-desktop {
    display: none; /* Hide the entire header-desktop */
  }
}

.header-box-desktop {
  display: flex;
  width: 120vh;
  gap: 1.5rem; /* Converted from 24px */
  align-items: flex-start;
  justify-content: space-between;
  position: relative;
  align-self: stretch;
  background-color: var(--white);
}

.primary-button-dropdown-desktop {
  display: inline-flex;
  align-items: center;
  position: relative;
  flex: 0 0 auto;
  border-radius: 6px;
  overflow: hidden;
  background-color: transparent;
  border: none;
  color: var(--font-500-primary);
  font-size: var(--text-s-semibold-font-size);
  font-weight: var(--text-s-semibold-font-weight);
  font-family: "Open Sans";
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}

.primary-button-dropdown-desktop:hover {
  color: var(--font-400);
}

.primary-button-dropdown-desktop:active {
  color: var(--brand-400-primary);
  transform: scale(0.98);
}

/* Dropdown Container */
.dropdown-desktop {
  position: relative;
  display: inline-block;
}

.dropdown-content-desktop {
  display: none;
  position: absolute;
  background-color: var(--white);
  min-width: 12rem; /* Converted from 160px */
  z-index: 200;
  border-radius: 8px;
  top: 1.2rem; /* Converted from 19px */
  left: 0px;
  box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--neutral-300);
  margin-top: 1rem; /* Converted from 16px */ 
}

.dropdown-content-desktop a {
  color: var(--font-500-primary);
  padding: 0.75rem 1rem;
  text-decoration: none;
  display: block;
  font-size: var(--text-s-semibold-font-size);
  font-weight: var(--text-s-semibold-font-weight);
  border-bottom: 1px solid var(--neutral-300);
  transition: all 0.2s ease-in-out;
}

.dropdown-content-desktop a:hover {
  color: var(--font-400);
}

.dropdown-content-desktop a:active {
  color: var(--brand-400-primary);
}

.dropdown-content-desktop.show {
  display: block;
}

.primary-button-desktop {
  display: inline-flex;
  align-items: center;
  position: relative;
  flex: 0 0 auto;
  overflow: hidden;
  background-color: transparent;
  border: none;
  color: var(--font-500-primary);
  font-size: var(--text-s-semibold-font-size);
  font-weight: var(--text-s-semibold-font-weight);
  font-family: "Open Sans";
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  text-decoration: none;
}



.primary-button-desktop:hover {
  color: var(--font-400);
}

.primary-button-desktop:active {
  color: var(--brand-400-primary);
  transform: scale(0.98);
}

.primary-button-link-desktop {
  display: inline-flex;
  align-items: center;
  position: relative;
  flex: 0 0 auto;
  overflow: hidden;
  background-color: transparent;
  border: none;
  color: var(--font-500-primary);
  font-size: var(--text-s-semibold-font-size);
  font-weight: var(--text-s-semibold-font-weight);
  font-family: "Open Sans";
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  border-bottom: 1px solid; 
  border-color: var(--font-400);
  padding-bottom: 0.2rem;
}

.primary-button-link-desktop:hover {
  color: var(--font-400);
}

.primary-button-link-desktop:active {
  color: var(--brand-400-primary);
  transform: scale(0.98);
  border-color: var(--brand-400-primary);
}

.header-box-log {
  display: flex;
  width: 20%;
  align-items: center;
  justify-content: center;
  position: relative;
}

.log-kristina {
  position: relative;
  height: 1.25rem; /* Converted from 20px */
  cursor: pointer;
}

/* MOBILE HEADER */
.header-mobile {
  display: none; /* Hide mobile header by default */
  height: 3rem; /* Same height as header-desktop */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--white); /* Or your desired background color */
  z-index: 1000; /* Ensure it's above other content */
  padding: 0.75rem 2.30rem;
  box-sizing: border-box;
  background-color: var(--white);
  border-bottom-width: 1px;
  border-bottom-style: solid;
  border-color: var(--neutral-400-primary);
  position: fixed;
  top: 0;
  z-index: 1000;
}

.header-box-mobile {
  display: flex;
  width: 100vh;
  justify-content: space-between;
  gap: 1.5rem; /* Converted from 24px */
  align-items: flex-start;
  justify-content: space-between;
  position: relative;
  align-self: stretch;
  background-color: var(--white);
}

@media (max-width: 612px) {
    .header-desktop {
        display: none; /* Hide desktop header */
    }

    .header-mobile {
        display: flex; /* Show mobile header */
    }
}





/* Style the links within the burger menu */
.header-links a,
.header-links button {
  display: flex;
  padding: 1rem 1rem;
  color: var(--font-500-primary);
  border-bottom: 1px solid var(--neutral-200);
  transition: all 0.2s ease-in-out;
  text-align: center;
  width: 100%;
  cursor: pointer;
  align-items: center;
}

.header-links a:hover,
.header-links button:hover {
  color: var(--font-400);
  background-color: var(--neutral-100);
}

.header-links a:active,
.header-links button:active {
  color: var(--brand-400-primary);
}

.burger-button {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.burger-icon {
  width: 24px;
  height: 24px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.burger-button:hover{
  background-color: var(--brand-400-primary);
  border-radius: 50%;
}

.burger-button:hover{
  background-color: var(--brand-400-primary);
  border-radius: 50%;
}

/* Style the burger menu content like the desktop dropdown */
#headerLinksMobile {
    display: none;
    position: absolute;
    top: 3rem;
    left: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    flex-direction: column;
    align-items: center;
    border-radius: 6px; /* Add border radius */
    overflow: hidden; /* Hide overflow */
}

#headerLinksMobile.show {
    display: flex;
}

#headerLinksMobile a,
#headerLinksMobile button {
  padding: 1rem 1rem;
  text-decoration: none;
  color: var(--font-500-primary);
  transition: all 0.2s ease-in-out;
  text-align: center; 
  width: 100%;
  cursor: pointer;
  font-size: var(--text-m-semibold-font-size);
  font-weight: var(--text-m-semibold-font-weight);
  display: flex;
  justify-content: center; 
  align-items: center; 
}

#headerLinksMobile a:hover,
#headerLinksMobile button:hover {
    color: var(--font-400);
    background-color: var(--neutral-100);
}

#headerLinksMobile a:active,
#headerLinksMobile button:active {
    color: var(--brand-400-primary);
}

/* Home */
.page-home {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  align-self: stretch;
  width: 100%;
  gap:14rem; /* Converted from 224px */
  flex: 0 0 auto;
  margin-top: 6rem; /* Converted from 96px */
}

/* Grid */
.grid-box {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  grid-template-rows: repeat(8, minmax(0, 1fr));
  width: 80%;
  margin-left: 10%;
  margin-right: 10%;
  height: 84vh;
  gap: 1rem;
  position: relative;
}

.grid-box .widget-program {
  position: relative;
  grid-row: 1 / 6;
  grid-column: 1 / 3;
  align-self: start;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background-color: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid;
  border-color: var(--neutral-400-primary);
  box-shadow: 0px 2px 6px #f5f5f5;
}

.grid-box .technologies-title-box {
  display: flex;
  align-items: center;
  justify-content: start;
  gap: 0.625rem; /* Converted from 10px */
  padding: 1rem 1.5rem 0.75rem; /* Converted from 36px 24px 12px */
  position: relative;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
}

.grid-box .technologies-i-have {
  position: relative;
  width: fit-content;
  margin-top: -1.00px;
  font-weight: var(--heading-100-bold-font-weight);
  color: var(--font-500-primary);
  font-size: var(--heading-100-bold-font-size);
  margin: 0px;
  flex-wrap: wrap;
}

.grid-box .program-logo-box {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem; /* Converted from 20px */
  padding: 2.25rem 2.875rem 2.25rem 1.5rem; /* Converted from 40px 46px 36px 24px */
  border-top-width: 2px;
  border-top-style: solid;
  border-top-color: var(--neutral-300);
}

.grid-box .program-logo-img {
  width: auto;
  height: 30px;
  position: relative;
  display: inline-block;
}

.grid-box .tooltip-text{
  visibility: hidden;
  background-color: var(--brand-400-primary);
  color: var(--font-400);
  text-align: center;
  border-radius: 6px;
  padding: 0.2rem 0.7rem;
  position: absolute;
  z-index: 100;
  opacity: 0;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  font-weight: var(--text-s-regular-font-weight);
  font-size: var(--text-s-regular-font-size);
  z-index: 10;
}
  
.program-logo-container:hover .tooltip-text {
  visibility: visible;
  opacity: 1;
}

.grid-box .widget-art {
  position: relative;
  grid-row: 1 / 7;
  grid-column: 7 / 9;
  justify-self: end;
  align-self: start;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6.25x;
  padding: 0.75rem 1.125rem; /* Converted from 12px 18px */
  background-color: var(--white);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid;
  border-color: var(--neutral-400-primary);
  box-shadow: 0px 2px 6px #f5f5f5;
}

.grid-box .skateboard-artwork {
  position: relative;
  width: 85%;
}


.grid-box .hover-text {
  position: absolute;
  top: 10%;
  left: 15%;
  background-color: var(--brand-400-primary);
  color: var(--font-400);
  padding: 0.2rem 0.7rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  white-space: nowrap;
  z-index: 10;
  font-weight: var(--text-s-regular-font-weight);
  font-size: var(--text-s-regular-font-size);
  border-radius: 6px;
}

.grid-box .widget-art:hover .hover-text {
  opacity: 1;
  visibility: visible;
}

.grid-box .widget-about-me {
  position: relative;
  grid-row: 6 / 9;
  grid-column: 1 / 5;
  justify-self: start;
  align-self: end;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 6px;
  padding: 36px 24px;
  background-color: var(--white);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid;
  border-color: var(--neutral-400-primary);
  box-shadow: 0px 2px 6px #f5f5f5;
}

.grid-box .text-wrapper-about-me {
  position: relative;
  align-self: stretch;
  font-weight: var(--heading-100-bold-font-weight);
  color: var(--font-500-primary);
  font-size: var(--heading-100-bold-font-size);
}

.grid-box .text-all-about-me {
  position: relative;
  align-self: stretch;
  font-weight: var(--text-s-regular-font-weight);
  color: var(--font-500-primary);
  font-size: var(--text-s-regular-font-size);
}

.grid-box .widget-location {
  position: relative;
  grid-row: 1 / 3;
  grid-column: 5 / 7;
  justify-self: end;
  align-self: start;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.875rem; /* Converted from 14px */
  background-color: var(--white);
  border-radius: 16px;
  padding: 0rem 2rem;
  overflow: hidden;
  border: 1px solid;
  border-color: var(--neutral-400-primary);
  box-shadow: 0px 2px 6px #f5f5f5;
}

.grid-box .widget-location-row-group {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem; /* Converted from 8px */
  position: relative;
  flex: 0 0 auto;
}

.grid-box .years-icon, .grid-box .location-icon {
  position: relative;
  width: 20px;
  height: 20px;
}

.grid-box .years-and-location {
  position: relative;
  width: fit-content;
  margin-top: -0.50px;
  font-weight: var(--text-s-semibold-font-weight);
  color: var(--font-500-primary);
  font-size: var(--text-s-semibold-font-size);
  text-align: center;
}

.grid-box .globe-location-pin {
  position: relative;
  width: 20px;
  height: 20px;
  aspect-ratio: 1;
}

.grid-box .widget-center {
  position: relative;
  grid-row: 3 / 6;
  grid-column: 3 / 7;
  justify-self: center;
  align-self: center;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background-color: var(--white);
  border-radius: 16px;
  padding: 0rem 2rem;
  overflow: hidden;
  border: 1px solid;
  border-color: var(--neutral-400-primary);
  box-shadow: 0px 2px 6px #f5f5f5;
}

.widget-center-photo {
  position: relative;
  height: 55%;
}

.grid-box .widget-job {
  position: relative;
  grid-row: 6 / 9;
  grid-column: 5 / 7;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0rem 2rem; /* Converted from 0px 32px */
  background-color: var(--neutral-200);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid;
  border-color: var(--neutral-400-primary);
  box-shadow: 0px 2px 6px #f5f5f5;
}

.grid-box .UX-UI-designer-user {
  position: relative;
  width: fit-content;
  font-weight: var(--heading-100-bold-font-weight);
  color: var(--font-500-primary);
  font-size: var(--heading-100-bold-font-size);
  text-align: center;
  margin: 0px;
}

.grid-box .widget-xo {
  grid-row: 1 / 3;
  grid-column: 3 / 5;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0rem 2rem; /* Converted from 0px 32px */
  background-color: var(--neutral-200);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid;
  border-color: var(--neutral-400-primary);
  box-shadow: 0px 2px 6px #f5f5f5;
  margin: 0px;
}

.widget-xo {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}


.xo-board {
  display: grid;
  grid-template-columns: repeat(3, 32px);
  grid-template-rows: repeat(3, 32px);
  gap: 0.5rem;
  margin-bottom: 1rem;
  margin: 0px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.xo-cell {
  width: 100%;
  height: 100%;
  background-color: var(--neutral-100);
  border: 1px solid var(--neutral-400-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  cursor: pointer;
  user-select: none;
  border-radius: 3px;
  transition: all 0.2s ease-in-out;;
}

.xo-x, .xo-o {
  color: var(--dark-300-primary);
}


.xo-cell:hover {
  background-color:var(--neutral-200);
}


.grid-box .contact-button {
  position: relative;
  grid-row: 7 / 9;
  grid-column: 7 / 9;
  justify-self: end;
  align-self: end;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background-color: var(--brand-400-primary);
  border-radius: 262px;
  overflow: hidden;
  box-shadow: 0px 2px 6px #f5f5f5;
  cursor: pointer;
  text-decoration: none;
}

.grid-box .contact-wrapper-text {
  position: relative;
  width: fit-content;
  font-weight: var(--heading-200-semibold-font-weight);
  color: var(--font-500-primary);
  font-size: var(--heading-200-semibold-font-size);
}

.grid-box .vector {
  position: relative;
  width: 2rem;
  height: 2rem;
  transition: transform 0.3s ease;
  pointer-events: none;
}

.grid-box .vector:hover {
  transform: rotate(45deg);
}

.grid-box .contact-button .vector {
  transition: transform 0.3s ease;
}

.grid-box .contact-button:hover .vector {
  transform: rotate(45deg);
  pointer-events: none;
  background-color: var(--brand-300-primary);
}

/* --- Widget entrance animations --- */
@keyframes slideInLeft {
  from { opacity:0; transform:translateX(-70px); }
  to   { opacity:1; transform:translateX(0); }
}
@keyframes slideInRight {
  from { opacity:0; transform:translateX(70px); }
  to   { opacity:1; transform:translateX(0); }
}

/* Initial (off–screen) state for non‑center widgets */
.widget-program,
.widget-about-me,
.widget-xo {
  opacity:0;
  transform:translateX(-70px);
  will-change:transform,opacity;
}

.widget-location,
.widget-art,
.widget-job,
.contact-button {
  opacity:0;
  transform:translateX(70px);
  will-change:transform,opacity;
}

/* Animate in after body gets .anim-start */
body.anim-start .widget-program  { animation:slideInLeft .6s .05s cubic-bezier(.77,0,.18,1) forwards; }
body.anim-start .widget-about-me { animation:slideInLeft .6s .10s cubic-bezier(.77,0,.18,1) forwards; }
body.anim-start .widget-xo       { animation:slideInLeft .6s .15s cubic-bezier(.77,0,.18,1) forwards; }

body.anim-start .widget-location { animation:slideInRight .6s .05s cubic-bezier(.77,0,.18,1) forwards; }
body.anim-start .widget-art      { animation:slideInRight .6s .10s cubic-bezier(.77,0,.18,1) forwards; }
body.anim-start .widget-job      { animation:slideInRight .6s .15s cubic-bezier(.77,0,.18,1) forwards; }
body.anim-start .contact-button  { animation:slideInRight .6s .20s cubic-bezier(.77,0,.18,1) forwards; }

/* Center widget (e.g. .widget-center) stays static (no rules needed) */

/* Accessibility: disable for reduced motion */
@media (prefers-reduced-motion: reduce) {
  .widget-program,
  .widget-about-me,
  .widget-xo,
  .widget-location,
  .widget-art,
  .widget-job,
  .contact-button {
    opacity:1 !important;
    transform:none !important;
    animation:none !important;
  }
}


/*Screen desktop smaller */ 

@media (max-width: 1300px) {
  .grid-box .program-logo-img {
   height: 26px;
  }

  .grid-box .technologies-i-have, 
  .grid-box .UX-UI-designer-user, 
  .grid-box .text-wrapper-about-me,
  .grid-box .contact-wrapper-text {
  font-weight: var(--text-l-bold-font-weight);
  font-size: var(--text-l-bold-font-size);
  }
}

/*Screen desktop smaller smaller */ 

@media (max-width: 1030px) {
  .grid-box .program-logo-box{
   padding: 1.25rem 1rem 0.5rem 1rem; 
  }
  
  .grid-box .program-logo-img {
   height: 24px;
  }

  .grid-box .widget-center-photo {
    width: 80%;
    height: auto;
  }

  .grid-box .widget-location{
     gap: 0.5rem; /* Converted from 8px */
  }

  .grid-box .years-and-location{
    text-align: start;
  }
  
  .grid-box .text-all-about-me {
    margin: 0px;
  }
 

}

/*Screen desktop smaller smaller */ 

@media (max-width: 800px) {
  .grid-box .technologies-title-box{
    padding: 1rem 1rem 0.5rem; 
  }
  .grid-box .technologies-i-have, 
  .grid-box .UX-UI-designer-user, 
  .grid-box .text-wrapper-about-me,
  .grid-box .contact-wrapper-text {
  font-weight: var(--text-l-bold-font-weight);
  font-size: var(--text-l-bold-font-size);
  }

  .grid-box .program-logo-img {
   height: 22px;
  }

  .grid-box .xo-board {
  grid-template-columns: repeat(3, 26px);
  grid-template-rows: repeat(3, 26px);
  }

  .grid-box .text-all-about-me {
    font-weight: var(--text-s-regular-font-weight);
    font-size: var(--text-s-regular-font-size);
  }

  .grid-box .widget-about-me {
   padding: 1.25rem 1rem 0.5rem 1rem;
  }

  .grid-box .program-logo-box {
   gap: 1rem; 
  }
}

/* Mobile GRID */

@media (max-width: 612px) {

  .page-home {
   display: flex;
   flex-direction: column;
   align-items: center;
   gap: 6rem; /* Converted from 96px */
   position: relative;
   align-self: stretch;
   width: 90%;
   flex: 0 0 auto;
   margin-top: 5rem; 
   width: 100%;
  }

 .grid-box {
   display: grid;
   grid-template-columns: repeat(2, minmax(0, 1fr));
   grid-template-rows: repeat(10, minmax(0, 1fr));
   grid-auto-rows: minmax(120px, auto);
   width: 90%;
   gap: 0.75rem; /* Converted from 12px */
   overflow: hidden;
   height: 916px;
   margin-left: 5%; 
   margin-right: 5%; 
  }

 .grid-box .widget-location{
   grid-column: 1 / span 2;
   grid-row: 1;
   border-radius: 8px;
   gap: 1.25rem; /* Converted from 20px */
   padding: 0.75rem;
   gap: 4px;
  }

  .grid-box .widget-job{
   grid-column: 1;
   grid-row: 2 / span 2;
   border-radius: 8px;
   gap: 0.625rem; /* Converted from 10px */
   padding: 0rem 0.75rem;
  }

  .grid-box .UX-UI-designer-user{
   font-weight: var(--text-l-bold-font-weight);
   font-size: var(--text-l-bold-font-size);
  }

  .grid-box .widget-art{
   grid-column: 2;
   grid-row: 2/ span 2;
   border-radius: 8px;
   padding: 0.75rem 1.125rem;
 }

 .grid-box .skateboard-artwork{
   height: 100%;
  }

  .grid-box .widget-center{
   grid-column:  1 / span 2;
   grid-row: 4 / span 2;
   border-radius: 8px;
   padding: 0.75rem 1.125rem;
  }

  .grid-box .widget-center-photo{
   height: 100%;
  }

  .grid-box .widget-about-me{
   grid-column: 1 ;
   grid-row: 6/ span 5;
   border-radius: 8px;
   padding: 0.75rem;
   gap: 0.5rem; /* Converted from 8px */
 }

 .grid-box .text-wrapper-about-me{
  font-weight: var(--text-l-bold-font-weight);
  font-size: var(--text-l-bold-font-size);
 }

 .grid-box .text-all-about-me{
  height: 100%;
  width: 100%;
  font-weight: var(--text-s-regular-font-weight);
  font-size: var(--text-s-regular-font-size);
 }

   .grid-box .widget-program{
   grid-column: 2;
   grid-row: 6 / span 4;
   border-radius: 8px;
  }

  .grid-box .program-logo-img {
   height: 28px;
  }

 .grid-box .contact-button{
    grid-column: 2;
    grid-row: 10;
    border-radius: 200px;
  }

  .grid-box .hover-text,
  .grid-box .tooltip-text,
  .grid-box .widget-xo{
   display: none;
  }
}

/* CARD */
.unther-herp-project {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  position: relative;
  background-color: var(--neutral-300);
  flex: 0 0 auto;
}

.unther-herp-project .unther-herp {
  display: flex;
  flex-direction: column;
  width: 100%;
  align-items: center;
  gap: 6.75rem; /* Converted from 108px */
  padding-top: 4rem; /* Converted from 64px */
  position: relative;
}

.unther-herp-project .card-box {
  position: relative;
  align-self: stretch;
  width: 100%;
  height: 448px;
  z-index: 10;
}

.unther-herp-project .card-design {
  display: flex;
  flex-direction: column;
  width: 353px;
  height: 221px;
  align-items: center;
  justify-content: center;
  gap: 0.875rem; /* Converted from 14px */
  padding: 0rem 2.25rem; /* Converted from 36px */
  position: absolute;
  top: 10px;
  left: 10%;
  background-color: var(--white);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid;
  border-color: var(--neutral-400-primary);
  transform: rotate(16.00deg);
  box-shadow: 0px 2px 6px #DFDFDF;
  margin: 0px;
}

.unther-herp-project .card-title {
  position: relative;
  width: fit-content;
  font-weight: var(--text-m-bold-font-weight);
  color: var(--font-500-primary);
  font-size: var(--text-m-bold-font-size);
  text-align: center;
  margin: 0px;
}

.unther-herp-project .flexcontainer {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.unther-herp-project .card-text-wrapper {
  position: relative;
  align-self: stretch;
  font-weight: var(--text-s-regular-font-weight);
  color: var(--font-500-primary);
  font-size: var(--text-s-regular-font-size);
  margin: 0px;
}

.unther-herp-project .card-design-2 {
  top: 10px;
  left: 38%;
  transform: rotate(-3.00deg);
  display: flex;
  flex-direction: column;
  width: 353px;
  height: 221px;
  align-items: center;
  justify-content: center;
  gap: 0.875rem; /* Converted from 14px */
  padding: 0rem 2.25rem; /* Converted from 36px */
  position: absolute;
  background-color: var(--white);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid;
  border-color: var(--neutral-400-primary);
  box-shadow: 0px 2px 6px #f5f5f5;
}

.unther-herp-project .card-design-3 {
  top: 28px;
  right: 11%;
  transform: rotate(-9.00deg);
  display: flex;
  flex-direction: column;
  width: 353px;
  height: 221px;
  align-items: center;
  justify-content: center;
  gap: 0.875rem; /* Converted from 14px */
  padding: 0rem 2.25rem; /* Converted from 36px */
  position: absolute;
  background-color: var(--white);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid;
  border-color: var(--neutral-400-primary);
  box-shadow: 0px 2px 6px #f5f5f5;
}

.unther-herp-project .concepts-into-box {
  display: flex;
  flex-direction: column;
  width: 80%;
  align-items: center;
  gap: 1rem; /* Converted from 16px */
  position: relative;
}

.unther-herp-project .concepts-into {
  position: relative;
  align-self: stretch;
  font-weight: var(--text-m-bold-font-weight);
  color: var(--font-500-primary);
  font-size: var(--text-m-bold-font-size);
  text-align: center;
}

.unther-herp-project .text-box-normal {
  display: flex;
  width: 100%;
  height: auto;
  flex-direction: column;
  align-items: center;
  position: relative;
  align-self: center;
  width: 100%;
  flex: 0 0 auto;
}

.unther-herp-project .miniature-tertiary-title-white {
  position: relative;
  align-self: center;
  font-weight: var(--heading-200-regular-font-weight);
  color: var(--font-500-primary);
  font-size: var(--heading-200-regular-font-size);
  text-align: center;
  margin: 0px;
  width: fit-content;
  height: auto;
}

.unther-herp-project .primary-text-box {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0rem 0.75rem; /* Converted from 12px */
  position: relative;
  background-color: var(--brand-400-primary);
}

.unther-herp-project .miniature-tertiary-title-yellow {
  position: relative;
  width: fit-content;
  margin-top: -1.00px;
  margin-bottom: 0px;
  font-weight: var(--heading-200-regular-font-weight);
  color: var(--font-500-primary);
  font-size: var(--heading-200-regular-font-size);
  text-align: center;
}


.unther-herp-project .project-overview {
  position: absolute;
  width: 70%;
  bottom: 0px;
  left: 15%;
}

.unther-herp-project .project-overview-small{
 display: none;
}

@media (max-width: 1480px) {
  
  .unther-herp-project .card-design {
  width: 300px;
  height: 221px;
  gap: 0.5rem; /* Converted from 8px */
  padding: 0rem 1rem; /* Converted from 16px */
 }
  .unther-herp-project .card-design-2 {
   width: 300px;
   height: 221px;
   gap: 0.5rem; /* Converted from 8px */
   padding: 0rem 1rem; /* Converted from 16px */
  }
  .unther-herp-project .card-design-3 {
   width: 300px;
   height: 221px;
   gap: 0.5rem; /* Converted from 8px */
   padding: 0rem 1rem; /* Converted from 16px */
  }
}
  
@media (max-width: 1240px) {
   .unther-herp-project .card-box{
    height: 664px;
  }

  .unther-herp-project .card-design {
  width: 300px;
  height: 221px;
  left: 15%;
  gap: 0.5rem; /* Converted from 8px */
  padding: 0rem 1rem; /* Converted from 16px */
 }
  .unther-herp-project .card-design-2 {
   width: 300px;
   height: 221px;
   left: 38%;
   top: 300px;
   gap: 0.5rem; /* Converted from 8px */
   padding: 0rem 1rem; /* Converted from 16px */
  }
  .unther-herp-project .card-design-3 {
   width: 300px;
   height: 221px;
   right: 15%;
   gap: 0.5rem; /* Converted from 8px */
   padding: 0rem 1rem; /* Converted from 16px */
  }
}


@media (max-width: 950px) {
  .unther-herp-project .miniature-tertiary-title-yellow,
  .unther-herp-project .miniature-tertiary-title-white {
    font-weight: var(--heading-100-regular-font-weight);
    font-size: var(--heading-100-regular-font-size);
  }

   .unther-herp-project .card-box{
    height: 1080px;
  }

  .unther-herp-project .card-design {
   left: 36%;
 }

  .unther-herp-project .card-design-2 {
   left: 34%;
   top: 300px;
  }
  .unther-herp-project .card-design-3 {
   top: 580px;
   right: 34%;
  }

  .unther-herp-project .project-overview {
   display: none;
 }

 .unther-herp-project .project-overview-small{
  position: absolute;
  width: 70%;
  bottom: -20px;
  left: 15%;
  display: block;
 }
}

@media (max-width: 750px) {

  .unther-herp-project .card-design {
   left: 28%;
 }

  .unther-herp-project .card-design-2 {
   left: 28%;
   top: 300px;
  }
  .unther-herp-project .card-design-3 {
   top: 580px;
   right: 28%;
  }
}


@media (max-width: 612px) {
  .unther-herp-project .miniature-tertiary-title-yellow,
  .unther-herp-project .miniature-tertiary-title-white {
    font-weight: var(--text-XL-regular-font-weight);
    font-size: var(--text-XL-regular-font-size);
    white-space: normal;        /* allow wrapping */
    overflow-wrap: anywhere;    /* break long words/icons if needed */
    word-break: break-word;
    max-width: 100%;            /* ensure it can shrink inside parent */
    display: block; 
  }
  
  .unther-herp-project .card-box{
    height: 1080px;
  }

  .unther-herp-project .card-design {
   left: 24%;
 }

  .unther-herp-project .card-design-2 {
   left: 24%;
   top: 300px;
  }
  .unther-herp-project .card-design-3 {
   top: 580px;
   right: none;
   left: 24%;
  }

  .unther-herp-project .project-overview {
   width: 80%;
   left: 10%;
  }
}

@media (max-width: 480px){

  .unther-herp-project .card-box{
    height: 1080px;
  }

  .unther-herp-project .card-design {
   left: 12%;
 }

  .unther-herp-project .card-design-2 {
   left: 12%;
   top: 300px;
  }
  .unther-herp-project .card-design-3 {
   top: 580px;
   left: 12%;
   right: none;
  }

  .unther-herp-project .project-overview-small{
  position: absolute;
  width: 80%;
  left: 10%;
  bottom: -14px;
 }
}


/* PROJECT OVERVIEW */

.grupe-project {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 96px;
  position: relative;
  width: 80%;
  margin-left: 10%;
  margin-right: 10%;
}

.grupe-project .project-design {
  display: inline-flex;
  height: 459px;
  width: 100%;
  align-items: center;
  gap: 2.25rem; /* Converted from 36px */
  padding: 14px 12px;
  position: relative;
  background-color: var(--neutral-200);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0px 2px 6px #f5f5f5;
}

.grupe-project .img-project-work {
  position: relative;
  align-self: stretch;
  width: auto;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

.grupe-project .projekt-group-box-text {
  display: flex;
  flex-direction: column;
  width: 36%;
  height: 100%;
  align-items: flex-start;
  justify-content: center;
  gap: 16px;
  position: relative;
  align-self: stretch;
}

.grupe-project .project-overview-2 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 16px;
  position: relative;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
  background-color: var(--white);
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid;
  border-color: var(--neutral-300);
}

.grupe-project .project-title {
  position: relative;
  width: fit-content;
  font-weight: var(--heading-200-bold-font-weight);
  color: var(--font-500-primary);
  font-size: var(--heading-200-bold-font-size);
}

.grupe-project .project-year-box {
  display: flex;
  flex-direction: column;
  width: 68px;
  align-items: flex-end;
  position: relative;
}

.grupe-project .project-year-text {
  position: relative;
  width: fit-content;
  font-weight: var(--text-s-bold-font-weight);
  color: var(--font-500-primary);
  font-size: var(--text-s-bold-font-size);
}

.grupe-project .project-year-number {
  position: relative;
  width: fit-content;
  font-weight: var(--text-m-regular-font-weight);
  color: var(--font-500-primary);
  font-size: var(--text-m-regular-font-size);
}

.grupe-project .project-overview-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 24px;
  flex: 1;
  width: 100%;
  flex-grow: 1;
  background-color: var(--white);
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid;
  border-color: var(--neutral-300);
  position: relative;
  align-self: stretch;
}

.grupe-project .project-bio-text {
  position: relative;
  align-self: stretch;
  font-weight: var(--text-s-regular-font-weight);
  color: var(--font-500-primary);
  font-size: var(--text-s-regular-font-size);
  margin: 0px;
}

.grupe-project .to-project-button {
  display: flex;
  width: 100%;
  height: 52px;
  align-items: center;
  padding: 0.125rem 1.5rem; /* Converted from 2px 24px */
  position: relative;
  border-radius: 40px;
  border: 1.5px solid;
  border-color: var(--neutral-400-primary);
  text-decoration: none;
  cursor: pointer;
}

/* 1. Base utility (icon itself) */
.rotate-45 {
  transition: transform .3s ease;
}

/* 2. If the icon is hovered directly */
.rotate-45:hover {
  transform: rotate(45deg);
}
/* Update: default transparent, hover white, active neutral-100 */
.grupe-project .to-project-button {
  background-color: transparent;
  border: 1.5px solid var(--neutral-400-primary);
  transition: background-color .25s ease, border-color .25s ease;
}

/* Hover: white */
.grupe-project .to-project-button:hover {
  background-color: var(--white);
  border-color: var(--neutral-300);
}

/* Active (pressed): neutral-100 */
.grupe-project .to-project-button:active {
  background-color: var(--neutral-100);
  border-color: var(--neutral-300);
}

/* Keep arrow rotation from before */
.grupe-project .to-project-button .arrow-gray {
  transition: transform .3s ease;
}
.grupe-project .to-project-button:hover .arrow-gray {
  transform: rotate(45deg);
}

/* 3. If you want it to rotate when its parent (button/link) is hovered */
.hover-rotate-45:hover .rotate-45 {
  transform: rotate(45deg);
}

/* Apply to existing elements: */

/* Contact button arrow (same behavior as .vector) */
.grid-box .contact-button .vector {
  transition: transform .3s ease;
}
.grid-box .contact-button:hover .vector {
  transform: rotate(45deg);
}
/* CONTACT BUTTON (keep arrow rotate, change button color on hover) */
.grid-box .contact-button {
  background-color: var(--brand-400-primary);
  transition: background-color .25s ease, box-shadow .25s ease;
}

/* Hover: change whole button background (arrow still rotates) */
.grid-box .contact-button:hover {
  background-color: var(--brand-500);
}

/* Arrow rotation stays */
.grid-box .contact-button .vector {
  transition: transform .3s ease;
}

.grid-box .contact-button:hover .vector {
  transform: rotate(45deg);
  /* removed the wrong background-color applied to the icon */
}

/* Project card arrow */
.grupe-project .to-project-button .arrow-gray {
  transition: transform .3s ease;
}
.grupe-project .to-project-button:hover .arrow-gray {
  transform: rotate(45deg);
  /* If you previously had translateX, remove it or combine:
     transform: rotate(45deg) translateX(6px); */
}

.grupe-project .text-dive-deeper {
  position: relative;
  flex: 1;
  font-weight: var(--text-m-bold-font-weight);
  color: var(--font-400);
  font-size: var(--text-m-bold-font-size);
}

.grupe-project .arrow-gray{
  position: relative;
  width: 18.56px;
  height: 18.56px;
}

/* PROJECT OVERVIEW  Small Screens */

@media (max-width: 1280px) {
  .grupe-project .projekt-group-box-text {
    width: 46%;
  }
  .grupe-project .img-project-work {
    width: 54%;
  }
}

/* PROJECT OVERVIEW  Small Screens */

@media (max-width: 1280px) {
  .grupe-project .projekt-group-box-text {
    width: 46%;
  }
  .grupe-project .img-project-work {
    width: 54%;
  }
}

@media (max-width: 900px) {
  .grupe-project .projekt-group-box-text {
    width: 46%;
  }
  .grupe-project .img-project-work {
    width: 54%;
  }

  .grupe-project .project-overview-2 {
    padding: 1rem; /* Converted from 16px */
  }

  .grupe-project .project-title {
    font-weight: var(--heading-100-bold-font-weight);
    font-size: var(--heading-100-bold-font-size);
  }

  .grupe-project .project-year-text {
    font-weight: var(--text-s-bold-font-weight);
    font-size: var(--text-s-bold-font-size);
  }

  .grupe-project .project-year-number {
    font-weight: var(--text-s-regular-font-weight);
    font-size: var(--text-s-regular-font-size);
  }

 .grupe-project .project-overview-wrapper {
    padding: 1rem; /* Converted from 16px */
  }

  .grupe-project .project-bio-text {
    font-weight: var(--text-XS-regular-font-weight);
    font-size: var(--text-XS-regular-font-size);
  }
}

@media (max-width: 740px) {
  .grupe-project .project-design {
    flex-direction: column;
    height: auto;
    gap: 1.5rem; /* Converted from 24px */
    padding: 1.5rem; /* Converted from 24px */
  }

    .grupe-project .projekt-group-box-text {
    width: 100%;
  }
  .grupe-project .img-project-work {
    width: 100%;
  }
}

@media (max-width: 740px) {
 .grupe-project{
   width: 90%;
   margin-left: 5%;
   margin-right: 5%;
 }

   .grupe-project .project-bio-text {
    font-weight: var(--text-m-regular-font-weight);
    font-size: var(--text-m-regular-font-size);
  }
}



/* FOOTER */

.footer {
  display: flex;
  width: 80%;
  height: 100%;
  align-items: flex-end;
  justify-content: space-around;
  margin-top: 8rem; /* Converted from 128px */
  margin-bottom: 1.25rem; /* Converted from 20px */
  margin-left: 10%;
  margin-right: 10%;
  position: relative;
  box-sizing: border-box;
}


.footer-background {
  position: absolute;
  display: flex;
  width: 100%;
  top:0rem; /* Converted from 0px */
  left:0rem; /* Converted from 0px */
  z-index: -10;
}

.footer-box-photo {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: flex-end;
  justify-content: space-between;
  position: relative;
  align-self: stretch;
  flex: 0 0 auto;
}

.footer .footer-box {
  display: flex;
  flex-direction: column;
  gap: 10rem;
  width: 100%;
  height: 100%;
  padding-top: 1rem; /* Converted from 16px */
  padding-left: 2.5rem; /* Converted from 40px */
  padding-right: 7.5rem; /* Converted from 120px */
  padding-bottom: 2rem; /* Converted from 36px */
  box-sizing: border-box;
  position: relative;
}

.footer .footer-title {
  display:flex;
  position: relative;
  width: fit-content;
  margin-top: -1.00px;
}

.text-title-regular{
  color: var(--font-100);
  font-weight: var(--heading-600-regular-font-weight);
  font-size: var(--heading-600-regular-font-size);
}

.footer .span {
  font-weight: 500;
  color: #fafafa;
}

.text-title-bold{ 
  color: var(--font-100);
  font-weight: var(--heading-600-bold-font-weight);
  font-size: var(--heading-600-bold-font-size);
}

.footer .footer-text-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
}

.footer .footer-link-box {
  display: flex;
  flex-direction: column;
  width: 193px;
  align-items: flex-start;
  gap: 0.5rem; /* Converted from 8px */
  position: relative;
}

.footer .footer-link-button {
  display: flex;
  width: 193px;
  align-items: center;
  gap: 0.75rem; /* Converted from 12px */
  position: relative;
  flex: 0 0 auto;
  cursor: pointer;
  text-decoration: none;
}

.linkedin-footer,
.footer .mail-footer {
  position: relative;
  width: 0.75rem; /* Converted from 12px */
  height: 0.625rem; /* Converted from 10px */
}

.footer .text-link-box-line {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem; /* Converted from 10px */
  padding: 0px 0px 2px;
  position: relative;
  flex: 0 0 auto;
  border-bottom-width: 1px;
  border-bottom-style: solid;
  font-weight: var(--text-XS-regular-font-weight);
  color: var(--font-100);
  font-size: var(--text-XS-regular-font-size);
}

.footer-text {
  position: relative;
  width: 402px;
  font-weight: var(--text-s-regular-font-weight);
  color: var(--font-100);
  font-size: var(--text-s-regular-font-size);
}





/* Footer Mobile */

.footer-background-mobile {
  display: none;
}

@media (max-width: 612px) {
  .footer .footer-background {
    display: none;
  }

  .footer .footer-background-mobile {
    position: absolute;
    display: flex;
    top: 0;
    left: 0;
    z-index: -10;
    width: 100%;
  }
  
  .footer {
    margin-top: 4.5rem; /* Converted from 72px */
    width: 90%;
    height: 100%;
    margin-left: 5%;
    margin-right: 5%;
    margin-bottom: 3rem; /* Converted from 48px */
    height: auto; 
    display: flex;
    flex-direction: column; /* Stack content vertically */
    align-items: center; /* Center content horizontally */
  }

  .footer .footer-box{
    display: flex;
    flex-direction: column;
    gap: 10rem; /* Converted from 48px */
    align-items: flex-start;
    width: 100%;
    height: 100%;
    padding-top: 1rem; /* Converted from 16px */
    padding-left: 2rem; /* Converted from 32px */
    padding-right: 1rem; /* Converted from 16px */
    padding-bottom: 1.5rem; /* Converted from 24px */
    box-sizing: border-box;
    position: relative;
  }

  .footer .footer-title {
   display: block; /* Change from flex to block */
   position: relative;
   width: 100%; /* Take full width */
   text-align: left; /* Align text to the left */
   margin-top: -1.00px;
  }

  .footer .text-title-regular {
   color: var(--font-100);
   font-weight: var(--heading-300-regular-font-weight);
   font-size: var(--heading-300-regular-font-size);
   display: inline-block; /* Keep on the same line if possible */
   white-space: nowrap; /* Prevent wrapping */
  }

 .footer .text-title-bold {
   color: var(--font-100);
   font-weight: var(--heading-300-bold-font-weight);
   font-size: var(--heading-300-bold-font-size);
   display: block; /* Force to a new line */
 }

  .footer .footer-text-box{
    gap: 18rem; /* Converted from 56px */
    flex-direction: column;
    align-items: flex-start;
    justify-content: start;
  }

  .footer .footer-link-box{
    width: 100%;
    gap: 1rem; /* Converted from 16px */
    order: 2; /* Place link box below text */
  }

  .footer .linkedin-footer,
  .footer .mail-footer{
  width: 1rem;
  height: 1rem;
  }
  
 .footer-text{
  width: 100%;
  order: 1; 

 }
}

@media (min-width: 1920px) {
   .footer{
    padding-right: 10rem;
   }
  
  .footer .footer-box{
    gap: 16rem; /* Converted from 48px */
  }
}

@media (max-width: 1920px) {
   .footer .footer-box{
    gap: 14rem; /* Converted from 48px */
  }
}

@media (max-width: 1840px) {
   .footer .footer-box{
    gap: 12rem; /* Converted from 48px */
  }
}

@media (max-width: 1710px) {
   .footer .footer-box{
    gap: 10rem; /* Converted from 48px */
  }
}

@media (max-width: 1570px) {
   .footer .footer-box{
    gap: 8rem; /* Converted from 48px */
  }
}

@media (max-width: 1430px) {
   .footer .footer-box{
    gap: 6rem; /* Converted from 48px */
  }
}

@media (max-width: 1280px) {
   .footer .footer-box{
    gap: 4rem; /* Converted from 48px */
  }
}

@media (max-width: 1140px) {
   .footer .footer-box{
    gap: 2rem; /* Converted from 48px */
  }
}

@media (max-width: 1056px) {
   .footer .footer-box{
    gap: 3rem; 
  }
  .text-title-regular{
   font-weight: var(--heading-400-regular-font-weight);
   font-size: var(--heading-400-regular-font-size);
  }

  .text-title-bold{
   font-weight: var(--heading-400-bold-font-weight);
   font-size: var(--heading-400-bold-font-size);
  }

  .footer-text{
    width: 24rem;
  }
}

@media (max-width: 1140px) {
   .footer .footer-box{
    gap: 2rem; /* Converted from 48px */
  }
}

@media (max-width: 1000px) {
   .footer .footer-box{
    gap: 1rem; 
  }
  .text-title-regular{
   font-weight: var(--heading-400-regular-font-weight);
   font-size: var(--heading-400-regular-font-size);
  }

  .text-title-bold{
   font-weight: var(--heading-400-bold-font-weight);
   font-size: var(--heading-400-bold-font-size);
  }

  .footer-text{
    width: 20rem;
  }
}

@media (max-width: 920px) {
   .footer .footer-box{
    gap: 1rem; 
    padding-right: 4rem;
  }
  .text-title-regular{
   font-weight: var(--heading-400-regular-font-weight);
   font-size: var(--heading-400-regular-font-size);
  }

  .text-title-bold{
   font-weight: var(--heading-400-bold-font-weight);
   font-size: var(--heading-400-bold-font-size);
  }

  .footer-text{
    width: 18rem;
    font-size: var(--text-XS-regular-font-size);
    font-weight: var(--text-XS-regular-font-weight);
  }
}

@media (max-width: 856px) {
   .footer .footer-box{
    gap: 0.5rem; 
    padding-right: 4rem;
  }
  .text-title-regular{
   font-weight: var(--heading-400-regular-font-weight);
   font-size: var(--heading-400-regular-font-size);
  }

  .text-title-bold{
   font-weight: var(--heading-400-bold-font-weight);
   font-size: var(--heading-400-bold-font-size);
  }

  .footer-text{
    width: 16rem;
    font-size: var(--text-XS-regular-font-size);
    font-weight: var(--text-XS-regular-font-weight);
  }
}

@media (max-width: 820px) {
   .footer .footer-box{
    gap: 0.5rem; 
    padding-right: 4rem;
  }
  .text-title-regular{
   font-weight: var(--heading-400-regular-font-weight);
   font-size: var(--heading-400-regular-font-size);
  }

  .text-title-bold{
   font-weight: var(--heading-400-bold-font-weight);
   font-size: var(--heading-400-bold-font-size);
  }

  .footer-text{
   display: none;
  }
}


@media (max-width: 715px) {
   .footer .footer-box{
    gap: 0.5rem; 
    padding-right: 4rem;
  }
  .text-title-regular{
   font-weight: var(--heading-200-regular-font-weight);
   font-size: var(--heading-200-regular-font-size);
  }

  .text-title-bold{
   font-weight: var(--heading-200-bold-font-weight);
   font-size: var(--heading-200-bold-font-size);
  }

  .footer-text{
   display: none;
  }
}

@media (max-width: 612px) {
   .footer .footer-text-box{
    gap: 18rem; /* Converted from 48px */
  }

  .footer-text{
   display: flex;
    width: 100%;
  }

  .footer-link-button{
    width: 100%;
  }
}

@media (max-width: 583px) {
   .footer .footer-text-box{
    gap: 16rem; /* Converted from 48px */
  }

   .footer-text{
   display: flex;
  }
}

@media (max-width: 543px) {
   .footer .footer-text-box{
    gap: 14rem; /* Converted from 48px */
  }
}

@media (max-width: 509px) {
   .footer .footer-text-box{
    gap: 12rem; /* Converted from 48px */
  }
}

@media (max-width: 476px) {
   .footer .footer-text-box{
    gap: 9rem; /* Converted from 48px */
  }
}

@media (max-width: 440px) {
   .footer .footer-text-box{
    gap: 6rem; /* Converted from 48px */
  }
}

@media (max-width: 410px) {
   .footer .footer-text-box{
    gap: 4rem; /* Converted from 48px */
  }
}

@media (max-width: 398px) {
   .footer .footer-text-box{
    gap: 2.8rem; /* Converted from 48px */
  }
}

@media (max-width: 355px) {
   .footer .footer-text-box{
    gap: 1rem; /* Converted from 48px */
  }

  .footer-text{
    width: 100%;
  }

  .footer-link-button{
    width: 100%;
  }
}