/*
Source - https://stackoverflow.com/a/56861696
Posted by mullac
Retrieved 2026-09-09, License - CC BY-SA 4.0
*/

body {
    margin: 0;
    padding:0;
    font-family:sans;
}

.container {
    display: flex;
    flex-direction: row;
}

.sidebar, .content {
    display: flex;
    flex-direction: column;
    background: #EBF0EB;
    color: #333;
    border-radius: 8px;
    margin: 20px;
    border:2px solid #558555;
    padding: 12px;
}

.sidebar {
    flex-grow: 1;
    min-width: 20vw;
    position: relative;
    height: 100%;
}

.content {
    flex-grow: 5;
    min-width: 40vw;
    min-height: 50vh;  
    flex-wrap: wrap;
}

header, footer {
  flex-wrap: wrap;
  text-align: center;
}

.bottom {
   position : absolute;
   bottom : 0;
}

/* This renders elements in container vertically */
@media screen and (max-width: 800px) {
  .container {
    flex-direction: column;
  }
}
