/* fonts from google fonts */

/* @font-face {    font-family: "Material Symbols Rounded";
                src: url(fonts/materialsymbolsrounded.ttf); } */

@font-face {    font-family: "Google Sans Flex";
                src: url(fonts/googlesansflex.ttf); }

/*  steal this and get demolished 
    tim, i ain't letting ya steal my website */

body {
    --dark-text: #041637;           --light-text: #dce8ff;
    --container: #72a3ff;           --container-2: #9fc1ff;
    --container-hover: #7dabff;     --container-2-hover: #a8c6ff;
    --container-press: #659bff;     --container-2-press: #90b7ff;
    --container-darker: #5e90ec;
    --container-shadow: #5686ffaa;
    --container-selected: #003aa7;
    --container-special: #2270ff;
    --link: #0048cf; --hint-dark: #0d357f;
    --danger: #ff3131; --danger-light-text: #ffd4d4; --danger-dark-text: #2e0000;

    background: #deeaff;
    color: var(--dark-text);
    font-family: "Google Sans Flex";
    padding: 50px;
    display: flex;
    flex-direction: row;
}

h1, h2, h3, p, a { margin: 0; padding: 0; }
h1, h2, h3, b, a { font-weight: 650; font-variation-settings: "ROND" 100; }
.page { margin-top: 15px; width: 100%; }

header {
    height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: var(--container);
    margin-left: 10px;
    margin-right: 10px;
    border-radius: 30px 30px 10px 10px;
}

header.simple { height: max-content; background: none; border-radius: 0; }

header h1 { 
    font-size: 52px; 
    font-stretch: semi-expanded; 
    font-weight: 800; 
    font-variation-settings: "ROND" 100; 
    display: flex; 
    flex-direction: row;
    align-items: center; 
    justify-content: center;
}

header p { font-size: 28px; font-stretch: semi-expanded; font-weight: 500; font-variation-settings: "ROND" 100; }

header#ind-h {
    background: 
        linear-gradient(to bottom, transparent, #000000aa),
        image-set(url("images/header_index.png"));
    background-position: center;
    background-size: cover;
    color: #fff;
}

main { display: flex; flex-direction: column; margin: 0; padding: 2px; }
.group, .card-view { margin: 0; padding: 0; display: flex; flex-direction: row; }
.group.wrap { flex-wrap: wrap; }
.card-view { flex-wrap: wrap; justify-content: center; margin-top: 10px; }

.card {
    width: 250px;
    height: 350px;
    display: flex;
    flex-direction: column;
    text-align: center;
    justify-content: flex-end;
    align-items: center;
    background: var(--container);
    margin: 5px;
    border-radius: 30px;
    text-decoration: none;
    color: var(--dark-text);
    transition: 0.25s cubic-bezier(0,0,0,1);
}

.card h1 { 
    margin: 10px; 
    margin-top: 2.5px;
    margin-bottom: 0; 
    font-variation-settings: "ROND" 100; 
    display: flex; 
    flex-direction: column; 
    justify-content: center; 
    align-items: center;
}

.card p { margin: 15px; margin-top: 0; font-variation-settings: "ROND" 0; font-weight: 400; }
.card:hover { transform: scale(1.025); box-shadow: var(--container-shadow) 0 2px 10px; }
.card:active { opacity: 75%; transform: scale(0.975); }

.card .icon-area {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    border-radius: 30px 30px 0 0;
}

.card#t4 .icon-area {
    background: 
        linear-gradient(to bottom, #72a3ff45 60%, #72a3ff 100%),
        image-set(url(images/t4p212_preview.png));
    background-size: cover;
    background-position: center;
}

.card#tst .icon-area {
    background: 
        linear-gradient(to bottom, #00000045 60%, #000000 100%),
        image-set(url(images/thesillyteam_preview.png));
    background-size: cover;
    background-position: center;
}

.card .icon-area img { width: 140px; height: 140px; object-fit: contain; margin-top: 10px; }
.card .icon-area p { opacity: 50%; font-size: 24px; }
.card#tst { background: #000; color: #fff; }
.card#tst .icon-area p { color: #fff; }

.nav { 
    margin: 15px; 
    padding: 10px;
    background: var(--container);
    height: max-content;
    width: 220px;
    border-radius: 30px;
}

.nav-list { list-style: none; margin: 0; padding: 0; }

