/* ===== RESET ===== */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 40px 20px;
  background: white;
  font-family: serif;

  display: flex;
  justify-content: center;
  
  font-family: 'Jacquard 24', serif;
}

/*alle h-ene */

h1, h2, h3, h4, h5, h6 {
  font-family: 'Jacquard 24', serif;
}

.site-title {
  font-family: 'Sekuya', sans-serif;
}

/* ===== SIDEWRAPPER ===== */
.page {
  width: 100%;
  max-width: 900px;

  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ===== LOGO ===== */
.logo-wrapper {
  width: 100%;
  max-width: 700px;
  margin-bottom: 10px;
}

.logo {
  width: 100%;       /* ← styr størrelse her */
  max-width: 700px;
  height: auto;
  display: block;
}

/* NÅR BILDE ER LASTET → SKJUL TEKST */
.logo[src]:not([src=""]) + .site-title {
  display: none;
}

/* ===== ROSA BOKS ===== */
.main-box {
  position: relative;

  width: 100%;
  max-width: 700px;
  height: 320px;

  background: #ffdbe9;
  border-radius: 6px;

  padding: 10px; /* gir luft rundt tekstboksen */
  overflow: visible;
}

/* ===== TEGNING (VENSTRE) ===== */
.drawing {
  position: absolute;

  left: -30px;   /* flytt horisontalt */
  bottom: -20px; /* flytt vertikalt */

  width: 220px;  /* størrelse */
  height: auto;

  z-index: 1;
  pointer-events: none;
}

/* ===== TEKSTBOKS (HØYRE) ===== */
.text-box {
  position: absolute;

  top: 10px;
  bottom: 10px;
  right: 10px;

  width: 45%;              /* starter ca midt i boksen */
  padding: 15px;

  background: rgba(255,255,255,0.6);
  border-radius: 4px;

  overflow-y: auto;        /* SCROLL */
  z-index: 2;
}

/* ===== SIDE-TABS ===== */
.side-tabs {
  position: absolute;
  top: 0;
  right: -65px;

  height: 100%;

  display: flex;
  flex-direction: column;
  gap: 5px;
}

/* ===== TAB ===== */
.tab {
  flex: 1;
  width: 60px;

  background: #ff7abf;
  color: black;
  text-decoration: none;
  font-family: 'Jacquard 24', serif;

  display: flex;
  align-items: center;
  justify-content: center;

  writing-mode: vertical-rl;
  text-orientation: mixed;

  font-weight: bold;

  border-radius: 0 20px 20px 0;

  transition: transform 0.2s ease, background 0.2s ease;
}

.tab:hover {
  transform: translateX(10px);
  background: #ff4fa3;
}