@import url('https://fonts.googleapis.com/css2?family=Geist+Pixel&family=IBM+Plex+Mono:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;1,100;1,200;1,300;1,400;1,500;1,600;1,700&display=swap');


@font-face {
    font-family: 'Departure';
    src: url('/media/fonts/Departure.otf');
    font-weight: normal;
    font-style: normal;
}

body {
    font-family: 'IBM Plex Mono';
    width: 100%;
    height: 100vh;
    margin: 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    user-select: none;
    overflow: hidden;
}

.header {
    width: 100%;
    text-align: left;
    margin-bottom: 80px;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: baseline;
    background-color: white;
    border: 3px solid #0000FD;
}

h2,
ul {
    font-family: 'Departure';
}

ul {
    font-size: 1.5em;
    list-style-type: square;
    text-transform: uppercase;
}

li {
    cursor: help;
}

.bg {
    position: absolute;
    width: 110%;
    height: 100%;
    opacity: 20%;
    z-index: -10;
    color: black;
    font-size: 2em;
    overflow: hidden;
}


button {
    border: none;
    background-color: #0000FD;
    color: white;
    font-size: 2em;
    cursor: pointer;
    text-align: center;
    position: absolute;
    margin-left: 10px;
    z-index: 999;
}

button:hover {
    transform: rotate(36000deg);
    transition: 120s linear;
}

.title {
    text-decoration: underline;
    text-align: center;
}

a {
    color: #0000FD;
    text-decoration: none;
}

.panel {
    width: 50%;
    height: 100%;
    margin: 0;
    padding: 0;
}


.left {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.words {
    background-color: #0000FD;
    color: white;
    clip-path: polygon(0 0, 85% 0, 100% 10%, 100% 100%, 0 100%);
    margin: 0;
    padding: 10px;
    width: 60%;
    height: 70%;
}

.soup {
    background-color: #0000FD;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 0;
    padding: 0;
}

.row {
    display: flex;
    flex-direction: row;
    margin: 0;
    padding: 0;
}

.letter {
    cursor: none;
    margin: 0;
    text-transform: uppercase;
    text-align: center;
    font-size: 1.5em;
    corner-top-left-shape: notch;
    padding: 3px;
    width: 25px;
    height: 30px;

    span {
        display: block;
    }
}

.letter:hover {
    --b: 3px;
    /* thickness of the border */

    --c: #dbfe01;
    /* color of the border */

    --w: 10px;
    /* width of border */


    border: var(--b) solid #0000;
    /* space for the border */
    --_g: #0000 90deg, var(--c) 0;
    --_p: var(--w) var(--w) border-box no-repeat;
    background:
        conic-gradient(from 90deg at top var(--b) left var(--b), var(--_g)) 0 0 / var(--_p),
        conic-gradient(from 180deg at top var(--b) right var(--b), var(--_g)) 100% 0 / var(--_p),
        conic-gradient(from 0deg at bottom var(--b) left var(--b), var(--_g)) 0 100% / var(--_p),
        conic-gradient(from -90deg at bottom var(--b) right var(--b), var(--_g)) 100% 100% / var(--_p);
    padding: 0;

}