:root {
  --title-color: #004a87;
  --gen-blue: #0074aa;
  --gen-blueGr: #009db1;
  --gen-green: #00c29e;
  --gen-greenYe: hsl(115, 63%, 69%);
  --gen-yellow: #f9f871;

  --mat-magenta: #47569c;
  --mat-magentaPu: #7661ad;
  --mat-puple: #a26bba;
  --mat-puplePink: #cd75c2;
  --mat-pink: #f681c5;

  font-size: 16px;
}

body {
  font-family: "Myriad Pro", "DejaVu Sans Condensed", Helvetica, Arial,
    "sans-serif";
  font-size: 16px;
  margin: 0;
  padding: 0;
  /*container-type: inline-size;
  container-name: headMenu;*/
}

/* Flex class for logo and top nav. manu*/
.headCon {
  display: flex;
  flex-flow: wrap; /*nowrap;*/
  flex-direction: row;
  flex-shrink: 2;
  justify-content: space-between;
  background-image: linear-gradient(135deg,#004a87, #009db1, #00c29e);
  width: 100%;
  height: auto;
  /*container-type: inline-size;
  container-name: headMenu;*/
}

.logo {
  /* display: block; */
  margin-top: 5px;
  margin-left: 5px;
}


.header-Menu {
  margin: 0px;
  padding: 6px 0px 4px 0px;
  height: fit-content;
  /* background-color: var(--gen-blue); */
  border-radius: 0 12px 0 12px;
  box-shadow: 1px 1px 2px 1px rgba(0 0 0 / 0.5);
  background-image: linear-gradient(90deg, #0074aa, transparent);
}



.header-Menu .hamber {
  mask-image: url(menu.svg);
  mask-repeat: no-repeat;
  display: inline-block;
  width: 33px;
  height: 26px;
  background-color: floralwhite;
  margin: 3px 5px 3px auto;
  opacity: 0.7;
  display: none;
}

.header-Menu a:visited {
  color: white;
}

.header-Menu a {
  color: white;
  text-align: center;
  padding: 9px 8px 7px 8px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  max-width: 11rem;
  margin: auto;

}

.header-Menu a {
  color: white;
  text-align: center;
  padding: 9px 8px 7px 8px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  max-width: 11rem;
  margin: auto;
  position: relative;
  z-index: 1;
}

.header-Menu a:hover::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* border-radius: 0 12px 0 12px; */
  border-radius: 12px;
  background-image: linear-gradient(135deg, var(--gen-green), var(--gen-greenYe));
  animation: mainMenu 0.4s ease-out forwards;
  z-index: -1;
  scale: 0;
  opacity: 0.8;
  filter: blur(3px);
}

.header-Menu a.active {
  color: #ccc;
}

@keyframes mainMenu {
  to {
    scale: 1;
    /* opacity: 0.8; */
  }
}

.nameSite, .nameBlock {
  margin: auto;
  color: white;
  text-align: center;
  padding-left: 2rem;
  padding-right: 2rem;
  text-shadow: 2px 2px 3px black;
  font-size: clamp(0.5em, 0.95em, 1.5rem); /*0.8em;*/
  align-self: center; /*flex-end*/
  opacity: 0.75;
}

.nameBlock {
  margin: 150px auto 0px auto;
}

.anounce {
  width: 60%;
  margin: 20px auto 30px auto;
  background-color: lemonchiffon;
  border: solid thin brown;
  padding: 5px;
  color: steelblue;
  border-radius: 10px;
  box-shadow: 2px 2px 3px 2px gray;
  text-align: center;
}

.anounce a:link {
  color: white;
  text-decoration: none;
}

.anounce h3 {
  color: darkcyan;
}

.footNode {
  display: block;
  /*float: left;*/
  width: 90%;
  text-align: center;
  font-size: 0.8em;
  color: gray;
  margin-top: 10px;
  margin-right: auto;
  margin-left: auto;
  border-top: 3px #004a87 solid;
}

.intro-Content {
  padding: 1rem;
  margin: 3ch auto;
  width: 95%;
  /*max-width: 120ch;*/
}

.articleIntro-Con {
  display: grid;
  grid-template: auto / auto;
  grid-gap: 2rem;
  grid-template-columns: repeat(3, 1fr);

  padding: 0rem 1.5rem;
  height: auto;
  max-width: 100%;
  margin: 2rem auto;

  container-type: inline-size;
  container-name: conIntro;
}
.articleIntro-Con article {
  margin: 0;
  width: auto;
  height: auto;
  padding: 10px;
  border-radius: 0.5rem;
  box-shadow: 2.5rem 3.75rem 3rem -3rem gray;
  color: #333;

  background-color: white;
}

.articleIntro-Con h3 {
  color: black;
  border-bottom: thin solid black;
  font-weight: normal;
  font-size: 0.9em;
  font-weight: 600;
  margin-top: 0px;
  padding-bottom: 3px;
}
.articleIntro-Con p {
  font-size: 0.9em;
}
.articleIntro-Con a:link {
  color: #333;
  padding: 0.35rem 0.8rem;
  border-radius: 1rem;
  text-decoration: none;
  border: 2px solid darkcyan;
  box-shadow: 2px 2px 4px 1px rgba(0, 0, 0, 0.2);
  transition: box-shadow 300ms ease-in;
  font-size: 0.8rem;
}
.articleIntro-Con a:visited {
  color: #333;
  border: medium solid gray;
}
.articleIntro-Con a:hover {
  color: white;
  box-shadow: none;
  /* background-color: var(--gen-blueGr); */
  background-image: linear-gradient(45deg, var(--gen-blueGr), transparent);
  border-width: 0;
  padding: calc(0.35rem + 2px) calc(0.8rem + 2px);
}

.submenu {
  margin: 1vw auto 0.1vw auto;
  padding: 0.5vw 0.5vw 0.2vw 0.5vw;
  width: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.submenu a:visited,
.submenu a {
  color: #00729a;
  text-align: center;
  padding: 0.75rem;
  margin: 10px 5px;
  text-decoration: none;
  font-weight: 600;
  flex-basis: 20vw;
  box-shadow: 3px 3px 2px 2px gray;
  transition: background 800ms ease-out;
  border-radius: 0 18px 0 18px;
  text-wrap: balance;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: 400%;
  background-image: linear-gradient(138deg, transparent 40%, var(--gen-yellow), var(--gen-blueGr));
  background-position: left;
}

.submenu a:hover {
  color: white;
  font-weight: 800;
  box-shadow: 1px 1px 1px 1px gray;
  background-color: var(--gen-green);
  border: none;
  background-position: 60%;
}

.submenu a.active {
  color: gray;
}


@media (max-width: 510px) {
  .articleIntro-Con {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 1235px) {
  .nameBlock {
    margin-top: 70px;
    opacity: 0.75;
  }
  
}

@media (max-width: 810px)
{
  .nameBlock {
    margin-top: 0px;
  }
}

@media (max-width: 480px) {
  .headCon {
    flex-flow: nowrap;
  }
  .header-Menu {
    display: flex;
    text-align: left;
    /* width: 100%; */
    height: auto;
    flex-direction: column;
    border-radius: 0px;
    /* background-color: transparent; */
    background-image: none;
    box-shadow: none;
  }

  .header-Menu-show {
    background-color: var(--gen-blue);
    box-shadow: 0px 1px 5px 0px rgba(0 0 0 / 0.5);
  }

  .logo img {
    width: 75px;
  }

  .header-Menu a.toShow {
    display: inline;
  }

  .header-Menu a {
    width: 100%;
    display: none;
    text-align: left;
    padding: 0.3rem 0.3rem;
    font-size: 0.8rem;
  }


  .header-Menu a:hover {
    background-color:transparent;
    border-top: thin solid gray;
    border-bottom: thin solid gray;
    border-radius: 0px;
  }

  .header-Menu .hamber {
    display: inline-block;  
  }

  .header-Menu .hamber:active {
    background-color: gray;
  }

  .nameBlock, .nameSite {
    font-size: 0.4rem;
    margin: 0px auto;
    padding: 0px 5px;
  }
  .nameBlock h2, .nameSite h2 {
    font-size: 0.7rem;
  }

}

.alert {
  position: fixed;
  top: 140px;
  right: 1rem;
  width: 134px;
  height: 132px;
  padding: 1rem;
  z-index: 10;
  opacity: 0.8;

  background-image: url(../images/stickNote.svg);
  background-repeat: no-repeat;
  filter: drop-shadow(2px 2px 2px rgb(0 0 0 / 0.3));
}

.alert p {
  color: var(--gen-blue);
  text-align: center;
  font-size: 1rem;
  font-weight: 600;
  text-shadow: 0 1px rgba(0 0 0 / 0.6);
  opacity: 1;
}