/* CSS is how you can add style to your website, such as colors, fonts, and positioning of your
   HTML content. To learn how to do something, just try searching Google for questions like
   "how to change link color." */


@font-face { 
   font-family: 'BaiJamjuree';
    src: url('fonts/BaiJamjuree/BaiJamjuree-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
:root {
  --main-color: #4CAF50;
  --padding: 1rem;
  --font-size: 18px;
  --entry-background-color: #efd9ce;
}

body {
    background-image: url('resources/tileable_lavender.jpg');
    background-repeat: repeat;         /* Tile the image */
    background-size: auto;             /* Use natural image size for tiling */
    background-position: top left;     /* Start tiling from the top-left corner */
    background-size: 500px 500px; 
    margin: 0;                         /* Remove default margin */
    padding: 0;
    
}

p,h2,h3 {
    font-family: 'BaiJamjuree', sans-serif;
}


.background {
  display: flex;
  flex-direction: row;
  background-color: #7161ef;
  margin: auto;
  min-height: 100vh;
  width: 80%;
}
.banner{
  align-items: center;
  margin: auto;
  min-height: 200px;
  background-color: violet;
  width: 75%;
}
.center{
  display:flex;
flex: 4;
flex-direction: row;
background-color: burlywood;
 
}
.footer{
  display:flex;
flex: 1;
}

.calendar{
  flex: 1;
  background-color: var(--entry-background-color);
  aspect-ratio: 7 / 4;
  display: block;
}

#avatar{
  margin: 10px;
  padding: auto;
  display: flex;
  align-items: center; /*aligns vertically*/
  justify-content: center; /*aligns horizontally*/
  aspect-ratio: 1;
  background-color: bisque;
}

.left-sidebar{
    flex: 1.5;
    margin: 10px;
    padding: 5px;
    background-color:white;
    border-color:  rgb(100, 98, 207);
    width: 100%;
}

.middle-content {
  flex: 4;
  display: flex;
  flex-direction: column;
  padding: 5px;
  background-color: rgb(255, 255, 255);
  margin: 10px auto;
  max-height: calc(100vh - 20px - 10px); /* restrict height */
  overflow: auto;
}

.right-sidebar{
    flex: 1.5;
    margin: 10px;
    padding: 5px;
     background-color:white;
    border-color:  rgb(100, 98, 207);
   
}

.archive-button{
  background-color: rgb(168, 167, 229);
  width: 100%;
  margin-bottom: 3px;
  font: inherit;
  border-width: none;
  border: none;
  cursor: pointer;
  text-align: inherit;
}


.archive-button:hover{
  background-color: rgb(101, 100, 168);
  width: 100%;
  font: inherit;
  border-width: none;
  border: none;
  cursor: pointer;
  text-align: inherit;
}