* {
    max-width: 100%;
    max-height: 100%;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    color: white;
    filter:drop-shadow(0 0 5px rgb(255, 255, 255,0.2)) ;
}

.main-container {
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    background: url(contact-bg.svg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: 100%;
}


.calculator-box {
    width: 40%;
    height: 95%;
    background: rgba(255, 255, 255, 0.1);
    box-shadow:  20px 20px 60px #00000023,-20px -20px 60px #5c5c5c12;
    border-radius: 10px;
    display: flex;
    margin: auto;
    flex-direction: column;
    align-items: center;
    backdrop-filter: blur(5px);
}


#heading {
    width: 100%;
    height: 10%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.sub-headings {
    width: 80%;
    height: 5%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    font-size: 1.3em;
}

.input-boxs {
    width: 90%;
    height: 10%;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    gap: 2%;
}

.input-boxs input {
    width: 25%;
    height: 90%;
    padding: 2%;
    padding-left: 3%;
    outline: none;
    font-size: 16px;
    border-radius: 10px;
    background-color: transparent;
    border: none;
    background: rgb(255, 255, 255);
    border-bottom: 2px solid white;
    color: rgba(0, 0, 0, 0.7);
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
input[type=number] {
    -moz-appearance: textfield;
}

#result-heading {
    display: flex;
    align-items: center;
    margin-top: 2%;
}

#result-heading h5 {
    filter:drop-shadow(0 0 5px rgb(255, 255, 255,0.2)) ;
}
.output-box {
    margin-top: 3%;
    width: 80%;
    height: 15%;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: inset 8px 8px 6px rgba(0, 0, 0, 0.2),inset -8px -8px 6px rgba(255, 255, 255, 0.231);
    filter:drop-shadow(0 0 5px rgb(255, 255, 255)) ;
    border: 1px solid rgb(252, 246, 255);
}

.output-display {
    width: 100%;
    height: 75%;
    display: flex;
    align-items: center;
    border-radius: 10px;
    justify-content: flex-start;
    color: rgba(0, 0, 0, 0.562);
    filter:drop-shadow(0 0 0px rgb(255, 255, 255,0)) ;
    box-shadow: 8px 8px 6px rgba(0, 0, 0, 0.1),-8px -8px 6px rgba(255, 255, 255, 0.1);
    padding: 3%;
    margin: 5% 3%;

}

.output-display h2 {
    color: rgb(255, 255, 255);
    filter: drop-shadow(none);
}


.last-heading {
    position: sticky;
    top: 100%;
    margin-bottom: 5%;
    color: rgb(157,127,201);
}

.operator-btns {
    margin-top: -5%;
    width: 80%;
    height: 15%;
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    grid-template-rows: 1fr 1fr; 
    gap: 5px 5px; 
    grid-template-areas: 
        ". ."
        ". .";
}

.operator-btns button {
    color: rgba(255, 255, 255);
    text-shadow: 0 0 5px rgb(184, 154, 201);
    border-radius: 10px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255);
    cursor: pointer;
}

.clear-btn {
    width: 80%;
    height: 7.5%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 5px;
}

.clear-btn button {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255);
    cursor: pointer;
    color: rgba(255, 255, 255);
    text-shadow: 0 0 5px rgb(184, 154, 201);
}

.last-heading p {
    color: rgb(255, 255, 255);
}


@media screen and (max-width: 1000px) {

    * {
        color: white;
    }

    .main-container {
        background-size: cover;
    }   

    .calculator-box {
        width: 100%;
        height: 100%;
        backdrop-filter: blur(2px);
    }

    .output-box {
        box-shadow: inset 8px 8px 6px rgba(0, 0, 0, 0.1),inset -8px -8px 6px rgba(255, 255, 255, 0.231);
    }

    .output-display {
        filter:drop-shadow(0 0 5px rgb(255, 255, 255,0.2)) ;
        box-shadow: 8px 8px 6px rgba(0, 0, 0, 0.05),-8px -8px 6px rgba(255, 255, 255, 0.1);
        padding: 3%;
    }

    .input-boxs input {
        box-shadow: inset 8px 8px 6px rgba(255, 255, 255, 0.1),inset -8px -8px 6px rgba(0, 0, 0, 0.1);
    }

    .operator-btns button , .clear-btn button{
        box-shadow: none;
        border: 1px solid white;
    }

    .sub-headings {
        font-size: 5vmin;
    }

    .sub-headings {
        width: 90%;
    }

    .input-boxs {
        width: 100%;
    }

    .output-box {
        width: 90%;
    }

    .output-display {
        width: 93%;
    }

    .operator-btns {
        width: 90%;
    }

    .clear-btn {
        width: 90%;
    } 
    
}