*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: "Helvetica Neue", Arial, sans-serif;
  background: #ffffff;
  color: #000000;
}

.page {
  max-width: 900px;
  margin: 40px auto 80px;
  padding: 0 24px 80px;
}

.panel {
  margin-bottom: 120px;
}

.top-line {
  font-size: 14px;
  margin-bottom: 24px;
}


.panel-1-top {
  display: grid;
  grid-template-columns: 1.1fr 1.1fr 0.5fr;
  column-gap: 32px;
  align-items: flex-start;
  margin-bottom: 40px;
}

/* .eyechart-box {
  border: 2px solid #000;
  padding: 40px 32px;
  text-align: center;
}*/

.eyechart-lines span {
  display: block;
  letter-spacing: 0.15em;
  margin-bottom: 6px;
  font-weight: 700;
}

.eyechart-lines .line-big {
  font-size: 80px;
  margin-bottom: 0px; 
}

.eyechart-lines .lin2 {
  font-size: 42px;
}

.eyechart-lines .lin3 {
  font-size: 34px;
}

.eyechart-lines .lin4 {
  font-size: 27px;
}

.eyechart-lines .lin5 {
  font-size: 21px;
}

.eyechart-lines .lin6 {
  font-size: 17px;
}



.box-wrapper {
  display: flex;
  justify-content: center;
}

.punkt-box {
  border: 2px solid #000;
  padding: 40px 32px;
  font-family: "Times New Roman", Georgia, serif;
  font-weight: 700;
  font-size:32px;
  text-align: center;
  text-transform: uppercase;
}

.punkt-box span {
  display: block;
  letter-spacing: 0.2em;
  margin-bottom: 10px;
  white-space: nowrap;
}

.punkt-sub {
  font-size: 12px;
  letter-spacing: 0.15em;
}

.vowels-vertical {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-size: 20px;
  font-weight:700;
  align-self: center;
  padding-top:200px; 
}

.panel-1-middle {
  display: grid;
 grid-template-columns: minmax(0, 1fr) 280px minmax(0, 1fr);
  column-gap: 32px;
  align-items: center;
  margin-bottom: 24px;
}

.vowels-left span,
.vowels-right span {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
}

.vowels-left {
  align-self: start;
}

.vowels-right {
  margin-top: 42px;
}


.vowels-right span:last-child {
  margin-left: 76px;
}

.big-a-box {
  border: 1px solid #000;
  padding: 20px;
  text-align: center;
  width: 280px;       
  height: 360px;      
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border: 2px solid #000;
  padding: 40px 32px;
  text-align: center;
  margin-bottom:25px; 
}

.big-a {
  display: block;
  font-size: 72px;
  font-weight: 700;
  margin-bottom: 24px;
}

.big-a-box .row {
  display: inline-block;
  font-size: 25px;
  font-weight: 900;
  letter-spacing: 0.22em;
  margin-bottom: 8px; 
  white-space: nowrap;
}

.row-line {
  display: inline-flex;
  align-items: baseline;
  white-space: nowrap;
}

.large-letter {
  font-size: 40px;
  font-weight: 900;
}


.media-red {
  color: #d00000;
  font-size: 14px;
  margin: 6px 0 8px;
}

.audio-block,
.video-block {
  display: block;
  margin: 4px 0 24px;
  width: 100%;
  max-width: 480px;
}

/* generic poem layout */

.poem-block {
  margin-top: 16px;
  line-height: 1.5;
}

.poem-block.narrow {
  max-width: 520px;
}

.poem-block p {
  margin: 0 0 4px;
}

.solo-line {
  margin-top: 12px;
  font-weight: 600;
}

/* SID 2 */

.konsonant-block {
  margin: 60px 0 24px;
  text-align: center;
}

.konsonant-title {
  font-weight: 700;
  letter-spacing: 0.18em;
  font-size: 20px;
  margin-bottom: 12px;
}

.konsonant-row {
  font-size: 26px;
}

.repeat-block {
  margin: 24px 0 32px;
}

.bold-line {
  font-weight: 700; font-size:130%
}

.o-panels {
  display: flex;
  gap: 40px;
  justify-content: center;
  margin-top: 24px;
}

 .o-panel-box {
  border: 1px solid #000;
  width: 220px;
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;

} 


.o-inner {
  text-align: center;
  width: 90%;
}

.o-big {
  display: block;
  font-size: 76px;
  font-weight: 700;
  margin-bottom: 32px;
}

.o-row {
  display: block;
  font-size: 40px;
  margin-bottom: 20px; font-weight: 700;
}

.o-rowsmall {  font-size: 20px; font-weight: 700;  }
.o-medium{  font-size: 55px; font-weight: 700;  }

.o-row1 {font-size:100px; line-height:150%}
.o-row2 {font-size:20px;  line-height:150% }
.o-row3 {font-size:50px; font-weight:900;}


/* SID 3 */

.skarpa-row {
  display: flex;
  justify-content: space-between;
  max-width: 380px;
  font-size: 18px;
  margin-bottom: 16px;
}

.skarpa-right {
  margin-right: 40px;
}

.spaced-letters {
  letter-spacing: 0.4em;
  font-size: 15px;
  margin-bottom: 10px;
}

.italic-centered {
  font-style: italic;
  text-align: center;
  margin: 10px 0 32px;
}
.normal { font-style: normal;}

.two-columns {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  margin: 12px 0 20px;
}

.two-columns p {
  margin: 0;
}

.poesi-optik-row {
  display: flex;
  gap: 40px;
  justify-content: center;
  margin-top: 40px;
}

.poesi-box {
  border: 2px solid #000;
  padding: 20px 14px;
  width: 220px;
  font-family: "Times New Roman", Georgia, serif;
  font-weight: 700;
  font-size: 150%;
  text-align: center;
  text-transform: uppercase;
}

.poesi-box span {
  display: block;
  font-size: 54px;
  line-height: 0.98;
  letter-spacing: 0;
  margin-bottom: 8px;
}


/* shared size for all framed boxes */
.box-fixed {
  width: 240px;       
  height: 320px;      
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border: 2px solid #000;
  padding: 40px 32px;
  text-align: center;
  margin-bottom:25px; 
}

.lastrow{padding-bottom:20px;}
.left-line {text-align: right; }

/* responsive */

@media (max-width: 768px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  .page {
    padding: 0 14px 60px;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  .panel-1-top,
  .panel-1-middle {
    grid-template-columns: 1fr;
  }

  .vowels-vertical {
    writing-mode: horizontal-tb;
    text-orientation: mixed;
    margin-top: 16px;
  }

  .o-panels,
  .poesi-optik-row {
    flex-direction: column;
    align-items: center;
  }

  .skarpa-row {
    max-width: 100%;
  }

  .poem-block.narrow {
    max-width: 100%;
  }

  .audio-block {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    min-height: 52px;
    margin: 8px 0 20px;
  }

  audio.audio-block {
    inline-size: 100% !important;
    block-size: auto;
  }

  .box-wrapper {padding-bottom: 10px;}
}