table, td, tr {
    padding: 0;
}

import { createTheme, ThemeProvider } from '@mui/material/styles';

const theme = createTheme({
  // Your Material UI theme customizations here
});

function MyComponent() {
  return (
    <ThemeProvider theme={theme}>
      <div className="your-css-classes">
        {/* Your HTML elements */}
      </div>
    </ThemeProvider>
  );
}

@font-face {
    font-family: "Roboto";
    src: url(fonts/Roboto-Regular.ttf);
}
@font-face {
    font-family: "Roboto";
    src: url(fonts/Roboto-Regular.ttf);
}

img[src=""] {
    display: none !important;
}

#level .tile {
    position: relative;
    top: 0;
    left: 0;
}

:root {
    --scaleWidth: 1;
    --scaleHeight: 1;
}

.break {
    flex-basis: 100%;
  }

.cannonsettings tr:nth-child(1){
    width: 19%;
}

.cannonsettings td{
    width: 27%;
}

.cannonsettings td p{
    font-size: 80%;
    text-align: center;
}

td[candy_cannon = '["005"]'][candy_entrance = "026"] .candy_cannon {
    content:url("elements/candy_cannon_invisible.png") !important;
    display: block !important;
}

td[candy_cannon = '["005"]'] .candy_cannon {
    content:url("elements/candy_cannon_invisible_all.png") !important;
    display: block !important;
}

td[candy_cannon = '[]'] .candy_cannon, td[candy_cannon = ""] .candy_cannon {
    content:url("") !important;
}

td[candy_cannon = '[]'] .ammocontainer, td[candy_cannon = ""] .ammocontainer {
    display: none !important;
}

td .candy_cannon {
    content:url("elements/candy_cannon.png") !important;
    display: block !important;
    pointer-events: none;
}

#level {
    transform: scale(var(--scaleWidth, --scaleHeight));
    z-index: 10;
    color: white;
    margin-left: auto;
    margin-right: auto;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.center {
    margin-left: auto;
    margin-right: auto;
}

.MergePro {
    font-family: "MergePro";
}

.DroidSans {
    font-family: "DroidSans"
}

.buttons {
    display: flex;
    flex-direction: column;
	color: #ff94ed
}

.buttons .dropdown:hover {
    border-bottom-color: #cc689f;
    border-top-color: #8b416a;
}

:root {
	--custom-color: #f0aad0;
}

.material-button.filled.tonal {
	background-color: var(--custom-color);
}

.colorselected, .elementselected, .preferredselected {
    background-color: hsla(0, 0%, 100%, 0.565) !important;
    border-radius: 5px;
}

.buttons .dropdown{
    padding: 0;
    width: 100%;
    height: 40px;
    background: #ffccea;
      );
    border: 2px solid;
    margin: 0;
    color: #a73b58;
    text-align: left;
    text-decoration: none;
    display:inline-block;
    border-top-color: #db6faa;
    border-bottom-color: #a04c7a;
    border-left-color: transparent;
    border-right-color: transparent;
}

.navbarflex {
    justify-content: center;
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 33%;
    margin: 0;
    padding: 0;
    height: 100%;
}

.selectionimage {
    max-width: 40px;
    max-height: 40px;
}

.sidetitle{
    background: repeating-linear-gradient(
        45deg,
        #f1c0dc,
        #f1c0dc 10px,
        #f0aad0 10px,
        #f0aad0 20px
      );
    border: none;
    height: 45px;
    padding: 0;
    margin: 0;

    width: 100%;
    text-align: left;
    text-decoration: none;
    display: inline-block;
}

.sidetitledream{
    background: repeating-linear-gradient(
        45deg,
        #873ee6,
        #873ee6 10px,
        #702bb1 10px,
        #702bb1 20px
      );
    border: none;
    height: 45px;
    padding: 0;
    margin: 0;

    width: 100%;
    text-align: left;
    text-decoration: none;
    display: inline-block;
}

