/**
* @file style.css
* @author Craig Beaton
* @copyright (c) 2024, Craig Beaton
* @version 1.0.1
* @License Licensed under the MIT License.
*/

/* @import "compass/css3"; */

/**
* @section Reset styles
* These styles reset the default style sheet that comes with the user agent.
*/
html {
  overflow-y: scroll;
  min-height: 100%;
}

body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
ol,
dl,
dd,
fieldset,
blockquote,
pre,
textarea {
  margin: 0;
}

ul,
ol,
td,
th,
fieldset,
legend {
  padding: 0;
}

a {
  text-decoration: none;
}

a img {
  border: 0;
}

.cf:before,
.cf:after {
  content: " ";
  display: grid;
}

.cf:after {
  clear: both;
}

/**
* @section HTML5 Elements
* Set display:block for HTML5 block elements
*/
main,
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
section {
  display: block;
}

body {
  background: #ededed url(../img/noise.png) repeat;
  font-size: 62.5%;
  font-family: "Roboto", sans-serif;
}

/* Nav menu */
 .nav{
  position: fixed;
  display: block;
  /* background-color: rgb(204, 91, 68); */
  overflow: hidden;
  top: 2px; 
  left: 2px;
  /* box-shadow: 2px 2px 8px #777;*/
  border-radius: 30px;
  /* max-height: 0%;  */
  
  /* z-index: 7; */
}
.menu {
  margin-top: 70px;
  max-height: 0%;
  transition: max-height .2s ease-out;
  display: none;
}
.menu li{ 
  list-style: none;
  padding-left: 70px;
} 
 .menu a{
  display: block;
  color: rgb(231, 229, 215);
  font-size: 175%;
  padding: 10px;
} 
 .menu a:hover{
  background-color: rgb(50, 50, 50);
} 

/* Menu Icon */
.hamb{
  cursor: pointer;
  float: left;
  padding: 32px 20px;
  text-decoration: none;
  display: float;
  background-color: rgb(204, 91, 68);
  color: white;
  box-shadow: 2px 2px 8px #777;
  border-radius: 300px;
  /* z-index: 10; */
}/* Style label tag */

.hamb-line {
  background: rgb(231, 229, 215);
  display: block;
  height: 2px;
  position: relative;
  width: 24px;

} /* Style span tag */

.hamb-line::before,
.hamb-line::after{
  background: rgb(231, 229, 215);
  content: '';
  display: block;
  height: 100%;
  position: absolute;
  transition: all .2s ease-out;
  width: 100%;
}
.hamb-line::before{
  top: 5px;
}
.hamb-line::after{
  top: -5px;
}

.side-menu {
  display: none;
} /* Hide checkbox */

/* Toggle menu icon */
.side-menu:checked ~ nav{
  max-height: 100%;
  /* height: auto; */
  /* height: auto; */
}
.side-menu:checked ~ ul {
  width: 100%;
  display: block;
  list-style: none;
  margin: 0;
  /* padding: 25px 25px; */
  background-color: rgb(204, 91, 68);
  box-shadow: 2px 2px 8px #777;
  border-radius: 8px 3px 3px 3px;
}
.side-menu:checked ~ li {
  text-decoration: none;
  display: block;
  font-size: 200%;
  padding: 10px 10px 10px 10px;
  color: white;
}
.side-menu:checked ~ .hamb .hamb-line {
  background: transparent;
}
.side-menu:checked ~ .hamb .hamb-line::before {
  transform: rotate(-45deg);
  top:0;
}
.side-menu:checked ~ .hamb .hamb-line::after {
  transform: rotate(45deg);
  top:0;
}

.header img {
  position: fixed;
  display: block;
  /* float: right; */
  padding: 2px;
  top: 5px;
  z-index: 10;
}

#spotify-button-img {
  right: 0px;
}
#youtube-button-img {
  right: 150px;
}

/* Responsiveness */
@media (max-width: 768px) {
  .nav{
      width: 99%;
      max-height: none;
  } 
  .menu a:hover{
      background-color: transparent;
      color: rgb(50, 50, 50);
  }

  .header img {
    /* position: fixed; */
    top: 20px;  
    height: 28px;
    width: 75px;
    padding: 4px;
  }

  #spotify-button-img {
    right: 0px;
    top: 0px;
  }
  #youtube-button-img {
    right: 0px;
    top: 38px;
  }
}

