*,
::before,
::after {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  /* overflow: hidden; */
}

body {

    background: rgb(207, 201, 201);
}

main {
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    /* flex-wrap: wrap; */
    justify-content: center;
    align-items: center;
    /* margin: auto; */
    text-align: center;
}

div {
    /*border: 1px solid black;*/
    margin: 10px;
}

h1 {
    height: clamp(20px, 10%, 50px);
    width: 100%;
    margin: 0;
}

#screen {
    width: clamp(350px, 50%, 500px);
    height: clamp(50px, 10%, 150px);
    background-color: rgb(255, 255, 255);
    text-align: right;
    border: 1px solid black;
    display: flex;
    justify-content: end;
}

#screenValue {
    font-size: 50px;
    margin-top: auto;
    margin-bottom: auto;
    padding-right: 5px;
    /* padding-top: 25px; */
}

#buttons {
    width: 100%;
    height: clamp(400px, 70%, 700px);
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
}

#number-buttons{
    /*background: red;*/
    width: clamp(200px, 70%, 350px);
    height: clamp(200px, 100%, 1000px);
    margin: 0px;
}

#number-buttons button {
    width: clamp(50px, 25%, 100px);
    height: 20%;
    margin: 5px;
    padding: 0px;
    font-size: 16px;

}

#spacer {
    width: 50px;
}

#operators {
    width: clamp(50px, 20%, 100px);
    height: 70%;
    margin: 0;
    /*background-color: cyan;*/
}

#operators button {
    width: 100%;
    height: 20%;
    margin-top: 5%;
}

@media (min-width: 640px) {
    #number-buttons button {
        font-size: 30px;
    }
}