



/*brain stuff*/




@font-face {
  font-family: dogica;
  src: url(/dogica.ttf);
}

@font-face {
  font-family: legible;
  src: url(/advanced_pixel-7.ttf);
  }

 #popup {
   display: none;  
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

#popup-content {
    background-color: #fff;
    padding: 20px;
    border-radius: 5px;
    text-align: center;
    width: 300px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    font-size: 1vw;
  letter-spacing: -2px;
}

#popup h2 {
    margin: 0 0 10px;
}

#popup p {
    margin: 0 0 20px;
}

#close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 25px;
    cursor: pointer;
}

/*end brain*/


  


body {
  font-family: legible;
  
   background-image: url(static-background2.jpg);
   background-attachment: fixed;
   background-color: black;
   background-size: contain;
   
   padding: 0;
   margin: 0;
}


#content {
   margin-left: 100px;
   padding: 5px 10px;
  }


#left-wrapper {
  position: fixed;
  left: 0;
  top: 0;
  width: 100px;
  height:100%;
  padding: 0;
  Z-index:50;
  }


#left-aside{
  position:relative;
  z-index: 50;
  
  margin: 0;
  padding: 0;
  height: 100%;
  
  background-image: url(/sidebartake1-1-1.jpg);
  background-size: cover;
  }


  
 nav {
  position: absolute;
  
  margin: 0;
  padding: 0;
  width:auto;
  height:auto;
  }
  
   #navbutts {
  display: flex;
  flex-direction: column;
  align-items: center;
   }
  

  .navbutt {
  width: 90px;
  height: 70px;
  
  
  background-size: contain;
  background-repeat: no-repeat;
  border: none;
  background-color:transparent;
  border-radius: 50%;
  background-position: center;
  
  padding-top: 4px;
  padding-bottom: 4px;
  margin:0;
    }
  
  #main-b {
    background-image: url("power-button.png");
    }
    
  #right-b {
    background-image: url("right-button.png");
    }
  
  #eject-deck {
    background-image: url("deck eject.png");
    height: 170px;
    padding-top: 8px;
    padding-bottom: 8px;
    border-radius: 0;
    }
    
  #left-b {
    background-image: url("left-button.png");
    }
  #play-b {
    
    background-image: url("play-button.png");
    }
    
  #stop-b {
    background-image: url(stop-button-no-eject.png);
    }
  

  
#rom-container {
      padding: 0;
      margin: 0;
      width: 400px; /*should be cancelled out by vw in media size*/
      height: fit-content; /*doesnt work cause fixed child */
      position: fixed;
      left: -400px;
      transition: 2s ease;
  }
  
#rom-image {
    padding: 0;
    margin: 0;
    z-index: 48;
    opacity: 1;
    width: inherit;
    position: absolute;
    } 


  .romCd {
    width: inherit;
    z-index: 49;
    position: relative;
    transition: transform 3s cubic-bezier(.3,.23,0,.97);
  transition-delay: 0.25s;
    } 
  




header {
  background: black;
  color: white;
  padding: 3px;
  }
  
#ascii-span {
  display: flex;
/*  align-items: center; cant figure out why this was here*/ 
  justify-content: center;
  width: auto;
  height: auto;
  padding-left: 10px; /*also dont see much use to these paddings but why not*/
  padding-right: 10px;
  }

.ascii{
  font-size:0.5vw;
  white-space: pre;
  font-family: dogica;
}

#subheader {
  text-align-last: right;
}

header p {
    font-family: dogica;
    word-spacing: -2.5px;
    font-size: 2.25vw;
    letter-spacing: -3px;
        margin: 3px;
  }


.main {
  z-index: 30;
  padding: 10px;
   font-size: 1vw; /*should be edited in size-dependent*/
   letter-spacing: -2px;
   position: relative;
  }


  
  .cd-case{
  background: white;
  border: 5px solid black;
  border-radius: 6px; 
  font-size: 1vw;
  text-align: center;
  padding: 5px;
  }
  
  #main-case {
    display: grid;
    font-family: dogica;
    background: none;
    border: none;
    word-spacing: -0.3vw;
    letter-spacing: -0.2vw;
    }
    
      
#page-case.cd-container {
  grid-template-columns: 2 1fr;
  align-items: center;
  }

