/* 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: ezydraw;
  src: url(ezydraw.regular.ttf);
}
* {
  box-sizing: border-box;
}

body {
  font-family: Verdana;
  padding: 10px;
  background: #f1f1f1;
}

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

.header h1 {
  font-size: 50px;
  color: #0040fc;
  font-family: ezydraw;
}

.card h2 {
  color: #0040fc;
  font-family: ezydraw;
}

/* Style the top navigation bar */
.topnav {
  overflow: hidden;
  background-color: #0040fc;
}

/* Style the topnav links */
.topnav a {
  float: left;
  display: block;
  color: white;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
}

/* Change color on hover */
.topnav a:hover {
  background-color: #759AFF;
  color: black;
}

/* Create two unequal columns that floats next to each other */
/* Left column */
.leftcolumn {   
  float: left;
  width: 75%;
}

/* Right column */
.rightcolumn {
  float: left;
  width: 25%;
  background-color: #f1f1f1;
  padding-left: 20px;
}
div.header img {
  width: 85%;
  height: auto;
}
/* Fake image */
.fakeimg {
  background-color: #aaa;
  width: 100%;
  padding: 20px;
}

/* Add a card effect for articles */
.card {
  background-color: white;
  padding: 20px;
  margin-top: 20px;
}

/* Clear floats after the columns */
.row::after {
  content: "";
  display: table;
  clear: both;
}

/* Footer */
.footer {
  padding: 20px;
  text-align: center;
  background: #ddd;
  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;
  }
}

/* Responsive layout - when the screen is less than 400px wide, make the navigation links stack on top of each other instead of next to each other */
@media screen and (max-width: 400px) {
  .topnav a {
    float: none;
    width: 100%;
  }
}
div.box {
  padding: 55px;
}
h {
  text-align: center;
  text-transform: uppercase;
  color: #0040fc;
  font-family: ezydraw;
}
div.header img {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 50%;
  height: auto;
}
div.banner img {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 50%;
  height: 50%;
}
div.center {
  text-align: center;
  color: #0040fc;
  font-family: ezydraw;
}
div.center a {
   display: inline-block;
   margin: 0 10px;
}
div.center img {
  display: block;
  margin-left: auto;
  margin-right: auto;
}
div.gallery {
  margin: 5px;
  border: 2px solid #ccc;
  float: left;
  width: auto;
}    
div.gallery:hover {
  border: 3px solid #0040fc;
}  
div.gallery img {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: auto;
  height: 150px;
}    
div.desc {
  padding: 5px;
  text-align: left;
  color: #0040fc;
}
div.id {
  font-family: ezydraw;
}
div.image-row {
  display: flex;
  justify-content: center
}