/* edit this file to add custom styles */

.inline-figure { border: none; }
.quarto-cover-image { display: block; }
/* named colours */
:root {
  --red: red;
  --white: white;
  --blue: blue;
}

/* rainbow borders */
body {
  margin-top: 30px;
  box-shadow:
    0 -10px 0 0px var(--blue),
    0 -20px 0 0px var(--white),
    0 -30px 0 0px var(--red);
}


/* --- Egen styling för övningsuppgifter och video --- */

.small-text {
  font-size: 0.87em;
}

.monopol-title {
  font-size: 0.82em;
  position: relative;
  top: -23px;
  margin-bottom: -10px;
}

.first-paragraph {
  margin-top: -35px;
  line-height: 1.1;
}

/* Responsiv video-inbäddning (SVT Play etc) */
.video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 ratio */
  height: 0;
  overflow: hidden;
  margin-bottom: 1.5em;
  background-color: #000;
  border-radius: 4px;
}

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

