body {
    background-color: #f1f1f1;
}

html,
body {
  min-height: 100%;
  margin: 0;
}

body.contact {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

body.contact main {
  flex: 1;
}

/* ========================== NAVIGATION ===================== */
/* --- Grundstruktur --- */
.navbar {
  background-color: #f1f1f1 !important;
  padding: 25px 10px 20px 0px;
  z-index: 1000;
  position: relative;
}

.navbar-brand {
  margin-left: 15px;
  padding: 0;
}

/* --- Nav-länkar (desktop) --- */
.nav-link {
  color: #333333;
  border: 2px solid rgba(40, 40, 37, 1);
  border-radius: 25px;
  padding: 4px;
  background-color: #ffffff;
  width: 130px;
  box-shadow: 4px 4px 0px rgba(40, 40, 37, 1);
  transition: all 0.15s ease;
}

.navbar .nav-link.btn:hover {
  transform: translateY(1px);
  background-color: rgba(40,40,37,1);
  color: #f1f1f1;
  border: 2px solid rgba(241, 241, 241, 1);
  box-shadow: 2px 2px 0px rgba(40, 40, 37, 1);
}

.nav-link.active {
  box-shadow: inset 2px 2px 0px rgba(40, 40, 37, 1);
  transform: translateY(2px);
  pointer-events: none;
  cursor: default;
}

.nav-item a {
  font-weight: 400;
}

/* --- Responsiv container maxbredd --- */
@media (min-width: 992px) {
  .navbar .container-fluid {
      max-width: 1320px;
      padding: 0 15px;
      margin: auto;
  }
}

/* ========================== TOGGLER ======================== */
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='rgba(0, 0, 0, 1)' stroke-width='3.5' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h25M4 17h25M4 27h25'/%3E%3C/svg%3E");
}

.navbar-toggler {
  border: none;
  border-radius: 5px;
  padding: 8px;
  box-shadow: 4px 3px 0px rgba(40, 40, 37, 0);
}

/* ========================== MOBILE MENU ==================== */
.menu-overlay {
  display: none;
}

@media (max-width: 767px) {

  .navbar {
    position: sticky;
    top: 0;
    z-index: 1050;
  }

  .menu-overlay {
    position: fixed;
    inset: 0;
    height: 100dvh;
    background: rgba(0, 0, 0, 0.32);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
    z-index: 998;
  }

  .menu-overlay.active {
    opacity: 1;
    visibility: visible;
  }

  .navbar-collapse {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    padding: 0 12px;
    z-index: 1001;
    opacity: 0;
    transform: translateY(-10px);
    pointer-events:none;
    transition: opacity 0.25s ease, transform 0.25s ease;
  }

  .navbar-collapse.collapsing {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .navbar-collapse.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .navbar-collapse .navbar-nav {
    background: #f1f1f1;
    padding: 1.6rem 1.8rem;
    border: 2px solid #222;
    border-top: 0;
    border-radius: 0 0 24px 24px;
    box-shadow: 0 6px 0 #282825;
    transform: scale(0.98);
    transform-origin: top center;
    transition: transform 0.25s ease;
  }

  .navbar-collapse.show .navbar-nav {
    transform: scale(1);
  }

  .navbar-collapse .nav-item {
    width: 100%;
  }

  .navbar-collapse .nav-link {
    display: block;
    width: 100%;
    margin: 0.35rem 0;
    padding: 0.9rem 1rem;
    border: none;
    box-shadow: none;
    background: transparent;
    text-align: left;
    font-size: 1rem;
    font-weight: 400;
    border-radius: 28px;
    transition: transform 0.25s ease, background-color 0.25s ease;
    opacity: 0;
  transform: translateY(6px);
  }

  .navbar-collapse.show .nav-link {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.3s ease;
  }

  .navbar-collapse.show .nav-item:nth-child(1) .nav-link { transition-delay: 0.05s; }
.navbar-collapse.show .nav-item:nth-child(2) .nav-link { transition-delay: 0.1s; }
.navbar-collapse.show .nav-item:nth-child(3) .nav-link { transition-delay: 0.15s; }

  .navbar-collapse .nav-link:hover {
    background-color: rgba(0, 0, 0, 0.05);
    transform: translateX(4px);
  }

  .navbar-collapse .nav-link.active {
    font-weight: 800;
    background: rgba(0, 0, 0, 0.06);
  }

  .navbar-collapse .nav-link.active::after {
    content: " ✨";
    font-size: 1.2em;
    margin-left: 0.2em;
    display: inline-block;
    animation: wiggle 1.5s infinite ease-in-out;
  }

  @keyframes wiggle {
    0%, 100% { transform: rotate(0deg); }
    40% { transform: rotate(-5deg); }
    60% { transform: rotate(5deg); }
  }

  .navbar.shrink {
    padding: 10px 10px 10px 0;
    transition: padding 0.3s ease;
  }

  .navbar.shrink .navbar-brand img {
    height: 20px;
    transition: height 0.3s ease;
  }

  .navbar.shrink .navbar-toggler {
    transform: scale(0.85);
    transition: transform 0.3s ease;
  }

  
}

/* ========================== HERO ========================= */
/* --- Grundstruktur --- */
.hero {
  position: relative;
  overflow: hidden;
  height: 85vh;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 80vh;
  background-image: url('bilder/hero5.png');
  background-size: cover;
  background-position: 60% center;
  z-index: -1;
}

.hero-container {
  padding: 0 15px;
  max-width:1320px;
}

.hero-left {
  z-index: 1;
  margin-bottom: 50px;
}

.hero-right {
  background-image: url('bilder/hero5.png');
  background-size: cover;
  background-position: right center;
  background-repeat: no-repeat;
  height: 100%;
  width: 100%;
}

/* --- HERO-knapp --- */
.hero-btn {
  background-color: #FF55AD;
  color: black;
  border: 1.5px solid rgba(40, 40, 37, 1);
  padding: 8px 25px;
  text-align: center;
  text-decoration: none;
  font-weight:400 !important;
  border-radius: 8px;
  box-shadow: 3px 3px 0px rgba(40, 40, 37, 1);
  font-size: 1.2em;
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  transition: transform 0.3s ease-in-out;
}

.hero-btn:hover {
  background-color: rgba(40, 40, 37, 1);
  color: #f1f1f1;
  border: 1px solid rgba(241, 241, 241, 1);
  transform: translateY(1px);
  box-shadow: 2px 2px 0 #000;
}

/* --- Hand-emoji-animation --- */
.hand {
  display: inline-block;
  animation: hand-wiggle 1.5s infinite ease-in-out;
}

@keyframes hand-wiggle {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(4px); }
}

