.prevent-select{
-webkit-user-select: none; /* Safari */
-ms-user-select: none; /* IE 10 and IE 11 */
user-select: none; /* Standard syntax */
}

.jersey-20-regular {
  font-family: "Jersey 20", sans-serif;
  font-weight: 400;
  font-style: normal;
}


html, body{
    height: 100%;
    display: flex;
    flex-direction: column;
    margin: 0;
    background: linear-gradient(rgb(255, 255, 255), rgb(119, 119, 119));
}

html *{
    font-family: "Roboto", sans-serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
}

.button-container{
    display: grid;
    grid-template-columns: repeat(4, 60px);
    grid-template-rows: repeat(5, 60px);
    gap: 8px;
}

button{
    cursor: pointer;
    border-radius: 8px;
    border: 2px solid;
    box-shadow: rgba(0, 0, 0, 0.25) 0px 4px 8px, rgba(0, 0, 0, 0.22) 0px 4px 4px;
}

button:active, button:hover{
    transition: 200ms;
}

button:active{
    box-shadow: rgba(0, 0, 0, 0.25) 0px 2px 4px, rgba(0, 0, 0, 0.22) 0px 2px 2px;
}

button.number:hover{
    background-color: hsla(225, 3%, 30%, 1);
}

button.number:active{
    background-color: hsla(225, 3%, 25%, 1);
}

.number{
    background-color: hsla(225, 3%, 25%, 1);
    color: white;
    font-size: 2rem;
    border-color: hsla(225, 3%, 5%, 1);
}

#func{
    background-color: hsla(225, 5%, 65%, 1);
    border-color: hsla(225, 5%, 45%, 1);
    color: white;
    font-size: 2rem;
}

button#func:hover{
    background-color: hsla(225, 5%, 70%, 1);
}

button#func:active{
    background-color: hsla(225, 5%, 65%, 1);
}

#func2{
    background-color: hsla(355, 49%, 65%, 1);
    border-color: hsla(355, 49%, 45%, 1);
    color: white;
    font-size: 2rem;
}

button#func2:hover{
    background-color: hsla(355, 49%, 70%, 1);
}

button#func2:active{
    background-color: hsla(355, 49%, 65%, 1);
}

h1{
    margin: 0;
}

.enter{
    grid-area: 4/4/6/4;
}

.plus{
    grid-area: 3/4;
}

.minus{
    grid-area: 2/4;
}

.multiply{
    grid-area: 1/4;
}

.divide{
    grid-area: 1/3;
}

.delete{
    grid-area: 1/2;
}

.delete-all{
    grid-area: 1/1;
}

.comma{
    grid-area: 5/3;
}

.remainder{
    grid-area: 5/1;
}

.screen-container{
    display: flex;
    flex-direction: column;
    height: 60px;
    margin-bottom: 8px;
    border: 4px solid;
    text-align: right;
    align-content: end;
    background-color: hsla(48, 15%, 53%, 1);
}

.last-input-text{
    font-family: "Jersey 20", sans-serif;
    font-size: 18px;
    padding-right: 8px;
    padding-left: 8px;
    margin: 0;
    overflow: hidden;
}

.result-text{
    font-family: "Jersey 20", sans-serif;
    margin-top: auto;
    padding-right: 8px;
    padding-left: 8px;
    overflow: hidden;
}

.calc-container {
    display: inline-flex;
    flex-direction: column;
    padding: 16px;
    border: 4px solid;
    border-radius: 8px;
    align-self: center;
    margin: auto;
    background-color: hsla(60, 9%, 93%, 1);
    box-shadow: rgba(0, 0, 0, 0.3) 0px 19px 38px, rgba(0, 0, 0, 0.22) 0px 15px 12px;
    width: 264px;
    max-width: 100%;
    overflow: hidden;
}


header{
    display: flex;
    text-align: center;
    align-items: center;
    justify-content: center;
    height: 8vh;
    padding: 4px;
    font-size: 2rem;
}

footer{
    display: flex;
    text-align: center;
    align-items: center;
    justify-content: center;
    height: 6vh;
    padding: 4px;
    border: 4px solid;
}

a{
    color: black;
}
