/* clamp(min-px, cur-vw, upper-px) */
:root {
  --navcolor: #363062;
  --footer: #4d4c7d;
  --shadow: #484a5f;
  --title: #f99417;
  --title-shadow: #702913;
}
body {
  margin: 0%;
  background-color: #f0f0f0;
}

h1 {
  text-align: center;
  font-family: "Times New Roman", Times, serif;
  color: var(--title);
  text-shadow: 0px 1px 2px var(--title-shadow);
  font-size: clamp(1.25rem, 7vw, 2.75rem);
  margin-top: 5rem;
  margin-bottom: 0.5rem;
}

.ftimg {
  display: grid;
  text-align: center;
  align-items: center;
  grid-template-columns: repeat(3, 1fr);
  margin: auto;
  padding: 10px;
  height: 150px;
  width: auto;
  /*  border-style: solid;
 background-color: #702913;
  border-color: #363062;*/
}
.container {
  display: block;
  margin: auto;
  height: 100%;
}
.text-center {
  text-align: center;
  font-size: clamp(1.25rem, 2.2vw, 2.1rem);
}
.text-justify {
  text-align: justify;
  font-size: clamp(0.8rem, 2.2vw, 1.875rem);
}
.sm-font {
  font-size: clamp(0.9rem, 3vw, 0.9rem);
}
.body {
  display: grid;
  grid-template-columns: 1fr;
  max-width: 75%;
  text-align: center;
  margin: auto;
}

/* index page */

.grid-index {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(auto-fit, 2fr);
  align-items: center;
  justify-content: center;
  margin: auto;
  gap: 0.8rem;
  padding: 1rem;
  width: 80%;
  height: auto;
}
.grid-index .cell-left {
  grid-row: span 2;
  align-content: top;
  font-size: clamp(1.25rem, 2.2vw, 2.4rem);
}
.grid-index .cell-right {
  text-align: center;
}
.grid-index img {
  width: clamp(12rem, 60%, 30rem);
}
.grid-index .img-style {
  border-radius: 75px;
  box-shadow: 0px 0px 9px rgb(86, 86, 86);
}

/* Template for pages crab, bait  */

.multi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  align-items: center;
  justify-content: center;
  text-align: center;
  margin: auto;
  gap: 1rem;
  max-width: 75%;
}
.multi-grid img {
  max-width: 70%;
}
.multi-grid .img-style {
  border-radius: 1.5rem;
  box-shadow: 0px 0px 9px rgb(86, 86, 86);
}

/* Start navbar menu styling */
/* https://www.cssportal.com/css3-menu-generator */

#menu {
  position: fixed;
  width: 100%;
  background: #f4f4f4;
  color: var(--navcolor);
  height: 50px;
  padding-left: 16px;
  box-shadow: 1px 5px 4px 0 rgba(0, 0, 0, 0.1);
  top: 0px;
}
#menu ul,
#menu li {
  margin: 0 auto;
  padding: 0;
  list-style: none;
}
#menu ul {
  width: 100%;
}
#menu li {
  float: left;
  display: inline;
  position: relative;
}
#menu a {
  display: block;
  line-height: 50px;
  padding: 0 14px;
  border-right: 1px solid var(--navcolor);
  text-decoration: none;
  color: var(--navcolor);
  font-size: clamp(1rem, 3vw, 1.8rem);
}
#menu li a:hover {
  color: #f4f4f4;
  background: var(--navcolor);
}
#menu input {
  display: none;
  margin: 0;
  padding: 0;
  height: 45px;
  width: 100%;
  opacity: 0;
  cursor: pointer;
}
#menu label {
  display: none;
  line-height: 45px;
  text-align: center;
  position: absolute;
  left: 35px;
}
#menu label:before {
  font-size: 2em;
  content: "\2261";
  margin-left: 20px;
}
/* End navbar menu styling */

/* Start media screen size and styling*/

/* portrait */
@media screen and ((orientation: portrait)) {
  @media screen and (max-width: 980px) {
    /* grid-index  */
    .grid-index {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      width: 85%;
    }
    .grid-index .cell-left {
      grid-column: span 2;
      grid-row: span 1;
      text-align: left;
      font-size: 2rem;
    }
    .grid-index .cell-right {
      text-align: center;
    }
    .grid-index .cell-img {
      width: 100%;
    }

    /* navbar do not edit */
    #menu ul {
      background: #f4f4f4;
      opacity: 0.95;
      position: absolute;
      top: 100%;
      right: 100%;
      left: 0;
      z-index: 3;
      height: auto;
      display: none;
    }
    #menu a {
      display: block;
      line-height: 60px;
      padding: 0 14px;
      border-right: 1px solid var(--navcolor);
      text-decoration: none;
      color: var(--navcolor);
      font-size: 35px;
    }
    #menu ul {
      position: absolute;
      top: 100%;
      right: 0;
      left: 0;
      z-index: 3;
      height: auto;
      display: none;
    }
    #menu ul.sub-menus {
      width: 100%;
      position: static;
    }
    #menu ul.sub-menus a {
      padding-left: 30px;
    }
    #menu li {
      display: block;
      float: none;
      width: auto;
    }
    #menu input,
    #menu label {
      position: absolute;
      top: 0;
      left: 0;
      display: block;
    }
    #menu input {
      z-index: 4;
    }
    #menu input:checked + label {
      color: var(--navcolor);
    }
    #menu input:checked + label:before {
      content: "\00d7";
    }
    #menu input:checked ~ ul {
      display: block;
    }
  }
}
/* end portrait */
