* {
  box-sizing: border-box;
}

/* Add a gray background color with some padding */
body {
  font-family: Arial;
  padding: 0px;
  margin: 0px;
  background: #f1f1f1;
}

/* Header/Blog Title */
.header {
  padding: 30px 20px 10px 20px;
  text-align: center;
  background: white;
}

header h2 {
  font-size: 40px;
  margin: 0;
  color: #333;
}

/* navigation */

.topnav {
  background-color: white;
  position: fixed;
  width: 100%;
  left: 0;
  top: 0;
  z-index: 1000;
  border-bottom: 3px solid #f1f1f1;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

section {
  scroll-margin-top: 70px;
}

.topnav ul {
  list-style-type: none;
  justify-content: center;
  margin: 0;
  padding: 0;
  display: flex;
}

.topnav li a {
  display: block;
  color: #555;
  text-align: center;
  padding: 14px 20px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: 0.3s;
}

.topnav li a:hover {
  background-color: transparent;
  color: #000;
  border-bottom: 3px solid #04aa6d;
}

.row {
  display: flex;
  flex-wrap: wrap;
}

.leftcolumn {
  flex: 75%;
}

.rightcolumn {
  flex: 25%;
  padding-left: 20px;
}

main {
  padding: 20px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.row {
  display: flex;
  flex-wrap: wrap;
}

.leftcolumn {
  flex: 75%;
}

.rightcolumn {
  flex: 25%;
  padding-left: 20px;
}

.blog-img{
  width: 100%;
  height: auto;
  border-radius: 4px;
  margin-bottom: 15px;
}

.leftcolumn .blog-img {
  height: 350px;
  object-fit: cover;
  object-position: center;
}

.rightcolumn .blog-img {
  height: auto;
  max-height: 200px;
  object-fit: cover;
}

.card .fakeimg:last-child {
  margin-bottom: 0;
}

.card {
  background-color: white;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.1);
  border-radius: 4px;
}

/* Footer */
.footer {
  padding: 20px;
  text-align: center;
  background: #6e5bc0;
  width: 100%;
  margin-top: 20px;
  font-size: 10px;
  color: white;
}

/* 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) {
 .row{
  flex-direction: column;
 }

 .leftcolumn, .rightcolumn {
  width: 100%;
  padding: 0;
 }

 .topnav ul {
  flex-direction: column;
 }

 .topnav li a {
  text-align: left;
  padding-left: 20px;
 }
}