#root, #__next {
	  isolation: isolate;
}

html {
    box-sizing: border-box;
}

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

body {
    min-height: 100vh;
    scroll-behavior: smooth;
    text-rendering: optimizeSpeed;
    line-height: 1.5;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-top: .7rem;
    background-color: aqua;
}

a:not([class]) {
    text-decoration-skip-ink: auto;
}

a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus {
    box-shadow: none;
    outline-offset: .05em;
}

img {
    max-width: 100%;
    display: block;
}

input,
button,
textarea,
select {
    font: inherit;
}

header {
    margin-bottom: auto;
}

header > h1 {
    font-size: 2.8rem;
}

#calculator {
    margin-top: 1rem;
    margin-bottom: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0 .5rem 1px gray;
    height: 30rem;
    width: 25rem;
    gap: 1rem;
    row-gap: 0rem;
    flex-wrap: wrap;
    padding: 1rem;
    border-radius: .3rem;
    font-family:Arial, Helvetica, sans-serif;
    background-color: coral;
}

#output-area {
    display: flex;
    height: 7rem;
    width: 100%;
    border-radius: .3rem;
    border: 2px solid gray;
    box-shadow: 0 0 .5rem 1px gray;
    justify-content: flex-end;
    padding-top: 1rem;
    padding-right: .7rem;
    background-color: white;
    position: relative;
}

#number-input {
    height: 2rem;
    width: 20rem;
    margin: auto 0;
    margin-bottom: 17rem;
    margin-left: 1rem;
    border: 0;
    outline: 0;
    font-size: 2rem;
    cursor:default;
    caret-color: transparent;
    background-color: white;
    position: absolute;
}

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type=number] {
  -moz-appearance: textfield;
}

#clear-btn, #delete-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 3rem;
    width: 47.7%;
    transition: 0.3s;
}

#clear-btn:focus, #delete-btn:focus {
    height: 2.8rem;
    width: 46%;
    transition: width .3s, height .5s;
    transition-timing-function: ease;
    transition-delay: .1s;
}

#clear-btn img {
    height: 2rem;
    width: 2.5rem;
}

#clear-btn:hover {
    background-color: blue;
    opacity: .7;
}

#delete-btn img {
    height: 2.5rem;
    width: 2.5rem;
}

#delete-btn:hover {
    background-color: red;
    opacity: .7;
}

button {
    height: 3rem;
    width: 5rem;
    border-radius: .3rem;
    cursor: pointer;
    font-size: 1.6rem;
    border: 0;
    box-shadow: 0 0 .5rem 1px gray;
}

button:hover {
    opacity: .5;
}

button:focus {
    height: 2.8rem;
    width: 4.6rem;
    box-shadow: 0 0 .5rem 1px gray;
    transition: width .3s, height .5s;
    transition-timing-function: ease;
    transition-delay: .1s;
}

#obelus-btn {
    font-size: 2rem;
}

#multiply-btn {
    font-size: 1.4rem;
}

footer {
    margin-top: auto;
    padding-top: 1rem;
    text-align: center;
    width: 100%;
    color: black;
    font-size: .9rem;
}

footer > a {
    color: black;
    font-weight: bold;
    text-decoration:none;
}

#github-logo {
    display: inline;
    color: black;
    height: 1rem;
    width: 1rem;
    margin: 0 .3rem;
    transition: transform 0.3s ease-in-out;
}

#github-logo:hover {
    transform: rotate(360deg) scale(1.2);
}