@import url('fonts.css');
@import url('reset.css');

:root {
  --green: #63a375;
  --purple: #dac4f7;
  --yellow: #ffc914;
  --pink: #f4989c;
  --black: #000000;
  --white: #ffffff;
}

body {
  font-family: 'Satoshi', sans-serif;
  font-size: 24px;
  font-weight: 400;
  background-color: var(--green);
  color: var(--white);
}

main {
  display: flex;
  flex-direction: column;
  gap: 16px;
  animation: fadein 1s;
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  padding: 16px;
}

img {
  width: 400px;
  max-width: 75vw;
  height: auto;

  mask-image: url('../svg/blob.svg');
  mask-size: 140%;
  mask-position: center;

  /* border-radius: 16px;
  box-shadow: 0 0 8px #3b3a3666; */
}

h1,
h2 {
  font-family: 'Novela Poster', serif;
  line-height: 1;
}

h1 {
  font-size: 96px;
}

h2 {
  font-size: 32px;
}

@media (max-width: 720px) {
  h1 {
    font-size: 64px;
  }

  h2 {
    font-size: 28px;
  }

  body {
    font-size: 20px;
  }
}

p,
ul {
  color: var(--black);
  width: fit-content;
  padding: 32px;
}

ul {
  list-style: circle;
  background-color: var(--pink);
  padding-left: 64px;
}

p {
  background-color: var(--white);
}

a,
a:visited {
  color: inherit;
  text-decoration: none;
  font-weight: 700;
}

a:hover {
  color: var(--white);
}

p a:hover {
  color: var(--yellow);
}

@keyframes fadein {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
