/* SOUNDS LIKE A REVOLUTION v.1 - karaoke night [http://himemiya.org/music/] */
/* RESPONSIVE VERSION */
/* made by evenstar AT gmail DOT com; licenced under Creative Commons Attribution-ShareAlike 4.0 International: http://creativecommons.org/licenses/by-sa/4.0/ */


/*
      'ello there, curious bun! :D *pinches cheeks*

      don't panic! you're not doing anything wrong! you are very welcome
      to look at, mess around with, and learn from my code (as you should
      be with anyone's, but let's not quibble...), as per the ShareAlike
      Licence it is under!

      !!! PLEASE *DO NOT* COPY IT VERBATIM, THOUGH !!!

      this is *literally* all I ask. if you would like a CSS stylesheet of
      your own made wholly by me, please contact me via evenstar@gmail.com
      and we can discuss a commission! you will be respecting my work and
      helping me keep my bills paid! <3

      please enjoy perusing my code, and I hope it inspires your own.
      now get out there and make a wonderful webpage! <3
*/




/* that that */

html {
   font-size: 16px; /* BFR */
	}


* { 
	box-sizing: border-box;
	}


body {
    margin: 0;
    padding: 1.5rem 1rem;
    background: linear-gradient(135deg, #c5bdfc, #ffddef);
	background-attachment: fixed;
    color: #000;
	}

a {text-decoration: none;}


/* we are all slaves to the grid */

.grid {
	display: grid;
	grid-template-columns: 1fr;
	max-width: 900px;
	margin: 0 auto;
	}

  
header, 
nav { 
	grid-area: 1 / 1; 
	}


header {
	display: flex;
	justify-content: center;
	background: transparent;
	border: 0;
	border-radius: 18px;
	overflow: hidden;
	}


header img {
	display: block;
	width: auto;
	max-width: 100%;
	height: auto;
	}


/* karaoke! */
  
nav {
    align-self: center;
    justify-self: flex-end;
    width: 275px;
    margin-left: 1.5rem;
    margin-bottom: 0;
    margin-top: 3rem;
    padding: 1rem;
    background: linear-gradient(to bottom, #27407a, #101a3d);
    border: 2px solid #0a0a1c;
    border-radius: 15px;
    box-shadow: 0 0 0 2px #afffff, 0 0 24px #ff90ffa3;
    color: #fff;
    line-height: 110%;
    letter-spacing: 0.125em;
    font-family: 'Audiowide', display;
	}

	
nav ol { 
	font-size: 100%;
	margin: 0; 
	padding: 0; 
	list-style: none;
	}
	
	
nav a:link,
nav a:visited,
nav a:active {
	display: block;
	padding: .3rem .5rem;
	text-decoration: none;
	font-size: 100%;
	color: #da1650;
	}
  
nav a:hover {
    background: #fff;
    color: #555;
    outline: none;
	border-radius: 10px;
	}


.rosekaraoke {
    font-family: 'Fleur De Leah', handwriting;
    font-size: 150%;
    color: #ff9bbf;
	}


.karaokeselect {
    font-family: 'Audiowide', display;
    text-align: center;
    display: block;
    margin: 1rem auto 0.5rem auto;
    font-size: 120%;
	}


.karaokemenu {
    font-family: 'Audiowide', display;
    font-size: 60%;
    text-align: right;
    display: block;
	}
	

nav a.karalink {
    display: block;
	color: #fff;
	}

  
nav a.karalink:hover {
    background: transparent;
	color: #fff;
	}
  
  
nav a.karalink::before {
	content: "";
	}
 
 
nav a::before {
    content: counter(track, decimal-leading-zero) "  "; 
    counter-increment: track;
	color: #feeb9a;
	}
 
 
nav a:hover::before {
 	color: #521fac;
	}
  
  
nav ol {
	counter-reset: track;
	}
	
	

/* main */
  
main {
    margin-top: 1.5rem;
    padding: 0.5rem 1rem;
    background: #f0f3fe;
    color: #262426;
    border-radius: 25px;
    font-family: 'Amiko', sans-serif;
    font-size: 90%;
    line-height: 200%;
    text-align: justify;
	}
	
main a:link,
main a:visited,
main a:active {
	text-decoration: none;
	color: #4e1eab;
	transition: all 0.5s ease-in-out;
	}
	
main a:hover {
    color: #ed4ec1;
    background: #fff;
	transition: all 0.5s ease-in-out;
	}
	
.codecredit {
    display: block;
    text-align: right;
    font-style: italic;
    font-size: 80%;
    font-weight: 300;
    font-family: 'Amiko', sans-serif;
    line-height: 110%;
	color: #939393;
}

.codecredit a:hover {
	background: transparent;
}

  
h1 {
    font-family: 'Allura', handwriting;
    font-size: 250%;
    text-align: left;
    font-weight: bold;
    color: #000000;
    text-shadow: 2px 2px 5px #fda5fd, -3px -3px 3px #fff;
}

h2 { 
    font-family: 'Audiowide', display;
    text-align: center;
    color: #fee01d;
    text-shadow: 1px 1px 2px #000, -1px -1px 2px #000, -1px 1px 2px #000, 1px -1px 2px #000, 0 0 4px #000;
	font-weight: normal;
	}


h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 120%;
    text-indent: 3rem;
    color: #501fab;
    letter-spacing: 5px;
    border-bottom: 1px dashed #efb9fa;
    line-height: 100%;
    margin-bottom: 0;
    text-transform: uppercase;
	}

strong,
b {
	color: #0a7b9d;
	}
	
em,
i {
	color: #000;
	}



/* and, as an aside... */

aside {
    color: #010160;
    width: 75%;
    margin: 2rem auto;
    padding: 1rem;
    line-height: 150%;
    font-size: 120%;
    background: #ffffff url(asidebg.png) bottom right;
    background-size: cover;
    outline: 10px solid #fff;
	}


aside b,
aside strong {
	color: #db1650;
	letter-spacing: 1px;
	}


h1.asider {
    font-family: 'Audiowide', sans-serif;
    font-size: 200%;
    text-align: center;
    font-weight: bold;
    color: #fff;
    letter-spacing: 3px;
    font-variant: petite-caps;
    text-shadow: 2px 2px 2px #a7cadf, 3px 3px 2px #bcffff, -2px -2px 1px #bfabbf;
    margin: 0 auto 1rem auto;
	}


h1.asider::after {
    content: "  ♫♪♬";
    font-weight: normal;
    color: #9f96fe66;
	font-size: 60%;
    text-shadow: none;
	}


h1.asider::before {
    content: "⚡︎ ";
    font-weight: bold;
    color: #fee01d;
    text-shadow: 1px 1px 2px #000, -1px -1px 2px #000, -1px 1px 2px #000, 1px -1px 2px #000;
	}



/* footer */

footer {
	margin-top: 1.5rem;
	text-align: center;
	color: #555;
	font-family: 'Barlow Condensed', sans-serif;
	font-size: 75%;
	letter-spacing: 1px;
	line-height: 150%;
	}


footer a:link,
footer a:visited,
footer a:active {
	text-decoration: none;
	color: #000;
	transition: all 0.3s ease-in-out;
	}
	
footer a:hover {
	color: #000;
	background: #fee01d;
	transition: all 0.3s ease-in-out;
	}



/* moving bits */

@media (max-width: 799px) {

		header img {
			width: 100%; 
			}
			
		nav {
		  grid-area: 2 / 1;      /* row 2 instead of sharing row 1 */
		  justify-self: stretch;
		  width: auto;
		  margin: 1rem 0 0;
			}
		main {
			padding: 1.25rem;
			}
}