@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,200..800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Jost:ital,wght@0,100..900;1,100..900&display=swap');

/* Set-up */

*,
*::before,
*::after {
  margin-block: 0;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  border: none;
  background: transparent;
}


body {
  background: white;
  font-family: "Jost", sans-serif;
  font-size: 1em;
  line-height: 1;
  font-weight: 400;
  display: block;
  color: rgb(3, 3, 95);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cfilter id='promGrain'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='1' seed='14' stitchTiles='stitch' result='noise'/%3E%3CfeColorMatrix in='noise' type='saturate' values='0' result='mono'/%3E%3CfeComponentTransfer in='mono'%3E%3CfeFuncR type='gamma' amplitude='1.2' exponent='1.15'/%3E%3CfeFuncG type='gamma' amplitude='1.2' exponent='1.15'/%3E%3CfeFuncB type='gamma' amplitude='1.2' exponent='1.15'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23promGrain)' opacity='0.4'/%3E%3C/svg%3E") repeat;
  background-size: 200px 200px;
  z-index: 9999;
}

main {
  max-width: 1050px;
  margin: auto;
  padding: 0 1rem;
}


/* Text */

h1 {
  font-weight: 800;
  line-height: 1.1;
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 2.7rem;

}

h2 {
  font-weight: 700;
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 1.7rem;
  line-height: 1;
}

.centered {
  text-align: center;
}

h3 {
  font-weight: 600;
  font-size: 1.3rem;
}

h4 {
  font-weight: 500;
  font-size: 1rem;
}

h5 {
  font-weight: 500;
  font-size: 1rem;
}

h6 {
  font-weight: 500;
  font-size: 1rem;
}

p {
  font-size: 1rem;
  line-height: 1.3;
}


/* Links */

a {
  text-decoration-thickness: 1.5px;
  text-underline-offset: 0.2em;
  color: rgba(255, 255, 255, 1);
  display: inline-block;
  padding: 0.2rem;
  margin: -0.2rem;
  line-height: 1.45;
}

a:hover {
  text-decoration: none;
}

/* Header */

.page-header {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  justify-content: center;
  align-items: center;
  max-width: 750px;
  margin: 0 auto;
  margin-top: 2rem;
  margin-bottom: 4rem;
}

.header-crest {
  position: relative;
  height: 10rem;
  width: 10rem;
  border-radius: 50%;
}

.header-crest-1 {
  background: rgba(4, 0, 255, 0.5);
  height: 10rem;
  width: 10rem;
  border-radius: 50%;
  position: absolute;
  top: 0;
  left: 3px;
  z-index: 3;
}

.header-crest-2 {
  background: rgba(0, 253, 240, 0.7);
  height: 10rem;
  width: 10rem;
  border-radius: 50%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
}

.header-crest-3 {
  background: rgba(149, 0, 255, 0.8);
  height: 10rem;
  width: 10rem;
  border-radius: 50%;
  position: absolute;
  top: 0;
  left: 3px;
  z-index: 2;
}

.header-logo {
  background-image: url('images/crest.png');
  background-repeat: no-repeat;
  background-size: 6rem;
  background-position: center;
  position: absolute;
  top: 0;
  left: 5px;
  flex-shrink: 0;
  z-index: 99999;
  height: 10rem;
  width: 10rem;
  border-radius: 50%;
}

.page-header-title {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  justify-content: center;
  align-items: center;
  text-align: center;
}


.page-header-title h2 {
  font-size: 1.2rem;
  line-height: 1.3;
  margin-bottom: 1rem;
}

.header-intro {
  font-size: 1.2rem;
}

.header-organisation {
  margin-top: 0.5rem;
}

a.header-organisation {
  color: rgb(3, 3, 95);
  text-transform: uppercase;
}

a.header-link {
  color: rgb(3, 3, 95)!important;
}

/* Dividers */