/* --- Knappjustering på extra små skärmar --- */
@media (max-width: 575px) {
  .hero-btn {
    margin-top: -10px;
  }
}

/* ====================== HERO: MEDIA QUERIES ====================== */
/* --- Medium skärmar: höjdjustering --- */
@media (min-width: 992px) and (max-width: 1439px) {
  .hero-background {
    height: 65vh;
  }
  .hero {
    height: 70vh;
  }

  .rubik-index {font-size:3.5rem !important;}

  .hero-container {max-width:1320px;
    margin-left:15px;}
}

/* --- Tablet-storlek: justera layout och höjd --- */
@media (min-width: 768px) and (max-width: 991px) {
  .hero-background {
    height: 55vh;
  }
  .hero {
    height: 60vh;
  }
  .hero-left {
    padding-bottom: 50px;
  }

  .rubik-index {font-size:3rem !important;}

  .hero-container {max-width:1320px;
    margin-left:15px;}
}

/* --- Mobil: layout förändras till kolumn --- */
@media (min-width: 576px) and (max-width: 767px) {
  .hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 90vh;
    margin-bottom: 30px;
  }

  .hero-left,
  .hero-right {
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .hero-background {
    display: none;
  }

  .hero-right {
    background-image: url('bilder/hero6.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    min-height: 59vh;
    margin-top: 20px;
  }

  .hero .rubik-index {
    font-size: 4rem !important;
  }

  .hero-left {
    margin-bottom: 0px;
  }

  .hero-left h1,
  .hero-left p {
    margin: 10px 0;
  }

  .rubik-index {font-size:3rem !important;}

  .hero-container {margin-left:5px;
  margin-right:5px;}
}

/* --- Extra små skärmar --- */
@media (max-width: 575px) {
  .hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-top: 0px;
  }

  .hero .rubik-index {
    font-size: 3.8rem;
    line-height:3.8rem;
  }

  .hero-left,
  .hero-right {
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .hero-background {
    display: none;
  }

  .hero-left {
    margin-bottom: -4px;
  }

  .hero-right {
    background-image: url('bilder/hero6.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    min-height: 38vh;
    margin-bottom: 50px;
    margin-top: 15px;
  }

  .hero-left h1,
  .hero-left p {
    margin: 10px 0;
  }

  .hero-container {
    padding: 0;
  }

  .hero-container {max-width:576px; 
    margin-left:5px;
    margin-right:5px;}
}

/* ====================== HERO för andra sidor än index ====================== */
.hero2 {
  height: 70px;
  background-image: url('bilder/heroban.png');
  background-repeat: repeat-x;
  background-position: bottom;
  background-size: contain;
  margin-top: 10px;
}

/* --- Extra små skärmar --- */
@media (max-width: 575px) {.hero2 {margin-top:-10px;}
}

/* ====================== BUTTON ====================== */
.work-btn {
  background-color: #f1f1f1;
  color: black;
  border: 1px solid rgba(40, 40, 37, 1);
  padding: 8px 25px;
  text-align: center;
  text-decoration: none;
  border-radius: 8px;
  box-shadow: 3px 3px 0px rgba(40, 40, 37, 1);
  font-size: 1.2em;
  font-weight:400 !important;
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  transition: transform 0.3s ease-in-out;
}

@media (min-width: 767px) {
.work-btn:hover {
  background-color: rgba(40, 40, 37, 1);
  color: #f1f1f1;
  border: 1px solid rgba(241, 241, 241, 1);
  transform: translateY(1px);
  box-shadow: 2px 2px 0 #000;
}}


/* ========================== TYPOGRAFI =========================== */
/* --- DIGITAL DESIGN (index.html) --- */
.rubik-index {
  font-family: "Rubik", sans-serif;
  font-size: 4.6rem;
  font-weight: 900;
  font-style: normal;
  color: #26762B;
  margin-bottom: -5px;
}

.index .rubik-index {
  margin-top: -25px;
}

/* --- Julia Englund (index.html) --- */
.handwriting {
  font-family: "La Belle Aurore", sans-serif;
  font-size: 2.5rem;
  color: #333333;
  font-weight: 900;
  font-style: normal;
  padding-top: 30px;
}

.handwriting1 {
  font-size:1.8rem;
  font-weight:300;
  padding-top:10px;
  padding-left:10px;
}

/* --- Brödtext --- */
.space-example {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 300;
  font-style: normal;
  font-size: 1.0rem;
}

/* --- Extra radavstånd (about.html) --- */
.about .container .space-example {
  line-height: 1.8;
}

/* --- Small headings (about.html) --- */
.section-title {
  font-family: "Rubik", sans-serif;
  font-size: 1.5rem;
  font-weight: 900;
  color: #26762B;
}

/* --- Section name ("FOTOGRAFI", "ILLUSTRATIONER")--- */
.section-name2 {
  font-family: "Rubik", sans-serif;
  font-size: 2.4rem;
  font-weight: 900;
  color: #26762B;
  scroll-margin-top: 90px;
  letter-spacing:-0.01em;
  line-height:0.95;
  margin-bottom:0.9rem;
}

/* --- Section name ("FOTOGRAFI", "ILLUSTRATIONER")--- */
.section-name {
  font-family: "Rubik", sans-serif;
  font-size: 3.2rem;
  font-weight: 900;
  color: #26762B;
  scroll-margin-top: 90px;
}

/* --- Big headings--- */
.section-heading {
  font-family: "Rubik", sans-serif;
  font-size: 3.2rem;
  font-weight: 900;
  color: #26762B;
}

.section-heading + .about {
  font-family: "Rubik", sans-serif;
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 900;
  color: #26762B;
}

/* --- Section-heading på små skärmar (< 576px) --- */
@media (max-width: 575px) {
  .section-heading {
    font-size: 2.6rem;
  }
  .contact .section-heading {
    font-size: 2.4rem;
  }
  .mywork .section-heading {
    font-size: 2.8rem;
  }
  .index .section-heading {font-size:2rem !important;}
}

/* --- Rubriker på projektkort (mywork.html) --- */
.project-title {
  font-family: "Rubik", sans-serif;
  font-weight: 900;
  font-size: 1rem;
  margin-bottom: 0.4rem;
  color: #333333;
}

/* --- Brödtext på projektkort (mywork.html) --- */
.project-description {
  font-size: 0.95rem;
  color: #222;
}

/* --- Fetmarkerad text ---- */
strong {
  font-weight: 600;
  color: inherit;
}

/* ======== GRAPHIC DIVIDER ========= */
  .wave-divider {
    height: 45px;
    background-image: url('bilder/border14.png');
    background-repeat: repeat-x;
    background-position: bottom;
    background-size: contain;
    margin-top: 30px;
}

/* ========================== FOOTER ========================== */
/* --- Footer logo --- */
.footer-logo img {
  max-width: 150px;
  margin-left: 30px;
}

/* --- Footer länkar --- */
ul.list-unstyled a {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 400;
  color: #333333;
  text-decoration: none;
  position: relative;
  display: inline-block;
  transition: color 0.3s ease, transform 0.1s ease, box-shadow 0.1s ease;
}

@media (min-width: 767px) {
ul.list-unstyled a:hover {
  color: #245eff;
  transform: translateY(2px);
}

ul.list-unstyled a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  left: 0;
  bottom: -4px;
  background-color: #245eff;
  transition: width 0.3s ease;
}

ul.list-unstyled a:hover::after {
  width: 100%;
}}

.footer-links {
  gap: 2rem;
}

.footer-link-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-emoji {
  font-size: 1.5rem;
  margin-bottom: 4px;
}

/* --- Hela footerns utseende --- */
.site-footer {
  margin-top: 0px;
  padding: 120px 30px 20px 0;
  background-image: url('bilder/footer3.png');
  background-repeat: repeat-x;
  background-size: auto 240px;
  background-position: bottom left;
}

.footer-copy {
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.8rem;
  color: #666;
  margin-left:0.5rem;
  margin-top:1rem;
}


/* ======================= FOOTER MOBIL ======================= */
@media (max-width: 767px) {
  /* --- Kolumner staplas vertikalt --- */
  .site-footer .row {
    padding-top: 0px;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  /* --- Footer-länkar centrerade --- */
  ul.list-unstyled {
    justify-content: center;
    margin-left: 25px;
  }

  .site-footer {background-size:1050px;}
}

/* ========================== SKILLS (index.html) ========================== */
/* --- Ikonbild --- */
.icon-img {
  width: 100px;
  height: auto;
}

/* --- Rubrik under ikon --- */
.icon-title {
  font-family: "Rubik", sans-serif;
  font-weight: 900;
  font-size: 1rem;
}

/* --- Text under ikon --- */
.icon-desc {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 300;
  font-size: 0.95rem;
  color: #000;
  margin-top: 5px;
  line-height: 1.4;
}

/* --- Media queries SKILLS --- */
@media (min-width: 768px) and (max-width: 991px) {
  .skills-section .container {max-width:950px;
  padding-left:10px;
padding-right:10px;}
}

@media (max-width: 767px) {
  .index .section-heading {
    text-align: left !important;
  }

  .skills-section {
    padding: 0rem 0.3rem 0rem 0.5rem;
    margin-top: 0.8rem;
  }

  .skills-section .container {max-width:767px;}

  /* --- Ikon till vänster, text till höger --- */
  .icon-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
  }

  .icon-img {
    width: 60px;
    flex-shrink: 0;
    margin-bottom: 0;
    margin-top: 0.4rem;
  }

  .icon-text {
    flex: 1;
  }

  .icon-title,
  .icon-desc {
    text-align: left;
    margin: 0;
  }

  .icon-title {
    margin-bottom: 0.3rem;
  }
}


/* ========================== PORTFOLIO (index.html) ========================== */
.sec2 {
  padding-left: 30px;
  padding-right: 20px;
}

@media (max-width: 767px) {
  .sec2 {
    padding-left: 10px;
    padding-right: 0px;
  }

  .text1 {
    padding-right: 1rem !important;
  }
}

.custom-section {
  padding: 50px 0;
  margin: 0px 20px;
  background-color: #f1f1f1;
}

.image-box {
  margin: -0.2rem;
}

.image-box a img {
  outline: none;
  border: 1px solid #000;
}


.image-box img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
  width: 100%;
  height: auto;
  border-radius: 0px;
  border: 1px solid;
  box-shadow: 5px 5px 0px rgba(40, 40, 37, 1);
  transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.image-box img:hover {
  transform: translateY(4px);
  box-shadow: 3px 3px 0px rgba(40, 40, 37, 1);}


/* ======================= PROJEKT (mywork.html) ======================= */
.project-card {
  display: block;
  color: #000;
  transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.project-card:hover {
  transform: translateY(4px);
  box-shadow: 5px 5px 0px rgba(40, 40, 37, 1);
  cursor: pointer;
}

/* --- Ej klickbara projekt --- */
.noclick {
  pointer-events: none;
  cursor: default;
  text-decoration: none;
  color: inherit;
}

/* --- Projektbilder --- */
.project-image,
.project-image2,
.project-image3,
.project-image4,
.project-image5,
.project-image6 {
  width: 100%;
  padding-top: 100%; /* 1:1 aspect ratio */
  background-color: #ccc;
  border: 1.5px solid #000;
  box-shadow: 4px 4px 0px rgba(40, 40, 37, 1);
  background-size: cover;
  background-position: center;
  object-fit: cover;
}

.project-image  { background-image: url('bilder/billboard1.webp'); }
.project-image2 { background-image: url('bilder/resultat1.png');}
.project-image3 { background-image: url('bilder/portfolio_hero.webp');}
.project-image4 { background-image: url('bilder/zombieai2.png'); }
.project-image5 { background-image: url('bilder/posters1.png');opacity:60%; }
.project-image6 { background-image: url('bilder/urbex1.png');opacity:60%; }

/* --- titel + beskrivning till projektkort --- */
.project-text-wrapper {
  max-width: 95%;
  margin: 0 auto;
  padding: 0 0 4px 0;
  opacity:50%;
}

.project-text-wrapper1 {
  max-width: 95%;
  margin: 0 auto;
  padding: 0 0 4px 0;
}

/* --- Media queries --- */
@media (max-width: 767px) {
  .section-name {
    text-align: left !important;
    padding-left: 0.5rem;
  }

  .section-name2 {
    text-align: left !important;
    padding-left: 0.5rem;
  }

  .space-example {
    text-align: left !important;
  }

  .project-image3 {
    margin-top: -2rem;
  }

  .project-image5,
  .project-image6 {
    margin-top: -0.6rem;
  }

  /* --- Göm beskrivningar för projekt 3–6 --- */
  .project-description:not(.show) {
    display: none;
  }
}

/* =================== FOTO & ILLUSTRATION (mywork.html) =================== */
.photo-thumb {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border: 1px solid #000;
  box-shadow: 5px 5px 0 rgba(40, 40, 37, 1);
  cursor: pointer;
  transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.photo-thumb:hover {
  transform: translateY(4px);
  box-shadow: 3px 3px 0px rgba(40, 40, 37, 1);
}

/* --- Extra margin (illustrationssektionen) --- */
.photo-section1 {
  margin-bottom: 5rem !important;
  margin-top: 4rem !important;
}

.photo-section2 {margin-bottom: 4rem !important;}

/* --- Media queries: Kolumner i grid --- */
@media (min-width: 992px) {
  .section-name1 {
    text-align: center !important;
    margin-bottom: 0.7rem !important;
  }
}

/* ==================== FULLSCREEN IMAGE OVERLAY ==================== */
#image-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(5px);
  justify-content: center;
  align-items: center;
  z-index: 9999;
  padding: 20px;
}

#image-overlay.show {
  display: flex;
}

/* --- Popup-ruta --- */
.image-popup {
  position: relative;
  max-width: 95vw;
  max-height: 95vh;
}

/* --- Stor bild --- */
.image-popup img {
  max-width: 95vw;
  max-height: 85vh;
  width: auto;
  height: auto;
  display: block;
  margin: auto;
  object-fit: contain;
}


.close-btn {
  position: absolute;
  top: -15px;
  right: -15px;
  font-size: 2.5rem;
  background-color: #222;
  color: #f1f1f1;
  cursor: pointer;
  border-radius: 15px;
  padding: 3px 12px 7px 12px;
  line-height: 1;
  border: 1px solid #f1f1f1;
  box-shadow: 5px 5px rgba(40, 40, 37, 1);
}

@media (max-width: 576px) {
  .close-btn {
    right: -1px;
    top:-25px;
  }
}

/* ======================= ABOUT ======================= */
/* --- Bild --- */
.about-image {
  width: 100%;
  padding-top: 140%;
  background-image: url('bilder/bw.jpg');
  background-size: cover;
  background-position: center;
  border: 1.5px solid black;
}

/* --- Mindre höjd på mindre skärmar --- */
@media (max-width: 768px) {
  .about-image {
    padding-top: 100%;
  }
}

@media (max-width: 480px) {
  .about-image {
    padding-top: 80%;
  }
}

/* ===================== VERKTYG jag använder ===================== */
.tools-section {
  padding: 1rem 0;
  margin-bottom: -30px;
}

.tool-icon {
  width: 75px;
  height: 75px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.2rem;
}

/* --- Text under varje ikon --- */
.tool-label {
  font-size: 0.9rem;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 300;
  font-style: normal;
  margin-top: 0;
}

/* ==================== LISTA - 5 SAKER OM MIG ==================== */
.icon-list li {
  margin-bottom: 30px;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 300;
  font-style: normal;
  font-size: 1.0rem;
  line-height: 1.4;
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
}

.emoji {
  font-size: 1.6rem;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 0.10rem;
}

/* --- emoji-storlek på mobil --- */
@media (max-width: 767px) {
  .emoji {
    font-size: 1.8rem;
  }
}

/* --- media queries (about.html) --- */
@media (max-width: 767px) {
  .about .emoji {
    margin-left: -25px;
  }

  .about .section-name {
    margin-top: 0.9rem;
  }
}
  

  /* ================= CONTACT =============== */
  .form-disabled .form-control {
    background-color: #f6f0f4;   /* svagt tonad bakgrund */
    opacity: 0.75;
    cursor: not-allowed;
  }
  
  .form-disabled .form-control::placeholder {
    opacity: 0.8;
  }

  .contact-section {
    background-color: #f8eff3;
  }
  
  .contact-section .form-control {
    border: 1px solid black;
    border-radius: 0;
    box-shadow: 2px 2px 0px rgba(40, 40, 37, 1);
  }
  
  .contact-section .form-control:focus {
    border-color: #FF55AD;
    box-shadow: 2px 2px 0px rgba(40, 40, 37, 1);
  }

  .contact .emoji {margin-right:0.4rem;}

  @keyframes shake {
    0% { transform: rotate(0deg); }
    25% { transform: rotate(-5deg); }
    50% { transform: rotate(5deg); }
    75% { transform: rotate(-5deg); }
    100% { transform: rotate(0deg); }
  }
  
  .shake-emoji {
    display: inline-block;
    animation: shake 4s infinite;
    transform-origin: center;
    margin-left: 0rem;
  }  

  .space-example a {
    color: #333333;
    text-decoration: none;
    position: relative;
    display: inline-block;
    transition: color 0.3s ease, transform 0.1s ease, box-shadow 0.1s ease;
  }
  
  @media (min-width: 767px) {
  .space-example a:hover {
    color: #245eff;
    transform: translateY(2px);
  }
  
  .space-example a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    left: 0;
    bottom: -4px;
    background-color: #245eff;
    transition: width 0.3s ease;
  }
  
  .space-example a:hover::after {
    width: 100%;
  }}

  .obs1 {font-size:0.9rem;
    color:#666;
  }

  .hero-btn.disabled-btn {
    opacity: 0.6;
    pointer-events: none;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
  }
  
  .hero-btn.disabled-btn:hover {
    background-color: #FF55AD;
    color: black;
    border: 1.5px solid rgba(40, 40, 37, 1);
    transform: none;
    box-shadow: none;
  }
  


