@import url('https://fonts.googleapis.com/css2?family=DynaPuff:wght@400..700&family=Work+Sans:ital,wght@0,100..900;1,100..900&display=swap');

body {
    font-family: "Work Sans", system-ui;
    max-width: 1024px;
    margin: auto;
    padding: 10px;
    background-color: #abe7f5;
    background-image: url("/assets/waves.svg");
    background-repeat: repeat;
    background-size: 12em;
    display: flex;
    flex-direction: column;
    gap: 1em;
}

h1, h2, th {
    font-family: "DynaPuff";
}

button, .button {
    background: none;
    border: 3px solid black;
    border-radius: 10px;
    padding: 5px 10px;
    color: black;
    text-decoration: none;
    font: inherit;
    font-size: 0.75em;
}

.link {
    border: none;
    padding: 0;
    margin: 0;
    text-decoration: underline;
    font-size: 1em;
}

.modal-close-button {
    background-color: #2e3192;
    border: 6px solid #212173;
    color: white;
    position: absolute;
    top: 0;
    right: 0;
    width: 50px;
    height: 50px;
    border-radius: 2000px;
    padding: 0;
}
.modal-close-button:focus {
    outline: none;
}


.slider {
    background-color: #161658;
    height: 60px;
    width: 240px;
    border-radius: 2000px;
    position: relative;
}

.slider .handle {
    background-color: white;
    color: black;
    height: 50px;
    width: 50px;
    border-radius: 2000px;
    position: absolute;
    top: 5px;
    left: 5px;
    
    display: flex;
    justify-content: center;
    align-items: center;

    cursor: grab;
    user-select: none;
}

.slider .handle:active {
    cursor: grabbing;
}

.handle.reverse {
    left: 185px;
}


dialog {
    /* border-radius: 10px; */
    background-color: transparent;
    border: none;
    background-image: url("/assets/kickboard.svg");
    background-size: 100% 100%;
    background-repeat: no-repeat;
    color: white;
    aspect-ratio: 320 / 500;
    box-sizing: border-box;
}

.dialog-container {
    display: flex;
    flex-direction: column;
    gap: 1em;
    align-items: center;
    justify-content: center;
    height: 100%;
}

table, th, td {
    border: 1px solid black;
    border-collapse: collapse;
    padding: 5px 10px;
}

.button-header {
    display: grid;
    grid-template-columns: minmax(min-content, max-content) minmax(min-content, 1fr);
    gap: 2em;
    align-items: center;
}

.header-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    max-width: 100%;
}

a {
    color: currentColor;
}

.flex {
    display: flex;
    gap: 5px;
    align-items: center;
    justify-content: center;
}
.col {
    flex-direction: column;
}

.small {
    font-size: 0.5em;
}

.centered-paragraph {
    width: 20em;
    line-height: 1.5em;
    text-align: center;
}