/*! tailwindcss v4.1.7 | MIT License | https://tailwindcss.com */
@layer properties;
@layer theme, base, components, utilities;
@layer theme {
  :root, :host {
    --font-sans: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji",
      "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
      "Courier New", monospace;
    --color-white: #fff;
    --spacing: 0.25rem;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    --radius-md: 0.375rem;
    --default-transition-duration: 150ms;
    --default-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    --default-font-family: var(--font-sans);
    --default-mono-font-family: var(--font-mono);
  }
}
@layer base {
  *, ::after, ::before, ::backdrop, ::file-selector-button {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border: 0 solid;
  }
  html, :host {
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
    tab-size: 4;
    font-family: var(--default-font-family, ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");
    font-feature-settings: var(--default-font-feature-settings, normal);
    font-variation-settings: var(--default-font-variation-settings, normal);
    -webkit-tap-highlight-color: transparent;
  }
  hr {
    height: 0;
    color: inherit;
    border-top-width: 1px;
  }
  abbr:where([title]) {
    -webkit-text-decoration: underline dotted;
    text-decoration: underline dotted;
  }
  h1, h2, h3, h4, h5, h6 {
    font-size: inherit;
    font-weight: inherit;
  }
  a {
    color: inherit;
    -webkit-text-decoration: inherit;
    text-decoration: inherit;
  }
  b, strong {
    font-weight: bolder;
  }
  code, kbd, samp, pre {
    font-family: var(--default-mono-font-family, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);
    font-feature-settings: var(--default-mono-font-feature-settings, normal);
    font-variation-settings: var(--default-mono-font-variation-settings, normal);
    font-size: 1em;
  }
  small {
    font-size: 80%;
  }
  sub, sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
  }
  sub {
    bottom: -0.25em;
  }
  sup {
    top: -0.5em;
  }
  table {
    text-indent: 0;
    border-color: inherit;
    border-collapse: collapse;
  }
  :-moz-focusring {
    outline: auto;
  }
  progress {
    vertical-align: baseline;
  }
  summary {
    display: list-item;
  }
  ol, ul, menu {
    list-style: none;
  }
  img, svg, video, canvas, audio, iframe, embed, object {
    display: block;
    vertical-align: middle;
  }
  img, video {
    max-width: 100%;
    height: auto;
  }
  button, input, select, optgroup, textarea, ::file-selector-button {
    font: inherit;
    font-feature-settings: inherit;
    font-variation-settings: inherit;
    letter-spacing: inherit;
    color: inherit;
    border-radius: 0;
    background-color: transparent;
    opacity: 1;
  }
  :where(select:is([multiple], [size])) optgroup {
    font-weight: bolder;
  }
  :where(select:is([multiple], [size])) optgroup option {
    padding-inline-start: 20px;
  }
  ::file-selector-button {
    margin-inline-end: 4px;
  }
  ::placeholder {
    opacity: 1;
  }
  @supports (not (-webkit-appearance: -apple-pay-button))  or (contain-intrinsic-size: 1px) {
    ::placeholder {
      color: currentcolor;
      @supports (color: color-mix(in lab, red, red)) {
        color: color-mix(in oklab, currentcolor 50%, transparent);
      }
    }
  }
  textarea {
    resize: vertical;
  }
  ::-webkit-search-decoration {
    -webkit-appearance: none;
  }
  ::-webkit-date-and-time-value {
    min-height: 1lh;
    text-align: inherit;
  }
  ::-webkit-datetime-edit {
    display: inline-flex;
  }
  ::-webkit-datetime-edit-fields-wrapper {
    padding: 0;
  }
  ::-webkit-datetime-edit, ::-webkit-datetime-edit-year-field, ::-webkit-datetime-edit-month-field, ::-webkit-datetime-edit-day-field, ::-webkit-datetime-edit-hour-field, ::-webkit-datetime-edit-minute-field, ::-webkit-datetime-edit-second-field, ::-webkit-datetime-edit-millisecond-field, ::-webkit-datetime-edit-meridiem-field {
    padding-block: 0;
  }
  :-moz-ui-invalid {
    box-shadow: none;
  }
  button, input:where([type="button"], [type="reset"], [type="submit"]), ::file-selector-button {
    appearance: button;
  }
  ::-webkit-inner-spin-button, ::-webkit-outer-spin-button {
    height: auto;
  }
  [hidden]:where(:not([hidden="until-found"])) {
    display: none !important;
  }
}
@layer utilities {
  .col-start-1 {
    grid-column-start: 1;
  }
  .col-start-3 {
    grid-column-start: 3;
  }
  .col-end-3 {
    grid-column-end: 3;
  }
  .col-end-5 {
    grid-column-end: 5;
  }
  .container {
    width: 100%;
    @media (width >= 40rem) {
      max-width: 40rem;
    }
    @media (width >= 48rem) {
      max-width: 48rem;
    }
    @media (width >= 64rem) {
      max-width: 64rem;
    }
    @media (width >= 80rem) {
      max-width: 80rem;
    }
    @media (width >= 96rem) {
      max-width: 96rem;
    }
  }
  .mx-auto {
    margin-inline: auto;
  }
  .contents {
    display: contents;
  }
  .flex {
    display: flex;
  }
  .h-full {
    height: 100%;
  }
  .w-\[3\.5rem\] {
    width: 3.5rem;
  }
  .w-full {
    width: 100%;
  }
  .flex-\[1_0_auto\] {
    flex: 1 0 auto;
  }
  .shrink-0 {
    flex-shrink: 0;
  }
  .items-center {
    align-items: center;
  }
  .items-end {
    align-items: flex-end;
  }
  .justify-around {
    justify-content: space-around;
  }
  .justify-between {
    justify-content: space-between;
  }
  .gap-\[1rem\] {
    gap: 1rem;
  }
  .rounded {
    border-radius: 0.25rem;
  }
  .bg-\(--del-reset-bg\) {
    background-color: var(--del-reset-bg);
  }
  .bg-\(--toggle-equal-btn-bg\) {
    background-color: var(--toggle-equal-btn-bg);
  }
  .p-\[2rem\] {
    padding: 2rem;
  }
  .text-\[0\.5rem\] {
    font-size: 0.5rem;
  }
  .text-\[1\.5rem\] {
    font-size: 1.5rem;
  }
  .text-\[1rem\] {
    font-size: 1rem;
  }
  .font-bold {
    --tw-font-weight: var(--font-weight-bold);
    font-weight: var(--font-weight-bold);
  }
  .text-white {
    color: var(--color-white);
  }
  .opacity-10 {
    opacity: 10%;
  }
  .opacity-100 {
    opacity: 100%;
  }
  .sm\:w-1\/2 {
    @media (width >= 40rem) {
      width: calc(1/2 * 100%);
    }
  }
  .lg\:w-1\/3 {
    @media (width >= 64rem) {
      width: calc(1/3 * 100%);
    }
  }
  .xl\:w-1\/4 {
    @media (width >= 80rem) {
      width: calc(1/4 * 100%);
    }
  }
}
:root {
  --calc-bg: hsl(222, 26%, 31%);
  --toggle-keypad-bg: hsl(223, 31%, 20%);
  --screen-bg: hsl(224, 36%, 15%);
  --del-reset-bg: hsl(225, 21%, 49%);
  --del-reset-bg-shadow: hsl(224, 28%, 35%);
  --del-reset-color: hsl(0, 0%, 100%);
  --toggle-equal-btn-bg: hsl(6, 63%, 50%);
  --toggle-equal-btn-shadow: hsl(6, 70%, 34%);
  --key-bg: hsl(30, 25%, 89%);
  --key-bg-shadow: hsl(28, 16%, 65%);
  --key-color: hsl(221, 14%, 31%);
  --text-color: hsl(0, 0%, 100%);
}
[data-theme="light"] {
  --calc-bg: hsl(0, 0%, 90%);
  --toggle-keypad-bg: hsl(0, 5%, 81%);
  --screen-bg: hsl(0, 0%, 93%);
  --del-reset-bg: hsl(185, 42%, 37%);
  --del-reset-bg-shadow: hsl(185, 58%, 25%);
  --del-reset-color: hsl(0, 0%, 100%);
  --toggle-equal-btn-bg: hsl(25, 98%, 40%);
  --toggle-equal-btn-shadow: hsl(25, 99%, 27%);
  --key-bg: hsl(45, 7%, 89%);
  --key-bg-shadow: hsl(35, 11%, 61%);
  --key-color: hsl(60, 10%, 19%);
  --text-color: hsl(60, 10%, 19%);
}
[data-theme="neon"] {
  --calc-bg: hsl(268, 75%, 9%);
  --toggle-keypad-bg: hsl(268, 71%, 12%);
  --screen-bg: hsl(268, 71%, 12%);
  --del-reset-bg: hsl(281, 89%, 26%);
  --del-reset-bg-shadow: hsl(285, 91%, 52%);
  --del-reset-color: hsl(0, 0%, 100%);
  --toggle-equal-btn-bg: hsl(176, 100%, 44%);
  --toggle-equal-btn-shadow: hsl(177, 92%, 70%);
  --key-bg: hsl(268, 47%, 21%);
  --key-bg-shadow: hsl(290, 70%, 36%);
  --key-color: hsl(52, 100%, 62%);
  --text-color: hsl(52, 100%, 62%);
}
@layer base {
  body {
    display: flex;
    height: 100%;
    flex-direction: column;
    color: var(--text-color);
    font-family: "League Spartan", sans-serif;
    transition: background-color 0.3s ease, color 0.3s ease;
  }
  main {
    background-color: var(--calc-bg);
  }
  button {
    margin-inline: calc(var(--spacing) * 1);
    margin-block: calc(var(--spacing) * 1);
    width: 0.7rem;
    height: 0.7rem;
    border-radius: calc(infinity * 1px);
    background-color: var(--toggle-equal-btn-bg);
  }
}
@layer components {
  .container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
  .toggle-btn {
    border-radius: calc(infinity * 1px);
    background-color: var(--toggle-keypad-bg);
  }
  .screen {
    border-radius: var(--radius-md);
    padding-inline: 0.7rem;
    padding-block: 0.8rem;
    text-align: right;
    font-size: 2rem;
    --tw-font-weight: var(--font-weight-bold);
    font-weight: var(--font-weight-bold);
    background-color: var(--screen-bg);
  }
  .number-operator-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: calc(var(--spacing) * 3);
    border-radius: var(--radius-md);
    padding: calc(var(--spacing) * 4);
    font-size: 2rem;
    --tw-font-weight: var(--font-weight-semibold);
    font-weight: var(--font-weight-semibold);
    background-color: var(--toggle-keypad-bg);
  }
  .number-operator-grid * {
    border-radius: var(--radius-md);
    text-align: center;
    background-color: var(--key-bg);
    box-shadow: 0 0.2rem var(--key-bg-shadow);
    color: var(--key-color);
  }
  .del-btn, .reset-btn {
    box-shadow: 0 0.2rem var(--del-reset-bg-shadow);
  }
  .equal-btn {
    box-shadow: 0 0.2rem var(--toggle-equal-btn-shadow);
  }
}
.caps {
  text-transform: uppercase;
}
.attribution {
  color: var(--toggle-equal-btn-bg);
  background-color: white;
  font-size: 11px;
  text-align: center;
  padding: 0.5rem 0;
  width: 100%;
}
.attribution a {
  color: inherit;
}
@property --tw-font-weight {
  syntax: "*";
  inherits: false;
}
@layer properties {
  @supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {
    *, ::before, ::after, ::backdrop {
      --tw-font-weight: initial;
    }
  }
}
