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;
    color:rgba(175, 59, 13, 0.979);
    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(30, 49, 83); 
    height: fit-content;
    position: static;
    flex: 1 1 0px;
    display: flex;
    border: 4px solid rgb(5, 25, 58);
    border-right: none;
    justify-content: center;
    }
    #b4{
    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;
    }
    #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;
    }
    #b2 + #b3{
    border-left: 0px;
    }
    #b4 + #b5{
    border-left: 0px;
    }
  }
  #main{
    background-color: rgb(30, 49, 83); 
    max-width: 1000px;
    height: fit-content;
    display: flex;
    flex-wrap: wrap;
    position: static;
    flex: 1 1 auto;
    font-size: 20px;
    box-shadow: 3px 5px black;
    margin-top: 10px;
    margin-bottom: 10px;
    border: 4px solid rgb(5, 25, 58);
    a {text-decoration: none;}
    #credits{
    background-color: transparent; 
    min-height: 200px;
    position: static;
    flex: 1 1 100%;
    display: flex;
    margin-left: 10px;
    margin-top: -10px;
    flex-wrap: wrap;
    #sites{
    position: static;
    flex: 1 1 100%;
    display: flex;
    text-align: left;
    flex-direction: column;
    #sitebuttons{
    margin-top: -10px;
    }
    }
    }
  }
  #extras{
    max-width: 1000px;
    height: fit-content;
    display: flex;
    flex-wrap: wrap;
    position: static;
    flex: 1 1 100%;
    font-size: 20px;
    margin-top: 5px;
    margin-bottom: 5px;
    flex-direction: row;
    a {text-decoration: none;}
    #linklog{
    background-color: rgb(30, 49, 83); 
    max-width: 400px;
    max-height: 1500px;
    overflow-y: scroll;
    scrollbar-width: 3px;
    scrollbar-color: rgb(5, 25, 58) transparent;
    display: flex;
    position: static;
    flex: 1 1 40%;
    font-size: 20px;
    box-shadow: 3px 5px black;
    border: 4px solid rgb(5, 25, 58);
    flex-direction: column;
    #logtitle{
    margin: 10px;
    margin-bottom: -1px;
    flex: 1 1 0;
    }
    #log3{
    margin: 10px;
    border-top: 4px solid rgb(5, 25, 58);
    flex: 1 1 0;
    #logd3{
    margin-top: -30px;
    }
    }
    #log2{
    margin: 10px;
    border-top: 4px solid rgb(5, 25, 58);
    flex: 1 1 0;
    #logd2{
    margin-top: -30px;
    }
    }
    #log1{
    margin: 10px;
    border-top: 4px solid rgb(5, 25, 58);
    border-bottom: 4px solid rgb(5, 25, 58);
    flex: 1 1 0;
    #logd1{
    margin-top: -30px;
    }
    }
    }
    @media screen and (max-width: 800px){
    #linklog{
    max-width: none;
    flex: 1 1 100%;
    max-height: 500px;
    }
    }
    #other{
    max-width: 590px;
    height: fit-content;
    display: flex;
    flex-wrap: wrap;
    position: static;
    flex: 1 1 50%;
    font-size: 20px;
    flex-direction: column;
    margin-left: 10px;
    #mags{
    background-color: rgb(30, 49, 83); 
    height: fit-content;
    display: flex;
    flex-wrap: wrap;
    position: static;
    flex: 1 1 auto;
    font-size: 20px;
    box-shadow: 3px 5px black;
    border: 4px solid rgb(5, 25, 58);
    flex-direction: column;
    #magst{
    margin-left: 10px;
    margin-right: 10px;
    }
    }
    #blogs{
    background-color: rgb(30, 49, 83); 
    height: fit-content;
    display: flex;
    flex-wrap: wrap;
    position: static;
    flex: 1 1 auto;
    font-size: 20px;
    box-shadow: 3px 5px black;
    border: 4px solid rgb(5, 25, 58);
    flex-direction: column;
    margin-top: 10px;
    #blogst{
    margin-left: 10px;
    margin-right: 10px;
    }
    }
    #edu{
    background-color: rgb(30, 49, 83); 
    height: fit-content;
    display: flex;
    flex-wrap: wrap;
    position: static;
    flex: 1 1 auto;
    font-size: 20px;
    box-shadow: 3px 5px black;
    border: 4px solid rgb(5, 25, 58);
    flex-direction: column;
    margin-top: 10px;
    #edut{
    margin-left: 10px;
    margin-right: 10px;
    }
    }
    #fun{
    background-color: rgb(30, 49, 83); 
    height: fit-content;
    display: flex;
    flex-wrap: wrap;
    position: static;
    flex: 1 1 auto;
    font-size: 20px;
    box-shadow: 3px 5px black;
    border: 4px solid rgb(5, 25, 58);
    flex-direction: column;
    margin-top: 10px;
    #funt{
    margin-left: 10px;
    margin-right: 10px;
    }
    }
    #webdesign{
    background-color: rgb(30, 49, 83); 
    height: fit-content;
    display: flex;
    flex-wrap: wrap;
    position: static;
    flex: 1 1 auto;
    font-size: 20px;
    box-shadow: 3px 5px black;
    border: 4px solid rgb(5, 25, 58);
    flex-direction: column;
    margin-top: 10px;
    #webdesignt{
    margin-left: 10px;
    margin-right: 10px;
    }
    }
    #channels{
    background-color: rgb(30, 49, 83); 
    height: fit-content;
    display: flex;
    flex-wrap: wrap;
    position: static;
    flex: 1 1 auto;
    font-size: 20px;
    box-shadow: 3px 5px black;
    border: 4px solid rgb(5, 25, 58);
    flex-direction: column;
    margin-top: 10px;
    #channelst{
    margin-left: 10px;
    margin-right: 10px;
    }
    }
    }
    @media screen and (max-width: 800px){
    #other{
    flex: 1 1 100%;
    max-width: none;
    margin-left: 0px;
    }
    #linklog + #other{
    margin-top: 10px;
    }
    }
  }
  @media screen and (max-width: 800px){
    #extras{
    flex-direction: column;
    }
  }
  }
}