/* FONTS */
@import url("https://fonts.googleapis.com/css2?family=Radio+Canada:ital,wght@0,300..700;1,300..700&display=swap");

@font-face {
  font-family: mainfont;
  src: url("Autography.otf");
}

/* CSS Variables */
:root {
  /* Color Palette */
  --orchid: #a28ca1;
  --midnight: #424e4d;
  --acorn: #c1a57f;
  --sand: #e5d5ce;
  --snow: #e1e6e9;
  --cream: #f8f4ee;
  /* Scaling Variables */
  --pagewidth: min(148vh, 90vw);
}

#content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

#teachingbox {
  width: var(--pagewidth);
  border: 0.5vh solid var(--sand);
  box-sizing: border-box;
  padding-left: 3.5vh;
  padding-right: 3.5vh;
}

#teachingboxtitle {
  width: 100%;
  height: 7.5vh;
  font-family: mainfont;
  font-size: 5vh;
  font-weight: bold;
  color: var(--orchid);
  margin-bottom: 5vh;
}

.teachingboxelem {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  font-family: "Radio Canada", sans-serif;
  color: var(--midnight);
  line-height: 4vh;
  margin-bottom: 4vh;
}

.teachingboxelem:last-child {
  margin-bottom: 3vh;
}

.teachingboxelemtitle {
  width: calc((2300% / 35));
  min-height: 4vh;
  box-sizing: border-box;
  font-weight: bold;
}

.teachingboxelemadate {
  width: calc((1200% / 35));
  min-height: 4vh;
  text-align: right;
}

.teachingboxelemplace {
  width: calc((2300% / 35));
  min-height: 4vh;
  box-sizing: border-box;
  font-style: italic;
}

.teachingboxelemlocation {
  width: calc((1200% / 35));
  min-height: 4vh;
  text-align: right;
  font-style: italic;
}

.teachingboxelemdescription {
  width: 100%;
  min-height: 4vh;
}
