@font-face {
    font-family: DDMFont;
    src: url("../resources/asul-regular.ttf");
  }

body {
    font-family: DDMFont;
    background-color: rgb(56, 56, 56);
    color: white;
    margin: 1% 10%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    align-content: center;
    touch-action: manipulation;
}
a {
    color: white;
    /* text-decoration: underline; */
    cursor: pointer;
}

button {
    --border-color: rgb(0,0,0);
    --border-width: 0.15em;
    --curve-size: 0.5em;
    --blur: 30px;
    --bg: #ffffff;
    border: 0;
    cursor: pointer;
    position: relative;
    isolation: isolate;    
    clip-path: polygon(
        /* Top-left */ 0% var(--curve-size),
        var(--curve-size) 0,
        /* top-right */ 100% 0,
        100% calc(100% - var(--curve-size)),
        /* bottom-right 1 */ calc(100% - var(--curve-size)) 100%,
        /* bottom-right 2 */ 0 100%
    );
    text-transform: uppercase;
}
button::after,
button::before {
  content: "";
  position: absolute;
  inset: 0;
}
button::before {
    background: var(--border-color);
    background-size: 300% 300%;
    z-index: -2;
}
button::after {
    background: var(--bg);
    z-index: -1;
    clip-path: polygon(
      /* Top-left */ var(--border-width)
        calc(var(--curve-size) + var(--border-width) * 0.5),
      calc(var(--curve-size) + var(--border-width) * 0.5) var(--border-width),
      /* top-right */ calc(100% - var(--border-width)) var(--border-width),
      calc(100% - var(--border-width))
        calc(100% - calc(var(--curve-size) + var(--border-width) * 0.5)),
      /* bottom-right 1 */
        calc(100% - calc(var(--curve-size) + var(--border-width) * 0.5))
        calc(100% - var(--border-width)),
      /* bottom-right 2 */ var(--border-width) calc(100% - var(--border-width))
    );
}
button:disabled {
    --border-color: rgba(255, 255, 255, .5);
    --bg: unset;
}

button, input[type="text"], input[type="color"], input[type="number"] {
    min-height: 5vh;
    min-width: 2vw;
}

button, input {
    font-weight: bold;
    text-align: center;
}