:root {
  --bakgrunn: #F2EFE8;
  --kortKant: #D8C9B5;

  --tekst: #343330;
  
  --knappTekst: #FFFFFF;
}
* {
  box-sizing: border-box;
}
body{
  margin: 0;
  background-color: var(--bakgrunn);
}
h1{
  margin:0;
}
.ikon{
  width: 38px;
  height: 38px;
}
.toppLinje {
  display: flex;
  position: sticky;
  top: 0;
  z-index: 100;

  width: 100%;
  height: 50px;
  padding: 5px;
  gap: 6px;
  align-items: center;
}

.toppLinje input {
  flex: 1;
  min-width: 0;
  height: 100%;
  box-sizing: border-box;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.15);
  padding: 0 10px;
}

.knapp {
  width: 30px;
  height: 30px;
  box-sizing: border-box;
  cursor: pointer;
  font-size: 1.2em;
  background: transparent;
  background-size: contain;
  appearance: none;
  border: none;
  color: var(--tekst);
  border-radius: 8px;
  margin: 5px;
}

.hovedNotatBoks {
  position: relative;
  height: calc(100dvh);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-bottom: 70vh;
  box-sizing: border-box;
  margin: 5px;
}

.notatBoks {
  width: 100%;
  margin: 4px 0;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.15);
}


/* Tittellinje */

.tittelBoks {
  width: 100%;
  min-height: 48px;
  border-radius: 12px 0px 0px 0px;
  display: flex;
  align-items: center;
}


/* Tittel */

.tittel {
  flex: 1;
  min-width: 0;

  margin: 0;
  padding: 10px 8px 10px 14px;

  font-size: 1.1em;
  font-weight: bold;

  outline: none;
  overflow-wrap: anywhere;
}




.notatLukka{
  display: none;
}
.notatOpent{
  display: '';
}
/* Innhaldet i notatet */

.notat {
  width: calc(100% - 2px);

  margin-left: 0.5px;
  margin-top: 2px;
  padding: 0px;
}


/* Tekst */

.tekst {
  width: 100%;
  min-height: 45px;

  padding: 10px;

  outline: none;

  line-height: 1.5;

  white-space: pre-wrap;
  overflow-wrap: break-word;
}
