body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    background: #0a0a0a;
    color: #e0e0e0;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

#app-container {
    width: calc(100% - 20px);
    max-width: 414px;
    height: calc(100vh - 20px);
    background: #121212;
    padding: 2px;
    margin: 10px;
    border-radius: 30px;
    position: relative;
    overflow-y: auto;
    overflow-x: hidden;
    border: 1px solid #1f1f1f;
    
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-direction: column;
}

#backgroundCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    opacity: 0.3;
}

#app-container > *:not(#backgroundCanvas) {
    position: relative;
    z-index: 1;
}


  

p {
    color: #ffffff;
    background-color: rgba(30, 30, 30, 0.95);
    margin-top: 0px;
    border-radius: 4px;
    padding: 4px;
    margin-left: 200px;
    border: 1px solid #2a2a2a;
}

h1 {
    margin-top: 2px;
    margin-bottom: 2px;
    color: #ffffff;
    background-color: transparent;
    border: none;
    border-radius: 14px;
    padding: 7px;
    display: flex;
    overflow: hidden;
    font-size: 30px;
    font-weight: 700;
}

h5 {
    margin-top: 2px;
    margin-bottom: 2px;
    color: #707070;
    background-color: transparent;
    border: none;
    border-radius: 14px;
    padding: 7px;
    display: flex;
    overflow: hidden;
    font-size: 0.75rem;
    font-weight: 400;
}

h2 {
    color: #909090;
    background-color: transparent;
    border-radius: 14px;
    padding: 14px;
    font-size: clamp(0.65rem, 3vw, 0.9rem);
    line-height: 1.5;
    text-align: center;
}

h3 {
    margin: 3px;
    color: #a0a0a0;
}

#send-button-delayzeit-sechzehntelnote, #send-button-delayzeit-achtelnote,
#send-button-delayzeit-viertelnote, #send-button-delayzeit-halbenote {
    margin-left: 180px;
    position: sticky;
    top: -23.2px;
    right: -50px;
    margin-top: -20px;
    background: #1a1a1a;
    color: #ffffff;
    border: 1px solid #2f2f2f;
    cursor: pointer;
    transition: all 0.2s ease;
}

#send-button-delayzeit-sechzehntelnote:hover,
#send-button-delayzeit-achtelnote:hover,
#send-button-delayzeit-viertelnote:hover,
#send-button-delayzeit-halbenote:hover {
    background: #252525;
    border-color: #404040;
}

form {
    background-color: rgba(20, 20, 20, 0.8);
    border-radius: 5px;
    border: 1px solid #252525;
    padding: 2px;
    margin-bottom: 0px;
    color: #e0e0e0;
}

label {
    margin-right: 40px;
    color: #b0b0b0;
}

input {
    border-radius: 9px;
    background-color: #1a1a1a;
    color: #ffffff;
    border: 1px solid #2f2f2f;
    padding: 10px;
    transition: all 0.2s ease;
}

input:focus {
    outline: none;
    border-color: #505050;
    background-color: #202020;
}


.legal-text {
    font-size: 1rem;
    color: #606060;
}

/* Landscape Modus (Querformat) */
@media screen and (max-height: 600px) and (orientation: landscape) {
    body {
        align-items: flex-start;
        padding: 5px 0;
    }
    
    #app-container {
        height: auto;
        max-height: calc(100vh - 10px);
        margin: 5px auto;
        padding: 15px 2px;
    }
}

/* Tablet und größer */
@media screen and (min-width: 768px) {
    #app-container {
        max-width: 500px;
    }
}

/* Desktop */
@media screen and (min-width: 1024px) {
    #app-container {
        max-width: 600px;
        height: auto;
        min-height: 600px;
        max-height: calc(100vh - 40px);
    }
}    

