:root {
  --Primary-color: #59981a;
  --Secondary-color: #81b622;
  --Tetiary-color: yellow;
  --Primary-font: Open Sans;
  --Secondary-font: Montserrat;
  --Tetiary-font: Mitr;
  --Extra-font: Courgette;
  --Extrastyle-font: ;
}
* { 
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
    font-family: Arial, sans-serif;
    background: white;
    color: #222;
    margin: 0;
  }
  .flex-box{
    width: 94%;
    margin: 0 auto;
    display: flex;
    background-color: transparent;
  }
  .homewrap{
    width: 80%;
    background-color: transparent;
    display: block;
    padding: 20px auto;
  }
  .sideContent{
    width: 20%;
    height: auto;
    margin: 30px auto;
    border-radius: 10px;
    background-color: white;
    box-shadow: 2px 4px 6px #333;
  }
  .post-card {
    width: 94%;
    background: #fff;
    padding: 10px;
    display: flex;
    margin: 20px;
    border-radius: 10px;
    box-shadow: 1px 2px 4px #333;
  }
  .infoPart{
      width: 96%;
  }
  .info{
    font-size: 12px;
    margin-left: 30px;
    padding: 5px;
    color: var(--Primary-color);
  }
  .posttit{
    width: 96%;
    font-size: 18px;
    font-weight: 700;
    text-align: left;
    text-transform: uppercase;
    font-family:  'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    margin-left: 30px;
    color: #333;
  }
  .imagePart{
    width: 50%;
    margin-bottom: 10px;
    background-color: transparent;
  }
  .image{
    width: 100%;
    height: 220px;
    border-radius: 3px;
    margin: 0px auto;
  }
  .post-meta { 
    color: #444;
    font-size: 16px;
    line-height: 22px;
    margin-left: 30px;
    padding: 5px;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
  }
  .tags {
    margin-left: 30px;
  }
  .tags span {
    background-color: var(--Primary-color);
    color: yellow;
    padding: 4px 10px;
    margin-right: 5px; 
    font-size: 12px;
    border-radius: 5px;
    display: inline-block;
    margin: 2px;
  }
  .actions a {
    display: inline-block;
    margin-left: 30px;
    padding: 10px 12px;
    background-color: var(--Primary-color);
    color: yellow;
    text-decoration: none;
    border-radius: 4px;
  }
  .actions a.delete {
    background-color: #dc3545;
  }
  .no-posts {
    text-align: center;
    color: #999;
  }
  









 
@media screen and (max-width: 500px) {
  .post-card{
    width: 98%;
    margin: 10px auto;
    background-color: transparent;
    display: block;
    padding-bottom: 10px;
  }
  .flex-box{
    width: 98%;
    margin: 0 auto;
    display: block;
    background-color: transparent;
  }
  .homewrap{
    width: 98%;
    background-color: white;
    display: block;
    padding: 20px auto;
  }
  .sideContent{
    width: 98%;
    height: auto;
    margin: 30px auto;
    border-radius: 10px;
    background-color: #111;
  }
  .imagePart{
    width: 100%; 
  }
  .image{
    width: 100%;
    height: 200px;
    border-radius: 2px;
  }
  .infoPart{
    width: 98%;
  }
  .info{
    font-size: 12px;
    margin-left: 10px;
    color: var(--Primary-color);
  }
  .posttit{
    width: 100%;
    font-size: 16px;
    margin-left: 10px;
    text-transform: uppercase;
    font-weight: 700;
    color: #111;
    line-height: 22px;
    text-align: left;
  }
  .post-meta {
    color: #444;
    font-size: 16px;
    margin-left: 10px;
    margin-bottom: 10px;
    line-height: 20px;
  }
  .tags {
    margin-left: 10px;
    margin-bottom: 4px;
  }
  .tags span {
    background-color: var(--Primary-color);
    color: yellow;
    padding: 4px;
    margin: 2px; 
    font-size: 11px;
    border-radius: 3px;
    display: inline-block;
  }
  .actions a {
    display: inline-block;
    margin-left: 15px;
    margin-right: 10px;
    padding: 10px;
    background-color: var(--Primary-color);
    color: yellow;
    text-decoration: none;
    font-size: 14px;
    border-radius: 2px;
  }
  .actions a.delete {
    background-color: #dc3545;
  }
}
  