/* Declare the fonts */
@font-face {
    font-family: "SiteFont";
    src: url('font/Shanetell/ShantellSans-VariableFont_BNCE\,INFM\,SPAC\,wght.ttf');
    font-style: normal;
    line-height: 1.0rem;
}

@font-face {
    font-family: "HeaderFont";
    src: url('font/Winky_Rough/WinkyRough-VariableFont_wght.ttf');
    font-style: normal;
    line-height: 1.0rem;
    font-weight: bold;
}

/* Declare all the color variables */
html {
    --background-gradient: linear-gradient(hsl(0, 0%, 0%) 40%, hsl(213, 65%, 13%) 100%);
    --border-radius: 0.25rem;
    --header-text: linear-gradient(0deg, hsl(226, 73%, 49%), hsl(188, 100%, 82%));
    --scrollbar-colors: hsl(205, 14%, 65%) hsl(0, 0%, 0%);
    --selection-text: hsl(194, 88%, 84%);
    --selection-background: hsla(204, 100%, 50%, 0.5);
    --muted: hsl(210, 7%, 56%);
    --primary-accent: hsla(211, 49%, 78%, 0.8);
    --primary-text: hsl(0, 0%, 100%);
    --focus-color: hsl(208, 64%, 45%);
    --hover-background: hsl(209, 59%, 53%);
    --hover-text: hsl(195, 100%, 87%);
    --paper-background: hsla(0, 0%, 0%, 0.5);
    --button-background: hsla(0, 0%, 0%, 0.85);
    --shadow-color-regular: hsla(0, 0%, 100%, 0.1);
    --muted-shadow-color: hsla(180, 100%, 50%, 0.3);
    --element-box-shadow: 5px 5px 9px 1px var(--shadow-color-regular);
    --main-border: hsla(200, 100%, 85%, 0.35);
    --main-shadow-color: hsl(198, 100%, 6%);
    --main-background: linear-gradient(0deg, hsla(203, 33%, 17%, 0.15) 75%, hsla(0, 0%, 0%, 0.8));
}

* {
    line-height: 1.15;
    font-family: "SiteFont", Arial;
}

/* When you highlight the text, these are the colors */
::selection {
    color: var(--selection-text);
    background-color: var(--selection-background);
}

[hidden] {
    display: none;
}

html,
body {
    background: repeat url(stardust-texture.png), var(--background-gradient) fixed;
    color: var(--primary-text);
    font-size: 16px;
    scrollbar-color: var(--scrollbar-colors);
}

body {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    padding: 1rem;
    padding-bottom: 2.5rem;
}

header {
    display: flex;
    flex-direction: row;
    gap: 0.5rem;
    padding: 1rem;
    font-size: 2rem;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
}

header h1 {
    background-image: var(--header-text);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* the avatar */
header img {
    height: 150px;
}

hr {
    height: 0;
    overflow: visible;
}

a {
    background-color: transparent;
}

.button-column {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1rem;
    align-content: stretch;
    justify-content: center;
}


hr {
    border: 0;
}

hr::after {
    color: var(--muted);
    content: "~~~";
    display: block;
    font-size: 1.5rem;
    position: relative;
    text-align: center;
    top: -0.75rem;
}

main {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 1000px;
    z-index: 1;
    padding: 1rem;
    backdrop-filter: blur(25px);
    border: 1px solid var(--main-border);
    border-radius: var(--border-radius);
    box-shadow: 0px 0px 10px 3px var(--main-shadow-color);
    background: var(--main-background);
    overflow-y: auto;
    max-height: calc(100% - 2rem);
}

.paper {
    border-radius: var(--border-radius);
    background-color: var(--paper-background);
    border: 1px solid var(--muted);
    box-shadow: var(--element-box-shadow);
    padding: 2rem;
}

header,
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "HeaderFont", Arial;
}

h1 {
    font-size: 4rem;
}

h2 {
    font-size: 3rem;
}

h3 {
    font-size: 2rem;
}

h4 {
    font-size: 1.5rem;
}

h5 {
    font-size: 1rem;
}

h6 {
    font-size: 0.8rem;
}

p {
    margin: 1rem 0;
}

