:root {
  --highlight-1: #973C1F;
  --highlight-2: #C75F42;
  --foreground: #5A3D28;
  --light-1: #CDCECC;
  --background-1: #ccc2b8;
  --background-2: #cfc6b5;
  --background-3: #cab99b;
  --background-4: #c5b9ab;
  --blur: blur(120px);
}

@font-face {
  font-family: Merienda;
  src: url("./src/Merienda-VariableFont.ttf");
}
@font-face {
  font-family: Fleur;
  src: url("./src/FleurDeLeah-Regular.ttf");
}

body {
  display: grid;
  place-items: center;
  height: 100vh;
  margin: 0;
  padding: 0;

  font-family: Merienda, sans-serif;
  font-weight: 400;
  font-style: normal;
  color: var(--foreground);
}

gradient-container {
  width: 100vw;
  height: 100vh;
  display: flex;
  background: var(--background-2);
  flex-wrap: wrap;
  overflow: hidden;
  position: relative;
}

gradient-color {
  width: 50%;
  height: 50%;
  display: flex;
  border-radius: 30% 80% 75% 40% / 40% 40% 70% 50%;
  animation-name: animate;
  animation-duration: 10s;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  animation-direction: alternate;
}

@keyframes animate {
  0% {
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 60%;
    transform: scale(2) rotate(0deg) translate(10%, 10%);
  }
  100% {
    border-radius: 88% 10% 22% 58% / 73% 56% 34% 77%;
    transform: scale(2) rotate(180deg) translate(10%, -10%);
  }
}

gradient-color:nth-child(1) {
  background-color: var(--background-1);
  animation-direction: backwards;
}

gradient-color:nth-child(2) {
  background-color: var(--background-2);
}

gradient-color:nth-child(3) {
  background-color: var(--background-3);
  animation-direction: backwards;
}

gradient-color:nth-child(4) {
  background-color: var(--background-4);
}

gradient-backdrop {
  width: 100%;
  height: 100%;
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  background: transparent;
  backdrop-filter: var(--blur);
}

h1, h2 {
  font-family: Fleur, cursive;
  font-weight: 400;
  font-style: normal;
  margin: 0;
  padding: 0;
}

h3, h4 {
  font-family: Merienda, sans-serif;
  font-weight: 800;
}

h1 { font-size: 10vh; color: var(--highlight-1);}
h2 { font-size: 8vh; color: var(--highlight-2);}
h3 { font-size: 8vh; color: var(--highlight-1);}
h4 { font-size: 6vh; color: var(--highlight-2);}

b {
  font-family: Merienda, sans-serif;
  font-weight: 600;
}

a:link, a:visited, a:active {
  text-decoration: dashed;
}

a:hover {
  color: var(--light-1);
  text-decoration: none;
}

div#main {
  /* position:absolute;
  left: 0;
  top: 0;
  background: transparent; */
  text-align: center;
  vertical-align: middle;
}
