body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
        Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
}

/* Page Default */
div.pagebody {
    padding: 10px;
    text-align: center;
}

/* Small Navigation */
nav {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: center;
    justify-content: flex-start;
    align-items: center;
    padding: 10px;
    margin: 10px;
    list-style: none;
}

nav li {
    padding: 2px;
}

nav a {
    text-decoration: none;
    font-weight: bold;
    color: black;
    padding: 4px;
}

nav a:hover {
    color: blue;
}

/* Categories Title */
div.title>h1 {
    text-decoration: underline;
    font-size: 30px;
    padding: 10px;
}

/* Categories */
div.categories {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    align-content: center;
    justify-content: center;
    text-align: center;
    padding: 10px;
}

div.items {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: center;
    justify-content: center;
    align-items: stretch;
    padding: 0px;
}

div.item {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: flex-start;
    align-items: center;
    margin: 10px;
    padding: 10px;
    border: 2px solid black;
    text-align: center;
    width: 300px;
    height: 385px;
}

div.item>img {
    width: 16em;
    height: 16em;
    margin: 10px;
}

div.item>h4 {
    padding: 10px;
}

div.item>h4>a {
    color: black;
    text-align: center;
    text-decoration: none;
    transition: all 0.5s linear;
}

div.item>h4>a:hover {
    color: aqua;
    text-shadow: rgba(0, 0, 0, 0.5) 0px 15px 4px;
    animation: 5s infinite linear colors;
}

/* Custom Toast */
div.toastmanage {
    display: flex;
    align-items: center;
    flex-direction: column;
    text-align: center;
}

#toast {
    visibility: hidden;
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 10px;
    padding: 10px;
    bottom: 30px;
    font-size: 15px;
    width: 50%;
    position: fixed;
}

#toast.show {
    visibility: visible;
    -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
    animation: fadein 0.5s, fadeout 0.5s 2.5s;
}

@-webkit-keyframes fadein {
    from {
        bottom: 0;
        opacity: 0;
    }

    to {
        bottom: 30px;
        opacity: 1;
    }
}

@keyframes fadein {
    from {
        bottom: 0;
        opacity: 0;
    }

    to {
        bottom: 30px;
        opacity: 1;
    }
}

@-webkit-keyframes fadeout {
    from {
        bottom: 30px;
        opacity: 1;
    }

    to {
        bottom: 0;
        opacity: 0;
    }
}

@keyframes fadeout {
    from {
        bottom: 30px;
        opacity: 1;
    }

    to {
        bottom: 0;
        opacity: 0;
    }
}