@charset "utf-8";

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    border: none;
    border-radius: 0;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 20px;
}

body{
    background-color: lightgray;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.calc{
    background-color: rgb(51, 51, 51);
    color: #fff;
    width: 320px;
    border-radius: 40px;
    padding: 40px 20px;
    border: 1px solid #808080;
    box-shadow: 5px 8px 10px #000000b6;
}

h1{
    text-align: center;
    margin-bottom: 40px;
}

.display{
    text-align: right;
    background-color: #e6e6e6;
    color: rgb(71, 71, 71);
    border: 1px solid rgb(68, 68, 68);
    font-family: monospace;
    font-size: 25px;
    font-weight: bold;
    word-wrap: break-word;
    padding: 5px;
    border-radius: 5px;
    margin: 20px 0;
    overflow: hidden;
}

.container-buttons{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-template-rows: 1fr 1fr 1fr 1fr 1fr;
    gap: 5px;
}

button{
    border: 2px solid transparent;
    color: rgb(54, 54, 54);
    cursor: pointer;
    padding: 10px;
    border-radius: 3px;
}

button:hover{
    background-color: rgb(146, 146, 146);
    color: #fff;
}

button:active{font-weight: bold;
    border: 2px solid rgb(78, 78, 78);
}

.operadores{
    background-color: #c5c5c5;
    color: rgb(59, 59, 59);
}

.ce{
    background-color: #c5c5c5;
    color: rgb(97, 97, 97);
    grid-column: 1/4;
}

.igual{
    background-color: #add8e6;
    grid-column: 3/5;
}

.igual:hover{
    background-color: #7cc0d6;
}

.logomarca{
    text-decoration: none;
}

.logo{
    margin-top: 40px;
    font-size: 1.2em;
    color: #333333;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
}

.developer{ 
    color: rgb(180, 180, 180);
    font-weight: 500;
    font-style: italic;
}

.gilberto{ 
    color: #bdbdbd;
    font-weight: bold;
    font-style: italic;
}