@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@300..700&family=Indie+Flower&family=Space+Mono:ital,wght@0,400;0,700;1,400;1,700&display=swap');

body {
  font-family: "Open Sans", sans-serif;
  font-size: 18px;
  background: #ff9966;
  background-image: linear-gradient(345deg, #ff9966 , #FFF36D);
  background-attachment: fixed;
	color: #101000
	}
	
a {
  color: #fefefe;
  }
  
p {
  font-family: "Space Mono";
  font-weight: normal;
  }
  
h1 {
   font-family: "Indie Flower";
   font-weight: 800;
  }
  
  h2 {
    font-family: "Indie Flower";
    font-weight: 800;
  }


/*Main text section*/
.main { 
  border-radius: 5px;
  background: #fffcc9;
  border: 1px solid #0d8500;
  width: 900px;
  padding:15px;
  margin: 20px 25px 25px 400px;
  }
  
/*Prevent overflow of large images*/
.main img, .sidebar-left img {
  max-width: 100%;
  height: auto;
  }
  
.grid {
  display: flex;
  align-items: stretch;
  border-radius: 10px;
  overflow: hidden;
}

.grid div {
  background-color: #faf0be  ;
  margin: 10px;
  padding: 15px;
  font-family: "Space Mono";
  font-weight: normal;
  width:500px
}
  
/*Sidebar*/
.sidebar-left {
  background: #fffcc9;
  border: 20px solid #0d8500;
  border-image-source: url("vine-border.png");
  border-image-slice: 100;
  border-image-repeat: repeat;
  width: 250px;
  margin-left:60px;
  padding:15px;
  margin-top:-25px;
  min-height:100%;
  position:fixed;
  overflow:auto;
  text-align:center;
  }
  
/*Use with <ul> to create a button section in the sidebar.*/
.buttons {
  list-style-type:none;
  padding:3px;
  }
  
/*Use with <li> for individual buttons.*/
.button { 
  text-align:center;
  border-radius: 5px;
  border: 1px solid green;
  padding: 10px;
  margin:5px;
  margin-top:10px;
  margin-bottom:10px;
  background: #006E33;
  }
  
.header {
  text-align:center;
  border-radius: 5px;
  border: 1px solid green;
  padding: 10px;
  margin:1px;
  margin-top:10px;
  margin-bottom:10px;
  background: #006E33;
  color: #fefefe;
  }
  
  
.sideimage { /*optional*/
  right: 30px;
  bottom:-20px;
  float: right;
  position: fixed;
  max-width: 450px;
  }
  
.sideimage img {
  max-width: 100%;
  height: auto;  
  }

.musicbox{
  width:auto;
  height: auto;
  right: 20px;
  top:20px;
  position: fixed;
}

.musicplayer{
  background:#fefefe;
  width:200px;
  height:50px;
  padding: 35px 25px;
  text-align: center;
}

  
@media(max-width: 1800px) {
    .sideimage {
      max-width: 0%;
      /*if this can be executed, override the previous rule, otherwise hide the side image*/
      max-width: calc(100% - 1400px);
      }
    .musicbox {
      max-width: 0%;
      /*if this can be executed, override the previous rule, otherwise hide the side image*/
      max-width: calc(100% - 1400px);
  }
  
@media(max-width: 1200px) {
    .sidebar-left {
      margin-left: 25px;
      }
    
    .main {
      margin-left: 350px;
      }
  
    .sideimage {
      display:none;
      }
    .musicbox {
      display:none;
    }
  }
  
@media(max-width: 1000px) {
  
    .sidebar-left {
      margin-left: 5px;
      }
    
    .main {
      margin-left: 330px;
      }
  
    .sideimage {
      /*don't even bother at this point*/
      display: none;
      }
  }

  
/*Tentative mobile support.*/
@media(orientation:portrait) {
  .sidebar-left {
    min-height:0px;
    width: 100%;
    margin: 0 auto;
    top:0;
    left: 0;
    padding: 0;
    font-size: 0.9em;
    position: relative;
    border-radius: 5px;
    }
    
  .main {
    width: 90%;
    margin: 0 auto;
    margin-top: 1em;
    }
    
  .sideimage {
    /*don't even bother*/
    display: none;
    }
  }
    
  