#page-case p {
  word-spacing: normal;
  letter-spacing: normal;
  }
    

h3 {
  font-family: dogica;
  }
  
  
    
  .inter-link:visited {
    color: #dc3b3b;
    }
    
  .inter-link{
    color: white;
    }
  
  .bones {
  position: relative;
  }

  .bones::before {
  content: "";
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background-image: url(/jewel-bskin.png);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;

  opacity: 0.6; /* controls transparency of background */
  z-index: 0;
  pointer-events: none; 
  }
  

.innards {
  display: block;
  padding-left: 12.2%;
  width: 81%;
  z-index: 32;
  padding-top: 3%;
  position: relative;
}

.innards:active {
  cursor: grabbing;
}

.hide {
  visibility: hidden;
  }

.skin {
  position: inherit;
  width: inherit;
  height: inherit;
  background-image: url(/jewel-fskin.png);
  opacity: 0.5;
  z-index: 33;
}

#secondary-aside { 
  background: black;
  box-sizing: border-box;
  max-width:100%;
  color: white;
  border: 5px solid black;
  border-radius: 6px;
  padding: 5px;
  font-family: dogica;
  font-size: 1.7vw;
  overflow-y: auto;
  }

#welcome {
  padding: inherit;
}

#welcome-text {
  overflow-y: scroll;
  margin: 0;
  padding: 3px;
  }
  
  #Mondays10pmlink {
    visibility: hidden;
    color: red;
    }
    
  a:visited {
  color:red;
  }
  

footer{
  clear: both;
  width: 100%;
  background: black;
  color: white;
  font-size: 25px;
}

footer p{
  padding: 0px;
  margin: 0px;
  }

#marquee-footer {
  display: flex;
  flex-direction: row;
  align-items: baseline;
  flex-wrap: nowrap;
  font-family: dogica;
  }


#content:after {
  content: " ";
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: linear-gradient(rgba(18, 16, 16, 0.2) 50%, rgba(0, 0, 0, 0.35) 50%), linear-gradient(90deg, rgba(255, 0, 0, 0.09), rgba(0, 255, 0, 0.05), rgba(0, 0, 255, 0.09));
  z-index: 20;
  background-size: 100% 3px, 4px 100%;
  pointer-events: none;
}



#red
{
  width: 100%;
  }
#red-div {
  float: none;
}



  
  
 #chat {
  position: relative;
   overflow-y: auto;
   width: 100%;
   height: 300px;
   max-height: 100%;
   max-width: 100%;
   padding: inherit;
   margin-top: 25px;
  font-family: legible;
   } 
  
  iframe {
    position: relative;
    display: block;
    box-sizing: border-box;
   width: 100%;
   height: 300px;
   border: none;
   font-family: legible;
      overflow-y: scroll;
  }
  
#song-list {
  display: block;
  font-family: monospace;
  }
  
li {
  text-align: left;
  width: fit-content;
  padding: 5px;
  }







@media only screen and (max-width: 550px) {
  
 
.cd-case {
  font-size: 3vw;
  padding: 5px;

  } 

.cd-container {
  align-items: center;
  padding: 5vw;
}

#main-case {
  word-spacing: -3px;
  letter-spacing: -4px;
  }

#rom-container {
	width: 250px;
	left: -275px;
}

.romCd {
  width: 209px;
    left: 18px;
    top: 5px;
  }
  
 
  .ascii {
    font-size:0.62vw;
    letter-spacing:-0.1vw;
    }
    
header p {
    font-size: 1.2vw;
    letter-spacing: -0.1vw;
}
    
.main {
font-size: 3vw;
   }
   

#page-case {
  font-size: 4.5vw;
  }

  
  
#secondary-aside {
  display: block;
  width: 100%;
  margin-top: 2vw;
  } 
  
#secondary-aside p {
font-size: 3vw;
}
  
  
}

@media only screen and (min-width: 550px) and (max-width: 640px){
  
  header p{
    font-size: 12px;
    }  

#rom-container {
	width: 350px;
	left: -375px;
}