.sideselectionright {
    height: 95%; 
    width: 20%; 
    position: fixed; 
    z-index: 1; 
    bottom: 0; 
    right: 0;
    background: repeating-linear-gradient(
        45deg,
        #724a60,
        #724a60 10px,
        #6b455a 10px,
        #6b455a 20px
      );
    overflow-x: hidden; 
}

#exportmenu, #importmenu, #creditsmenu {
    position: fixed; 
    width: 100vw; 
    height: 100vh; 
    background-color: #000000b5; 
    z-index: 100;
    overflow-x: hidden; 
    margin: 0;
    padding: 0;
    top: 0; 
    left: 0;
}

img[src="elements/cake_top_left.png"], img[src="elements/cake_bottom_left.png"]{
    position: absolute;
    right: -11% !important;
    z-index: 3;
}

img[src="elements/cake_top_right.png"], img[src="elements/cake_bottom_right.png"]{
    position: absolute;
    right: 100% !important;
    z-index: 3;
}

.sideselection {
    height: 95%; 
    width: 20%; 
    position: fixed; 
    z-index: 1; 
    bottom: 0; 
    left: 0;
    background: repeating-linear-gradient(
        45deg,
        #724a60,
        #724a60 10px,
        #6b455a 10px,
        #6b455a 20px
      );
    overflow-x: hidden; 
  }

.sideoptions {
    text-align:center;
    background-image: #a1a1a1);
    background-size: cover;
    background-color: #00000000;
    background-position: center;
    background-size: 120%;
    border: none;
    min-height: 45px;
    padding: 10px;
    margin: 0;
      );
    border: none;
    min-height: 45px;
    padding: 10px;
    margin: 0;

    text-align: left;
    text-decoration: none;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    border: 2px solid;
    border-top-color: #db6faa;
    border-bottom-color: #a04c7a;
    border-left-color: transparent;
    border-right-color: transparent;
}

.sideoptionsdream {
    text-align:center;
    background: repeating-linear-gradient(
        45deg,
        #501885,
        #501885 10px,
        #49157a 10px,
        #49157a 20px
      );
    border: none;
    min-height: 45px;
    padding: 10px;
    margin: 0;

    text-align: left;
    text-decoration: none;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    border: 2px solid;
    border-top-color: #40136b;
    border-bottom-color: #40136b;
    border-left-color: transparent;
    border-right-color: transparent;
}

.leveltypelabel {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

.selectimg {
    display: none;
    z-index: 10 !important;
}

.selected .selectimg {
    display: block !important;
}

.dropped {
    background: repeating-linear-gradient(
        45deg,
        #724a60,
        #724a60 10px,
        #6b455a 10px,
        #6b455a 20px
      );
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    padding: 10px;
    padding-left: 5%;
    padding-right:0;
}

.dropped button, .preferred{
    background-color: transparent;
    border: none;
    width: 45px;
    height: 45px;
    line-height: 65px;
    padding: 0;
    margin: 1%;
}

.dropped button:hover, .preferred:hover{
    background-color: hsla(0, 0%, 100%, 0.2);
    border-radius: 5px;
}

#level .object {
    position: absolute;
    max-width:72px;
    max-height:64px;
    height: auto;
    width: auto;
}

.vertical-center {
    margin: 0;
    position: absolute;
    top: 50%;
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
  }

#level .walldown {
    position: absolute;
    bottom: -100%;
    z-index: 2;
    pointer-events: none;
}

#level .wallup {
    position: absolute;
    bottom: 100%;
    z-index: 2;
    pointer-events: none;
}

#level .wallleft {
    position: absolute;
    right: 100% !important;
    left: 0 !important;
    z-index: 2;
    pointer-events: none;
}

#level .wallright {
    position: absolute;
    right: -100%;
    z-index: 2;
    pointer-events: none;
}

#level .stretched {
    max-width:72px;
    max-height:64px;
    width: max-content !important;
    height: max-content !important;
}

#level .small {
    max-width:64px !important;
    max-height:56px !important;
}