.header {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  background-color: rgb(53, 81, 159);
  color: rgb(231, 229, 215);
  margin-bottom: 20px;
  padding: 2px;
  height: 70px;
  z-index: 5;
}

.footer {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 70px;
  background-color: rgb(204, 91, 68);
  color: rgb(231, 229, 215);
  margin-top: 20px;
  padding: 1px;
}

.footer .imgleft {
  float: left;
  padding: 1px;
  
  width: 64px;
  height: 64px;
}

.footer .imgleft img {
  border-radius: 8px;
}

.footer .imgright {
  float: right;
  padding: 2px;
  padding-right: 4px;
  width: 64px;
  height: 64px;
}

.footer .imgright img {
  max-width: 100%;
  object-fit: scale-down;
}

.footer .notes {
  font-family: "BenchNine", sans-serif;
  font-size: 200%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 10px;
  text-align: center;
}

h1 {
  color: rgb(231, 229, 215);
  font-family: "BenchNine", sans-serif;
  font-size: 300%;
  margin: 16px 0 16px;
  text-align: center;
}
h2 {
  color: rgb(231, 229, 215);
  font-family: "BenchNine", sans-serif;
  font-size: 200%;
  margin: -26px 0;
  text-align: center;
}

.loading {
  display: block;
  margin: 0 auto;
}

/**
* @section Lastfm
* Custom Styles for Last.FM Recent Tracks
*/
.container {
  max-width: 2000px;
  min-width: 380px;
  top:30px;
  margin-top: 68px;
  margin-bottom: 68px;
  padding: 20px 15px;
}

.lastfm {
  float: left;
  position: relative;
  margin-bottom: 20px;
  margin-left: 20px;
  width: 400px;
  padding: 10px;
  box-shadow: rgba(0, 0, 0, 0.2) 0px 10px 50px;
  border-radius: 5px;
}

.lastfm .highlight {
  height: 125px;
  left: -3px;
  position: absolute;
  top: 35px;
  width: 153px;
}

.lastfm .when {
  box-shadow: rgba(255, 255, 255, 0.4) 0px 0px 0px;
  float: left;
  height: 26px;
  width: 100%;
}

.lastfm .when p {
  color: #6f6f6f;
  float: left;
  font-size: 1.5em;
}

.lastfm .cover {
  float: left;
  height: 120px;
  width: 120px;
}

.lastfm .cover > img {
  height: 120px;
  max-width: none;
  width: 120px;
}

.lastfm .info {
  color: #6f6f6f;
  float: left;
  margin-left: 25px;
  margin-top: 4px;
  width: 220px;
}

.lastfm .info p {
  font-size: 1.5em;
  line-height: 26px;
  margin-bottom: 4px;
  padding-left: 24px;
}

.lastfm .info .song {
  font-weight: bold;
}

.lastfm .song {
  background: url(../img/icon-song.png) no-repeat left 4px;
  padding-bottom: 26px;
}

.lastfm .artist {
  background: url(../img/icon-artist.png) no-repeat left 4px;
}

.lastfm .album {
  background: url(../img/icon-album.png) no-repeat left 4px;
}

@media only screen and (max-device-width: 480px) {
  body {
    font-size: 58%;
  }

  .container {
    padding: 26px 0px;
  }

  .lastfm {
    margin-left: 2px;
    width: 370px;
    float: none;
  }

  .lastfm .highlight {
    height: 105px;
    left: -3px;
    position: absolute;
    top: 35px;
    width: 133px;
  }

  .lastfm .cover {
    float: left;
    height: 100px;
    width: 100px;
  }
  
  .lastfm .cover > img {
    height: 100px;
    width: 100px;
  }

  .lastfm .info {
    margin-top: 0px;

  }
  
  .lastfm .song {
    padding-bottom: 16px;
  }
}

@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: portrait) {
  .container {
    max-width: 650px;
    /* padding: 0px; */
  }

}
