*/* DEBUG: see the boxes */
header, nav, main, section, footer,
ul, li, h1, h2, p, div {
  border: 0;
}

* {
    border: 0px solid red;
   } 

body {
  margin-left: 10%;
  margin-right: 10%;   /* auto side margins center it */
  max-width: 1400px;
  padding-top: 218px;
}

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

.card {
  background: rgb(59, 171, 199);
  border: 0px dotted green;
  color: white;
  flex: 45 60 250px;
  box-sizing: border-box;
  padding: 15px;
  border-radius: 0px 12px 0px 12px;
}

.card button {
  margin-top: auto;
  padding: 10px 12px;
  border: solid 4px blue;
  cursor: pointer;
  font-family: Georgia, serif;
  border-radius: 0px 12px 0px 12px;
}

.card img {
  border-radius: 8px;
  height: 200px;
  width: 100%;
  object-fit: cover;
}

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

.grid-demo {
  display: grid;
  grid-template-columns: 1fr .5fr .5fr 1fr;
  gap: 20px;
  background-color: rgb(45, 241, 241);
  padding: 25px;
}

.submenu {              
  list-style: none;
  margin: 0;
  padding: 6px 0;
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 180px;
  background-color:rgb(175, 236, 33);
  border-radius: 6px;
}  

.has-dropdown{
  position: relative;
  }

.submenu a {
  padding: 8px 16px;
}

.has-dropdown:hover .submenu {
  display: block;
}

ul.submenu li a {
  color: blue;
}
 
header.site-header {
    margin-bottom: 0px;
    background-color: rgb(0, 171, 250);
    padding: 12px;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}  

header .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
}

.logobox {
    padding: 15px;
    margin-top: -14px;
    background-color: aquamarine;
}    

.logo {
    font-size: 25px;
    }

ul.navlist {
  border: 0px solid rgb(255, 119, 0);
  display: flex;
  gap: 20px;
  list-style: none;
  justify-content: center;
  margin-top: 20px;
  align-items: flex-start;
}

ul.navlist li {
  border: 0px solid green;
  padding: 10px 4px;
  border-left: none;
  border-right: none;
  background-color: #ffffff;
}

ul.navlist li a {
  display: block;
  text-decoration: none;
  color: #1d5c8f;
  font-weight: 600;
  font-family: Verdana;
  padding: 18px;
}

p {color:blue;
    line-height: 2;
}

h1,h2,h3,h4,h5,h6 {color:rgb(0, 202, 17);}

ul {color:brown;
    line-height: 2;
}

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

ol {color:orange;
    line-height: 2;
}

body {
    color:rgb(255, 255, 46);
    font-size: 20px;
    background-color: rgb(181, 246, 255);
    }

.nav-list li a {text-transform: uppercase;color:rgb(152, 45, 45);}

.hero {
    background-image:url('/assets/exercises.jpg');
    min-height:300px;
    background-size: cover;
    background-position: center;
    background-repeat: repeat;

    padding: 16px 0px 24px 0px;
    }

.hero h1 {
    width: 100%;
    padding: 16px 0px;
    margin-top: 200px; /* push it down the image */
    font-family:Trebuchet MS;font-size:45px;
    color: rgb(248, 244, 244);
    top: 10;
    right: 30;
    background: rgba(63, 62, 62, 0.5);
}

.top-five {
    font-family: Berlin Sans FB;
    font-size: 20px;
    color: skyblue;
    background-color: rgb(134, 247, 134);
    }

.top-five a {
    text-decoration: line-through;
    }

.top-five2 {
    font-family: Comic Sans MS;
    font-size: 22px;
    color: yellow;
    background-color: rgb(252, 187, 48);
    }

.top-five2 a {
    text-decoration: none;
    }