/* COLORS */

/* pink/green scheme
:root {
 --a: #ffa1ba;
 --b: #293e2e;
 --c: #5a8664;
 --white: #eee;
 --black: #111;
}
 */

:root {
    --a: #d4d0c8;
    --b: #0a246a;
    --c: #9ec1e9;
    --d: #f2f1ef;
    --white: #eee;
    --black: #111;
}

/* FONTS */

body {
    font-family: odisseia, sans-serif;
    color: var(--black);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: sneakers-pro, sans-serif;
    color: var(--a);
}

h1 {
    font-size: 100px;
}

h2 {
    font-family: "lores-9-plus-wide", sans-serif;
    font-family: "lores-12", sans-serif;
    font-weight: 400;
}

/* GENERAL */

* {
    margin: 0;
    padding: 0;
    border: none;
}

body {
    overflow-x: hidden;
    background-color: var(--b);
    position: relative;
    height: 100vh;
}

body::before {
    content: "";
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: repeating-radial-gradient(circle at 100% 0%,
            transparent,
            #333 0.25em,
            transparent 0em);
    z-index: 0;
    mix-blend-mode: multiply;
    opacity: .1;
    pointer-events: none;
}

body::after {
    content: "";
    height: 100%;
    width: 100%;
    position: fixed;
    bottom: 0;
    left: 0;
    background-color: #e5e5f7;
    opacity: 1;
    background-image: repeating-linear-gradient(45deg, var(--a) 25%, transparent 25%, transparent 75%, var(--a) 75%, var(--a)), repeating-linear-gradient(45deg, var(--a) 25%, var(--b) 25%, var(--b) 75%, var(--a) 75%, var(--a));
    background-position: 0 0, 80px 80px;
    background-size: 160px 160px;
    z-index: -2;
}

header {
    background: var(--b);
    border-bottom: 4px solid var(--a);
    display: flex;
    place-items: center;
    gap: 50px;
    height: 150px;
    padding-left: 50px;
    width: 100vw;
    place-content: space-between;
}

header h1 {
    margin-top: -20px;
    background:
        linear-gradient(0deg, rgba(0, 0, 0, 0) 0%, var(--d) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    text-shadow: none;
    position: relative;
}

header h1::after {
    content: "Demopets";
    position: absolute;
    background: repeating-linear-gradient(transparent,
            var(--b) 0.025em,
            transparent 0em);
    -webkit-background-clip: text;
    background-clip: text;
    top: 0;
    left: 0;
    opacity: .5;
    pointer-events: none;
}

nav {
    background:
        linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, var(--c) 100%);
    transform: skew(-20deg);
    margin-right: -50px;
    padding: 0px 150px 0px 50px;
    height: 70px;
    display: flex;
    place-content: center;
    place-items: center;
    justify-self: end;
    width: 100%;
    border: 1px solid var(--black);
    outline: 4px inset var(--d);
    font-family: "lores-12", sans-serif;
    font-size: 20px;
    color: var(--white);
}

#taskbar {
    background: var(--a);
    border-top: 1px solid var(--black);
    outline: 4px solid var(--d);
    height: 40px;
    width: 100%;
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 10;
}

.pet {
    width: 150px;
    height: auto;
    position: absolute;
    left: 0;
    bottom: 20px;
    margin-left: 50px;
    z-index: 10;
}

.pet img {
    width: 100%;
}


main {
    padding: 50px;
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    grid-template-rows: repeat(4, auto);
    gap: 50px;
    padding-bottom: 100px;
    margin-right: 50px;
}

main::before {
    content: "";
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, var(--b) 70%, rgba(0, 0, 0, 0) 100%);
    z-index: -1;
}

main::after {
    content: "";
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: repeating-radial-gradient(
        circle at 100% 0%,
        transparent,
        #333 0.25em,
        transparent 0em);
    z-index: 0;
    mix-blend-mode: multiply;
    opacity: .1;
    pointer-events: none;
}

aside {
    border: 1px solid var(--black);
    box-shadow: 5px 5px 5px var(--black);
    background: var(--a);
    padding: 20px;
    outline: 4px solid var(--d);
    grid-column: 1;
    grid-area: 1 / 1 / 6 / 2;
    margin: -50px 50px -100px -50px;
}

.user-info {
    display: flex;
    flex-direction: column;
    text-align: center;
    background: var(--white);
    padding: 20px;
    box-shadow: inset 4px 4px 1px #0008;
}


.user-info img {
    height: 300px;
    padding: 20px;
}

.user-info .username {
    font-weight: bold;
    text-shadow: 2px 2px 0px #0005;
}

.user-info .gender {
    color: #df658d;
    text-shadow: 2px 2px 0px #0005;
}

.user-info .petname {
    color: #3dad05;
    font-weight: bold;
    text-shadow: 2px 2px 0px #0002;

}

section {
    border: 1px solid var(--black);
    box-shadow: 5px 5px 5px var(--black);
    background: var(--white);
    padding: 20px;
    outline: 4px inset var(--d);
}

section:nth-of-type(1) {
    grid-area: 1 / 2 / 2 / 5;
}

section:nth-of-type(2) {
    grid-area: 1 / 5 / 2 / 8;
}

section:nth-of-type(3) {
    grid-area: 2 / 2 / 3 / 4;
}

section:nth-of-type(4) {
    grid-area: 2 / 4 / 3 / 6;
}

section:nth-of-type(5) {
    grid-area: 2 / 6 / 3 / 8;
}

section:nth-of-type(6) {
    grid-area: 3 / 2 / 4 / 6;
}

section:nth-of-type(7) {
    grid-area: 3 / 6 / 4 / 8;
}

section:nth-of-type(8) {
    grid-area: 4 / 2 / 5 / 8;
}

section:nth-of-type(9) {
    grid-area: 5 / 2 / 6 / 5;
}

section:nth-of-type(10) {
    grid-area: 5 / 5 / 6 / 8;
}

section h2 {
    background: var(--b);
    color: var(--white);
    margin: -20px -20px 20px -20px;
    padding: 5px 20px;
    position: relative;
    z-index: 1;
}

section h2::after {
    content: "";
    background:
        linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, var(--c) 100%);
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
}