:root {
  --br-md: 16px;
  --br-lg: 32px;
  
  --palette-1: #11131F;
  --palette-2: #141726;
  --palette-3: #182449;
  --palette-4: #1D2E62;
  --palette-5: #253974;
  --palette-6: #304384;
  --palette-7: #3A4F97;
  --palette-8: #435DB1;
  --palette-9: #3E63DD;
  --palette-10: #5472E4;
}

body, html { height: 100%; }

html {
  background: var(--palette-1);
  font-family: "Source Sans 3", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  color: #eee;
  
  /* &::before {
    position: fixed;
    width: 100vw; height: 100vh;
    inset: 0;
    content: '';
    background: url("https://file.garden/aaGF4-NNayasLE-N/midnight-sky.gif");
    background-size: cover;
    z-index: -2;
  }
  
  &::after {
    position: fixed;
    width: 100vw; height: 100vh;
    inset: 0;
    content: '';
    background: oklch(from var(--palette-1) l c h / 50%);
    z-index: -1;
  } */
}

::selection {
  background: black;
}

body {
  max-width: 1000px;
  min-height: 100%;
  margin: auto;
  
  .blox {
    position: absolute;
    width: 100vw; height: 100vh;
    inset: 0;
    object-fit: cover;
    z-index: -1;
    opacity: 1;
    transition: .5s opacity;
    
    @starting-style {
      opacity: 0;
    }
  }
}

/* header, .socials, footer {
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background-color: oklch(from var(--palette-3) l c h / 70%);
  border: 5px solid rgba(255, 255, 255, 0.3);
  padding: var(--br-md) var(--br-lg); 
  border-radius: 5px;
}

.noise {
  width: 400px; height: 100px;
  background: 
    linear-gradient(to right, blue, transparent), 
    url(/noise.svg);
  filter: contrast(170%) brightness(1000%);  
} */

.subtle {
  color: oklch(from #eee l c h / 70%);
}

header {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  
  > table {
    width: max-content;
    
    > tbody > tr {
      > td:first-child {
        text-align: right;
        justify-content: end;
      }
      
      > td:last-child {
        padding-left: var(--br-md);
      }
    }
  }
  
  .intro {
    font-size: 32px;
    font-weight: 100;
  }
}

.container {
  display: grid;
  grid-template-columns: 1fr 4fr; /* Two columns, one narrow, one wide */
  grid-template-rows: auto 1fr auto; /* Header and footer auto-sized, main content fills remaining space */
  grid-template-areas:
    "clock wikis lolz"
    "roblox wikis lolz"
    "socials socials socials";
  gap: 5px; 
  
  .wikis {
    grid-areas: wikis;
    display: flex;
    flex-wrap: wrap;
    gap: var(--br-md);
  }
  
  .socials {
    grid-area: socials;
    display: flex;
    gap: 5px;
    
    > a {
      display: flex;
      padding: 5px;
      border-radius: 5px;
      transition: .25s background;
      
      > img {
        width: auto;
        height: 32px;
        object-fit: contain;
        aspect-ratio: 1;
      }
      
      &:hover {
        background: oklch(from var(--palette-5) l c h / 30%);
        backdrop-filter: blur(5px);
      }
    }
  }
}

.wrapitup {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    min-height: 100vh;
    width: 100%;
    padding: 50px 15px;
    box-sizing: border-box;
    gap: 5px;
}