/* =========== CASE2 =========== */
  .image-box1 img {
    object-fit: cover;
    width: 100%;
    height: auto;
    border-radius: 12px;
    border: 1px solid rgba(40, 40, 37, 1);
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
  }

  .case2 h4 {font-size:1.6rem;
   font-weight:800;}
  .case3 h4 {font-size:1.6rem;
  font-weight:800;}



  @media (max-width: 767px) {
  .case2 .section-title {
    font-size: 1.2rem;
    font-weight:900;
    padding:0px;
    text-align:left !important;
    margin-top:-10px;
    margin-left:0.5rem;
  }

  .case2 .section-heading {font-size:3rem;
  text-align:left !important;
margin-left:0.5rem;}

  .case2 .space-example {margin-left:0.5rem;}
  

  .case-img {min-width:115%;
margin-left:-10px;
margin-bottom:-15px;}

.img-zom {min-width:120%;
  margin-left:-35px;
  margin-bottom:-15px;}
  }

.case2 .container {overflow:hidden;}

  .btn-small {padding:6px 25px;
  margin:0px;}



/* ========= CASE3 ========= */
  .case-list li {
    position: relative;
    padding-left: 1.2rem;
    margin-bottom: 10px;
    font-family: "Space Grotesk", sans-serif;
    font-weight: 300;
    font-size: 1rem;
    line-height: 1.6;
}