img.framed {
    border-bottom-left-radius: 15px 255px;
    border-bottom-right-radius: 225px 15px;
    border-top-left-radius: 255px 15px;
    border-top-right-radius: 15px 225px;
    border-color: var(--primary-accent);
    border-style: solid;
    border-width: 2px;
    display: block;
    height: auto;
    max-width: 100%;
}

button,
.button,
[type=button] {
    border-bottom-left-radius: 15px 255px;
    border-bottom-right-radius: 225px 15px;
    border-top-left-radius: 255px 15px;
    border-top-right-radius: 15px 225px;
    transition: all 235ms ease 0s;
    box-shadow: var(--element-box-shadow);
    transition: all 235ms ease-in-out 0s;
    color: var(--primary-text);
    border-color: var(--primary-accent);
    background-color: var(--button-background);
    align-self: center;
    background-image: none;
    border-style: solid;
    border-width: 2px;
    cursor: pointer;
    display: inline-block;
    font-size: 1rem;
    outline: none;
    padding: 0.75rem;
}

button:hover,
.button:hover,
[type=button]:hover {
    transform: translate3d(0, 3px, 0) rotate(-2.5deg);
    box-shadow: 2px 8px 8px -5px var(--muted-shadow-color);
    color: var(--hover-text);
    background-color: var(--hover-background);
    border-color: var(--focus-color);
}

button:focus,
.button:focus,
[type=button]:focus {
    border-color: var(--primary-accent);
    border-color: var(--focus-color);
    border-style: solid;
    border-width: 2px;
    box-shadow: 2px 8px 4px -6px var(--muted-shadow-color);
}

button:active,
.button:active,
[type=button]:active {
    border-color: var(--shadow-color-regular);
    transition: none;
    text-decoration: none;
}

a.button {
    text-decoration: none;
}

a:visited {
    color: var(--primary-text);
    text-decoration: none;
}

input,
select,
textarea {
    color: var(--primary-text);
    border-color: var(--primary-accent);
    background: transparent;
    border-bottom-left-radius: 15px 255px;
    border-bottom-right-radius: 225px 15px;
    border-style: solid;
    border-top-left-radius: 255px 15px;
    border-top-right-radius: 15px 225px;
    border-width: 2px;
    display: block;
    font-size: 1rem;
    outline: none;
    padding: 0.5rem;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--focus-color);
    border-style: solid;
    border-width: 2px;
}

select {
    height: 2.35rem;
}

.tabs .content {
    display: none;
    flex-basis: 100%;
    padding: 0.75rem 0 0;
}

.tabs input {
    display: none;
}

.tabs input:checked+label {
    color: var(--primary-text);
    border-bottom-color: var(--focus-color);
    border-bottom-style: solid;
    border-bottom-width: 3px;
}

.tabs input[id$=tab1]:checked~div[id$=content1] {
    display: block;
}

.tabs input[id$=tab2]:checked~div[id$=content2] {
    display: block;
}

.tabs input[id$=tab3]:checked~div[id$=content3] {
    display: block;
}

.tabs input[id$=tab4]:checked~div[id$=content4] {
    display: block;
}

.tabs input[id$=tab5]:checked~div[id$=content5] {
    display: block;
}

.tabs input[id$=tab6]:checked~div[id$=content6] {
    display: block;
}

.tabs input[id$=tab7]:checked~div[id$=content7] {
    display: block;
}

.tabs input[id$=tab8]:checked~div[id$=content8] {
    display: block;
}

.tabs input[id$=tab9]:checked~div[id$=content9] {
    display: block;
}

.tabs input[id$=tab10]:checked~div[id$=content10] {
    display: block;
}

.tabs label {
    color: var(--primary-text);
    display: inline-block;
    font-weight: 600;
    margin: 0 0 -1px;
    padding: 0.75rem;
    text-align: center;
}

.tabs label:hover {
    color: var(--muted);
    cursor: pointer;
}

.icon-button {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    font-size: 1.15rem;
    width: calc(33% - 5rem);
    font-weight: bold;
}

.icon-button img {
    height: 30px;
    image-rendering: pixelated;
}

@media (max-width: 1200px) {
    .icon-button {
        width: calc(50% - 0.5rem);
    }
}

@media (max-width: 800px) {
    .icon-button {
        width: 100%;
    }
}