@font-face {
    font-family: 'River';
    src: url(fonts/OstrichSans-Bold.otf);
}


body {
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    margin-top: 5vh;
    align-items: center;
    flex-direction: column;
    font-family: sans-serif;
    background-color: black;
}


.calculator {
    width: 500px;
    height: 700px;
    background-color: #051622;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;  
    border-radius: 1.5em;
    box-shadow: rgba(0, 0, 0, 0.17) 0px -23px 25px 0px inset, rgba(0, 0, 0, 0.15) 0px -36px 30px 0px inset, rgba(0, 0, 0, 0.1) 0px -79px 40px 0px inset, rgba(0, 0, 0, 0.06) 0px 2px 1px, rgba(0, 0, 0, 0.09) 0px 4px 2px, rgba(0, 0, 0, 0.09) 0px 8px 4px, rgba(0, 0, 0, 0.09) 0px 16px 8px, rgba(0, 0, 0, 0.09) 0px 32px 16px; 
    border: 3px solid coral;

}

.calculator-display {
    font-family: sans-serif;
    width: 470px;
    height: 150px;
    background-color: aliceblue;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    font-size: 40px; 
    border-radius: 15px;  
    text-align: end;
    box-shadow: rgba(0, 0, 0, 0.17) 0px -23px 25px 0px inset, rgba(0, 0, 0, 0.15) 0px -36px 30px 0px inset, rgba(0, 0, 0, 0.1) 0px -79px 40px 0px inset, rgba(0, 0, 0, 0.06) 0px 2px 1px, rgba(0, 0, 0, 0.09) 0px 4px 2px, rgba(0, 0, 0, 0.09) 0px 8px 4px, rgba(0, 0, 0, 0.09) 0px 16px 8px, rgba(0, 0, 0, 0.09) 0px 32px 16px;
    overflow: hidden; 
    border: 3px solid white;
}

.clearing > * {
    width: 110px; 
    height: 70px;
    background-color: #F7F7F7;
    color: #051622;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10.5em;
    cursor: pointer;
    box-shadow: rgba(0, 0, 0, 0.17) 0px -23px 25px 0px inset, rgba(0, 0, 0, 0.15) 0px -36px 30px 0px inset, rgba(0, 0, 0, 0.1) 0px -79px 40px 0px inset, rgba(0, 0, 0, 0.06) 0px 2px 1px, rgba(0, 0, 0, 0.09) 0px 4px 2px, rgba(0, 0, 0, 0.09) 0px 8px 4px, rgba(0, 0, 0, 0.09) 0px 16px 8px, rgba(0, 0, 0, 0.09) 0px 32px 16px; 
    transition: 0.2s;
    cursor: pointer;
    border: 1px solid white;

}

.clearing > *:hover {
    transform: scale(0.9);
}


.logo {
    background-size: cover;
    background-position: 5%;
    border-radius: 10em;
    background-color: #a8dadc;
    box-shadow: rgba(0, 0, 0, 0.17) 0px -23px 25px 0px inset, rgba(0, 0, 0, 0.15) 0px -36px 30px 0px inset, rgba(0, 0, 0, 0.1) 0px -79px 40px 0px inset, rgba(0, 0, 0, 0.06) 0px 2px 1px, rgba(0, 0, 0, 0.09) 0px 4px 2px, rgba(0, 0, 0, 0.09) 0px 8px 4px, rgba(0, 0, 0, 0.09) 0px 16px 8px, rgba(0, 0, 0, 0.09) 0px 32px 16px;
}

.logo:hover {
     background-color: white;
}

.images {
    image-rendering: auto;
    width: 80px;
}

.eraser-icon, .negative-icon {
    width: 40px;
}

.clear, .negative {
    background-color: coral;
}

.negative {
    background-color: #3E78B2;
}

.buttons {
    width: 470px;
    height: 470px;
    background-color: #F7F7F7;
    margin-top: 10px;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    flex-direction: column;
    border-radius: 15px;   
    box-shadow: rgba(0, 0, 0, 0.17) 0px -23px 25px 0px inset, rgba(0, 0, 0, 0.15) 0px -36px 30px 0px inset, rgba(0, 0, 0, 0.1) 0px -79px 40px 0px inset, rgba(0, 0, 0, 0.06) 0px 2px 1px, rgba(0, 0, 0, 0.09) 0px 4px 2px, rgba(0, 0, 0, 0.09) 0px 8px 4px, rgba(0, 0, 0, 0.09) 0px 16px 8px, rgba(0, 0, 0, 0.09) 0px 32px 16px; 
    border: 3px solid white;

}

.buttons > * {
    width: 25rem;
    height: 50px;
    display: flex;
    justify-content: space-between;
    text-align: center; 
    
}

.container > * {
    color: #FECD45;
    font-size: 30px;
    width: 70px;;
    height: 70px;
    background-color: #2568FB;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    border-radius: 10em;
    box-shadow: rgba(0, 0, 0, 0.17) 0px -23px 25px 0px inset, rgba(0, 0, 0, 0.15) 0px -36px 30px 0px inset, rgba(0, 0, 0, 0.1) 0px -79px 40px 0px inset, rgba(0, 0, 0, 0.06) 0px 2px 1px, rgba(0, 0, 0, 0.09) 0px 4px 2px, rgba(0, 0, 0, 0.09) 0px 8px 4px, rgba(0, 0, 0, 0.09) 0px 16px 8px, rgba(0, 0, 0, 0.09) 0px 32px 16px; 
    transition: 0.2s;
    border: 0.5px solid white;

}

.container > *:hover {
    transform: scale(0.9);
}


.operator, .equals, .decimal {
    background-color: coral;
}


footer {
    color: white;
}








