* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-weight: bold;

}



body {
    min-height: 100vh;
    direction: rtl;
    font-family: 'Rubik', sans-serif;
    background-image: url(./images/background.png);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.container {

    display: flex;
    flex-grow: 1;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1.25em;

}

.frame>div {
    border: 1px solid #3DBDA4;
    box-shadow: 0 0 4px #00000059;
}

h1 {
    color: black;
    text-align: center;
}

.frame {
    width: 80%;
    max-width: 900px;
    min-height: 300px;
    margin: auto;
    border-radius: 6px;
    padding: 16px;
    padding-bottom: 100px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    gap: 1em;
}

#board {

    width: 250px;
    height: 125px;
    background-image: url(./images/border.png);
    background-size: 200%;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
}

#board>h1 {
    direction: ltr;
}

#choose {
    direction: rtl !important;
}

#calc {
    width: 250px;
    background-color: #2D2C2F;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    padding: 10px 5px 5px 5px;

}

#calc>input {
    width: 90%;
    margin: 0 auto;

}

#calc-buttons {

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(5, 1fr);
}

#check {
    background-color: #3DBDA4 !important;
    color: white !important;
}

#clear {
    background-color: #EF332E !important;
    color: white !important;
}

#next {
    background-color: orange !important;
    color: white !important;
}



h2 {
    font-size: 18px;
    font-weight: normal;
    padding: 12px 0;
    margin: 0px;
}

button {
    background-color: white !important;
    color: #3DBDA4;
    padding: 8px 12px;
    border-radius: 6px;
    border: none;
    margin: 6px;

}

button:hover {
    filter: brightness(1.2);
}

input,
select {

    padding: 8px 12px;
    border-radius: 5px;
    margin-top: 3px;
}

select {
    width: 100%;
    border-radius: 10px;
    text-align: center;
    font-size: 1em;
}

#container-select {
    width: 250px;
    border: unset;
    box-shadow: unset;
}



footer {
    width: 100vw;
    display: flex;
    justify-content: space-between;
    background-color: #2D2C2F;
    padding: 0.75em 0.75em 0.75em 0.75em;

}

footer>h2 {
    padding: 0 !important;
    font-weight: unset !important;
}

@font-face {
    font-family: "Heebo-Regular";
    src: url(./Heebo/static/Heebo-Regular.ttf);
}

footer>h2 {
    margin: 0 1em;
    color: white;
    font-size: 1.25em;
    font-family: "Heebo-Regular";
}


.MG {
    text-align: left;
}


.save {

    text-align: right;
}



@media screen and (max-width:1200px) {

    footer {

        font-size: 1em;
        flex-direction: column;
    }

    .MG,
    .save {
        text-align: center;
    }
}