.case-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.5rem;
    width: 0.5rem;
    height: 0.5rem;
    background-color: #26762B;
    border-radius: 50%;
}
  
.video-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.callout {
  background: #f1f1f1;
  border: 1px solid rgba(40, 40, 37, 1);
  border-radius: 12px;
  padding: 1.5rem;
  margin: 2rem 0;
  box-shadow: 2px 2px 0px rgba(40, 40, 37, 1);
}

h5 {
font-family: "Rubik", sans-serif;
  font-size: 1.2rem;
  font-weight: 900;
  color: #26762B;
}

.callout ul {
  margin: 0;
  padding-left: 1.2rem;
}

.callout li {
  margin-bottom: 0.6rem;
  line-height: 1.5;
}

@media (max-width: 767px) {
.case3 .space-example {margin-left:0.5rem;}

.case3 .container {overflow:hidden;}

  .case3 .section-heading {font-size:3rem;
  text-align:left !important;
margin-left:0.5rem;}

.case3 .section-title {
  font-size: 1.2rem;
  font-weight:900;
  padding:0px;
  text-align:left !important;
  margin-left:0.5rem;
  margin-top:-10px;
}
}

.caption {
  font-size: 0.95rem;
  color: #666;
  text-align: center;
  margin-top: 0.5rem;
}

