* {
  box-sizing: border-box;
}

body{margin:0;
    touch-action: none;}


#permissionLayer{
    position: fixed;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
    opacity: .3;
    background-color: #ffed00;
}

#startButton{
    padding: 20px 40px;
}

.app{
    min-height: 100svh;
    background-color: #0e0e0e;
    display: grid;
    grid-template-rows: auto 1fr auto;
}

header{
    background-color: #ffed00;
    padding: .5rem;
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.name{
    font-weight: normal;
    display: inline-flex;
    align-items: center;
    gap: 2px;
    height: 1.1rem;
}

.logo-letter{
    height: 100%;
    width: auto;
    overflow: visible;
}

.logo-letter .logo-base{
    fill: none;
}

.logo-letter .logo-mask{
    fill: #0e0e0e;
}

.logo-space{
    display: inline-block;
    width: .4em;
}

main{
    background-color: #0e0e0e;
    padding: .5rem;
    container-type: size;
    display: grid;
    place-content: center;
}

#zeichenFlaeche {
    width: min(72cqw, 80cqh, 320px);
    height: auto;
    overflow: visible;
}

#poly-base {
    fill: none;
}

footer{
    background-color: transparent;
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    padding: .5rem;
    place-content: center;
}

#tempQ, #tempW {
    grid-row: 1;
}

footer>button{
    flex-basis: 3rem;
    border-radius: 5px;
    min-height: 2rem;
}

button{
  background-color: #0e0e0e;
  color: #ffed00;
  border-color: #ffed00;
  border-style: solid;
}



