@import url('https://fonts.googleapis.com/css2?family=Quicksand&family=Silkscreen:wght@400;700&display=swap');

@keyframes rainbowText {
    0% {color: purple};
    50% {color: blue};
    100% {color: deeppink};
}

body {
    background: rgb(107,66,187);
    background: linear-gradient(180deg, rgba(107,66,187,1) 0%, rgba(149,229,232,1) 100%);
    background-attachment: fixed;
    color: #a7a7e1;
    font-family: 'Quicksand', sans-serif;
    padding-top: 50px;
    overflow-x: hidden;
}
header {
    float: none !important;
    margin: 0 auto;
}
header * {
    margin: 0;
    padding: 0;
    text-align: center;
}
nav, footer {
    width: 100%;
    text-align: center;
    color: #000;
    font-weight: bold;
}
footer {
    padding-top: 1em;
}
footer a, footer a:visited {
    color: rgb(107,66,187);
}
nav ul {
    list-style: none;
    width: 100%;
    text-align: center;
}
nav li {
    background: none;
    display: inline-block;
    padding: 0 5%;
    margin: 2% auto;
    font-size: 1.5em;

}
nav a, nav a:visited, footer a, footer a:visited {
    transition: letter-spacing 0.5s;
    color: #000;
    font-weight: bold;
}
nav a:hover, footer a:hover {
    color: #340941;
    animation: none;
    letter-spacing: 0.1em;
}

h1 {
    color: #ffffff;
    margin: 2% auto;
    font-family: 'Silkscreen', monospace;
    text-align: center;
}
h2 {
    background-color: rgb(66,84,187);
    background-image: linear-gradient(90deg, rgba(66,84,187,1) 0%, rgba(149,229,232,1) 100%), url('../img/window.png');
    border-bottom: 1px #eee ridge;
    color: white;
    margin: 0;
    width: 100%;
    font-size: 1em;
    font-weight: 400;
    font-family: 'Silkscreen', monospace;
}

h2:after {
  content: url('../img/window.png');
  float: right;
}

h3 {
    font-family: 'Silkscreen', monospace;
    font-weight: 400;
}

h3:before {
    content: '>';
    padding-right: 20px;
    color: #9a0b6e;
}

a, a:visited {
    color: rgba(149,229,232,1);
    text-decoration: none;
}
a:hover {
    color: pink;
    animation-name: rainbowText;
    animation-duration: 1s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
    animation-fill-mode: none;
    animation-direction: alternate;
}

ul {
    list-style: none;
}
li {
    background-repeat: no-repeat;
    background-position: left;
    background-size: contain;
    padding-left: 25px;
    margin: 2% auto;
}

input, button, select {
    display: inline-block;
    margin: 1em;
    background-color: #d9d9d9;
    color: #333;
    padding: 0.2em;
}
form {
    text-align: center;
}

input, select, button {
    font-family: 'Silkscreen', monospace;
}
button {
    padding: 5px;
}

.center {
    text-align: center;
}

.window {
    border: 3px #eee ridge;
    box-sizing: border-box;
    margin: auto;
    margin-bottom: 3em;
    padding: 0;
    color: #c7c7c7;
    float: none;
}

.window-left {
    transform: rotate(-2deg);
}
.window-right {
    transform: rotate(2deg);
}

.innertext {
    margin: 0 auto;
    float: none !important;
}

.purple {
    background-color: mediumpurple;
}
.blue {
    background-color: steelblue;
}

.tree {
    font-family: 'Silkscreen', monospace;
}

canvas {
    display: block;
    margin: 30px auto;
    position: relative;
}