:root{
    --body-color: #f5f07c;
    --sub-body-color: #f4f3cd;
    --button-color: #ece9a9;
}
*{
    margin: 0;
    padding: 0;
}
.body-container{
    background-color: var(--body-color);
    height: 100vh;
    width: 100vw;
}
.sub-container{
    background-color: var(--sub-body-color);
    height: 70%;
    width: 70%;
    max-height:600px;
    max-width: 450px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    border: 2px solid black;
    box-shadow: 4px 4px gray  ;
    border-radius: 10px;
}
.num-container{
    height: 40%;
    width: 100%;
    text-align: center;
    /* border: 2px solid black; */
    position: relative;
    top: 30%;
    left: 50%;
    transform: translate(-50%,-30%);
}
.num-container h1{
    font-size: 100px;
    position: relative;
    top: 50%;
    transform: translateY(-50%);
}
.button-container{
    display: flex;
    justify-content: center;
    gap: 40px;
    width: 100%;
    position: relative;
    top: 30%;
    left: 50%;
    transform: translate(-50%,-30%);
}

.button-container button{
    font-size: medium ;
    font-weight: 400;
    padding: 5px 15px;
    background-color: var(--button-color) ;
    border: 1px solid black;
    box-shadow: 4px 4px gray;
}
@media only screen and (width<510px){
    .button-container{
        display: flex;
        flex-direction: column;
        gap: 10px;
        width: 50%;
    }
    .button-container button{
        padding: 5px 10px;
    }
}
@media screen and (width<450px) {
    .sub-container{
        max-height: 400px;
    }
}

.button-container button:hover{
    cursor: pointer;
    background-color: #e5e19d;
}