.illustration {
  height: 7rem;
  margin-top: 2rem;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.illustration img {
  object-fit: contain;
  height: 100%;
}

img.rotated {
  transform: rotate(90deg);
  height: 85%;
}

/* Events */

.events-wrapper {
  margin-bottom: 4rem;
  margin-top: 2rem;
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  align-items: stretch;
}

.event-listing-wrapper {
  position: relative;

}

.event-listing-wrapper:nth-child(odd) {
  transform: rotate(-0.5deg);
}

.event-listing-wrapper:nth-child(even) {
  transform: rotate(0.5deg);
}

.event-listing {
  height: 100%;
  position: relative;
  background: rgba(0, 87, 87, 0.5);
  transition: transform 180ms ease;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
  clip-path: polygon(0 1%, 8% 0.5%, 20% 0.8%, 35% 1%, 50% 0.5%, 65% 1%, 80% 0.7%, 92% 0.9%, 100% 1%,
      100% 22%, 100% 38%, 100% 52%, 100% 68%, 100% 82%, 100% 98%,
      88% 100%, 70% 99%, 50% 100%, 30% 99%, 12% 100%, 0 99%,
      0 82%, 0 68%, 0 52%, 0 38%, 0 22%, 0 8%);
}

.event-listing-bg {
  position: absolute;
  top: 5px;
  left: 5px;
  width: 100%;
  height: 100%;
  background: rgba(0, 234, 255, 0.7);
  transition: transform 180ms ease;
  transform: rotate(1deg);

}

.event-listing-bg-2 {
  position: absolute;
  top: -5px;
  left: -5px;
  width: 100%;
  height: 100%;
  background: rgba(0, 255, 68, 0.9);
  transition: transform 180ms ease;
  transform: rotate(-1deg);
  clip-path: polygon(0 1%, 8% 0.5%, 20% 0.8%, 35% 1%, 50% 0.5%, 65% 1%, 80% 0.7%, 92% 0.9%, 100% 1%,
      100% 22%, 100% 38%, 100% 52%, 100% 68%, 100% 82%, 100% 98%,
      88% 100%, 70% 99%, 50% 100%, 30% 99%, 12% 100%, 0 99%,
      0 82%, 0 68%, 0 52%, 0 38%, 0 22%, 0 8%);
}

.event-listing-wrapper.weekly .event-listing {
  background: rgba(234, 0, 255, 0.4);
}

.event-listing-wrapper.weekly .event-listing-bg {
  background: rgba(255, 230, 0, 0.7);
}

.event-listing-wrapper.weekly .event-listing-bg-2 {
  background: rgba(255, 102, 0, 0.8);
}

.event-listing-wrapper.fortnightly .event-listing {
  background: rgba(255, 0, 212, 0.5);
}

.event-listing-wrapper.fortnightly .event-listing-bg {
  background: rgba(255, 0, 0, 0.7);
}

.event-listing-wrapper.fortnightly .event-listing-bg-2 {
  background: rgba(255, 225, 0, 0.6);
}

.event-listing-wrapper.monthly .event-listing {
  background: rgba(255, 187, 0, 0.5);
}

.event-listing-wrapper.monthly .event-listing-bg {
  background: rgba(255, 255, 0, 0.7);
}

.event-listing-wrapper.monthly .event-listing-bg-2 {
  background: rgba(255, 0, 98, 0.9);
}

.event-listing-wrapper.bi-monthly .event-listing {
  background: rgba(4, 0, 255, 0.5);
}

.event-listing-wrapper.bi-monthly .event-listing-bg {
  background: rgba(0, 253, 240, 0.7);
}

.event-listing-wrapper.bi-monthly .event-listing-bg-2 {
  background: rgba(149, 0, 255, 0.8);
}

.event-listing-wrapper:hover {
  transform: rotate(0deg);
}

.event-listing-wrapper:hover .event-listing {
  transform: rotate(0deg);
}

.event-listing-wrapper:hover .event-listing-bg {
  transform: rotate(-2deg);
}

.event-listing-wrapper:hover .event-listing-bg-2 {
  transform: rotate(2deg);
}

.event-listing-content {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.5rem;
  height: 100%;
  color: white;
}

.event-listing-content img {
  object-fit: cover;
  aspect-ratio: 16 / 7;
}

.event-listing-header {
  position: relative;
}

.event-listing-title {
  padding-right: 4.2rem;
}

.event-listing-date {
  position: absolute;
  top: 0;
  right: 0;
  background: white;
  opacity: 0.9;
  height: 3.2rem;
  width: 3.2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow:
    inset 0px 2px 3px hsl(46, 17%, 72%),
    inset 2px 2px 3px hsl(46, 17%, 72%);
  transition: transform 180ms ease;
}

.event-listing-wrapper:hover .event-listing-date {

  transform: rotate(5deg);
}

.event-listing-date span.date-day {
  font-weight: 700;
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 1.8rem;
  line-height: 1;
  color: rgb(3, 3, 95);
}

.event-listing-date span.date-month {
  text-transform: uppercase;
  font-size: 0.9rem;
  line-height: 1;
  color: rgb(3, 3, 95);
}

.event-listing-subtitle {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding-right: 4.2rem;
}

.event-listing-subtitle .venue-name {
  font-weight: 500;
  font-size: 1.1rem;
}

.event-listing-subtitle .event-time {
  font-size: 0.9rem;
  font-weight: 300;
}


.event-listing-details {
  border-top: 1.5px dotted rgb(0, 0, 45);
  padding-top: 0.5rem;
}

.event-listing-repeater {
  background: hsl(45, 44%, 96%);
  opacity: 0.9;
  padding: 0.3rem 0.6rem;
  font-size: 0.9rem;
  width: fit-content;
  display: flex;
  align-items: center;
  gap: 0.4rem;

  box-shadow:
    inset 0px 1px 3px hsl(46, 17%, 72%),
    inset 1px 1px 3px hsl(46, 17%, 72%);
  color: rgb(3, 3, 95);
}

.event-listing-repeater.fortnightly {
  background: rgb(255, 237, 72);
  box-shadow:
    inset 0px 1px 3px hsl(314, 100%, 50%),
    inset 1px 1px 3px hsl(314, 100%, 50%);
}

.event-listing-repeater.occasionally {
  background: rgb(164, 255, 250);
  box-shadow:
    inset 0px 1px 3px rgba(0, 131, 253, 0.7),
    inset 1px 1px 3px rgba(0, 131, 253, 0.7);
}

.repeater-icon {
  flex-shrink: 0;
  width: 1.2rem;
  height: 1.2rem;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath fill-rule='evenodd' d='M4.755 10.059a7.5 7.5 0 0 1 12.548-3.364l1.903 1.903h-3.183a.75.75 0 1 0 0 1.5h4.992a.75.75 0 0 0 .75-.75V4.356a.75.75 0 0 0-1.5 0v3.18l-1.9-1.9A9 9 0 0 0 3.306 9.67a.75.75 0 1 0 1.45.388Zm15.408 3.352a.75.75 0 0 0-.919.53 7.5 7.5 0 0 1-12.548 3.364l-1.902-1.903h3.183a.75.75 0 0 0 0-1.5H2.984a.75.75 0 0 0-.75.75v4.992a.75.75 0 0 0 1.5 0v-3.18l1.9 1.9a9 9 0 0 0 15.059-4.035.75.75 0 0 0-.53-.918Z' clip-rule='evenodd'/%3E%3C/svg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath fill-rule='evenodd' d='M4.755 10.059a7.5 7.5 0 0 1 12.548-3.364l1.903 1.903h-3.183a.75.75 0 1 0 0 1.5h4.992a.75.75 0 0 0 .75-.75V4.356a.75.75 0 0 0-1.5 0v3.18l-1.9-1.9A9 9 0 0 0 3.306 9.67a.75.75 0 1 0 1.45.388Zm15.408 3.352a.75.75 0 0 0-.919.53 7.5 7.5 0 0 1-12.548 3.364l-1.902-1.903h3.183a.75.75 0 0 0 0-1.5H2.984a.75.75 0 0 0-.75.75v4.992a.75.75 0 0 0 1.5 0v-3.18l1.9 1.9a9 9 0 0 0 15.059-4.035.75.75 0 0 0-.53-.918Z' clip-rule='evenodd'/%3E%3C/svg%3E") no-repeat center / contain;
  transition: transform 0.2s ease;
}

.event-listing-wrapper:hover .repeater-icon {
  transform: rotate(180deg);
}

.masterclass-icon {
  flex-shrink: 0;
  width: 1.2rem;
  height: 1.2rem;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath fill-rule='evenodd' d='M12 6.75a5.25 5.25 0 0 1 6.775-5.025.75.75 0 0 1 .313 1.248l-3.32 3.319c.063.475.276.934.641 1.299.365.365.824.578 1.3.64l3.318-3.319a.75.75 0 0 1 1.248.313 5.25 5.25 0 0 1-5.472 6.756c-1.018-.086-1.87.1-2.309.634L7.344 21.3A3.298 3.298 0 1 1 2.7 16.657l8.684-7.151c.533-.44.72-1.291.634-2.309A5.342 5.342 0 0 1 12 6.75ZM4.117 19.125a.75.75 0 0 1 .75-.75h.008a.75.75 0 0 1 .75.75v.008a.75.75 0 0 1-.75.75h-.008a.75.75 0 0 1-.75-.75v-.008Z' clip-rule='evenodd'/%3E%3C/svg%3E") no-repeat center / contain;

  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath fill-rule='evenodd' d='M12 6.75a5.25 5.25 0 0 1 6.775-5.025.75.75 0 0 1 .313 1.248l-3.32 3.319c.063.475.276.934.641 1.299.365.365.824.578 1.3.64l3.318-3.319a.75.75 0 0 1 1.248.313 5.25 5.25 0 0 1-5.472 6.756c-1.018-.086-1.87.1-2.309.634L7.344 21.3A3.298 3.298 0 1 1 2.7 16.657l8.684-7.151c.533-.44.72-1.291.634-2.309A5.342 5.342 0 0 1 12 6.75ZM4.117 19.125a.75.75 0 0 1 .75-.75h.008a.75.75 0 0 1 .75.75v.008a.75.75 0 0 1-.75.75h-.008a.75 0 0 1-.75-.75v-.008Z' clip-rule='evenodd'/%3E%3C/svg%3E") no-repeat center / contain;
  transition: transform 0.2s ease;
}

.event-listing-wrapper:hover .masterclass-icon {
  transform: rotate(-90deg);
}

.event-listing-repeater p {
  margin: 0;
  line-height: 1;
  font-size: 0.9rem;
}

.event-listing-links {
  display: flex;
  justify-content: space-between;
  margin-top: auto;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 0;
  color:white;
  background:#4322d7;
clip-path: polygon(
  0 3.2%,
  4% 2.4%,
  8% 3%,
  12% 2.6%,
  18% 3.4%,
  24% 2.5%,
  30% 3.2%,
  36% 2.7%,
  42% 3.5%,
  48% 2.6%,
  54% 3.3%,
  60% 2.7%,
  66% 3.4%,
  72% 2.6%,
  78% 3.2%,
  84% 2.8%,
  90% 3.3%,
  96% 2.7%,
  100% 3%,
  100% 100%,
  0 100%
);
display:flex;
gap:1rem;
flex-direction:column;

}

.footer-inner{
    max-width: 1050px;
  margin: auto;
  display:flex;
  padding: 0 1rem;
  flex-wrap:wrap;
gap:2rem;
align-items:center;
justify-content:center;

}

.footer-inner p{
line-height:1.5;
font-size:1.1rem;
}

.footer-inner img{
max-height:7rem;
}

.footer img {
  object-fit: contain;
  max-width: 15rem;
}

.footer-logos{
    max-width: 1050px;
    min-height:8rem;
  margin: auto;
  display:flex;
  padding: 0 1rem;
  gap:2rem;
  flex-wrap:wrap;
  width:100%;
  align-items:center;
justify-content:center;
}

.footer-logos img {
  object-fit: contain;
  max-width: 10rem;
}

.footer-image-rounded{
  border-radius:0.3rem;
  overflow:hidden;
}

.footer-image-rounded img{
  height:100%;
  display:block;
}