.nav-link {
    margin: 0;
    padding: 0;
    text-align: left;
    background: var(--container-2);
    margin: 5px;
    padding: 20px;
    padding-top: 10px;
    padding-bottom: 10px;
    border-radius: 20px;
    font-weight: 500;
    display: flex;
    flex-direction: row;
    align-items: center;
    text-decoration: none;
    font-size: 24px;
    color: var(--dark-text);
}

.nav-link.top { border-radius: 20px 20px 10px 10px; }
.nav-link.mid { border-radius: 10px; }
.nav-link.last { border-radius: 10px 10px 20px 20px; }
.nav-link.selected { animation: selected 0.5s cubic-bezier(0,0,0,1) 0s forwards; }
.nav-link#deselected { animation: deselected 0.5s cubic-bezier(0,0,0,1) 0s forwards; }
.nav-link.top#deselected { animation: deselected-top 0.5s cubic-bezier(0,0,0,1) 0s forwards; }
.nav-link.last#deselected { animation: deselected-last 0.5s cubic-bezier(0,0,0,1) 0s forwards; }
.i { background: #72a3ff; margin: 10px; padding: 25px; border-radius: 30px; }
.i.l { width: 50%; margin-right: 5px; border-radius: 30px 10px 10px 30px; }
.i.r { width: 50%; margin-left: 5px; border-radius: 10px 30px 30px 10px; }
.i.big { width: 70%; }
.i.small { width: 30%; }
.i.l.t { border-radius: 30px 10px 10px 10px; }
.i.r.t { border-radius: 10px 30px 10px 10px; }
.i.t { margin-bottom: 5px; }
.i.b { margin-top: 5px; }
.i.l.b { border-radius: 10px 10px 10px 30px; }
.i.r.b { border-radius: 10px 10px 30px 10px; }
.i.full { width: 99%; border-radius: 30px; }
.i.t.full { width: 99%; border-radius: 30px 30px 10px 10px; }
.i.b.full { width: 98%; border-radius: 10px 10px 30px 30px; }
.i.m { border-radius: 10px; }
.link { text-decoration: underline 2px; color: var(--link); font-weight: 600; }
.b-area { display: flex; flex-direction: row; margin: 0; padding:0; }

.b-area .button {
    background: var(--container-2);
    color: var(--dark-text);
    border: none;
    border-radius: 30px;
    padding: 15px;
    margin: 5px;
    margin-top: 15px;
    font-weight: 500;
    font-size: 18px;
    text-decoration: none;
    transition: 0.15s ease-out;
    display: flex;
    flex-direction: row;
    align-items: center;
}

.b-area .button.f { border-radius: 30px 10px 10px 30px; margin-right: 2.5px; padding-left: 20px; }
.b-area .button.m { border-radius: 10px; margin-left: 2.5px; margin-right: 2.5px; }
.b-area .button.l { border-radius: 10px 30px 30px 10px; margin-left: 2.5px; padding-right: 20px; }
.b-area .button:hover { background: var(--container-2-hover); }
.b-area .button:active { background: var(--container-2-press); }

.icon {
    font-size: 24px;
    /* font-family: "Material Symbols Rounded"; */
    font-variation-settings:
        'FILL' 1,
        'wght' 500,
        'GRAD' 0,
        'opsz' 24;
    margin: 0;
    margin-right: 6px;
    padding: 0; 
}

.q { min-height: 200px; display: flex; flex-direction: column; justify-content: center; }
.quote { font-weight: 600; font-size: 32px; font-variation-settings: 'ROND' 100; }
.quote-author { font-size: 18px; font-style: italic; opacity: 65%; }
.secret { text-decoration: none; color: var(--dark-text); opacity: 85%; cursor: text; }

.i-group { 
    margin: 10px;
    width: 100%; 
    border-radius: 30px; 
    display: flex;
    flex-direction: column;
    position: relative;
    min-width: 300px;
}

.i-group-header { 
    background: var(--container); 
    color: var(--dark-text);
    border-radius: 30px 30px 0 0;
    display: flex;
    padding: 25px;
    flex-direction: column;
    z-index: 9;
}

.i-group-header.s { animation: container-open-top 0.35s cubic-bezier(0,0,0,1) forwards; }
.i-group-header.h { animation: container-close-top 0.35s cubic-bezier(0,0,0,1) forwards; }
.i-group-header.g { border-radius: 30px; }

.i-group#stuff-ive-ripped .i-group-header {
    background: 
        linear-gradient(to bottom, transparent, #000000aa),
        image-set(url(images/stuff_stuffiveripped_header.jpg));
    background-size: cover;
    background-position: center;
    color: #fff7ec;
}

.i-group#stuff-ive-ripped .i-group-header .dropdown { background: #ff9901; }

.i-group-contents {
    background: var(--container-darker); 
    color: var(--dark-text);
    border-radius: 0 0 30px 30px;
    display: flex;
    flex-direction: column;
    position: absolute;
    --c-anim-height: 150px; --hint-dark: #0a2558;
    z-index: 1;
}

.i-group-contents h1 { margin: 25px; margin-bottom: 5px; }
.i-group-contents .dir_list { margin:25px; margin-top: 5px; }

.i-group-contents.s { 
    position: relative;
    bottom: var(--c-anim-height);
    width: 100%;
    bottom: 0;
    animation: container-open-bottom 0.35s cubic-bezier(0,0,0,1) forwards; 
    z-index: 2;
}

.i-group-contents.h {
    bottom: 0;
    position: absolute;
    width: 100%;
    animation: container-close-bottom 0.35s cubic-bezier(0,0,0,1) forwards;
    z-index: -6;
}

.i-group-contents.g { opacity: 0; display: none; z-index: -6; }

.dropdown { 
    width: 48px; 
    height: 48px; 
    border-radius: 15px; 
    border: none; 
    background: var(--container-2);
    color: var(--dark-text);
    justify-self: flex-end;
    align-self: flex-end;
}

.dir_list { list-style: none; padding: 0; margin: 0; margin-top: 15px; }

.dir_list_file {
    margin: 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    text-decoration: none;
    color: var(--dark-text);
    background: var(--container);
    width: 100%;
    border-radius: 20px;
    cursor: pointer;
    transition: 0.25s ease-out;
}

.dir_list_file:hover { background: var(--container-hover); }
.dir_list_file:active { background: var(--container-press); }
.dir_list_file p { margin: 15px; }
.dir_list_file .icon { margin-right: 0; }
.device-info { list-style: disc; padding-left: 15px; }
.device-photo { width: 100%; border-radius: 20px; margin-top: 10px; max-width: 512px; }
.gone { display: none; }
.show { display: initial; }

.new-mark, .dead-mark, .legend-mark {
    background: var(--container-special);
    color: var(--light-text);
    text-transform: uppercase;
    padding:5px; padding-left: 12px; padding-right: 12px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 24px;
    width: max-content;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 10px;
    font-variation-settings: "ROND" 100;
}

.new-mark.smaller, .dead-mark.smaller, .legend-mark.smaller { 
    font-size: 18px; 
    padding: 2px; 
    padding-left: 6px; 
    padding-right: 6px;
    margin: 5px;
    font-weight: 700;
    font-variation-settings: "ROND" 100;
}

.dead-mark { background: var(--danger); color: var(--danger-light-text); }

.hint-elaboration { 
    width: max-content;
    background: var(--container-2);
    color: var(--dark-text);
    display: none;
    padding: 10px;
    border-radius: 15px;
    position:absolute;
    opacity: 100%;
    top: 20px;
    left: 0;
    font-weight: 500;
    font-variation-settings: "ROND" 0;
    box-shadow: var(--container-shadow) 0 2px 10px;
    max-width: 325px;
    z-index: 2;
}

.hint { position: relative; top:0; left:0; z-index: 1; }
.hint.color { color: var(--hint-dark); } .hint:hover { z-index: 2; }
.hint:hover .hint-elaboration { display: flex; animation: appear-hint 0.25s 0s forwards; z-index: 2;}
.hint.mark::before { content: "(?) "; } .hint.mark-after::after { content: " (?)"; }

@keyframes selected { 0% { background: var(--container-2); color: var(--dark-text); }
    100% { background: var(--container-selected); color: var(--light-text); border-radius: 30px; font-weight: 700; } }
@keyframes deselected { 0% { background: var(--container-selected); color: var(--light-text); border-radius: 30px; }
    100% { background: var(--container-2); color: var(--dark-text); border-radius: 10px; font-weight: 500; } }
@keyframes deselected-top { 0% { background: var(--container-selected); color: var(--light-text); border-radius: 30px; }
    100% { background: var(--container-2); color: var(--dark-text); border-radius: 20px 20px 10px 10px; } }
@keyframes deselected-last { 0% { background: var(--container-selected); color: var(--light-text); border-radius: 30px; }
    100% { background: var(--container-2); color: var(--dark-text); border-radius: 10px 10px 20px 20px; } }
@keyframes appear { 0% { transform: translate(0,50px); opacity: 0; } 100% { transform: none; opacity: 100%; } }
@keyframes appear-hint { 0% { transform: translate(0,-15px); opacity: 0; } 100% { transform: none; opacity: 100%; } }
@keyframes container-open-top { 0% { border-radius: 30px; } 100% { border-radius: 30px 30px 0 0; } }
@keyframes container-close-top { 0% { border-radius: 30px 30px 0 0; } 100% { border-radius: 30px; } }
@keyframes container-open-bottom { 0% { transform: translate(0,calc(0px - var(--c-anim-height))); opacity: 0; } 
    100% { transform: translate(0,0); opacity: 100%; } }
@keyframes container-close-bottom { 0% { transform: translate(0,var(--c-anim-height)); opacity: 100%; } 
    100% { transform: translate(0,0); opacity: 0; } }

@media screen and (width <= 1250px) {
    header { height: 200px; }
    header h1 { font-size: 32px; flex-direction: column-reverse; }
    header p { font-size: 20px; }
    .icon { margin-right: 0; }
    .nav { width: max-content; }
    .nav-link { font-size: 0; width: max-content; padding-left: 15px; padding-right: 15px;}
    .b-area.trunkate { flex-wrap: wrap; margin-top: 10px; }
    .b-area.trunkate .button { margin: 5px; }
    .b-area.trunkate .button.f { border-radius: 30px; margin: 5px; }
    .b-area.trunkate .button.m { border-radius: 30px; margin: 5px; }
    .b-area.trunkate .button.l { border-radius: 30px; margin: 5px; }
    .quote { font-size: 24px; }
    .quote-author { font-size: 16px; }
    .hint-elaboration { max-width: 250px; }
}

@media screen and (width < 800px) {
    body { flex-direction: column; padding: 2.5px; align-items: center; }
    h1 { font-size: 20px; }
    p { font-size: 14px; }
    .group { flex-direction: column; }
    header { margin: 4px; height: 200px; }
    header h1 { font-size: 32px; flex-direction: column-reverse; }
    header p { font-size: 20px; }

    .nav {
        margin: 2.5px;
        position: sticky;
        top: 10px;
        width: max-content;
        border-radius: 50px;
        z-index: 10;
    }

    .nav-list { display: flex; flex-direction: row; padding: 0; margin: 0; }
    .icon { margin-right: 0; }
    .nav-link { font-size: 0; width: max-content; margin: 2px; padding-left: 20px; padding-right: 20px; }
    .nav-link.top { border-radius: 30px 10px 10px 30px; }
    .nav-link.last { border-radius: 10px 30px 30px 10px; }
    .nav-link.top .icon { margin-left: 2px; }
    .nav-link.last .icon { margin-right: 2px; }
    .nav-link.selected .icon { margin-left: 0; margin-right: 0; }
    .card { width: 150px; height: 250px; }
    .card .icon-area img { width: 90px; height: 90px; }
    .card .icon-area p { font-size: 18px; }
    .i { word-wrap: normal; width: auto; padding: 20px; margin: 5px; margin-left: 2.5px; margin-right: 2.5px; }
    .i.l { margin: 2.5px; border-radius: 30px 30px 10px 10px; }
    .i.r { margin: 2.5px; border-radius: 10px 10px 30px 30px; }
    .i.l.t { border-radius: 30px 30px 10px 10px; }
    .i.r.t { border-radius: 10px; }
    .i.l.b { border-radius: 10px; }
    .i.r.b { border-radius: 10px 10px 30px 30px; }
    .i.t, .i, .i.b { margin: 2.5px; width: auto; }
    .i.big, .i.small, .i.full, .i.b.full, .i.t.full { width: auto; }
    .i-group { width: auto; word-wrap: normal; margin: 2.5px; }
    .i-group-header { margin: 0; word-wrap: normal; padding: 20px; }
    .i-group-contents, .i-group-contents.s, .i-group-contents.h { word-wrap: normal; width: 100%; }
    .device-photo { max-width: 100%; }
    .quote { font-size: 24px; }
    .quote-author { font-size: 16px; }
    @keyframes deselected-top { 0% { background: var(--container-selected); color: var(--light-text); border-radius: 30px; }
        100% { background: var(--container-2); color: #041637; border-radius: 30px 10px 10px 30px; } }
    @keyframes deselected-last { 0% { background: var(--container-selected); color: var(--light-text); border-radius: 30px; }
        100% { background: var(--container-2); color: #041637; border-radius: 10px 30px 30px 10px; } }
}

@media screen and (width < 380px) {
    .i { padding: 17.5px; margin: 1px; }
    .nav { padding: 7.5px; }
    .nav-link { padding-left: 15px; padding-right: 15px; }
}