body{
  background-image: url('/1_assets/backgrounds/mine_1.jpg');
  font-family: 'model d mono';
  a, a:link{color:rgba(175, 59, 13, 0.979);}
  a:hover{color: rgb(103, 151, 75);}
  #overall{
    background-color:transparent; 
    max-width: 1000px;
    height: fit-content;
    display: flex;
    position: static;
    flex: 1 1 auto;
    margin: auto;
    justify-content: center;
    flex-direction: column;
    color: rgb(85, 41, 12);
  #heading{
    background-color: rgb(204, 202, 203);
    padding: 10px;
    max-width: 1000px;
    height: fit-content;
    display: flex;
    position: static;
    flex: 1 1 auto;
    font-size: 40px;
    border: 4px solid rgb(179, 175, 175);
    box-shadow: 3px 5px black;
    flex-direction: row;
    a, a:link{color:rgb(85, 41, 12);}
    a:hover{color: rgb(103, 151, 75);}
    a {text-decoration: none;}
    #sitename{
    margin-top: -2px;
    margin-bottom: -5px;
    }
    #colourmodeb{
    font-family: 'model d mono';
    height: fit-content;
    text-decoration: none;
    color: rgb(85, 41, 12);
    background-color: rgb(204, 202, 202);
    border: 4px solid rgb(179, 175, 175);
    border-radius: 10px;
    padding: 10px;
    font-size: 16px;
    margin-top: auto;
    margin-bottom: auto;
    margin-left: auto;
    #colourmodet{
    margin-top: -5px;
    margin-bottom: -5px;
    }
    }
  }  
  #topnav{
    background-color: rgb(204, 202, 202); 
    max-width: 1000px;
    height: fit-content;
    display: flex;
    position: static;
    flex: 1 1 auto;
    font-size: 20px;
    box-shadow: 3px 5px black;
    flex-wrap: wrap;
    margin-top: 10px;
    color:rgba(175, 59, 13, 0.979);
    a {text-decoration: none;}
    #b1{
    background-color: rgb(204, 202, 202); 
    max-width: 200px;
    height: fit-content;
    position: static;
    flex: 1 1 0px;
    display: inline-block;
    border: 4px solid rgb(179, 175, 175);  
    border-right: 0px;
    justify-content: center;
    text-align: center;
    }
    #b2{
    background-color: rgba(201, 137, 65, 0.986); 
    height: fit-content;
    position: static;
    flex: 1 1 0px;
    display: flex;
    border: 4px solid rgba(199, 78, 31, 0.979);
    justify-content: center;
    }
    #b3{
    background-color: rgb(204, 202, 202); 
    height: fit-content;
    position: static;
    flex: 1 1 0px;
    display: flex;
    border: 4px solid rgb(179, 175, 175);
    justify-content: center;
    }
    #b4{
    background-color: rgb(204, 202, 202); 
    height: fit-content;
    position: static;
    flex: 1 1 0px;
    display: flex;
    border: 4px solid rgb(179, 175, 175);
    justify-content: center;
    }
    #b5{
    background-color: rgb(204, 202, 202); 
    height: fit-content;
    position: static;
    flex: 1 1 0px;
    display: flex; 
    border: 4px solid rgb(179, 175, 175);
    justify-content: center;   
    }
    #b2 + #b3{
    border-left: 0px;
    }
    #b3 + #b4{
    border-left: 0px;
    }
    #b4 + #b5{
    border-left: 0px;
    }
  }
  #main{
    max-width: 1000px;
    height: fit-content;
    display: flex;
    flex-wrap: wrap;
    position: static;
    flex: 1 1 auto;
    font-size: 20px;
    margin-top: 10px;
    margin-bottom: 10px;
    flex-direction: row;
    a{text-decoration: none;}
    #sidenav{
    flex-direction: column;
    flex: 1 1 13%;
    margin-top: 20px;
    #mainlinks{
    position: static;
    max-height: fit-content;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    #s1{
    position: static;
    max-height: fit-content;
    display: flex;
    flex-wrap: wrap;
    border: 4px solid rgb(179, 175, 175);
    background-color: rgb(204, 202, 202); 
    box-shadow: 3px 5px black;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    }
    #s2{
    position: static;
    max-height: fit-content;
    display: flex;
    flex-wrap: wrap;
    border: 4px solid rgb(179, 175, 175);
    background-color: rgb(204, 202, 202); 
    box-shadow: 3px 5px black;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    margin-top: 10px;
    }
    #s3{
    position: static;
    max-height: fit-content;
    display: flex;
    flex-wrap: wrap;
    border: 4px solid rgba(199, 78, 31, 0.979);
    background-color: rgba(201, 137, 65, 0.986); 
    box-shadow: 3px 5px black;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    margin-top: 10px;
    }
    }
    #total{
    height: fit-content;
    display: flex;
    flex-wrap: wrap;
    position: static;
    flex: 1 1 auto;
    margin-bottom: 10px;
    flex-direction: column;
    margin-top: 20px;
    #prose{
    position: static;
    max-height: 300px;
    overflow-y: scroll;
    scrollbar-width: 3px;
    scrollbar-color: rgb(179, 175, 175) transparent;
    display: flex;
    border: 4px solid rgb(179, 175, 175);
    background-color: rgb(204, 202, 202); 
    box-shadow: 3px 5px black;
    flex-direction: column;
    #proset{
    margin: 10px;
    margin-top: -10px;
    margin-bottom: -10px;
    }
    }
    #poems{
    position: static;
    max-height: 300px;
    overflow-y: scroll;
    scrollbar-width: 3px;
    scrollbar-color: rgb(179, 175, 175) transparent;
    display: flex;
    border: 4px solid rgb(179, 175, 175);
    background-color: rgb(204, 202, 202); 
    box-shadow: 3px 5px black;
    flex-direction: column;
    margin-top: 20px;
    #poemst{
    margin: 10px;
    margin-top: -10px;
    margin-bottom: -10px;
    }
    }
    @media screen and (max-width:409px){
    #prose{
    flex: 1 1 100%;
    max-width: none;
    max-height: 200px;
    }
    #poems{
    flex: 1 1 100%;
    max-width: none;
    max-height: 200px;
    margin-top: 10px;
    margin-left: 0px;
    }
    }
    @media screen and (min-width:410px) and (max-width:800px){
    #prose{
    flex: 1 1 40%;
    max-height: 200px;
    }
    #poems{
    flex: 1 1 40%;
    margin-left: 10px;
    margin-top: 0px;
    max-height: 200px;
    }
    }
    }
    @media screen and (max-width:409px){
    #total{
    flex-direction: column;
    max-height: none;
    flex: 1 1 100%;
    }
    }
    @media screen and (min-width:410px) and (max-width:800px){
    #total{
    max-height: none;
    flex-direction: row;
    flex: 1 1 100%;
    }
    }
    }
    #bigbox{
    max-height: fit-content;
    display: flex;
    flex-wrap: wrap;
    position: static;
    flex: 1 1 70%;
    font-size: 20px;
    margin-bottom: 10px;
    margin-left: 20px;
    flex-direction: row;
    border: 4px solid rgb(179, 175, 175);
    background-color: rgb(204, 202, 202); 
    box-shadow: 3px 5px black;
    a{text-decoration: none;}
    #bigboxt{
    margin: 10px;
    margin-top: -10px;
    margin-bottom: -10px;
    }
    }
    @media screen and (max-width:800px){
    #sidenav{
    flex-direction: 1 1 100%;
    margin-top: 10px;
    margin-bottom: -10px;
    }
    #bigbox{
    margin-left: 0px;
    margin-top: 10px;
    }
    }
  }
  @media screen and (max-width:800px){
  #main{
  flex-direction: column;
  }
  }
  }
}