body {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    background-color: #0b2e33;
}

* {
    font-size: 35px;
    font-weight: 900;
    font-family: Consolas, "courier New", monospace;
}

.calculator {
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 5px solid white;
    border-radius: 5;
    min-width: 450px;
    max-height: fit-content;
    background-color: #00d1d1;
    gap: 30px;
    border-radius: 25px
}

.display {
    display: flex;
    max-width: 375px;
    min-width: 85%;
    min-height: 115px;
    justify-content: flex-end;
    align-items: flex-end;
    border: 5px solid #00Adad;
    background-color: white;
    margin-top: 30px;
    margin-bottom: -10px;
    border-radius: 15px;
    padding: 0px 20px 10px 0px;
    
}

.text{
    font-size: 40px;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    text-align: right;
}

.buttons {
    display: flex;
    flex-wrap: wrap;
    max-width: 400px;
    gap: 20px;
    margin-bottom: 15px;
}

.row1 {
    display: flex;
    gap: 25px;
    min-width: 100%;
    justify-content: center;
}

.row2 {
    display: flex;
    gap: 25px;
    min-width: 100%;
    justify-content: center;
}

.row3 {
    display: flex;
    gap: 25px;
    min-width: 100%;
    justify-content: center;
}

.row4 {
    display: flex;
    gap: 25px;
    min-width: 100%;
    justify-content: center;
}

.row5 {
    display: flex;
    gap: 25px;
    min-width: 100%;
    justify-content: center;
}

.numbers, .operators, .clear, .delete, .decimal, .equal {
    color: white;
    background-color: #005c5c;
}

.numbers, .operators, .clear, .delete, .decimal, .equal {
    color: white;
    background-color: #095353;
}

.numbers, .operators, .decimal, .equal {
    border: 1px solid #005c5c;
    border-radius: 15px;
    flex-grow: 1;
    padding: 10px;
}

.delete, .clear {
    border: 1px solid #005c5c;
    border-radius: 15px;
    padding: 10px;
    flex-grow: 1.5;
}

.operators, .equal {
    background-color: #a4a5f5;
}

.clear {
    background-color: #8e70cf;
}

.clear:hover {
    background-color: hsl(259, 50%, 70%);
}

.delete:hover, .numbers:hover, .decimal:hover {
    background-color: hsl(180, 80%, 28%);
}

.operators:hover, .equal:hover {
    background-color: hsl(239, 80%, 85%);
}