@import url('https://fonts.googleapis.com/css2?family=Rubik:wght@300;600;700;900&display=swap');

body {
    min-height: 100vh;
    direction: rtl;
    font-family: 'Rubik', sans-serif;
    background-color: #f4f4f4;
}

#frame {

    /* position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0; */
    min-height: 100vh;
    display: grid;
    grid-template-columns: 300px 1fr;
}

#panelSide {
    background-image: linear-gradient(237deg, #3DBDA4, white);
    overflow-y: auto;
    padding: 3px;
}

#panelSide>div {
    display: none;
}

#panelSide>div.show {
    display: block;
}

#main {
    background-color: #e0e0e0;
    overflow-y: auto;
}

#page {
    max-width: 800px;
    min-height: 800px;
    width: 90%;
    background-color: white;
    margin: auto;
    margin-top: 50px;
    border-radius: 5px;
    box-shadow: 0 0 3px #b4b4b4;
    padding: 16px;
    box-sizing: border-box;
}

#panelSide h1 {
    color: white;
    text-align: center;
}

.field {
    color: white;
    padding: 16px;
    border-bottom: 1px solid;
}

label {
    display: block;
    margin-bottom: 3px;
    margin-bottom: 6px;
}

input,
select {
    width: 100%;
    padding: 8px;
    box-sizing: border-box;
}

input[type=color] {
    padding: 0;
}

nav {
    display: flex;
    justify-content: space-evenly;
    gap: 1px;
}

nav a {
    background: white;
    padding: 8px;
    display: block;
    width: 100%;
    text-align: center;
    cursor: pointer;
}

nav a:hover {
    background: #3DBDA4;
    color: white;
    font-weight: bold;
}

.active {
    background: #3DBDA4;
    color: white;
    font-weight: bold;
}

#params>div {
    display: none;
}

#params>div.show {
    display: block;
}

button {
    background-color: #4CAF50;
    color: white;
    padding: 8px 12px;
    border-radius: 3px;
    border: none;
    display: block;
    width: 60%;
    font-size: 18px;
    margin: 16px auto;
}

button:hover {
    background-color: #5fc962;
}


footer {
    width: 100%;
    display: flex;
    justify-content: space-between;
    background-color: #2D2C2F;
    padding: 0.75em 0.75em 0.75em 0.75em;

}

@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: 768px) {
    #frame {
        display: flex;
        flex-direction: column;
    }

    footer {
        font-size: 1em;
        flex-direction: column;
    }

    .MG,
    .save {
        text-align: center;
    }
}