html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/* ------------------------------------------------------ */

body {
    background-image: url("Assets/space tile.png");
    background-size: 300px;
    animation: animatedBackground 7s linear infinite;
}

@keyframes animatedBackground {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 0 -300px;
  }
}

#logo {
    margin-left: auto; margin-right: auto;
    width: 30%; height: 30%;
    animation: animatedLogo 5s ease-in-out infinite;
    margin-top: 1%;
}

@keyframes animatedLogo {
    0% {
        transform: rotate(-5deg);
    }
    50% {
        transform: rotate(5deg);
    }
    100% {
        transform: rotate(-5deg);
    }
}

header {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: blueviolet;
    padding: 2%;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    color: white;
    font-size: 300%;
}
#subheader {
    background-color: rgb(99, 33, 161);
    padding: 1%;
    margin-bottom: 3%;
}

nav {
    display: flex;
    justify-content: right;
    width: 60%;
}

.navbutton {
    border: none;
    border-radius: 20px;

    background-color: white;
    color: blueviolet;
    
    padding: 3%;
    margin: 1.5%;

    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 60%;

    transition: 0.25s ease;
}
.navbutton:hover {
    transform: scale(1.05);
}

h1 {
    color: white;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 400%;
    text-align: center;
}

form {
    border-radius: 20px;

    background-color: blueviolet;
    margin: 4%;
    margin-left: auto; margin-right: auto;
    padding: 3%;

    color: white;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 80%;
    text-align: center;

    width: 65%;
}

label {
    font-size: 150%;
}

input[type="text"], input[type="password"], textarea {
    border-radius: 10px;
    border: none;
    color:blueviolet;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 120%;
    padding: 1%;
    align-self: center;
}

input[type="submit"] {
    border-radius: 10px;
    border: none;
    color:blueviolet;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 190%;
    margin: 3%;
    padding: 1%;
}

.playlist {
    margin: 4%;
    padding: 3%;

    border-radius: 30px;
    background-color: blueviolet;

    color: white;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 150%;

    width: 40%;
    margin-left: auto; margin-right: auto;
}
.p_title {
    font-size: 175%;
}
.p_goto {
    border: none;
    border-radius: 10px;

    background-color: white;
    color: blueviolet;
    
    padding: 0.5%;
    margin-top: 1.5%;

    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 60%;

    transition: 0.25s ease;   
}