body {
  font-family: "Roboto", sans-serif;
  margin: 0;
  padding: 0 20px;
  background-color: #f9f9f9;
}
h1 {
  font-family: "Allura";
  color: #333;
  text-align: center;
  font-size: clamp(2em, 8vw, 5em);
  text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.5);
}
a {
  color: #222;
  font-weight: bold;
  text-decoration: underline;
}
a:hover,
a:focus {
  color: #666;
  text-decoration: underline;
}
.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
.image-container {
  width: 100%;
  overflow: hidden;
  margin-top: 20px;
  filter: grayscale(90%);
  background-size: 120% auto;
  background-position: center;
  position: relative;
}
.image-container img {
  width: 100%;
  height: auto;
  display: block;
}
.padded-content {
  position: relative;
  padding: 20px;
}
.innhold {
  width: 55%;
  min-width: 185px;
  text-align: left;
  background-color: #f3f3f7;
  box-shadow: 0 2px 8px rgba(120, 120, 140, 0.09);
  border-radius: 7px;
  padding: 12px;
  margin-bottom: 12px;
  position: relative;
}
.innhold .utvidet {
  display: none;
}
.innhold .utvidet-btn {
  position: absolute;
  top: 10px;
  right: 12px;
  background: none;
  border: none;
  color: #666;
  font-size: 2em;
  cursor: pointer;
  transition: color 0.2s;
  z-index: 10;
}
.innhold .utvidet-btn:hover,
.innhold .utvidet-btn:focus {
  color: #222;
}
.høyrevridd {
  text-align: right;
}
.høyrevridd .innhold {
  float: right;
}
.klar {
  clear: both;
}
.padded-column {
  padding: 0px 20px;
}
.padded-column h2 {
  margin-top: 0px;
}
.details {
  font-size: 1.2em;
  margin-top: 20px;
}
#antrekk-text {
  margin-left: 6px;
}
#antrekk-refresh {
  cursor: pointer;
  margin-left: 6px;
}
#antrekk-refresh svg {
  vertical-align: middle;
  cursor: pointer;
}

.antrekk-row {
  display: flex;
  align-items: center;
}
#rings {
  aspect-ratio: 16 / 8;
  background-image: url("../images/ringsonfings.jpg");
}
#folketshus {
  aspect-ratio: 16 / 6;
  background-image: url("../images/folketshus.jpg");
}
#toastmastere {
  aspect-ratio: 16 / 6;
  background-position: 0% 6%;
  background-image: url("../images/steinar_og_krister.avif");
}
#gavebilde {
  aspect-ratio: 16 / 5;
  background-image: url("../images/gaver.jpg");
}
.kirke-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: flex-start;
}
.kirke-tekst {
  order: 1;
  flex: 2 1 260px;
  min-width: 230px;
  max-width: 490px;
  align-self: flex-start;
}
#kirke-bilde {
  order: 2;
  aspect-ratio: 6 / 7;
  background-image: url("../images/kirka.jpg");
  background-size: cover;
  background-position: center;
  border-radius: 6px;
  filter: grayscale(90%);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  flex: 1 1 180px;
  min-width: 180px;
  max-width: 340px;
  margin-top: 0;
  margin-bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (max-width: 600px) {
  .kirke-flex {
    flex-direction: column;
  }
  .kirke-tekst {
    order: 2;
  }
  #kirke-bilde {
    order: 1;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-top: 0;
    margin-bottom: 10px;
  }
  .innhold {
    width: 80%;
  }
  .utvidet {
    width: 80%;
    max-width: 100vw;
    box-sizing: border-box;
    padding: 10px;
  }
  .utvidet .innhold {
    width: 100% !important;
    margin: 0;
    padding: 12px 0;
    box-shadow: none;
    background-color: transparent;
  }
  .utvidet .map {
    width: 100%;
    height: 340px;
    border-radius: 9px;
    overflow: hidden;
  }
  .utvidet .close-btn {
    position: static !important;
    display: block;
    margin: 24px auto 0 auto;
    top: unset;
    right: unset;
    font-size: 1.1em;
    max-width: 350px;
    text-align: center;
  }
}
@media (min-width: 601px) {
  #kirke-bilde {
    margin-right: 20px;
  }

  .utvidet .map {
    width: 80%;
    height: 340px;
    border-radius: 9px;
    overflow: hidden;
  }
  .utvidet .close-btn {
    position: absolute;
    top: 18px;
    right: 26px;
    background: #5a5a5a;
    color: #fff;
    padding: 0.3em 1em;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1em;
    z-index: 2;
  }
}
#wishlist,
#onske-list {
  width: 100%;
  margin: 0 auto;
}
