* {
  box-sizing: border-box;
}

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

.header h1 {
	font-family: Georgia, Garamond, serif;
	font-size: 40px;
}

.header img {
	object-fit: contain;
	width: 524px; 
	height: 222px;
}

body {
  font-family: Verdana, Arial, Helvetica, sans-serif;
/*  padding: 10px; */
  margin-left: auto;
  margin-right: auto;
  width: 90%;
  background: #f1f1f1;
}

h1 {
	font-family: Georgia, Garamond, serif;
}

p {
	font-size: 18px;
}

/* Style the top navigation bar */
.topnav {
  overflow: hidden;
  background-color: #333;
  font-size: 14px;
/* display: block; 
  margin-left: auto;
  margin-right: auto;
/*  width: 80%; */
}

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

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

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

/* Right column */
.rightcolumn {
  float: left;
  width: 40%;
  background-color: #f1f1f1;
  padding-left: 20px;
}

/* Header image */
/* .headimg {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  padding: 20px;
} */


/* 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;
}

/* ======================================================== */
/* Style elements for the Where to Dance page
/* ======================================================== */

/* Style the page navigation bar (for navigating within a page) */
.pagenav {
  overflow: hidden;
  margin: auto;
  background-color: gray;
  font-size: 16px;
/*  max-width: 800px; */
/* display: block; 
  margin-left: auto;
  margin-right: auto;
 */
}

/* Style pagenav links */
.pagenav a {
  float: left;
  display: block;
  color: #f2f2f2;
  text-align: center;
  padding: 10px 12px;
  text-decoration: none;
}
/* Change color on hover */
.pagenav a:hover {
  background-color: #ddd;
  color: black;
}

/* Add a card effect for class listing organization by day */
.WTD_card {
	background-color: white;
	padding-top: 2px;
	padding-bottom: 2px;
	padding-left: 50px;
	padding-right: 50px;
	margin-top: 20px;
}
	
/*	.WTD_card p {
		font-size: 14px;
	} */
	
/* Pseudo-element to indicate beginner-friendly groups */
	 .b_grp::first-letter {
		color: RoyalBlue;
		font-size: 150%;
		font-weight: bold;
	}
	
/* ======================================================== */
/* Style elements for the responsive layout
/* ======================================================== */

/* 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: 10px;
  }
  body {
  	width: 100%;
  	padding: 0;
  }
  .header img {
		object-fit: contain;
		width: 400px;
		height: 170px;
	}
  p {
  	font-size: 14px;
  }
  
}

/* 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%;
  }
  
  .header img {
		object-fit: contain;
		width: 300px;
		height: 127px;
	}
}

