@font-face {
  font-family: 'Ceefax';
  src: url('ceefax.ttf') format('truetype');
  font-display: swap;
}

body {
  font-family: 'Ceefax', sans-serif;
  background-color: black;
  color: white;
  text-align: center;
  margin: 0;
  padding: 0;
}

p {
  font-family: 'Ceefax', sans-serif;
  font-size: 1.5rem;
  line-height: 2rem;
  text-align: center;
  position: relative;
}
p2 {
  font-family: 'Ceefax', sans-serif;
  color: yellow;
  font-size: 1.5rem;
  line-height: 2rem;
  text-align: left;
 
}

h1 {
  font-family: 'Ceefax', sans-serif;
  font-size: 4rem;
}

h2 {
  font-family: 'Ceefax', sans-serif;
  font-size: 3rem;
}

h3 {
  font-family: 'Ceefax', sans-serif;
  font-size: 2rem;
  margin: 0 auto 20px auto;
}

h4 {
  font-family: 'Ceefax', sans-serif;
  font-size: 2rem;
  margin: 0 0 20px 0;
  text-align: left;
}

.breadcrumbs {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  max-width: 1280px;
  width: 90%;
  margin: 20px auto;
  padding: 10px 3px;
  border-bottom: 1px solid blue;
  border-top: 1px solid blue;
  column-gap: 10px;
  align-items: center;
}

.bl {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  max-width: 1280px;
  width: 90%;
  margin: 20px auto;
  padding: 10px 3px;
  border-top: 1px solid blue;
  column-gap: 10px;
  align-items: center;
}

.center {
  justify-content: center;
}

.breadcrumb-link {
  font-size: 1rem;
  margin-right: 15px;
}

a.breadcrumb-link {
  font-size: 1rem;
}

a.breadcrumb-link:hover {
  text-decoration: underline;
  font-size: 1rem;
}

.subheader {
  font-family: 'Ceefax', sans-serif;
  font-size: 3rem;
  text-align: center;
  line-height: 1em;
  position: relative;
  max-width: 900px;
  width: 90%;
  margin: 40px auto 35px auto;
}

.blue-line {
  width: 90%;
  max-width: 900px;
  height: 5px;
  background-color: blue;
  margin: 0 auto;
}

.blue-line2 {
  width: 90%;
  max-width: 900px;
  height: 35px;
  background-color: blue;
  margin: 0 auto;
  position: relative;
  top: -10px;
  z-index: 1;
  line-height: 35px;
  text-align: center;
  color: yellow;
  font-size: 1rem;
}



.four-words {
  width: 90%;
  max-width: 900px;
  margin: 10px auto 0;
  display: flex;
  justify-content: space-between;
  font-size: 2vw;
}

.four-words a {
  font-size: 2vw;
  margin: 0;
  text-decoration: none;
}

.links-container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  max-width: 900px;
  margin: 40px auto;
  width: 90%;
  justify-content: space-between;
  column-gap: 40px;
}

.align-mid {
  align-items: center;
}

.wide {
  max-width: 1280px;
}

.border-top {
  border-top: 1px solid blue;
  padding-top: 50px;
}

.reverse {
  flex-wrap: wrap-reverse;
}

.links-column {
  text-align: center;
  width: 45%;
}

.three-qtr {
  min-width: 60%;
}

.qtr {
  max-width: 30%;
}

.description {
  text-align: left;
  margin: 0px auto 20px auto;
}
.description2 {
  text-align: left;
  color: yellow;
  margin: 0px auto 20px auto;
}

.link-entry {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

a {
  font-family: 'Ceefax', sans-serif;
  font-size: 2rem;
  color: yellow;
  text-decoration: none;
  margin-right: 15px;
}

a:hover {
  text-decoration: underline;
}

.owner {
  margin-right: 0px;
}

.owner:hover {
  text-decoration: none;
}

a.end-link:link {
      color: white;
      font-size: 1rem;    
      text-decoration: none; 
      margin: 0px auto 20px auto;
      text-align: left;
    }
a.end-link:hover {
      text-decoration: underline;
    }
    a.who:link {
      color: white;
      font-size: 1rem;    
      text-decoration: none; 
      margin: 0px auto 20px auto;
      text-align: left;
    }
    a.who:hover {
      text-decoration: none;
    }
span {
  font-family: 'Ceefax', sans-serif;
  font-size: 2rem;
  color: white;
}

#ceefaxCanvas {
  display: block;
  background-color: black;
  margin: 40px auto 20px auto;
}

.full-width-column {
  width: 90%;
  max-width: 1280px;
  margin: 40px auto;
}

.widget-container {
  position: relative;
  height: auto !important;
}
.iframe {
  position: relative;
  height: auto !important;




.widget-container,
.widget-container .m-marketplace,
.widget-container .m-expandable-image,
.widget-containeriframe {
  display: block;
  width: 100% !important;
  height: 400px !important;
}

.m-marketplace .m-marketplace__fab {
  position: absolute;
  color: var(--m-marketplace-fab--color--text);
  background: rgb(255 255 255 / 80%);
  border-radius: 50%;
  border: 1px solid black;
  padding: 0;
  cursor: pointer;
  z-index: 20;
  transition: background .25s;
}

.m-expandable-image-expanded>button span {
  line-height: 1rem;
  font-size: 30px;
  font-weight: 100;

}

.widget-container::after {
  content: "";
  position: absolute;
  inset: 0;
  background-color: #ffffff90;
  /* white @ 56% opacity */
  z-index: 10;
  pointer-events: auto;
  transition: background-color 0.3s;
}


.widget-container.active::after {
  background-color: transparent;
}

.widget-container .m-marketplace__fab--primary,
.widget-container .m-marketplace__fab {
  position: absolute;
  bottom: 20px;
  right: 20px;
  z-index: 20;
  pointer-events: auto;
  cursor: pointer;
}



.img-scaled {
  max-width: 100%;
}

@media (max-width: 992px) {
  a {
    font-size: 1.7rem;
  }
}

@media (max-width: 768px) {
  .subheader {
    font-size: 2.5rem;
  }
  .links-container {
    justify-content: center;
    row-gap: 40px;
  }

  .text-only {
    row-gap:0px;
  }
  
  .links-column {
    min-width: 100%;
  }
  a {
    font-size: 2rem;
  }
  .three-qtr {
    min-width: 100%;
  }
  .qtr {
    min-width: 100%;
    max-width: 100%;
  }
  .iframe2{
    display: block;
    justify-content: center;
    align-items: center;
    min-width: 80%;
    max-width: 80%;
  }
  .widget-container,
  .widget-container .m-expandable-image,
  .widget-containeriframe {
    display: block;
    width: 100% !important;
    height: 300px !important;
  }
  @media (max-width: 480px) {
    .widget-container,
    .widget-container .m-marketplace,
    .widget-container .m-expandable-image,
    .widget-containeriframe {
      display: block;
      width: 100% !important;
      height: 160px !important;
    }
  }
}