/* CSS file for tools section
   Orginal file begun: 08/01/2005
   New version begun: 13/05/2024
*/

body, div#page, p#contacts {
    background-color: var( --tips-page-bg );
}

/* header */
div.page-intro {
    margin-right: -4vw;
    margin-left: -4vw;
    padding-left: 1vw;
    display: flex;
    align-items: center;
    border-top: 2px solid var( --mjas-border );
    border-bottom: 2px solid var( --mjas-border );
    margin-bottom: 1.5em;
}

div.page-intro p {
    background-image: url(../media/palette1s.jpg);
    background-repeat: no-repeat;
    padding-right: 4vw;
    margin-bottom: 0;
    flex: 1 0 auto;
}

/* main */
article.paras {
    margin-bottom: 1.5em;
}

section.warm-up {
    width: fit-content;
    padding: 0.75em 2em;
    border: 2px solid var( --web-hue );
}

section#taste-buds ol {
    list-style-position: inside;
    list-style: none;
    counter-reset: toolset-counter;
}

#taste-buds li {
    counter-increment: toolset-counter;
}

#taste-buds li::before {
    content: counter(toolset-counter);
    background-color: var( --web-hue );
    color: var( --page-bg );
    padding: 0.2em 0.5em;
    border-radius: 50%;
    box-shadow: 4px 4px 6px var( --shadow ), 0 0 10px var( --shadow-inset ) inset;
    margin-right: 4vw;}

div.card {
    background-color: var( --page-bg );
    color:  var( --web-hue );
    padding-right: 2vw;
    padding-left: 2vw;
    border: 3px solid var( --web-hue );
    box-shadow: 6px 6px black;
    margin-bottom: 26vh;
}

div.card h2 {
    text-align: center;
    padding-top: 0.6em;
    padding-bottom: 0;
}

div.card h3 {
    text-align: center;
    padding-top: 0.33333333em;
}

/* footer */
p#links {
    background-color: var( --tips-dark-bg );
}

/* elements */
div.card-container a:hover {
    text-decoration: none;
}

div#placard h1 {
    font-size: 5em;
    text-transform: uppercase;
    text-shadow: 6px 6px black;
    padding: 10vh 0 15vh;
    text-align: center;
}

h2.new-start {
    margin-top: 1em;
    padding-top: 0;
    border-top: 4px solid var( --web-hue );
}

section > h3 {
    padding-top: 1em;
    padding-bottom: 0.6em;
}

h3.recipe {
    color: var( --web-hue );
}

h3.topic::before {
    content: '‣ ';
    color: var( --spot-hue );
}

article.expo ol, article.expo ul {
    list-style-position: inside;
}

p:last-child {
    margin-bottom: 0;
}

p#contacts {
    color: var( --text );
}

span.emphatic {
    background-color: var( --mjas-border );
}

span.link-like {
    color: var( --visited-link );
}

/* display adjustments */
/* widths variable by design */
@media screen and (min-width: 453px) {
  div.page-intro {
    padding-right: 2vw;
    padding-left: 2vw;
  }
}

@media screen and (min-width: 640px) {
  article.paras {
    padding: 0 4vw;
  }
  section.picplus {
    display: flex;
    align-items: center;
    width: fit-content;
    margin: 0 auto;
    border-bottom: 2px solid var( --mjas-border );
  }
  section.warm-up {
    margin: auto;
  }
  div.card-container {
    display: flex;
    justify-content: space-around;
  }
  section#limits, section#taste-buds, section#types {
    display: flex;
  }
  div.alpha {
    padding-right: 4vw;
    flex: 1;
  }
  div.beta {
    padding-top: 4em; 
    flex: 1;
  }
  #taste-buds li::before {
    margin-right: 2vw;
  }
}

@media screen and (min-width: 960px) {
  article.expo {
    width: 66%;
    margin: auto;
  }
}

@media screen and (min-width: 800px) {
    div.page-intro {
    margin-right: -2vw;
    margin-left: -2vw;
  }
}

@media screen and (min-width: 1280px) {
  #taste-buds li::before {
    margin-right: 1vw;
  }
}

@media screen and (min-width: 1680px) {
  div.page-intro {
    margin-right: -1vw;
    margin-left: -1vw;
  }
}

@media screen and (min-width: 1760px) {
  div.page-intro {
    margin-right: 0;
    margin-left: 0;
  }
}

/* EOF */