/* OpenDyslexic */
@font-face {
    font-family: 'opendyslexic';
    src: url('fonts/OpenDyslexic-Regular.otf');
    font-style: normal;
    font-weight: normal;
} 
  
@font-face {
    font-family: 'opendyslexic';
    src: url('fonts/OpenDyslexic-Italic.otf');
    font-style: italic;
    font-weight: normal;
}
  
@font-face {
    font-family: 'opendyslexic';
    src: url('fonts/OpenDyslexic-Bold.otf');
    font-weight: bold;
    font-style: normal;
} 

/* - - - */

:root {
    --main: #40ffa0;
    --main50: #40ffa080;
    --main25: #40ffa040;
    --bg: #080808;

    font-family: "Hepta Slab", serif;
    font-size: 16px;
    font-style: normal;
}

*::selection {
    background: var(--main25);
}

body {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    max-width: 72rem;
    min-height: 100vh;
    padding: 1rem 0;
    box-sizing: border-box;
    margin: 0 auto;
    color: var(--main);
    background: var(--bg);
}

.content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: calc(100% - 8rem);
    margin: 0 4rem;
}

h1 {
    position: relative;
    font-size: 3rem;
    width: auto;
    padding: 0.5rem 4rem;
    margin: 0 -2rem;
    margin-top: -1px;
    background: var(--main);
}

h1::after {
    content: "";
    position: absolute;
    top: 1px;
    left: 1px;
    width: calc(100% - 2px);
    height: calc(100% - 2px);
    background: var(--bg);
    z-index: -1;
}

h1, h1::after {
    clip-path: polygon(
        1rem 0,
        calc(100% - 1rem) 0,
        100% 50%,
        calc(100% - 1rem) 100%,
        1rem 100%,
        0 50%
    );
}

h2 {
    padding: 0.5rem 1rem;
    border-bottom: 1px solid var(--main);
    margin: 0;
}

h1, h2 {
    text-align: center;
    white-space: nowrap;
    text-wrap: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

p {
    margin: 1rem 0;
}

p, a {
    font-size: 1.125rem;
}

a {
    color: var(--main);
}

.option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.125rem;
    margin: 1rem 0;
    overflow: hidden;
}

.option > label, .option > input[type=checkbox] {
    cursor: pointer;
}

.option > label {
    white-space: nowrap;
    text-wrap: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.option > a {
    text-decoration: none;
}

input[type=checkbox] {
    display: inline-grid;
    place-content: center;
    appearance: none;
    flex: 0 0 1rem;
    width: 1rem;
    height: 1rem;
    border: 0.125rem solid var(--main);
    margin: 0 0.25rem 0 0;
}

input[type=checkbox]::before {
    content: "";
    width: 0.5rem;
    height: 0.5rem;
    background: var(--main);
    transform: scale(0);
    transition: 100ms transform ease;
}

input[type=checkbox]:checked::before {
    transform: scale(1);
}

.block {
    position: relative;
    border: 1px solid var(--main);
    box-sizing: border-box;
    background: var(--bg);
}

.columns {
    display: grid;
    gap: 1rem;
    grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
}

.column {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.section {
    margin: 2rem;
}

.divider {
    height: 0.5rem;
    margin: 0 -2rem;
    background: repeating-linear-gradient(
        135deg,
        transparent,
        transparent 7px,
        var(--main) 7px,
        var(--main) 8px
    );
}

.timestamp {
    margin-bottom: -1rem;
    font-size: 0.875rem;
    opacity: 75%;
}

#discord-link {
    display: block;
    padding: 1rem 0;
}

#discord-embed {
    display: block;
    position: relative;
    max-width: calc(100% - 2rem);
    border: 1px solid var(--main);
    margin: 0 auto;
    pointer-events: none;
    overflow: hidden;
}



/* mobile stuffs */
.mobile {
    display: none;
}

@media (max-width: 800px) {
    .mobile {
        display: block;
    }

    :root {
        font-size: 12px;
    }

    .columns {
        grid-template-columns: minmax(0, 1fr);
    }
}