/*********************************************
* New responsive style sheet for c64sets.com
* Feb 2024
*********************************************/

* {
  box-sizing: border-box;
}

#body {
  margin: 0px 5px 0px 0px;
}

.row::after {
  content: "";
  clear: both;
  display: table;
}

html {
  font-family: tahoma;
}

.header {
  color: #ffffff;
  padding: 15px;
  height: 17vh; /* height of header */
  background: linear-gradient(
    to bottom,
    #e6aa00 0%, /* two separate background colors */
    #e6aa00 75%,
    #ffd53c 75%,
    #ffd53c 100%
  );
}

.header img {
 float: left;
}

#main_title {
	display: none;
}

.menu {
   background-color: #ec9f37;
}

.menu ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.menu li {
  padding: 8px;
  margin-bottom: 1px;
  background-color: #f3c28a;
  color: #616161;
  font-weight: bold;
  box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
}

.menu li:hover {
  background-color: #ec9f37;
}

.menu a {
	color: #616161;
	text-decoration: none;
}

.menu a:hover {
	color: white;
}

.menu-items {
  display: block;
}

img {
  max-width: 100%;
  height: auto;
  padding-right:10px;
}

[class*="col-"] {
  float: left;
}

.col-1 {width: 15%;}

.col-2 {
  width: 85%;
  padding-left:15px;
}

.col-2 h1 {
  color: #e6851c;
}

.footer {
  padding: 15px;
  background-color: #ffaa3c;
	text-align: center;
	color: #616161;
	font-size: smaller;
}

.featured_highlight {
    padding: 8px;
    color: white;
    text-align: center;
    font-weight: bold;
    font-size: smaller;
}

.featured_item {
  color: #ffffff;
  padding: 5px;
  height: 50vh; /* height of header */
  text-align: center;
  background: linear-gradient(
    to bottom,
    #f3c28a 0%,
    white 100%
  );
}

.featured_item p {
  color: black;
  font-size: larger;
}

.featured_item a {
  color: blue;
  text-decoration: underline;
}

.featured_item a:hover {
  color: #ec9f37;
}

.hamb_div {
  font-size: xx-large;
  margin-top: 40px;
  display: none;
}

.hamb_menu {
  text-decoration: none;
}

.hamb_menu:hover {
	text-decoration:none;
}

#random_cover {
	float: right;
	padding: 15px;
}

#random_cover img {
	width: 100%;
}

a {
  color: #E6851C;
  text-decoration: none;
}

a:hover {
  color: #E6851C;
  text-decoration: underline;
}

h1 {
	font-size: x-large;
}

p {
	font-size: smaller;
}

.smaller {
	font-size: smaller;
}

.larger {
	font-size: larger;
}

.inherit {
	font-size: inherit;
}

.list_space {
  padding:5px;
}

.bold {
	font-weight: bold;
}

.black {
	color: black;
}

.rss_icon {
	padding:inherit;
	height: 20px;
	width: 20px;
}

.grid-container {
  display: grid;
  grid-template-columns: auto auto auto;
  grid-template-rows: auto;
  background-color: orange;
  margin: 5px;
}

.grid-item {
  background-color: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(0, 0, 0, 0.8);
  padding: 10px;
  font-size: larger;
  font-weight: bold;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

.theader {
  background-color: orange;
}

.theader a {
  color: black;
}

.flex-container {
  display: flex;
  flex-flow: row wrap;
  background-color: white;
}

.flex-container > div {
  margin: 5px;
}

.flex-container > div img {
	border: grey solid 1px;
	padding-right: 0px;
}

.error_message {
  font-size:larger; 
  font-weight:bold; 
  color:red;	
}

.green_message {
	color:green; 
	font-weight:bold; 
	padding-left:10px;
}

.note {
	color:purple; font-weight:bold;
}

button {
	color: #616161;
	background-color: #F3C28A;
	font-size: larger;
  }
  
a:hover button{
	color:#FFFFFF;
}

.detail_image {
	border: grey solid 1px;
	padding-right: 0px;
}

.link_msg {
	color: #545454;
	font-size: smaller;
}
  
/* For tablets: ------------------------------------------------------ */
@media only screen and (max-width: 815px) {
	
	.header {
	  height: 10%;
	  background: linear-gradient(
	    to bottom,
	    #e6aa00 0%, /* make it blend, rather than be 2 separate colors */
	    #ffd53c 100%
	  );
	}
	
	#main_logo {
	 display: none;
	}
	
	#main_title {
	  display: block;
	}
	
	#main_title a {
		color: white;
		text-decoration: none;
	}

	.col-1 {width: 20%;}
	
	.col-2 {
	  width: 80%;
	  padding-left:5px;
	}
	
	.col-2 h1 {
		font-size:large;
	}
		
	.featured_item {
	  height: 30%;
	}

	#random_cover img {
	  width: 80%;
	}

	.grid-item {
	  font-size: inherit;
	  font-weight: normal;
	}
	
	.link_msg {
		display:none;
	}
}

/* For mobile phones: ------------------------------------------------- */
@media only screen and (max-width: 600px) {
	
	.header h1 {
		font-size: large;
	}
	
	.menu ul {
		margin-bottom:0px;
	}
	
	.menu li {
	  padding: 15px;
	}
	
	.menu-items {
	  display: none;
	}
	
	.menu_bottom_item {
		display:none;
	}
	
	[class*="col-"] {
	    width: 100%;
	}
	
	.col-2 {
	  padding-left:5px;
	}
	
	.featured_area {
	  display:none;
	}
	
	.hamb_div {
	  margin-top: 17px;
	  float: right;
	  display: block;
	}

  #random_cover img {
    width: 60%;
  }

	.grid-item {
	  padding: 5px;
	}	
	
	.error_message {
	  font-size:inherit; 
	}

	.green_message {
	 font-size:smaller;
	}

}
