/*
  Josh's Custom CSS Reset
  https://www.joshwcomeau.com/css/custom-css-reset/
*/
/*
  1. Use a more-intuitive box-sizing model.
*/
*,
*::before,
*::after {
  box-sizing: border-box;
}
/*
  2. Remove default margin
*/
* {
  margin: 0;
}
/*
  3. Allow percentage-based heights in the application
*/
html,
body {
  min-height: 100%;
}
/*
  Typographic tweaks!
  4. Add accessible line-height
  5. Improve text rendering
*/
body {
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial,
    sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
}
/*
  6. Improve media defaults
*/
img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
  fill: currentColor;
  height: auto;
}
/*
  7. Remove built-in form typography styles
*/
input,
button,
textarea,
select {
  font: inherit;
}
/*
  8. Avoid text overflows
*/
p,
h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: break-word;
}

body {
  font-family: 'inter', sans-serif;
}

button {
  background-color: transparent;
  border-width: 0;
  font-family: inherit;
  font-size: inherit;
  font-style: inherit;
  font-weight: inherit;
  line-height: inherit;
  padding: 0;
}

.radar {
  display: flex;
  flex-direction: column;
  gap: 35px;
}

.quadrantRow {
  display: flex;
  gap: 35px;
}

.quadrant {
  position: relative;
}

.quadrant .blip {
  position: absolute;
}

.quadrant .label {
  position: absolute;
  margin: 10px;
  display: flex;
  text-transform: capitalize;
}

.quadrant .label.techniques {
  top: 0;
  left: 0;
  flex-direction: column;
  align-items: flex-start;
}

.quadrant .label.tools {
  top: 0;
  right: 0;
  flex-direction: column;
  align-items: flex-end;
}

.quadrant .label.platforms {
  bottom: 0;
  left: 0;
  flex-direction: column-reverse;
  align-items: flex-start;
}

.quadrant .label.frameworks {
  bottom: 0;
  right: 0;
  flex-direction: column-reverse;
  align-items: flex-end;
}

.fancy-button {
  display: inline-block;
  outline: 0;
  cursor: pointer;
  padding: 4px 16px;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  vertical-align: middle;
  border: 1px solid;
  border-radius: 6px;
  color: #24292e;
  background-color: #fafbfc;
  border-color: #1b1f2326;
  box-shadow: rgba(27, 31, 35, 0.04) 0px 1px 0px 0px,
    rgba(255, 255, 255, 0.25) 0px 1px 0px 0px inset;
  transition: 0.2s cubic-bezier(0.3, 0, 0.5, 1);
  transition-property: color, background-color, border-color;
}

.fancy-button:disabled {
  cursor: auto;
  color: gainsboro;
}

.fancy-button:not(:disabled):hover {
  background-color: #f3f4f6;
  border-color: #1b1f2326;
  transition-duration: 0.1s;
}

.quadrant .backdrop {
  height: 450px;
  width: 450px;
}

.quadrant .backdrop.techniques {
  rotate: y -180deg;
}

.quadrant .backdrop.tools {
  rotate: 0;
}

.quadrant .backdrop.platforms {
  rotate: 180deg;
}

.quadrant .backdrop.frameworks {
  rotate: x 180deg;
}

.blip {
  cursor: pointer;
}

.blip .label {
  position: absolute;
  text-align: center;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
  height: fit-content;
  font-size: 16px;
  color: white;
  font-weight: bold;
}

.label button {
  margin-top: 4px;
}

.blip.unchanged::after {
  content: '';
  position: absolute;
  top: -8px;
  left: -8px;
  height: 100%;
  width: 100%;
  border: 4px solid #47a1ad;
  border-radius: 50%;
  padding: 4px;
  box-sizing: content-box;
}