.romCd {
  width: 300px;
    left: 22px;
    top: 6px;
  }
   
  .cd-case{
   font-size: 2.5vw;
    width: auto;
  } 
  
  #main-case {
    word-spacing: -0.3vw;
    letter-spacing: -0.3vw;
    display: grid;
    grid-template-columns: repeat(2, 1fr); 
    gap: 0.1rem;
    }
    
  #page-case {
    font-size: 3.25vw;
    }  
    
  #page-case .cd-container {
  display: grid;
  grid-template-columns: 2fr 3fr;
  align-items: flex-start;
  grid-template-rows: 1fr;
  gap: 1rem;
    }
  
  #page-case .bones {
    grid-column: 1;
    }
  

    
  .inter-link {
    margin: 3px;
    }
  
  #secondary-aside {
  display: block;
  width: 100%;
  margin-top: 2vw;
  } 
  
  
  .bones{
  display: block;
  }
  



  
  /*  #cdcaseplaylist{
    gap: 15px;
    } 
    */
}

@media screen and (min-width: 750px) and (max-width: 800px){
  
   
  .cd-case{
  flex-grow: 1;
  grid-template-columns: repeat(2, 1fr);
  } 

  .ascii {
     font-size: 5px;
  }
  
  #page-case {
    font-size: 2.5vw;
    }
 
}
  
@media only screen and (min-width: 640px) and (max-width: 1000px){
  
      header p{
    font-size: 12px;
    }
    
    .bones{
  margin: 10px;
  min-width: 25vw; 
  min-height: 21vw;
  padding: 0;
  }
  
  
  #rom-container {
	width: 350px;
	left: -375px;
}

.romCd {
  width: 300px;
    left: 22px;
    top: 6px;
  }
  
  .main {
    display: grid;
    justify-content: space-between;
    grid-template-columns: 1fr auto;
    gap: 0.1rem;
  }

   
  .cd-case{
  flex-grow: 1;
   width: auto;
  } 
  
  #main-case {
    display: grid;
    grid-template-columns: repeat(2, 1fr); 
    word-spacing: -0.3vw;
    font-size: 1.6vw;
    letter-spacing: -0.4vw;
    }
    
  #page-case {
    font-size: 3vw;
    }
    
    
  #secondary-aside {
  width: auto;
  max-width: 200px;
  min-width: 100px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: flex-start;
  margin-left: 10px;
  font-size: 12px;
  top: 20px;
  height: 80vh;
  position: sticky;
  }
  
  
  iframe {
    min-height: 300px;
    height: 100%
    }
  
}



@media only screen and (min-width: 800px) and (max-width: 1000px) {
    #page-case .cd-container {
  display: grid;
  grid-template-columns: 2fr 3fr;
  align-items: flex-start;
  grid-template-rows: 1fr;
  gap: 1rem;
    }
  
  #page-case .bones {
    grid-column: 1;
    }
    
  #page-case li{
      font-size: 18px;
      }
    
    #page-case {
      font-size: 21px;
      }
    
}
    
@media only screen and (min-width: 1000px) {
  header p{
    font-size: 12px;
    }
    
  
  #rom-container {
	width: 350px;
	left: -375px;
}

.romCd {
  width: 300px;
    left: 22px;
    top: 6px;
  }
  
  .main {
    display: grid;
    justify-content: space-between;
    grid-template-columns: 1fr auto;
    gap: 0.1rem;
  }

   
  .cd-case{
  flex-grow: 1;
  width: auto;
  font-size: 1.6vw;
  } 


#main-case {
  word-spacing: -0.3vw;
  letter-spacing: -0.4vw;
  grid-template-columns: repeat(3, 1fr);
  }
    
  #secondary-aside {
  width: auto;
  max-width: 200px;
  min-width: 100px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: flex-start;
  margin-left: 10px;
  font-size: 12px;
  top: 20px;
  height: 80vh;
  position: sticky;
  }
  
  
  iframe {
    min-height: 300px;
    height: 100%
    }
  
 
  .bones{
  max-width: 20vw; 
  max-height: 18vw;

  }
  
  
    #page-case .cd-container {
  display: grid;
  grid-template-columns: 2fr 3fr;
  align-items: flex-start;
  text-align: left;
    }
    
#page-case li{
      font-size: 18px;
      }
    
    #page-case {
      font-size: 21px;
      }
  
}