/* 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." */

* {
  box-sizing: border-box;
}

/* Add a gray background color with some padding */
body {
  font-family: Arial;
  padding: 20px;
  background: AntiqueWhite;
}


/* Create two unequal columns that floats next to each other */
/* Left column */
.row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center; /* This centers the columns horizontally */
  align-items: flex-start; /* Keeps columns aligned at the top */
  max-width: 1200px;        /* Limits the total width of the blog area */
  margin: 0 auto;          /* Centers the entire row container */
}
/* Header/Blog Title */
.header {
  padding: 30px;
  font-size: 32px;
  text-align: left;
  background: AntiqueWhite;
}

/* Left column */
.leftcolumn {   
  width: 66%;
  max-width: 800px;
}

/* Right column */
.rightcolumn {
  width: 33%;
  max-width: 400px;        /* Slightly reduced to keep balance */
  padding-left: 20px;
}

/* Fake image */
.fakeimg {
  background-color: #aaa;
  width: 100%;
  padding: 20px;
}

/* Add a card effect for articles */

.card {
   background-color:  Wheat;
   padding: 20px;
   margin-top: 20px;
   box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
   transition: 0.3s;
   width: 100%
}

.card:hover {
  box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
}



/* Footer */
.footer {
  padding: 20px;
  text-align: center;
  background: AntiqueWhite;
  margin-top: 20px;
}

/* Responsive layout - when the screen is less than 800px wide, make the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 800px) {
  .leftcolumn, .rightcolumn {   
    width: 100%;
    padding: 0;
  }
}

