/* DEBUG: see the boxes */
* {
  border: 0px solid red;
}

/* DEBUG: see the boxes 
header, nav, main, section, footer,
 li, h1, h2, p, div {
  border: 1px dashed rgba(0, 0, 0, 0.36);

} */

body {
}
p {color:blue;}

h1,h2,h3,h4,h5,h6 {color:green;}

ul {color:brown}

li a {color:rgb(99, 72, 72);}

ol{color:orange;}


.button {
  display: inline-block;
  margin-top: auto;
  padding: 10px 24px;
  border-radius: 8px;
  background-color: green;
  color: white;
  font-family: Georgia, serif;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.button:hover,
.button:focus {
    border-radius: 0px;
    background-color: rgb(212, 243, 75);
     color: rgb(33, 29, 29);
}

/* Card styles */
.card {
  background: rgb(60, 60, 60);
  border: 2px dotted green;
  color: white;
  flex: 0 0 250px;
  padding: 15px;
}
 
.card img {
  border-radius: 8px;
  height: 200px;
  width: 100%;
  object-fit: cover;
}

.card h4 {
  margin: 12px 0 6px;
  font-size: 24px;
  color:white;
}
 
.card p {
  margin: 0 0 12px;
  line-height: 1.4;
  color:white;
}

.card button {
  margin-top: auto;
  padding: 10px 12px;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font-family: Georgia, serif;
}
/* card styles */

/* Flex and grid styles */
.flex-demo {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  padding: 10px;
  align-items: flex-start;
}

.grid-demo {
  display: grid;
  grid-template-columns: 1fr 1fr ;
  gap: 20px;
}

/* FLex styles end */

main {
width: 80%;
  max-width:1200px;
  margin: 0 auto;   /* auto side margins center it */
padding-top:50px;

}


/* Site header and navigation  */
.site-header {
  background-color:#363736;
}
.logobox{
padding:25px;
background-color:#b0b4b2;
}

.logo{
  color:white;  /* new */
  text-decoration:none; /* new */
  font-size:25px; /* new */
  
}

ul.navlist{
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 15px;
  margin: 20px 20px 20px 20px;
  justify-content: center; /* new */

  

}

ul.navlist li {
  border: 1px solid rgba(204, 211, 204, 0.783);
   padding: 10px 10px;
   background-color:#b0b4b2;/* new */
   
}

ul.navlist li a {
  text-decoration:none;
  font-size: 14px;
   font-weight: 600;
   font-family:verdana;/* new */
   text-transform: uppercase;color:rgb(239, 233, 233);
   
}

/* Site header and navigation end */



.hero {
height: 300px;
background-size: cover;
background-position: center;
background-repeat: no-repeat;
display: flex;
flex-direction: column;
justify-content: flex-end;
}

.hero h1 {
padding: 16px 0px;
margin:0; 
color: black;
background: rgba(255, 255, 255, 0.7);
padding: 16px 24px 24px;
}



h1 {
color:white;
font-family:Trebuchet MS;font-size: 45px;} 






