@import url('https://fonts.googleapis.com/css2?family=Joan&family=Source+Code+Pro:wght@200;400&display=swap');

:root {
  --color-primary: #c6abb0; /* desaturated lilac */
  --color-secondary: #bd989a; /* brightest pink */
  --color-text: #1c1b2d; /* dark, murky purple */
  --color-text-alt: darkgrey;
  --color-bg: #4a533d; /*#9eb77a; /* palest green */ 
  --color-highlight: #9eb77a; /* green */
  --color-textlink: #FFEB3B; /* neon yellow */ 
  --color-mac-outline: #ffdaac;
}

*, *:before, *:after {
  box-sizing: inherit;
}

html {
  box-sizing: border-box;
  font-size: 16px;
}

body {
  background: var(--color-bg);
  color: #1c1b2d;
  line-height: 1.2;
  margin: 0;
  padding: 0 1.5em;
}

h1 {
  margin: 0;
}

header {
  margin: 1.5em; /*<-- this pushes my background texture...need a way to fix that other than making a fake div the first element*/
  
  h1 {
    font-size: xxx-large;
    text-align: center;
  }
}

main {
  padding: 0 2.5em 0 2.5em;
}

.background_texture {
  background-image: -webkit-repeating-radial-gradient(
      center center,
      var(--color-primary),
      var(--color-primary) 1px,
      var(--color-secondary) 1px,
      var(--color-secondary) 100%
   );
   background-size: 8px 8px;
}

/* macOS-specific windows */
.mac-window {
  border: 1px solid var(--color-mac-outline);
  border-radius: 8px;
  font-family: 'Roboto Mono', monospace;
  height: auto;
  margin-top: 16px;
  max-width: 600px;
  padding-top: 12px;
  width: 100%;
}

.mac-window_bar {
  border-bottom: 1px solid var(--color-mac-outline);
  display: flex;
  flex-wrap: nowrap;
  height: 24px;
  padding-left: 12px;
  position: relative;
  top: 0px;
  width: 100%;
}

.mac-window_bar_button {
  border: 1px solid var(--color-mac-outline);
  border-radius: 30px;
  height: 12px;
  margin-right: 8px;
  width: 12px;
}

/*.tags {*/
/*}*/

.tag {
  background: #ffdaac4f;
  border: solid var(--color-textlink) 1px;
  border-radius: 10px;
  padding: 4px 20px;
  margin-right: 1em;
}


/* she clanky but it's fine */
@media (min-width: 950px) { 
  body {
    margin: 0 15em 0 15em;
  }
}


@media (min-width: 1250px) {
  body {
    margin: 0 20em 0 20em;
  }
}
