/* Import font: IBM Plex Sans */
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:ital,wght@0,100..700;1,100..700&display=swap');

/* Colors! */
:root {
    --background: #040c18;
    --text: #dae6f9;
    --primary: #24158e;
    --secondary: #8bbcee;
    --accent: #8845e4;
}

/* W3C elements */

body {
    font-family: 'IBM Plex Sans', sans-serif;
    color: var(--text);
    background-color: var(--background);
}

a {
    color: white;
}

a:hover {
    text-decoration: none;
}

table {
    width: 100%;
}

/* Layout elements */

@media (min-width: 1000px) {
    .flexContainer {
        display: flex;
    }

    .characterContainer {
        max-width: 360px;
    }
}

.container {
    max-width: 1200px;
    padding: 1rem 1.5rem;
    background-color: #18131c;
    margin: 1rem auto;
    border-radius: 16px;
}

.summaryContainer {
    background-color: var(--background);
    border-radius: 12px;
    padding: 1rem;
    margin: 1rem 0;
}

.flexContainer {
    flex-wrap: wrap;
    justify-content: center;
}

.backgroundContainer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-position: center;
    background-size: cover;
    filter: brightness(25%) blur(8px);
    z-index: -1;
}

.characterContainer {
    position: relative;
    background-color: #FFFFFF10;
    padding: 1rem;
    margin: 0.5rem;
    width: 90%;
    border-radius: 12px;
    transition: transform 0.1s ease-out;
    perspective: 1000px;
    overflow: hidden;
}


.characterContent {
    transition: transform 0.1s ease-out;
    position: relative;
}


/* Objects */

.textInput {
    padding: .8rem;
    margin: .5rem;
    width: 10rem;
    border: none;
    border-radius: 8px;
}

.searchInput {
    padding: .5rem;
    margin: .25rem;
    min-width: 8rem;
    border: none;
    border-radius: 8px;
}

.buttonInput {
    background-color: var(--primary);
    padding: .8rem 1.5rem;
    border-radius: 8px;
    border: none;
}

.buttonInput:hover {
    background-color: var(--accent);
}

.buttonInput:active {
    background-color: var(--secondary);
}

/* Misc */

.highlight {
    color: var(--accent);
}

.charTitle {
    font-weight: 200;
    color: white;
    font-size: 1.5rem;
}

.charAsignee {
    font-size: 1.1rem;
}