/* =========================
   FONTS
========================= */
@import url('https://fonts.googleapis.com/css2?family=Ubuntu+Condensed&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Playpen+Sans+Hebrew:wght@100..800&display=swap');

@font-face {
    font-family: 'Jheri Curls';
    src: url('./fonts/Jheri_Curls.ttf');
}

h1, h2 {
    font-family: 'Jheri Curls', cursive;
}

/* =========================
   VARIABLES
========================= */
:root {
    --text: #3f4857;
    --border: #F990A5;
    --page-bg: #FFCFE1;
    --container-bg: #FDC2CF;
    --main-bg: #E9ECF8;
    --header-bg: #D0E1D0;
    --link: #82B0CA;
    --link-hover: #3F7492;
    --link-border: #F7A5AD;
    --link-border-hover: #F7A5AD;
    --shadow: rgba(82, 15, 150, 0.2);
    --page-bg-img: url('https://files.catbox.moe/u604q0.png');
    --side-img: url('https://i.pinimg.com/webp85/1200x/21/c2/8e/21c28e89922086a8c58e8930a5ab389d.webp');
    --em: #980ff4;
}

/* =========================
   BASE LAYOUT
========================= */
body {
    font-family: "Ubuntu Condensed", sans-serif;
    color: var(--text);

    background-image: url('https://64.media.tumblr.com/43d94f758f5d880d1bc66c223c1f4ccd/b8ef7f743b342397-92/s100x200/c8d4715dfe8ed134814333e5575c13f9d47620fd.gifv');
    background-repeat: repeat;
    background-size: 100px 100px;

    line-height: 1.6em;
}

#container {
    background-color: var(--container-bg);
    border: 1px solid var(--border);
    border-radius: 10px;
    margin: 40px auto;
    max-width: 900px;
    box-shadow: 10px 10px var(--shadow);
}

/* =========================
   FLEX LAYOUT FIX (IMPORTANT)
========================= */
#flex {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

/* =========================
   HEADER + FOOTER
========================= */
header,
footer {
    display: flex;
    justify-content: space-between;
    color: var(--link);
    background-color: var(--header-bg);
    border: 1px dashed var(--border);
    border-radius: 10px;
    padding: 15px;
}

header {
    justify-content: center;
}

/* =========================
   SIDEBAR
========================= */
#sidebar {
    flex: 0 0 220px;
    margin: 10px;
    color: var(--text);
}

#sideimg {
    height: 220px;
    background-image: var(--side-img);
    background-size: cover;
    border: 1px dashed var(--border);
    border-radius: 5px;
    margin-bottom: 12px;
}

/* =========================
   MAIN CONTENT FIX
========================= */
main {
    flex: 1;
    min-width: 0;
    padding: 20px;
    border: 1px dashed var(--border);
    margin: 10px;
    background-color: var(--main-bg);
    box-sizing: border-box;
    overflow-x: hidden;
}

main img {
    max-width: 100%;
    height: auto;
}

/* =========================
   TEXT + LINKS
========================= */
a {
    color: var(--link);
    text-decoration: none;
    border-bottom: 1px dotted var(--link-border);
}

a:hover {
    color: var(--link-hover);
    border-bottom: 1px dotted var(--link-border-hover);
}

::selection {
    background-color: #8f85b9;
    color: floralwhite;
}

b,
strong {
    color: var(--border);
    background-color: var(--page-bg);
}

i,
em {
    color: var(--em);
}

main p {
    text-align: justify;
}

/* =========================
   DETAILS / COLLAPSIBLES
========================= */
details {
    background-color: var(--main-bg);
    border: 1px dashed var(--border);
    padding: 5px 8px;
    margin: 10px 0;
    box-shadow: 5px 5px var(--shadow);
}

main details {
    background-color: var(--container-bg);
}

/* =========================
   UTILITIES
========================= */
.centre {
    text-align: center;
}

/* =========================
   ABOUT PAGE LAYOUT
========================= */
.about {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    max-width: 100%;
}

.column {
    flex: 1 1 220px;
    min-width: 0;
    box-sizing: border-box;

    padding: 10px;
    border: 1px dashed var(--border);
    background-color: var(--main-bg);
    box-shadow: 5px 5px var(--shadow);
    
}

.wide {
    flex: 1 1 100%;
}

/* =========================
   GALLERY
========================= */
.gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    align-items: center;
}

.gallery img {
    width: auto;
    height: 40px;
    border-radius: 6px;
    display: block;
}

/* =========================
   SCROLL BOX
========================= */
.scroll {
    font-family: "Playpen Sans Hebrew", cursive;
    font-size: 14px;
    width: 85%;
    height: 200px;
    padding: 10px;
    overflow: auto;
    border-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACoAAAAqCAYAAADFw8lbAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAKqADAAQAAAABAAAAKgAAAADUGqULAAAAvUlEQVRYCe3XwQ2AIBAEQDT2YH324dM+rM8qNPfY5GIgnGQ/4Po5IrDC4IeU9HAFJlbctu63zzqvg5ZtubMPH7ptkm9N23DpfStGN6Lh/yin1qrj50X/5W5EF7+7SDsqgBMojUd/5Js2ZlzRmgCkSpK1+aX+/4qyJSHcjagWiiNjVYmyJJEjUUiwqkRZksiRKCRYVaIsSeRIFBKsKlGWJHIkCglW/Xyvxy2TtYBoTjdHH92QxklAAhKQQF7gAfLbIBFo5nf9AAAAAElFTkSuQmCC") 14 / 14px / 0 round;
    border-width: 14px;
    border-style: solid;
}

.scroll ul {
    list-style: none;
    padding-left: 0;
}

.scroll ul li::before {
    content: "☽";
    margin-right: 8px;
    color: rgb(179, 0, 255);
}

.scroll::-webkit-scrollbar {
    width: 8px;
}

.scroll::-webkit-scrollbar-track,
.scroll::-webkit-scrollbar-thumb {
    background: transparent;
}

.scroll {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

/* =========================
   ANIMATIONS
========================= */
@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* =========================
   RESPONSIVE
========================= */
@media only screen and (max-width: 800px) {
    #flex {
        flex-wrap: wrap;
    }

    #sidebar {
        order: 2;
        width: 100%;
        padding-right: 10px;
    }

    main {
        flex: 1;
        min-width: 0;
    }
}

/* =========================
   CURSOR
========================= */
* {
    cursor: url('https://cdn.cursors-4u.net/previews/cute-polka-dotted-green-bow-tie-ribbon-9f6cfb1b-32.webp') 32 32, auto !important;
}