* {
    font-family: Oswald, sans-serif;
    font-weight: medium;
    font-size: 18px;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

#wrapper {
    min-height: 100vh;
    margin: 0 auto;

      /* primary grid */
  display: grid;
  grid-template-areas:
    "banner menu"
    "content"
    "footer";

  grid-template-columns: 1fr;
  grid-template-rows: 150px 60px minmax(650px, auto) minmax(100px, auto);
}

.blackW  {
    background-color: #000;
    color: #ffff    ;
}
.blackB{
    background-color: #000;
    color: #33C5F2;
}

.red {
    background-color: #BE1E2D;
    color: #ffff;
}

/* ------------------------ HEADER ------------------------ */
header {
    grid-area: banner;
    width: 100%;
    height: 100px;
  }

  /* ------------------------ NAVIGATION ------------------------ */
nav {
    grid-area: menu;
    width: 100%;
    height: 50px;
  }
  .blackM {
    color: white;
    background-color: #000;
  }
  .redM {
    color: white;
    background-color: #BE1E2D;
  }
  nav ul {
    width: 100%;
    list-style: none;
  
    /* flex box */
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-around;
  }
  nav a {
    text-decoration: none;
    display: block;
    padding: 1em;
  }

  /* ------------------------ MAIN ------------------------ */
main{
    grid-area: content;
}
/*  ----------------------------home page --- */
#home{
    margin: 0%;
    display: grid;
    grid-template-areas: 
    "banner"
    "review"
    "episode"
    "news";
}
#hpBanner{
    grid-area: banner;

    /* background-color: #000; */
    color: #ffff;
}

#hpReview{
    grid-area: review;
}

#hpEpisode {
    grid-area: episode;
}
#hpBlog {
    grid-area: news;
}
/*  ----------------------------blog page --- */
#blog {
    grid-area: content;
    padding: 2em 3em 0;
    /* sub grid */
    display: grid;
    grid-template-areas: 
    "hero"
    "posts";
}
  /* blog banner */
  #heroBanner{
    grid-area: hero;
    background-color: #33C5F2;
    width: 100%;
  }
  #heroBanner h2,h3 {
    padding-bottom: 1em;
    color: #000;
    text-align: left;
    vertical-align: bottom;
  }

  

  /* blog post */
  .blogPosts {
    grid-area: posts;
    /* padding: 0.5em 3em 0em; */
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    gap: 2em;
    margin-top: 5em;
    color: #33C5F2;
  }
  
  .blogPost {
    display: flex;
    align-items: flex-start;
    gap: 1em;
  }
  /* fix */
  .blogRow {
    align-items: right;
  }
  .blogText {
    width: 100%;
  }
  .blogText p {
    font-weight: lighter;
  }
  .blogReverse {
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 1em;
  }

/*  ---------------------------- Playlist page --- */
#playlists {
    grid-area: content;
}

/*  ---------------------------- contact page --- */
#contactPage {
    grid-area: content;
    /* background-color: #ffc300;
    color: #000814; */
    display: grid;
    grid-template-areas: 
    "cta"
    "form"
    "ctab";
  
  }
 /* ---------------- top cta --------------- */
 #topcta{
    margin: 3em;
 }
  #contactPage h2 {
    gap: 3em;
    text-align: center;
    font-size: 40px;
  }

  /* -------------- contact form ----------- */
  .contactUs {
    grid-area: form;
    padding-left: 3em;
    display: flex;
    flex-direction: column;
    gap: 1em;
  }
  
  /* form labels */
  .contactLabels {
    position: relative;
    display: block;
    margin: 0.25em 0;
    padding-left: 8em;
    text-align: left;
    font-weight: bold;
    color: #33C5F2;
  }
  /* ----------- tooltip and javascript related CSS--------- */
  .tooltip {
    display: block;
    position: absolute;
    visibility: hidden;
    left: 25em;
    top: 0;
    width: 10em;
    padding: 0.5em;
    font-weight: normal;
    color: #fff;
    background-color: #88a61b;
    border: solid 2px #0e3d59;
  }
  
  .error {
    color: #d92525;
    position: relative;
    display: block;
    margin: 0.25em 0;
    padding-left: 8em;
    text-align: left;
    font-weight: bold;
  }
  /* span.error {
    padding-left: 10px;
  } */
  
  .success {
    color: #88a61b;
    position: relative;
    display: block;
    margin: 0.25em 0;
    padding-left: 8em;
    text-align: left;
    font-weight: bold;
  }
  
  /*  user form input */
  #fullName,
  #firstName,
  #surname,
  #email,
  #emailContent {
    display: block;
    margin: 0.25em auto;
    padding: 0.5em 3em;
    border-color: #000;
    border-radius: 6px;
    width: 70%;
  }
  
  /* subscribe to substack */
  .substack {
    margin: 1em auto;
    font-weight: bold;
  }
  /* submit form  */
  #submitForm {
    margin: 1em auto;
    padding: 0.5em 2em;
    border: none;
  }
  
  #submit {
    padding: 0 2em;
    border: none;
    border-radius: 6px;
    background-color: #000;
    color: #33C5F2;
  }
 /* ---------------- bottom cta ------------- */
  #contactPage h3{
    grid-area: ctab;
    font-size: 25px;
    text-align: center;
  }
  /* ------------------------ FOOTER ------------------------ */
footer {
    grid-area: footer;

}