@import url('https://fonts.googleapis.com/css2?family=Catamaran:wght@200;500;700&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,100..900;1,100..900&display=swap');

* {
  box-sizing: border-box;
}

/* @link https://utopia.fyi/type/calculator?c=320,18,1.2,1240,20,1.25,5,2,&s=0.75|0.5|0.25,1.5|2|3|4|6,s-l&g=s,l,xl,12 */

:root {
  --step--2: clamp(0.7813rem, 0.7747rem + 0.0326vw, 0.8rem);
  --step--1: clamp(0.9375rem, 0.9158rem + 0.1087vw, 1rem);
  --step-0: clamp(1.125rem, 1.0815rem + 0.2174vw, 1.25rem);
  --step-1: clamp(1.35rem, 1.2761rem + 0.3696vw, 1.5625rem);
  --step-2: clamp(1.62rem, 1.5041rem + 0.5793vw, 1.9531rem);
  --step-3: clamp(1.944rem, 1.771rem + 0.8651vw, 2.4414rem);
  --step-4: clamp(2.3328rem, 2.0827rem + 1.2504vw, 3.0518rem);
  --step-5: clamp(2.7994rem, 2.4462rem + 1.7658vw, 3.8147rem);

  --burgundy: hsl(0, 98%, 35%);
  --burgundyshadow: hsl(0, 98%, 45%);
  --burgundygradient: hsl(0, 97%, 50%);
  --burgundygradient1: rgb(255, 127, 127);
  --pagebackground: #f9f9f9;
  --contentyellow: #ffffcc;
  --clr_dropshadow: #64a6fd;
}

body {
  text-align: center;
  color: var(--burgundy);
  font-size: 16px;
  margin: 0;
  padding: 0;
  background-color: var(--pagebackground);
  font-family: 'Catamaran', sans-serif;
  font-family: "Raleway", sans-serif;
}

.includedContent {
  min-height: 4.2rem;
}

.fixed-top {
  max-width: 1000px;
  margin: auto;
}

.content {
  display: flex;
  flex-direction: column;
  background: url(../images/BBC_Logo_clear.gif) top 10px left 10px/97px 91px no-repeat;
  margin: 0 auto 4rem;
  background-color: var(--contentyellow);
  border: 1px solid var(--burgundy);
  border-radius: 1rem;
  box-shadow: 0 0 10px var(--burgundyshadow);
  padding: 1rem 0;
  text-align: center;
  width: 90vw;
  max-width: 1200px;
}

.content .logo {
  animation: infinite-spinning 20s ease-in-out infinite;
}

.content h1.linear-background {
  font-size: var(--step-4);
  background: linear-gradient(90deg,
      var(--burgundy),
      var(--burgundygradient1));
  background-clip: text;
  color: transparent;
  -webkit-text-stroke-color: transparent;
  -webkit-text-stroke-width: 5px;
  -webkit-text-fill-color: var(--contentyellow);

}

@keyframes infinite-spinning {
  from {
    transform: rotateY(0deg);
  }

  to {
    transform: rotateY(360deg);
  }
}

.content .nextmeeting {
  border: 1px solid var(--burgundy);
  border-radius: 20px;
  width: 85%;
  margin: 20px auto 0;
  padding: 10px;
}

.content .nextmeeting .rounded {
  padding-top: 8px;
}

.content div form {
  width: 50%;
  margin: 0.5rem auto;
  padding-top: 4px;
  padding-bottom: 8px;
}

div form .fieldsetborder {
  border-radius: 12px;
  border: 1px solid var(--burgundy);
}

div form fieldset legend.smallfont {
  width: 40%;
  translate: 80%;
  position: relative;
  bottom: .5rem;
  background-color: var(--contentyellow);
  font-size: var(--step--2);
}

h1,
h2,
h3,
h4,
h5 {
  padding: 1rem;
  margin: 0;
}

h1 {
  font-size: var(--step-4);
}

h2 {
  font-size: var(--step-3);
}

h3 {
  font-size: var(--step-2);
}

h4 {
  font-size: var(--step-1);
}

h5 {
  font-size: var(--step-0);
}

p {
  padding: 0px;
  margin: 5px 0px 5px 0px;
  font-size: var(--step--1);
}

p.venue a {
  /* font-size: 1.5rem; */
  font-size: var(--step--1);
  margin-block: 1rem;
}

hr {
  margin: 15px auto 15px auto;
  width: 80%;
  height: 1px;
  color: var(--burgundy);
}

a {
  padding-left: 20px;
  background-repeat: no-repeat;
  background-position: 0 center;
  font-size: var(--step--1);
}

a[href^='http:'] {
  background-image: url(../images/link_icon_external.gif);
}

a[href^='https:'] {
  background-image: url(../images/link_icon_external.gif);
}

a[href^='mailto:'] {
  background-image: url(../images/link_icon_email.gif);
}

a[href$='.pdf'] {
  background-image: url(/images/link_icon_pdf.gif);
}

.footer {
  margin-top: 1rem;
  display: flex;
  justify-content: space-around;
  align-items: center;

}

.footer>p.smallest {
  font-size: var(--step--1);
}

@media (width < 1100px)
/* Tablet */
  {
  .content {
    background: url(/images/BBC_Logo_clear.gif) top 10px left 10px/80px 75px no-repeat;
    background-color: var(--contentyellow);
  }

}

@media (width < 900px)
/* Mobile */
  {
  .content {
    background: url(../images/BBC_Logo_clear.gif) top 10px left 10px/65px 61px no-repeat;
    background-color: var(--contentyellow);
  }

}

@media (width < 600px)
/* Mobile */
  {
  .content {
    background: url(../images/BBC_Logo_clear.gif) top 10px left 10px/50px 47px no-repeat;
    background-color: var(--contentyellow);
  }

}

.content a:hover {
  background-color: #06f;
  color: #ff0;
}

form fieldset p.inforequest {
  padding-bottom: 25px;
}