@font-face {
    font-family: 'BWfont';
    font-style: normal;
    src: url(assets/bwfont.ttf);
}






body {
    background-image: url(assets/img/bg.gif);
}


/* The header...*/
.header {
    margin: 0 30px;
    background-color: #c5f489;
    padding: 20px;
    border: 2px solid yellowgreen;
}

/* ...and its links. */
.headerlinks {
   text-align: end;

}

.bigcontainer{
    display: flex;
    padding: 0 30px;
}

.river {
    flex: 60%;
    padding: 20px;
}
/* The flexbox which holds all the stuff below the header. */
.mainriver {
    display: flex;
    flex-wrap: wrap;
    padding: 0 30px;
}


.side {
    display: flex;
    max-height: 600px;
    flex-direction: column;
    justify-content: space-evenly;
    flex: 10%;
    z-index: 1;
    margin: 150px -93.5px 0 0;

}

.mobilenav {
    display: none;
}

.sidebtn {
    font-family: "BWfont", serif;
    font-size: 20px;
    border: 2px solid #adbdcd;
    background-color: white;
    padding: 20px;    
    border-right-style: hidden;
    
}
/* The little border box that holds main. */
.mainbox{
    flex: 40%;
    background-color: white;
    border: 2px solid #adbdcd;
    padding: 10px;
    margin: 10px 30px;
    
}

.sidestream{
    flex: 20%;
    
}

.sidestreamstuff {
    position: fixed;
    bottom: 0;
}

.sidestreampic {
    max-height: 550px;
        width: 100%; 
        height: 100%; 
    
    top: 0;
}


/* The main content. */
.main {
    background-color: white;
    padding: 20px;
    border: 2px solid #adbdcd;
    
}

.mainimg {
    border: 2px solid;
    width: 100%; 
    height: 100%; 
}


.footer {
    padding-top: 5px;
    text-align: center;
    font-size: x-small;
    
}

@media screen and (max-width: 800px) {
    .sidestream {
        display: none;
        
    }
    
    .side {
        flex: 0;
    }
}

@media screen and (max-width: 700px) {
    .sidestream, .side  {
        display: none;
        
    }
    
    .mainbox {
        margin: 5px 0;
    }
    
    .river, .bigcontainer {
        padding: 0

    }
    





