/* FONTS */

body {
  font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
}

/* BODY */

body {
    margin: 0;
    padding: 0;
    background-color: pink;
}

/* Calculator */

.main {
    display: flex;
    justify-content: center;
    margin-top: 50px;
}

.main_container {
    border-radius: 35px;
    border: none;
    background-color: white;
    width: 400px;
    height: 620px;
    display: flex;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
    flex-direction: column;
}

.blockDiv {
    display: block;
}

.output_field {
    display: flex;
    justify-content: center;
}

.output_field_border {
    border-radius: 10px;
    width: 310px;
    height: 80px;
    text-align: center;
    margin: 24px;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.3);
    background-color: #dcdcdc;
    margin-top: 50px;
    margin-bottom: 50px;
}

.output_field_border div {
    display: flex;
    justify-content: right;
    font-size: 42px;
    margin-top: -38px;
    margin-right: 25px;
}

.output_field_border h4 {
        color: rgb(52, 52, 52);
}

/* Buttons */

.first_stage,
.second_stage,
.third_stage,
.fourth_stage,
.last_stage {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 15px;
}

.first_stage div button,
.second_stage div button,
.third_stage div button,
.fourth_stage div button,
.last_stage button {
    border-radius: 50%;
    width: 60px;
    height: 60px;
    margin-right: 15px;
    cursor: pointer;
    border: none;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.3);
    background-color: #dcdcdc;
    color: black;
    font-size: 20px;
    text-align: center;
    transition: background-color 0.3s ease;
}

.first_stage div button:hover,
.second_stage div button:hover,
.third_stage div button:hover,
.fourth_stage div button:hover,
.last_stage button:hover {
      background-color: #888; 
}

.second_stage,
.third_stage,
.fourth_stage,
.last_stage {
    margin-top: 20px;
}

.lastFirstButton {
    margin-left: -50px;
    margin-right: 50px;
}

.leftLastDiv {
    display: flex;
    justify-content: right;
    margin-right: -60px;
}

.leftLastDiv button {
    width: 150px;
    border-radius: 50px;
    background-color: pink;
     transition: background-color 0.3s ease, transform 0.2s ease;
}

.leftLastDiv button:hover {
    background-color: #e88dac;
    transform: scale(1.03);
}

.leftLastDiv button:hover {
    transform: scale(0.97);
}

.last_stage_2 {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
}






