@font-face {
    font-family: IBM Plex Sans;
    src: url('/static/fonts/IBMPlexSans-Regular.ttf');
}

@font-face {
    font-family: IBM Plex Sans;
    font-weight: bold;
    src: url('/static/fonts/IBMPlexSans-SemiBold.ttf');
}

@font-face {
    font-family: IBM Plex Sans;
    font-style: italic;
    src: url('/static/fonts/IBMPlexSans-Italic.ttf');
}

@font-face {
    font-family: IBM Plex Sans;
    font-weight: bold;
    font-style: italic;
    src: url('/static/fonts/IBMPlexSans-SemiBoldItalic.ttf');
}

* {
    font-family: 'IBM Plex Sans', sans-serif;
    margin: 0;
    box-sizing: border-box;
}

.header {
    background-color: #04aa6d;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: fit-content;
    padding: 8px;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}

.header-group {
    width: 50%;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    row-gap: 2px;
    column-gap: 2px;
}

select,
.button {
    background-color: #04aa6d;
    color: white;
    font-weight: bold;
    font-size: medium;
    text-decoration: none;
    width: 7em;
    padding: 8px 24px;
    text-align: center;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.button:hover {
    background-color: #037a4e;
}

select {
    width: 11em;
}

select option:checked {
    display: none;
}

/* placed after the button, to override its text-decoration */
.active {
    text-decoration: underline;
}

.content {
    margin-top: 8em;
    margin-bottom: 2em;
    margin-left: 5%;
    margin-right: 5%;
}

.container {
    background-color: #f2f2f2;
    border-radius: 4px;
    padding: 8px;
    width: 80%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.row {
    padding: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    row-gap: 2px;
    column-gap: 2px;
}

.column {
    display: flex;
    flex-direction: row;
    row-gap: 2px;
    column-gap: 2px;
}

@media (max-width: 600px) {
    .column {
        flex-direction: column;
    }

    .header {
        flex-direction: column;
    }

    .header-group {
        width: 100%;
    }
}

textarea,
input[type=url],
input[type=text] {
    width: 100%;
    padding: 1em;
    font-size: smaller;
    border: 1px solid #ccc;
    border-radius: 4px;
}

textarea {
    min-height: 3em;
    max-height: 40em;
}

input[type=checkbox] {
    width: 3em;
    height: 1.5em;
}

hr {
    border: none;
    height: 1px;
    background-color: #ccc;
    color: #ccc;
}

.blured {
    color: transparent;
    text-shadow: 0 0 0.5em rgba(0, 0, 0, 1);
}

.blured:hover {
    color: #037a4e;
    text-shadow: none;
}