/*======== CASE 5 ZOMBIE ========*/
.icon-list1 li {
  margin-bottom: 20px;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 300;
  font-style: normal;
  font-size: 1.0rem;
  line-height: 1.4;
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
}
  
 
  .case3 .emoji {margin-right:0.4rem;}

  @media (max-width: 576px) {
    .case2 h3 {font-size:1.6rem;}
    .case2 h4 {font-size:1.4rem;}
    .case3 h3 {font-size:1.6rem;}
    .case3 h4 {font-size:1.4rem;}
    h5 {font-size:1.2rem;}
    .head1 {font-size:2.4rem !important;}
.callout {padding-left:0.6em;}
    .mywork h2 {font-size:1.8rem;}
  }
  


  .case-hero { margin: 1.5rem 0 2.25rem; }
  .case-hero .title-stack { max-width: 780px; }
  
  .eyebrow{
    font-family: "Rubik", sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .06em;
    font-size: .9rem;
    color: #666;
    margin: 0 0 .35rem;
    display: inline-flex;
    align-items: center;
    gap: .5rem;
  }
 
  @media (max-width: 576px) {
    .eyebrow {
      font-size: 0.7rem;
      letter-spacing: 0.06em;
    }
  }
  
  .case-title{
    font-family: "Rubik", sans-serif;
    font-weight: 900;
    text-transform: uppercase;
    font-size: clamp(2.7rem, 1.2rem + 3.2vw, 4rem);
    line-height: 1.05;
    letter-spacing: -0.01em;
    color: #26762B;
    margin: 0;
  }
  
  .case-subhead{
    font-family: "Rubik", sans-serif;
    font-weight: 700;
    font-size: clamp(1.05rem, .9rem + .8vw, 1.6rem);
    line-height: 1.2;
    color: #282825;
    margin: .15rem 0 0;
  }
  
  .eyebrow::before { content: none !important; }