#level img[src="elements/hazelnut.png"] {
    max-width:58px !important;
    max-height:50px !important;
}

.navbar {
    overflow: hidden;
    background: repeating-linear-gradient(
        45deg,
        #f1c0dc,
        #f1c0dc 10px,
        #f0aad0 10px,
        #f0aad0 20px
      );
    border-style: solid;
    border-width: 2px;
    border-color: #db6faa;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 5%;
    z-index: 6;
  }

#level .ingredients_exit {
    position: absolute;
    max-width: 32px !important;
    max-height: 32px !important;
    bottom: -120%;
    z-index: 3;
    pointer-events: none;
}

#level .ammocontainer {
    position:absolute;

    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-content:center;
    justify-content:center;

    pointer-events: none;

    left: 5;

    margin: 0;
    padding: 0;
    max-width: 64px !important;
    height: 45px;
    bottom: 100%;
}

#level .ammocontainer img:first-child:nth-last-child(n + 2),
#level .ammocontainer img:first-child:nth-last-child(n + 2) ~ img{
    max-width: 50%;
}

#level .ammocontainer img:first-child:nth-last-child(n + 3),
#level .ammocontainer img:first-child:nth-last-child(n + 3) ~ img{
    max-width: 33%;
}

#level .ammocontainer img:first-child:nth-last-child(n + 7),
#level .ammocontainer img:first-child:nth-last-child(n + 7) ~ img{
    max-width: 25%;
}

#level .ammocontainer img:first-child:nth-last-child(n + 13),
#level .ammocontainer img:first-child:nth-last-child(n + 13) ~ img{
    max-width: 20%;
}

#level .ammocontainer img {
    max-width: 60%;

    margin: 0;
    padding: 0;
    z-index: 11;

    flex-shrink: 1;
    flex-grow: 0;
    flex-basis: auto;

    position: static
}

#level .candy_cannon {
    position: absolute;
    bottom: 170%;
    z-index: 3;
    pointer-events: none;
}

#level .candy_entrance {
    position: absolute;
    max-width: 28px !important;
    max-height: 28px !important;
    bottom: 80%;
    z-index: 3;
    pointer-events: none;
}

#level .fence_down {
    position: absolute;
    bottom: -100%;
    z-index: 3;
    pointer-events: none;
}

#level .cakebomb {
    position: absolute;
    z-index: 3;
    bottom: -100%;
    left: 10% !important;
    max-width:144px !important;
    max-height:128px !important;
}

#level .default {
    position: absolute;
    top: 0px;
    left: 0px;
    max-width:72px;
    max-height:64px;
}

#level .rainbow_cannon_top {
    position: absolute;
    bottom: 170%;
    z-index: 2;
    pointer-events: none;
}

#level .rainbow_cannon_bottom {
    position: absolute;
    top: 85%;
    z-index: 2;
    pointer-events: none;
}

#level .rainbow_cannon_left {
    position: absolute;
    transform: translateX(-30px);
    z-index: 2;
    pointer-events: none;
}

#level .rainbow_cannon_right {
    position: absolute;
    left: 61%;
    z-index: 2;
    pointer-events: none;
}

#main {
    display: flex;
    flex-direction: row;
    justify-content: center;
}

#background {
    position: absolute;
    margin-right: 20%;
    margin-left: 20%;
    margin-top: 0;
    margin-bottom: 0;
    width: 60vw;
    height: 100%;
    padding: 0;
    top: 0;
    left: 0;
    overflow-y: hidden;
    overflow-x: hidden;
}

.popup {
    width: 40%;
    height: 50%;
    margin: auto;
    background-color: #545454;
    position: absolute;
    top: 50%;
    left: 30%;
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    border-radius: 10px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

#level img {
    top: 0px;
    left: 0px;
    bottom: 0;
    image-rendering: pixelated;
    image-rendering: -moz-crisp-edges;
    image-rendering: crisp-edges;

    position: absolute; 
    margin: auto;
    right: 0;
    text-align: center;
    z-index: 1;
}
