@import url('/static/css/colors.css');
@import url('/static/css/fonts.css');
@import url('/static/css/tooltip.css');

* {
    --gap: 10px;
    --bright: var(--white);
    --dark-purple: #462C7D;
    --dark-pink: #831C91;
    --light-pink: #831C91;
    --really-vibrant-pink: rgb(255, 45, 241, 0.7);
    --yellow: rgb(246, 220, 67);
    --pic-background: rgb(255, 255, 255, 0.7);
    padding: 5px;
}

body {
    background-image: url('/static/backgrounds/space_background.gif');
    width: 770px;
    display: flex;
    position: relative;
    justify-content: center;
    align-items: start;
    column-gap: var(--gap);
    row-gap: var(--gap);
    padding-top: 5%;
    margin-left: auto;
    margin-right: auto;
}

a {
    color: magenta;
}

.left {
    align-items: center;
    justify-content: center;
    position: relative;
}

.myflags img {
    padding: 0;
    width: 150px;
}

.myflags {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 10px;
}

.shortinfo {
    border-radius: 1em;
    font-size: 24px;
    display: grid;
}

/* bullshit colors */
.shortinfo .q {
    background-color: var(--really-vibrant-pink);
    font-family: 'Redaction 35';
    font-style: italic;
    text-transform: uppercase;
}

.shortinfo .a {
    background-color: var(--yellow);
    overflow: hidden;
    font-family: 'Redaction 70';
    font-style: italic;
    text-align: right;
}

.right {
    display: flex;
    flex-direction: column;
}

.longinfo {
    background-color: var(--white);
    font-family: 'Redaction 70';
}

.pic img {
    border: solid var(--pic-background);
    border-radius: 15%;
    background-color: var(--pic-background);
    --img-size: 200px;
    image-rendering: pixelated;
    width: var(--img-size);
    height: var(--img-size);
}

.pic {
    text-align: center;
    width: max-content;
    height: max-content;
}

.likesndislikes {
    margin-top: 10px;
}

table {
    font-family: 'Redaction 70';
    width: 100%;
    display: table;
}

table tbody tr {
    display: table-cell;
}

table tbody tr td {
    display: grid;
    text-align: right;
    justify-content: right;
}

th {
    width: 50%;
    text-align: left;
}

.dislikes {
    display: grid;
}

.dislikes > * {
    color: rgb(255, 0, 0);
}

.likes > * {
    color: rgb(0, 255, 0);   
}