
:root {
  --font-light: 'Fredoka', sans-serif;
  --font-regular: 'Fredoka', sans-serif;
  --font-medium: 'Fredoka', sans-serif;

  --fontsize: clamp(18px, 5vw, 36px);
  --colour1: white;
  --colour2: #ff0080;
  /* pink  #ff0080 */
  /* blue  #0000ff */
  /* green #00ff80 */
  /* red   #ff4040 */
  /* yellow #ffff00 */
  /* white */
  /* black */

--bordersize: 5px;

}

@font-face {
  font-family: 'Fredoka';
  src: url('/media/fonts/Fredoka/Fredoka-Light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: 'Fredoka';
  src: url('/media/fonts/Fredoka/Fredoka-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Fredoka';
  src: url('/media/fonts/Fredoka/Fredoka-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
}



body {
  font-family: var(--font-regular);
  font-weight: 400;
  background: var(--colour1);
  color: var(--colour2);
  margin: 0;
  padding: 0;
}

h1 {
  font-family: var(--font-heavy);
  font-weight: 500;
}

p.light {
  font-family: var(--font-light);
  font-weight: 300;
}

main {
  padding: 7vw;
}

a:link {color: var(--colour2);}    
a:visited {color:var(--colour2);} 
a:hover {color: var(--colour2);}  
a:active {color: var(--colour2);} 
a {text-decoration: none;}



 p {
    font-size: clamp(20px, 2vw, 3vh);
    line-height: clamp(40px, 6vw, 6vh);
  }
  iframe {
  width: 100%;
  height: clamp(400px, 75vw, 75vh);
  border-radius: 10px;
  }
  img {
    border-radius: 10px;
  }










/* dropdown / title WITH ARROW - specific to title dropdowns only */
select.dropdown-title {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  
  background-color: rgba(0, 0, 0, 0);
  background-image: url("data:image/svg+xml;utf8,<svg fill='%23ff0080' height='6' viewBox='0 0 24 24' width='6' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
  background-repeat: no-repeat;
  background-position: 100% 100%;
  background-size: 1em;
  padding-right: 1.0em;
  
  position: absolute;
  padding-top: 5vh;
  left: 50%;
  transform: translateX(-50%);
  
  font-family: var(--font-regular);
  font-weight: 400;
  font-size: clamp(25px, 10vw, 10vh);
  line-height: 1.2;
  color: var(--colour2);
  
  border: none;
  text-align: center;
  text-align-last: center;
  
  box-sizing: border-box;
  cursor: pointer;
}

select.dropdown-title:focus {
  outline: none;
  box-shadow: 0 0 0 0px rgba(0, 0, 0, 0);
  appearance: none; /* removes default styles in some browsers */
}



/* Override dropdown title positioning to fix at top of screen */
select.dropdown-title {
  position: fixed !important;
  top: 10px;        /* distance from top of screen */
  left: 52%;
  transform: translateX(-50%);
  z-index: 1000;    /* keep above canvas */
}




a-home {
  position: absolute;
  top: 0;
  left: 0;
  font-family: var(--font-regular);
  font-size: 1.5rem;
  text-decoration: none;
  color: var(--colour2);
  padding: 0.5em 0.75em;
  display: inline-block;
  cursor: pointer;

  /* Keep arrow above dropdown */
  z-index: 1001;
}

