html,
body {
    height: 100%;
}

body {
    hyphens: auto;
    overflow-wrap: break-word;
    display: flex;
    flex-direction: column;

    /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#a4e7fc+0,69d0ef+41,35eaea+77 */
    background: linear-gradient(135deg, rgba(164, 231, 252, 1) 0%, rgba(105, 208, 239, 1) 41%, rgba(53, 234, 234, 1) 77%);
    background-attachment: fixed;
}

body,
h1,
h2,
h3,
h3,
h4,
h5 {
    font-family: serif
}

.flexgrow {
    flex: 1 0 auto;
}

legend {
    border: 0;
    display: block;
    width: 100%;
    padding: 0.3em 0;
    margin-bottom: 0.3em;
    border-bottom: 1px solid #e5e5e5;
}

fieldset {
    border: 0;
    padding: 0;
}

.form {
    max-width: 40em;
    margin: auto;
    background-color: white;
}

/* https://www.w3schools.com/howto/howto_css_hide_arrow_number.asp */
.textfield {
    -moz-appearance: textfield;
}

.grid,
.gridsmall {
    display: grid;
    grid-gap: 1.2em;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    /* overflow: hidden; */
}

.grid>div {
    padding: 1em;
}

.grid>a>div {
    height: 100%;
    padding: 1em;
}

.gridsmall>a>div {
    height: 100%;
    padding: 0.6em;
}

a:link {
    text-decoration: none;
}

.addbutton {
    position: fixed;
    top: 50%;
    right: 1em;
}

.margin-top-1cm {
    margin-top: 1cm;
}

.halfheight {
    height: 50vh;
}

.bold {
    font-weight: bold
}

.gallery>a {
    height: 10em;
    width: 10em;
    background-color: white;
    float: left;
    margin: .5em;
    padding: .5em;
    font-size: medium;
    text-align: center
}

.gallery>a>p {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.width3 {
    width: 3em;
}

.width55 {
    width: 55em;
}

.monospace {
    font-family: monospace;
    font-size: medium;
}

.external {
    text-decoration: underline !important;
}

.external::after {
    font-family: var(--fa-style-family, "Font Awesome 6 Free");
    font-weight: var(--fa-style, 900);
    content: "\f08e";
    vertical-align: super;
    font-size: 12px;
    padding-left: 2px;
}

input,select {
    margin-bottom: 1em;
}

.my-input {
    padding: 8px;
    border: none;
    border-bottom: 1px solid #ccc;
}

.wrongAccessData {
    animation: wechselHintergrund 3s forwards;
}

@keyframes wechselHintergrund {

    0%,
    100% {
        background-color: white;
    }

    20% {
        background-color: lightcoral;
    }
}

.flex, .flex-align-items-center {
    display: flex;
}

.flex-align-items-center {
    align-items: center;
}

.today {
    border-color: red;
    border-style: solid;
}