@import url("/style/prideflag.css");
@import url("/font/inter/inter.css");

body {
    width: 100%;
    height: calc(100vh - 1em);

    margin: 0;
    padding: 0;

    font-family: "Inter", sans-serif;
    font-size: 16px;

    color: #303030;
    background: #f0f0f0;
}

nav {
    width: min(720px, calc(100% - 2em));
    height: 2em;
    margin: 1em auto;
    display: flex;
    flex-direction: row;
    justify-content: left;

    background: #f8f8f8;
    border-radius: .5em;
    border: 1px solid #808080;
}
nav .icon {
    height: 100%;
}
nav .title {
    width: auto;
    height: 100%;

    margin: 0 1em 0 0;

    display: flex;

    line-height: 2em;
    text-decoration: none;

    color: inherit;
}
nav a {
    width: auto;
    height: 100%;

    margin: 0px;
    padding: 0 1em;

    display: flex;

    line-height: 2em;
    text-decoration: none;

    color: inherit;
}
nav a:hover {
    background: #00000010;
    text-decoration: none;
}
nav #logout {
    margin-left: auto;
}

main {
    width: min(720px, calc(100% - 2em));
    margin: 0 auto;
    padding: 1em;
}

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

a:hover {
    text-decoration: underline;
}

a img.icon {
    height: .8em;
}

.card {
    margin-bottom: 1em;
}

.card h2 {
    margin: 0 0 .5em 0;
}

/*
.card h3,
.card p {
    margin: 0;
}
*/

.card-title {
    margin-bottom: 1em;
    display: flex;
    gap: 1em;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.card-title h1,
.card-title h2,
.card-title h3 {
    margin: 0;
}

@media screen and (max-width: 520px) {
    body {
        font-size: 12px;
    }
}
