@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,300;0,400;0,700;1,100;1,300;1,400&family=Rubik+Doodle+Shadow&display=swap');

body, html {
    margin: 0;
    padding: 0;
}

body {
    background-color: #f2f2f2;
    margin: 0;
    font-family: 'Arial', sans-serif;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    height: 100vh;
    overflow: auto;
    background-image: url(/cat-doodle-handdrawn-seamless-pattern-background-template-poster-wrapping-education_191755-183.jpg);
}

.box {
    width: 80%;
    height: 500px;
    max-width: 400px;
    margin: 20px auto;
    background-color: #d4aca9;
    border-radius: 15px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.container {
    padding: 20px;
    height: 450px;
    width: 92%;
    box-sizing: border-box;
    background-color: pink;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

@media (max-width: 600px) {
    .box {
        width: 90%;
    }
}

.screen{
    height: 100px;
    background-color: yellowgreen;
    width: 100%;
    border-radius: 10px;
}

.buttons{
    height: 340px;
    margin-top: 10px;
    border-radius: 12px;
    width: 100%;
    background-color: bisque;
    display: flex;
    flex-direction: rows;
    flex-wrap: wrap;
    background-color: pink;
}

.buttons button {
    flex-basis: 20%; 
    flex-grow: 1; 
    margin: 1px; 
    font-size: 18px; 
}

.screen {
    height: 100px;
    background-color: yellowgreen;
    width: 100%;
    border-radius: 10px;
    display: flex;
    align-items: flex-end; /* Align numbers to the bottom */
    justify-content: flex-end; /* Align numbers to the right */
    padding: 10px;
    font-family: 'Roboto', sans-serif; /* Use Roboto as fallback font */
    font-size: 24px;
    overflow: auto;
}

.screen .elevator-font {
    font-family: 'Rubik Doodle Shadow', sans-serif;
}


.modal-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8); /* Semi-transparent black background */
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000; /* Ensure the modal is on top of other elements */
}

.modal-container video {
    max-width: 100%;
    max-height: 100%;
    margin: auto;
    display: block;
}

/* Add styles to center the calculator */
.box {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    /* Add any other styles you need for the calculator container */
}
