@import url(global.css);
@import url(https://fonts.googleapis.com/css2?family=Caveat&display=swap); /** neocities dont decline it plz */

@font-face {
    font-family: 'abaddon_light';
    src: url(/font/abaddon_light-webfont.woff);
}

* {
    color: white;
}

body {
    background-image: linear-gradient(45deg, #000000, #431991, #404d9b, #03c72d, #7ddb12, #c9a814, #dd241d, #000);
    padding: 30px;
    background-size: cover;
    background-repeat: no-repeat;
}

header {
    background-color: #003399;
    padding: 10px;
    width: 100%;
}

main {
    margin-top: 15px;
    border: 2px solid yellow;
    display: flex;
    flex-direction: row;
    gap: 0;
}

main .left, main .right {
    padding: 10px;
}

main .right {
    flex-grow: 1;
    background-color: black;
}

.section-head {
    background-color: lime;
    font-size: 20px;
    padding: 2px;
}

.section-head, .section-head * {
    color: black;
}

.section-head a:hover {
    color: blue;
}

main .left {
    background-color: #0d315f;
    min-width: 250px;
    max-width: 250px;
}

main .left * {
    font-family: 'BetterComicSans', 'Comic Sans MS', 'Comic Sans', sans-serif;
    font-size: 16px;
}

.to-right {
    display: flex;
    justify-content: end;
    padding-right: 10px;
    width: 100%;
}

.note {
    margin: 10px;
    rotate: 2deg;
    background-color: #fff896;
    padding: 10px;
}

.note, .note * {
    color: black;
    font-size: 22px;
}

.note b {
    color: purple;
}

.note p {
    margin-bottom: 0;
}

.about-subpage {
    background-image: linear-gradient(90deg, #0d0e58, #31062b);
    margin: 10px 0;
    border-radius: 10px;
    padding: 5px;
    position: relative;
    overflow: hidden;
}

.window, .window * {
    font-family: 'abaddon_light', monospace;
}

.title-bar {
    display: flex;
    background-image: linear-gradient(90deg, #0d4211, #1d1058);
    justify-content: space-between;
    align-items: center;
    padding: 2px 5px;
    user-select: none;
}

.title-bar img {
    pointer-events: none;
}

.window-content {
    padding: 5px;
    background-color: #ffffff;
}

.window-content, .window-content *, .title-bar-button {
    color: black;
}

.window {
    margin-bottom: 10px;
}

.window-content ul li {
    margin-bottom: 0;
}

.row div:has(.window) {
    min-width: calc(100% / 2 - 10px);
}

.details {
    border: 2px solid lime;
    background-color: black;
}

.section-padding {
    padding: 5px;
}

.details p {
    margin-bottom: 0;
}

.caption {
    background-color: #120e8a;
    margin-top: 2px;
}

.poland-flag {
    background-image: url(/img/poland.gif);
    background-repeat: no-repeat;
    background-size: contain;
    position: absolute;
    top: 10px;
    left: 10px;
    width: 220px;
    height: 150px;
    rotate: 10deg;
}

.core-interest-coding {
    background-image: url(https://textures.neocities.org/textures/humans-and-technology/comp016.gif);
    margin-left: -5px;
    width: calc(100% + 10px);
    padding: 10px;
    padding-bottom: 30px;
    display: flex;
    justify-content: space-between;
}

.core-interest-writing {
    background-image: url(https://textures.neocities.org/thumbnails/paper-and-sponge/thumb_Fiesta_Bkgrd.jpg);
    background-color: #00000041;
    background-blend-mode: darken;
    margin-left: -5px;
    width: calc(100% + 10px);
    padding: 10px;
    display: flex;
    justify-content: space-between;
    padding-top: 40px;
    margin-top: -20px;
    clip-path: polygon(
        0 15px,   5% 0,   10% 15px,
        15% 0,   20% 15px,
        25% 0,   30% 15px,
        35% 0,   40% 15px,
        45% 0,   50% 15px,
        55% 0,   60% 15px,
        65% 0,   70% 15px,
        75% 0,   80% 15px,
        85% 0,   90% 15px,
        95% 0,  100% 15px,
        100% 100%, 0 100%
    );
}

.core-interest-writing .window {
    max-width: 400px;
}

.core-interest-writing p.writing-example {
    font-family: 'Caveat', fantasy, monospace;
    rotate: 2deg;
    color: black;
    text-shadow: 1px 1px 1px white;
    font-size: 24px;
    font-weight: 900;
}

.core-interest-coding .window {
    box-shadow: 2px 2px 2px black;
    max-width: 500px;
}

.core-interest-coding .screen {
    border: 5px solid #141414;
    max-width: 500px;
}

.core-interest-coding .window-wrapper {
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.core-interest-coding .window-wrapper marquee {
    background-color: #000;
    padding: 5px;
    border-radius: 5px;
}