body{
  background-image: url('/1_assets/backgrounds/mine.jpg');
  font-family: 'model d mono';
  a, a:link{color:rgb(14, 125, 236);}
  a:hover{color: rgb(157, 10, 10);}
  #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(208, 203, 213);
  #heading{
    background-color: rgb(30, 49, 83);
    padding: 10px;
    max-width: 1000px;
    height: fit-content;
    display: flex;
    position: static;
    flex: 1 1 auto;
    font-size: 40px;
    border: 4px solid rgb(5, 25, 58);
    box-shadow: 3px 5px black;
    flex-direction: row;
    a, a:link{color:rgb(208, 203, 213);}
    a:hover{color: rgb(157, 10, 10);}
    a {text-decoration: none;}
    #sitename{
    margin-top: -2px;
    margin-bottom: -5px;
    }
    #colourmodeb{
    font-family: 'model d mono';
    height: fit-content;
    text-decoration: none;
    background-color: rgb(30, 49, 83);
    border: 4px solid rgb(5, 25, 58);
    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(30, 49, 83);
    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;
    a {text-decoration: none;}
    #b1{
    background-color: rgb(30, 49, 83); 
    max-width: 200px;
    height: fit-content;
    position: static;
    flex: 1 1 0px;
    display: inline-block;
    border: 4px solid rgb(5, 25, 58);   
    justify-content: center;
    text-align: center;
    }
    #b2{
    background-color: rgb(30, 49, 83); 
    height: fit-content;
    position: static;
    flex: 1 1 0px;
    display: flex;
    border: 4px solid rgb(5, 25, 58);  
    justify-content: center;
    }
    #b3{
    background-color: rgb(18, 63, 126);
    height: fit-content;
    position: static;
    flex: 1 1 0px;
    display: flex;
    border: 4px solid rgb(4, 40, 77);
    justify-content: center;
    }
    #b4{
    background-color: rgb(30, 49, 83); 
    height: fit-content;
    position: static;
    flex: 1 1 0px;
    display: flex;
    border: 4px solid rgb(5, 25, 58);  
    justify-content: center;
    }
    #b5{
    background-color: rgb(30, 49, 83); 
    height: fit-content;
    position: static;
    flex: 1 1 0px;
    display: flex; 
    border: 4px solid rgb(5, 25, 58);  
    justify-content: center;   
    }
    #b1 + #b2{
    border-left: 0px;
    border-right: 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;}
    #bigbox{
    min-height: 300px;
    display: flex;
    flex-wrap: wrap;
    position: static;
    flex: 1 1 70%;
    font-size: 20px;
    margin-bottom: 10px;
    flex-direction: row;
    border: 4px solid rgb(5, 25, 58);
    background-color: rgb(30, 49, 83);
    box-shadow: 3px 5px black;
    a{text-decoration: none;}
    #bigboxt{
    margin: 10px;
    margin-top: -10px;
    margin-bottom: -10px;
    }
    }
    #sidenav{
    flex-direction: column;
    flex: 1 1 13%;
    margin-top: 20px;
    margin-left: 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(5, 25, 58);
    background-color: rgb(30, 49, 83);
    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(5, 25, 58);
    background-color: rgb(30, 49, 83);
    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 rgb(5, 25, 58);
    background-color: rgb(30, 49, 83);
    box-shadow: 3px 5px black;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    margin-top: 10px;
    }
    }
    }    
    @media screen and (max-width:800px){
    #bigbox{
    margin-top: 20px;
    order: 2;
    }
    #sidenav{
    flex-direction: 1 1 100%;
    margin-top: 10px;
    margin-left: 0px;
    order: 1;
    }    
    }
  }
  @media screen and (max-width:800px){
  #main{
  flex-direction: column;
  }
  }
  }
}