@font-face {
  font-family: AveriaRegular ;
  src: url(/fonts/AveriaSerif-Regular.ttf);
}

@font-face {
  font-family: AveriaBold;
  src: url(/fonts/AveriaSerif-Bold.ttf);
}

:root {
  /* Colours*/
  --jet: #2d2a28;
  --linen: #f5ebe0;
  --cerise: #e63e62;
  --mountbatton-pink: #9b6f7f;
  --blush: #c76f82;
}

* {
  cursor: url(/images/ghost.gif), auto;
  box-sizing: border-box;
}

:root{
  overscroll-behavior: none;
}

body {
  background-image: url("/images/backgrounds/oracle_background.jpg");
  @supports (background-image: url("/images/backgrounds/oracle_background.webp")) 
  {
    background-image: url("/images/backgrounds/oracle_background.webp");
  }
  background-repeat: repeat;
  background-attachment: fixed;
  margin: 0;
  overscroll-behavior: none;
  overflow-x: hidden;
}

#accessible-heading {
  position:absolute;
  left:-10000px;
  top:auto;
  width:1px;
  height:1px;
  overflow:hidden;
}

h2 {
  font-family: AveriaBold, serif;
  font-size: 2.25em;
  color: #B65C39;
  line-height: calc(1ex / 0.45);
  margin: calc(1ex / 0.45) 0 calc(1ex / 0.80);
  filter: drop-shadow(1px 1px 1px #A99B8B);  
}

p {
  font-family: AveriaRegular, serif;
  color: var(--jet);
  font-size: 1.2em;
  font-size-adjust: 0.5;
  line-height: calc(1ex / 0.32);
  margin: calc(1ex / 0.32) 0;
  text-wrap: balance;
}

a {
  font-family: AveriaBold, serif;
  font-size: 1.2em;
  color: #B65C39;
  font-size-adjust: 0.5;
  line-height: calc(1ex / 0.32);
  margin: calc(1ex / 0.32) 0;
}

header {
  position: relative;
  display: flex;
  justify-content: center;
  margin: 5vh;
  z-index: 70;
}

#header-text {
  position: absolute;
}

textPath {
  text-anchor: start;
  font-family: AveriaBold, serif;
  font-size: 4.5em;
  fill: #5F696C;
  text-shadow: 2px 2px 2px #C5C494;  
}

#cloud-01 {
  position: fixed;
  bottom: -4%;
  left: -12%;
  z-index: 50;
  pointer-events: none;
}

#cloud-02 {
  position: fixed;
  bottom: -4%;
  right: -5%;
  z-index: 50;
  pointer-events: none;
}

#cloud-03 {
  position: fixed;
  top: -10%;
  left: -10%;
  transform: rotate(180deg);
  z-index: 50;
  pointer-events: none;
}

#cloud-04 {
  position: fixed;
  top: -10%;
  right: -10%;
  transform: rotate(-20deg);
  z-index: 50;
  pointer-events: none;
}

#table-backing{
  background-image: url("/images/backgrounds/wood_background.jpg");
  @supports (background-image: url("/images/backgrounds/wood_background.webp")) 
  {
    background-image: url("/images/backgrounds/wood_background.webp");
  }
  background-repeat: repeat;
  position: relative;
  width: 100%;
  margin: -100px;
  pointer-events: none;
}

.oracle-main {
  margin:  -25vh auto auto auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#oracle-image {
  filter: drop-shadow(0px 5px 5px black);
  position: inherit;
  z-index: 60;
}

#oracle-intro {
  display: block;
  background-image: url(/images/oracle/oracle_paper.png);
  background-repeat: no-repeat;
  background-size: cover;
  filter: drop-shadow(0px 5px 5px black);
  margin:  100px auto 50px auto;
  width: 800px;
  height:520px;
  padding: 3% 3% 1% 3%;
  text-align: center;
}

#oracle-answer {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  background-image: url(/images/oracle/oracle_paper.png);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: top;
  width: 800px;
  filter: drop-shadow(0px 5px 5px black);
  margin:  100px auto 100px auto;
  padding: 3% 5% 1% 5%;
  text-align: center;
}

#answer-image{
  width: 100%;
  transform: rotate(2deg);
  filter: drop-shadow(0px 5px 5px black);
  z-index: 60;
}

.choice-links{
  display: flex;
  justify-content: space-around;
}

.choice-links a{
  pointer-events: auto;
}

footer {
  position: absolute;
  bottom: 0;
  padding-left: 3vw;
}

footer p {
  text-align: center;
  color: #A99B8B;
  font-size: 0.75em;
  filter: drop-shadow(1px #A4927D);
}