body {
  font-family: Verdana, Arial, Helvetica, sans-serif;
  font: 1em sans-serif;

  background: #e8e8ee;
  margin: auto;
  max-width: 800px;
}

* {
  box-sizing: border-box;
}

img {
  max-width: 100%;
}

p {
  margin: 0 0 1em 0;
}


@media (width >= 600px) {
  .media {
    display: grid;
    grid-template-columns: fit-content(200px) 1fr;
    grid-template-rows: 1fr auto;
    grid-template-areas:
      "image content"
      "image footer";
    grid-gap: 20px;
    margin-bottom: 2em;
  }



  
  .img {
    grid-area: image;
  }

  .content {
    grid-area: content;
  }

  .footer {
    grid-area: footer;
  }
}

h1 {
    font-size: 1.5em;
}

h2 {
    font-size: 1.2em;
}

h3 {
    font-size: 1em;
}

.background1 {
    background: rgba(235, 235, 250, 0.7) /* Light blue background with 50% opacity */
}

.background2 {
    background: rgba(255, 185, 63, 0.7) /* Orange background with 50% opacity */
}

a:link { text-decoration: underline;}
a:visited { text-decoration: underline ; color: #5555aa; }
a:hover { text-decoration: underline ; color: #ff6b63; background-color:#eeeeff;}

.image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  float: left;
}


.topnav {
  overflow: hidden;
  background-color: #333;
}

.topnav a {
  float: left;
  display: block;
  color: #f2f2f2;
  text-align: center;
  padding: 8px 10px;
  text-decoration: none;
  font-size: 17px;
}

.topnav a:hover {
  background-color: #ddd;
  color: black;
}

.topnav a.active {
  background-color: #0044bb;
  color: white;
}

.topnav .icon {
  display: none;
}

@media screen and (max-width: 600px) {
  .topnav a:not(:first-child) {display: none;}
  .topnav a.icon {
    float: right;
    display: block;
  }
}

@media screen and (max-width: 600px) {
  .topnav.responsive {position: relative;}
  .topnav.responsive .icon {
    position: absolute;
    right: 0;
    top: 0;
  }
  .topnav.responsive a {
    float: none;
    display: block;
    text-align: left;
  }
}

/* Column container */
.row {  
  display: flex;
  flex-wrap: wrap;
}

/* Create two unequal columns that sits next to each other */
/* Sidebar/left column */
.side {
  flex: 30%;
  background-color: #f1f1f1;
  padding: 20px;
}

/* Main column */
.main {   
  flex: 70%;
  background-color: white;
  padding: 20px;
}

/* Footer */
.footer {
  padding: 15px;
  font-size: 1em;
  background: #e8e8ee;
}
}

/* Responsive layout - when the screen is less than 600px wide, make the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 600px) {
  .row {   
    flex-direction: column;
padding: 10px;
  }
}