/* Prototype cards zombie stress */
  .prototype-section {
    margin-top: clamp(5rem, 8vw, 8rem);
  }
  
  .prototype-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(1.5rem, 3vw, 2.5rem);
  }
  
  .prototype-card {
    background: #2f3430;
    color: #f4f4f1;
    padding: clamp(1.7rem, 2.5vw, 2.5rem);
    border: 2px solid #282825;
    box-shadow: 4px 4px 0 #282825;
    position: relative;
    overflow: hidden;
  }
  
  .prototype-card::after {
    content: "";
    position: absolute;
    inset: auto -20% -30% -20%;
    height: 130px;
    background: radial-gradient(circle, rgba(203, 119, 55, 0.16), transparent 65%);
    pointer-events: none;
  }
  
  .prototype-label {
    display: inline-block;
    background: transparent;
    color: #f4f4f1;
    border: 2px solid #f4f4f1;
    padding: 0.25rem 0.6rem;
    font-size: 0.7rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: 0.8rem;
  }
  
  .prototype-card h5 {
    color: #f4f4f1;
    font-size: clamp(1rem, 1.6vw, 1.6rem);
    font-weight: 800;
    letter-spacing: 0.01em;
    line-height: 1.05;
    margin-bottom: 1rem;
  }
  
  .prototype-title {
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 1rem;
  }
  
  .prototype-title h5 {
    margin: 0;
  }
  
  .prototype-icon {
    font-size: 1.8rem;
    flex-shrink: 0;
  }
  
  .prototype-card > p {
    color: #f4f4f1;
    line-height: 1.5;
    margin-bottom: 1.7rem;
    margin-left:0px !important;
  }

  @media (max-width: 767px) {
    .prototype-card p {
      margin-left:0rem !important;
    } }
  
  .prototype-result {
    margin: 2rem 0;
  }
  
  .prototype-result span {
    display: block;
    color: rgba(244,244,241,.6);
  
    font-family: "Rubik", sans-serif;
    font-size: 0.9rem;
    font-weight: 900;
    letter-spacing: .08em;
    margin-bottom: .4rem;
  }

  .highlight {
    color:#8fbf7f !important;
  }
  
  .prototype-result p {
    margin: 0;
    color: #f4f4f1;
    line-height: 1.45;
  }
  
  
  .prototype-divider {
    width: 100%;
    height: 1px;
  
    margin: 1.3rem 0;
  
    background: repeating-linear-gradient(
      to right,
      rgba(244,244,241,.35) 0 8px,
      transparent 8px 14px
    );
  }
  
  .prototype-card audio,
  .prototype-card video {
    width: 100%;
    margin-top: 1rem;
    border-radius: 0;
    border: 2px solid #282825;
    box-shadow: 4px 4px 0 #282825;
    position: relative;
    z-index: 1;
  }
  
  .prototype-card small {
    display: block;
    margin-top: 1rem;
    color: rgba(244, 244, 241, 0.65);
    font-style: italic;
  }
  
  @media (max-width: 768px) {
    .prototype-grid {
      grid-template-columns: 1fr;
    }
  }
  

 /* Utmaningar & insikter zombie */
  .challenge-insight-section {
    margin-top: clamp(5rem, 8vw, 8rem);
  }
  
  .challenge-insight-header {
    max-width: 760px;
    margin: 0 auto clamp(2.5rem, 5vw, 4rem);
  }
  
  .challenge-insight-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(1.5rem, 3vw, 2.5rem);
  }
  
  .ci-card {
    background:#252c26;
  color:#f4f4f1;
  border:2px solid #151815;
  box-shadow:4px 4px 0 #151815;
    padding: clamp(2rem, 3vw, 3rem);
    position: relative;
  }
  
  .ci-label {
    display: inline-block;
    font-family: "Rubik", sans-serif;
    font-size: 0.65rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.25rem 0.5rem;
    margin-bottom: 0.8rem;
    border: 1.5px solid #282825;
  }
  
  .ci-label.problem {
    background: transparent;
    border: 1.5px solid rgba(244,244,241,.5);
    color: rgba(244,244,241,.75);
  }
  
  .ci-label.insight {
    background:#8fbf7f !important;
    color: #20251f;
    border:2px solid #282825;
  }

  .ci-card .insight + h4 {
    color: #a8cf9d !important;
  }

  
  
  .ci-card h4 {
    font-family: "Rubik", sans-serif;
    font-size: clamp(1rem, 1.6vw, 1.6rem);
    line-height: 1.05;
    font-weight: 800;
    margin-bottom: 0.6rem;
    color: #f4f4f1 !important;
  }
  
  .ci-card p {
    line-height: 1.4;
    color:rgba(244,244,241,.7);
    margin-bottom: 0;
  }

  @media (max-width: 767px) {
    .ci-card p {
      margin-left:0rem !important;
    } }
  
  .ci-shift {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    margin: 2rem 0 1.6rem;
    color: #cb7737;
    font-family: "Rubik", sans-serif;
    font-weight: 900;
    text-transform: uppercase;
    font-size: 0.65rem;
    opacity: 0.8;
    letter-spacing: .08em;
  }
  
  .ci-shift span {
    width: 70%;
    height: 1px;
    background: repeating-linear-gradient(
      to right,
      rgba(244, 244, 241,.25) 0 8px,
      transparent 8px 14px
    );
  }
  
  .ci-shift p {
    margin: 0;
    color: #282825;
  }

  
  @media (max-width: 768px) {
    .challenge-insight-grid {
      grid-template-columns: 1fr;
    }
  
    .ci-card {
      box-shadow: 4px 4px 0 #282825;
    }
  }

  .case-quote {
    margin-top: 3.5rem;
    margin-bottom: 4rem;
    margin-left: clamp(1rem, 3vw, 3rem);
    max-width: 1100px;
    font-family: "Rubik", sans-serif;
  }
  
  .case-quote__top,
  .case-quote__bottom {
    font-size: clamp(1.7rem, 2.7vw, 3rem);
    line-height: 0.95;
    font-weight: 700;
    letter-spacing: -0.03em;
    margin: 0;
  }
  
  .case-quote__top {
    color: #373534;
  }
  
  .case-quote__bottom {
    color: #373534;
  }

  .tillit {
    color:#3466E5;
  }


  .case2 h3 {
color:#282825;
  }

  .case3 h3 {
    color:#282825;
      }

  .case2, .case3 h4 {
    color:#282825;
      }


  .case-section {
    margin-top: clamp(5rem, 9vw, 8rem);
  }

  .case-navigation {
    margin-top: clamp(6rem, 10vw, 10rem);
    padding-top: 2.5rem;
    border-top: 1px solid rgba(0,0,0,0.08);
  }



