@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-image: url(background.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    overflow: hidden;
}

.container {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    width: 100%;
}

.calculator {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 780px;
    width: 580px;
    background-color: gray;
    border-radius: 50px;
    border-bottom: 15px solid #696969;
    box-shadow: -5px 5px 80px black;
    position: relative;
}

.calculator-content {
    position: relative;
    left: 50%;
    transform: translate(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: 100%;
    gap: 20px;
}

.calculator-numbers-container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: 100%;
    gap: 20px;
    position: relative;
    left: 55px;
}

.calculator-number-box-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-bottom: 10px;
}

.calculator-number-box {
    width: 530px;
    height: 100px;
    border: none;
    border-radius: 20px;
    font-size: 45px;
    text-align: right;
    padding: 20px;
    background-color: #afc8e0;
    border-bottom: 8px solid #9fb5ca;
    border-right: 5px solid #9fb5ca;
    color: black;
}

::placeholder {
    color: black;
}

.calculator-numbers {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    column-gap: 20px;
}

.calculator-numbers-margin {
    margin-right: 110px;
}

.calculator-number-btn {
    height: 90px;
    width: 90px;
    border-radius: 20px;
    border: none;
    border-bottom: 6px solid #dfdfdf;
    border-right: 3px solid #dfdfdf;
    font-size: 55px;
    font-weight: 700;
    background-color: white;
    cursor: pointer;
    transition: 0.2s ease;
}

.equal-btn {
    background-color: #ff9c08;
    border: none;
    border-bottom: 6px solid #ee8f00;
    border-right: 3px solid #ee8f00;
    height: 200px;
    position: absolute;
    right: 80px;
    bottom: 0px;
}

.collection-btn {
    height: 200px;
    position: absolute;
    right: 80px;
    bottom: 220px;
}


.number-btn-width {
    width: 200px;
}

.calculator-number-btn:hover {
    transform: scale(0.95);
}

.disabled {
    pointer-events: none;
}

.mod-btn {
    position: absolute;
    left: -30px;
    bottom: 0px;
    height: 530px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

@media only screen and (max-width: 600px){
    .calculator-container {transform: scale(0.8);}
}

@media only screen and (max-width: 500px){
    .calculator-container {transform: scale(0.7);}
}

@media only screen and (max-width: 450px){
    .calculator-container {transform: scale(0.55);}
}