@import url('https://fonts.googleapis.com/css?family=Ubuntu');
* {
    margin: 0%;
    padding: 0%;
}

:root {
    --shadow: 0 1px 5px rgba(104, 104, 104, 0.842);
}

body {
    background-color: cadetblue;
    background-image: url(../img/calc.jpeg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed;
    font-family: 'Ubuntu', sans-serif;
}

h1 {
    text-transform: capitalize;
    text-align: center;
    margin: 3rem;
    text-shadow: var(--shadow);
    color: rgb(102, 12, 12);
    margin-bottom: 0;
    line-height: 3rem;
}

section {
    width: 40vw;
    margin: 4vh 0 4vh 45vw;
    min-height: 60vh;
    background: rgba(139, 56, 0, 0.205);
    display: grid;
    padding: 5% 4% 5% 4%;
    grid-gap: 2rem;
    margin-right: 4%;
    box-shadow: var(--shadow);
}

.numero {
    background: rgba(169, 169, 169, 0.575);
    max-width: 85%;
    padding-top: 3rem;
    border: 0.2rem solid rgba(0, 0, 3, 0.644);
    border-radius: 2rem;
    text-transform: capitalize;
    text-align: center;
    align-content: center;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(4rem, 1fr));
    grid-gap: 2rem;
    padding: 5% 8% 5% 4%;
}

.numero h2 {
    justify-content: center;
    margin: auto;
}

.numero input {
    background-color: rgba(223, 176, 128, 0.459);
    border: 0.01rem solid rgba(0, 0, 3, 0.644);
    color: black;
    padding-left: 8%;
    min-height: 3rem;
    box-shadow: var(--shadow);
}

.numero button {
    display: block;
    width: 5rem;
    border-radius: 2rem;
    height: 3rem;
    margin: auto;
}

.botones {
    border: 0.2rem solid rgba(0, 0, 3, 0.644);
    background-color: rgba(147, 140, 158, 0.719);
    max-width: 85%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(3rem, 1fr));
    grid-gap: 0.5rem;
    padding: 5% 8% 3% 4%;
}

.botones button {
    border-radius: 2rem;
    max-width: 100%;
    width: 4.5rem;
    height: 3rem;
}

button {
    background: rgba(99, 83, 167, 0.76);
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    border: 0.1rem solid rgba(1, 1, 37, 0.452);
    font-size: 0.9rem;
    box-shadow: var(--shadow);
}

button:hover {
    color: rgb(204, 200, 221);
    background-color: rgba(0, 0, 205, 0.356);
    -webkit-transform: scale(1.08);
    transform: scale(1.08);
    transition: all ease-in-out 300ms;
}

#del {
    max-width: 250%;
    background-color: rgba(255, 68, 0, 0.507);
}

#del:hover {
    background-color: maroon;
    color: lightyellow;
}

footer {
    padding-top: 0.5rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
    line-height: 1;
    padding-bottom: 0.8rem;
    background: rgba(117, 56, 12, 0.856);
}

footer p {
    margin: auto;
    color: black;
}

footer p .svg-inline--fa {
    font-size: 1rem;
}

footer a {
    display: block;
    float: left;
    width: 7rem;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    text-decoration: none;
    color: rgba(11, 3, 19, 0.726);
    text-align: center;
    margin-left: 1.6rem;
}

footer a:hover {
    color: rgb(204, 200, 221);
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
    transition: all ease-in-out 500ms;
}

footer a .svg-inline--fa {
    font-size: 1.3rem;
    text-decoration: none;
    padding-right: 0.6rem;
}