html {
  font-size: 2vh;
}

html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  font-family: ui-sans-serif, system-ui, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
}

* {
  box-sizing: border-box;
}
div {
  position: relative;
}

/************************************/
/**** Fullscreen Image           ****/
/************************************/

.fullscreenImage {
  display: block;
  position: relative;
  margin: 0;
  padding: 0;
  width: 100vw;
  height: 100vh;
  object-position: center center;
  object-fit: contain;
}

/************************************/
/**** Template Rendering         ****/
/************************************/

.templateBox {
  margin: 0;
  padding: 0;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.templateBox .templateContentBox {
  position: relative;
  max-width: 100%;
  max-height: 100%;
}

.templateBox .templateContentBox .baseLayerImage {
  display: block;
  position: relative;
  width: 100%;
  height: 100%;
  object-position: center center;
  object-fit: cover;
}

.templateBox .templateContentBox .featureBox {
  display: flex;
  position: absolute;
  flex-direction: column;
  justify-content: center;
}

.templateBox .templateContentBox .featureBox.row {
  flex-direction: row;
}

.templateBox .templateContentBox .featureBox span {
  display: block;
  position: relative;
  font-size: 1rem;
}

.templateBox .templateContentBox .featureBox span.small {
  font-size: 0.8rem;
}

.templateBox .templateContentBox .featureBox .bigDate {
  display: flex;
  position: relative;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.templateBox .templateContentBox .featureBox .bigDate span:first-child {
  font-size: 1.8rem;
  font-weight: bold;
  color: #fff;
}

.templateBox .templateContentBox .featureBox .bigDate span:last-child {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.6);
}

.featureBox.dateRange {
  align-items: center;
  gap: 0.6rem;
}

.featureBox.dateRange .line {
  color: rgba(255, 255, 255, 0.6);
}

.featureBox.previewImage img {
  width: 100%;
  height: 100%;
  object-position: center;
  object-fit: cover;
}

.featureBox.title {
  justify-content: end !important;
  align-items: center !important;
  overflow: hidden;
}

.featureBox.title span {
  text-align: center !important;
  font-size: 2rem !important;
  overflow-wrap: break-word;
}

.featureBox.title.ha-start, .featureBox.title.ha-start span {
  align-items: start !important;
  text-align: left !important;
}
.featureBox.title.ha-center, .featureBox.title.ha-center span {
  align-items: center !important;
  text-align: center !important;
}
.featureBox.title.ha-end, .featureBox.title.ha-end span {
  align-items: end !important;
  text-align: right !important;
}
.featureBox.title.va-start {
  justify-content: start !important;
}
.featureBox.title.va-center {
  justify-content: center !important;
}
.featureBox.title.va-end {
  justify-content: end !important;
}

.featureBox.tags span {
  text-align: center;
}

.featureBox.icon {
  justify-content: center;
  align-items: center;
}

.featureBox.icon img { 
  position: relative;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
}