/*line between sections*/
  .case5 .pulse-divider {
    max-width: 720px;
    margin: clamp(4rem, 7vw, 6rem) auto;
    height: 34px;
    position: relative;
    opacity: 0.75;
  }
  
  .case5 .pulse-divider::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    border-top: 1px dashed rgba(203, 119, 55, 0.45);
  }
  
  .case5 .pulse-divider span {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 90px;
    height: 34px;
    transform: translate(-50%, -50%);
    background: url("bilder/pulse-line.svg") center / contain no-repeat;
    filter: drop-shadow(0 0 10px rgba(203, 119, 55, 0.45));
  }


  /* glow around video and audio */
  .case5 audio,
.case5 video {
  position: relative;
  box-shadow:
    4px 4px 0 #282825,
    0 0 22px rgba(203, 119, 55, 0.22);
}


/*zombie stress översikt*/
.case-meta {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;

  margin-top: 2rem;
}

.case-meta div {
  border-left: 4px solid #8fbf7f;
  padding-left: 1rem;
}

.case-meta span {
  display: block;
  font-family: "Rubik", sans-serif;
  font-size: 0.9rem;
  font-weight: 900;
  letter-spacing: .08em;
  
  color: #8fbf7f;
  margin-bottom: .4rem;
}

.case-meta p {
  margin: 0;
}

@media(max-width:768px){

  .case-meta {
   grid-template-columns: 1fr;
  }
  
  }


  .case2 .case-meta div {
    border-left: 4px solid #3466E5;
  }
  
  .case2 .case-meta span {
    color: #3466E5;
  }

  .casenord .case-meta div {
    border-left: 4px solid #5B7244;
  }
  
  .casenord .case-meta span {
    color: #5B7244;
  }


  /*Om mig badges*/
  .skill-badges {
    display: flex;
    flex-wrap: wrap;
    gap: .7rem;
    max-width:650px;
  }
  
  .skill-badges span {
    border: 1px solid #282825;
    padding: .45rem .9rem;
    font-family: "Space Grotesk", sans-serif;
    font-weight: 400;
    font-size: .9rem;
  
    background: rgba(255,255,255,0.25);
    color: #282825;
    border-radius:20px;
  }

  .skill-badges span::before {
    content: "• ";
    color: #FF55AD;
  }

  .caption {
    margin-top: 0.8rem;
    font-size: 0.9rem;
    opacity: 0.7;
    text-align: center;
    line-height: 1.5;
  }
  
  .case-img-box {
    margin-bottom: 1.5rem;
  }

  