﻿@import url("/css/theme.css");

html, body {
    height: 100%;
}

body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
}

input, textarea {
    font-family: 'Montserrat', sans-serif;
}

a {
    color: inherit;
    text-decoration: inherit;
}

label {
    display: block;
    font-weight: bold;
    margin-bottom: 8px;
}

legend {
    font-weight: bold;
}

subtitle {
    font-size: 0.8rem;
}

grid, subgrid {
    display: grid;
}

flex {
    display: flex;
}

vertical-space {
    display: block;
}

center {
    display: flex;
    align-items: center;
    justify-content: center;
}

button {
    background: none;
    border: none;
    outline: none;
    background-color: var(--color-primary);
    border-radius: 8px;
    color: var(--color-white);
    cursor: pointer;
    padding-bottom: 8px;
    padding-top: 8px;
    padding-left: 16px;
    padding-right: 16px;
    font-family: 'Montserrat', sans-serif;
}

button:disabled {
    background-color: dimgray;
}

button:hover {
    background-color: var(--color-blue-500);
}

button:disabled:hover {
    background-color: dimgray;
}

icon, icon-button, close-button {
    font-family: "Material Symbols Outlined";
}

icon-button {
    cursor: pointer;
    font-size: 24px;
}

    icon-button[type=close]::after {
        content: "clear";
    }

input, select {
    padding: 10px;
    border: solid 2px;
    border-radius: 5px;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

    input:focus, select:focus {
        padding: 9px;
        border: solid 3px;
    }

table {
    width: 50vw;
    max-width: 1000px;
}

table, tr, th, td {
    border: 1px solid;
    border-spacing: 0px;
}

td {
    padding: 5px;
}

p {
    margin-top: 8px;
    margin-bottom: 8px;
}