/* // <uniquifier>: Use a unique and descriptive class name
// <weight>: Use a value from 100 to 800

.jetbrains-mono-<uniquifier> {
  font-family: "JetBrains Mono", monospace;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
} */

:root {
    --ff-mono: 'JetBrains Mono', monospace;

    --fw-light: 200;
    --fw-normal: 400;
    --fw-bold: 600;

    --fs-400: 0.9375rem;
    --fs-500: 1.25rem;
    --fs-600: 1.625rem;
    --fs-900: 2.5rem;

    --clr-neutral-900: hsl(234, 12%, 34%);
    --clr-neutral-400: hsl(229, 6%,66%);
    --clr-neutral-200: hsl(227,25%,87%);
    --clr-neutral-100: hsl(0,0%,100%);

    --clr-blue: hsl(212,67%,65%);
    --clr-orange: hsl(37, 60%, 75%);
    --clr-green: hsl(94,32%,59%);
    --clr-green-pain: hsl(100, 90%, 70%);
    --clr-purple-900: hsl(252,14%,30%);

    --radius: 700px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

* {
    margin: 0;
    padding: 0;
}

html {
    font-family: var(--ff-mono);
    font-weight: var(--fw-normal);
    font-size: var(--fs-600);
    line-height: 1;
    color: var(--clr-neutral-100);
    background-color: var(--clr-purple-900);
}

body {
    margin: 0;
    padding-block-end: 5rem;
}

.wrapper {
    max-width: 1450px;
    margin-inline: auto;
    padding: 2rem;

}

/* .wrapper-narrow {
    max-width: 550px;
} */

/* .layout-grid > * {
    flex: 1;
} */
/* 
.col {
} */

.moon {
    position: absolute;
    /* margin: auto; */
    aspect-ratio: 1/1;
    border-radius: 50%;
    padding: 1rem;
    background: var(--clr-neutral-400);
    display: grid;
    align-content: center;
    text-align: center;
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); 
}

.forum {
    top: 20%;
    left: 25%;
    width: 8rem;
    background: var(--clr-green);
}

.wiki {
    bottom: 20%;
    right: 28%;
    width: 7rem;
    background: var(--clr-blue);
}

/* .moon-text {
} */

.planet-body {
    position: fixed;
    max-width: 700px;
    width: 41%;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    aspect-ratio: 1/1;
    background: var(--clr-neutral-200);
    border-radius: 50%;
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); 

}

.planet-ring {
    position: fixed;
    top:0;
    bottom: 0;
    left: 0;
    right: 0;
    width: 75%;
    max-width: 1265px;
    aspect-ratio: 6.325;
    margin: auto;
    background: var(--clr-neutral-200);
    border-radius: 50%;
    rotate: -20deg;
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.5); 
}

footer {
    position:fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    text-align: center;
}

a {
    all: unset;
    cursor: pointer;
}

a:focus {
    background-color: rgba(244, 244, 244, 0.2);
    text-decoration: underline;
}

a:hover {
    background-color: rgba(244, 244, 244, 0.3);
}

/*===================*/
/* BOB
/*===================*/

@-webkit-keyframes anim-bob {
  0% {
    -webkit-transform: translateY(-8px);
    transform: translateY(-8px);
  }
  50% {
    -webkit-transform: translateY(-4px);
    transform: translateY(-4px);
  }
  100% {
    -webkit-transform: translateY(-8px);
    transform: translateY(-8px);
  }
}
@keyframes anim-bob {
  0% {
    -webkit-transform: translateY(-8px);
    transform: translateY(-8px);
  }
  50% {
    -webkit-transform: translateY(-4px);
    transform: translateY(-4px);
  }
  100% {
    -webkit-transform: translateY(-8px);
    transform: translateY(-8px);
  }
}
@-webkit-keyframes anim-bob-float {
  100% {
    -webkit-transform: translateY(-8px);
    transform: translateY(-8px);
  }
}
@keyframes anim-bob-float {
  100% {
    -webkit-transform: translateY(-8px);
    transform: translateY(-8px);
  }
}
.anim-bob {
  -webkit-transform: perspective(1px) translateZ(0);
  transform: perspective(1px) translateZ(0);
  -webkit-animation-name: anim-bob-float, anim-bob;
  animation-name: anim-bob-float, anim-bob;
  -webkit-animation-duration: .6s, 3s;
  animation-duration: .6s, 3s;
  -webkit-animation-delay: 1s, .6s;
  animation-delay: 1s, .6s;
  -webkit-animation-timing-function: ease-out, ease-in-out;
  animation-timing-function: ease-out, ease-in-out;
  -webkit-animation-iteration-count: 1, infinite;
  animation-iteration-count: 1, infinite;
  -webkit-animation-fill-mode: forwards;
  animation-fill-mode: forwards;
  -webkit-animation-direction: normal, alternate;
  animation-direction: normal, alternate;
}