:root {
    --text: darkslategrey;
    --border: lightgrey;
    --accent: teal;
    --bg: #dce3e1;
    --gradientTop: white;
    --gradientBottom: rgba(227, 252, 251, 0.8);
}

header {
    margin: -35px auto -80px;
    width: 35%;
    animation-name: floating;
    animation-duration: 6s;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
}

@keyframes floating {
    0% {
        transform: translate(0, 0px);
    }

    50% {
        transform: translate(0, 15px);
    }

    100% {
        transform: translate(0, -0px);
    }
}

* {
    box-sizing: border-box;
}

@font-face {
    font-family: "popstar";
    src: url(font/POPSTAR_pop.TTF);
}

body {
    padding: 10px;
    font-family: 'MS PGothic', sans-serif;
    color: var(--text);
    background-color: var(--gradientTop);
    background-image: url("images/music/bg.png");
    background-size: cover;
    background-attachment: fixed;
    position: relative;
}


.container {
    max-width: 65rem;
    margin: 5vw auto 12px auto;
    border: 3px ridge var(--border);
    outline: 2px solid var(--gradientTop);
    outline-offset: 4px;
    border-radius: 10px;
    display: flex;
    flex-wrap: wrap;
    padding: 10px;
    gap: 5px;

    /* container background pattern */
    background-color: var(--gradientBottom);
    background-image: repeating-radial-gradient(circle at 0 0, transparent 0, var(--gradientBottom) 9px), repeating-linear-gradient(var(--bg), var(--bg));
}

/* these control the column widths */
.small {
    flex: 1 1 9%;
}

.large {
    flex: 1 1 82%;
}

.full {
    flex: 1 1 100%;
}

.half {
    flex: 1 1 49%;
}

nav {
    padding: 5px;
}

nav div {
    text-align: center;
    font-size: 1.25rem;
    margin: 5px 5px 10px 5px;
}

nav a {
    display: block;
    margin: 5px;
    background: linear-gradient(to right, var(--bg), var(--gradientBottom));
    border-radius: 5px;
    padding: 2px 7px;
    text-decoration: none;
}

nav a:link,
nav a:visited {
    color: var(--text);
}

nav a:hover,
nav a:focus {
    background: linear-gradient(to right, var(--bg), var(--gradientBottom), var(--gradientTop));
}


section {
    border: 2px ridge var(--border);
    border-radius: 5px;
    background: linear-gradient(var(--gradientTop), var(--gradientBottom));
    padding: 5px;
}

footer {
    text-align: center;
    margin-bottom: 5vw;
    font-size: 0.8rem;
}

footer a {
    text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
    margin: 5px;
    line-height: 1.2;
}

h1 {
    font-size: 1.4rem;
    letter-spacing: 2px;
    padding-bottom: 5px;
}

h2 {
    font-size: 1.25rem;
    font-weight: normal;
}

h3 {
    font-size: 1.1rem;
}

h4 {
    font-size: 1rem;
    color: var(--accent);
    padding-left: 12px;
}

/* prevents overflow on smaller screens */
img {
    max-width: 100%;
}

pre {
    overflow-x: auto;
}

a:hover,
a:focus {
    font-style: italic;
}

a:visited {
    color: var(--accent);
}

#towers {
    width: 100%;
}

#aside ul {
    list-style: none outside url("images/note.png");
    padding: 0;
    margin: 0 0 0 20px;
}

#past {
    max-height: 410px;
    overflow: scroll;
}

.feat {
    width: 150px;
    height: 150px;
    float: left;
    margin-right: 10px;
}

hr {
    border: 1px dotted lightgrey;
}

/* start hover effect */
figure.blurfilter {
    margin: 0;
    padding: 0;
    display: inline-block;
    position: relative;
    overflow: hidden;
}

figure.blurfilter img {
    display: block;
    width: 119px;
    height: auto;
    transition: all 0.4s 0.4s;
}

figure.blurfilter figcaption {
    position: absolute;
    display: block;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    text-align: center;
    background: rgba(255, 255, 255, 0.37);
    padding: 10px;
    width: 90%;
    height: 90%;
    overflow: hidden;
    top: 5%;
    left: 5%;
    font: 16px;
    font-weight: bold;
    opacity: 0;
    -moz-transition: all 0.4s;
    -webkit-transition: all 0.4s;
    transition: all .4s;
}

figure.blurfilter:hover img {
    -webkit-filter: blur(5px);
    filter: blur(5px);
    -webkit-transform: scale(1.3);
    transform: scale(1.3);
    -moz-transition: all 0.4s;
    -webkit-transition: all 0.4s;
    transition: all 0.4s;
}

figure.blurfilter:hover figcaption {
    opacity: 1;
    -moz-transition: all .4s .4s;
    -webkit-transition: all .4s .4s;
    transition: all .4s .4s;
}

/*????????? why does it fuck up the rest of the box if i remove this*/

figure.blurrotate figcaption {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
}

figure.blurrotate:hover figcaption {
    -webkit-transform: rotate(0);
    transform: rotate(0);
}

/* end hover */

#favs {
    display: flex;
    flex-flow: row wrap;
}

#favs h1 {
    width: 100%;
}

#albums {
    flex: 1 1;
}

#artists {
    flex: 1 1;
}


/* collection page */

.center {
    text-align: center;
}

#collect h1 {
    width: 100%;
}

.album {
    width: 165px;
    margin: 5px auto;
}

.album img {
    width: 100%;
}

.top-half {
    display: flex;
    flex-flow: row wrap;
    max-height: 600px;
    overflow: scroll;
}



/* MEDIA QUERY */

@media only screen and (max-width: 1000px) {

    header {
        margin-bottom: 35px;
        width: 100%;
    }

}