*,
*:before,
*:after {
   padding: 0;
   margin: 0;
   box-sizing: border-box;
}

body {
   height: 100vh;
   width: 100%;
   /* background-color: #f4f4f4; cadetblue; */
   background-color: #333;
   color: #555;
   font-family: "Times New Roman", Times, serif;
   font-size: 16px;
   line-height: 1.6em;
   display: grid;
   grid-template-columns: 1fr;
   grid-gap: 0 0;
}
/*------------------*/
#header {
   background-color: #9f7732;
   background-image: linear-gradient(to bottom right, #9f7732, #bfa477);
   color: darkcyan; /*#6b0000;*/
   text-align: center;
   /* word-spacing: 0.5em; */
   text-shadow: 2px 2px 3px #6b0000;
   display: flex;
   justify-content: center;
   align-items: center;
   height: 6vmax;
}

#header h1 {
   font-size: 5vmax;
   /* margin-top: 1rem; */
}

#header h2 {
   font-size: 4vmax;
   margin: 1rem 0;
}

/*--------------------------------------------------------------*/
/*--------------------------------------------------------------*/
/*--------------------------------------------------------------*/
/*--------------------------------------------------------------*/
#nav-container {
   position: sticky;
   top: 0;
   background-color: rgba(0, 0, 0, 0); /*#333;*/
   color: #fff;
   padding: 0.5rem 0.1rem 0 0.1 rem;
   /* min-height: 2em; */
   background-image: url("../resources/images/leather.jpg");
   background-position: center;
   background-repeat: repeat;
   background-size: contain;
}
#nav-items {
   padding: 0.1em 0.1em 0.2em;
   display: flex;
   flex-flow: row wrap;
   justify-content: center;
   align-content: space-around;
   gap: 0.2rem;
}

.nav-item {
   cursor: pointer;
   user-select: none;
   text-decoration: none;
   text-align: center;
   display: block;
   /*white-space:nowrap;*/
   background-color: #333;
   color: #fff;
   /* margin: 0.2em 0.2em; */
   padding: 0.1em 0.5em;
   border: 0.1em solid #999;
   border-radius: 1em;
   box-shadow: 0.1em 0.1em 0.2em 0.1em rgba(255, 127, 80, 0.7); /*#ff7f50 = coral;*/
}
/*------------------*/
/*------------------*/

.hover-it {
   transform: scale(0.92);
   background-color: #bfa477;
}

.dropdown-menu-item:hover {
   transform: scale(0.92);
   background-color: #bfa477;
   box-shadow: 2px 2px 2px 2px rgba(0, 0, 0, 0.7);
}

.dropdown-menu-content {
   background-color: #bfa477; /*blue; /*#333;*/
   border-radius: 1rem;
   display: none;
   position: absolute;
   top: 100%;
   left: 0; /*50%;*/
   min-width: max(200px, 95%);
   box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
   z-index: 1;
   /* transform: translateX(-50%); */
}
.dropdown-menu-item {
   height: 100%;
   width: 100%;
   text-decoration: none;
   text-align: center;
   display: block;
   white-space: nowrap;
   background-color: #333;
   color: #fff;
   box-shadow: 0.1em 0.1em 0.2em 0.1em rgba(255, 127, 80, 0.7); /*#ff7f50 = coral;*/
   /* margin: 0.2em 0.2em; */
   padding: 0.1em 0.5em;
   border: 0.1em solid #999;
   border-radius: 1em;
   cursor: pointer;
}
.dropdown-content-show {
   display: flex;
   flex-direction: column;
   justify-content: center;
   align-items: center;
}
/* ------------------------------ */
/* ------------------------------ */

.menu-icon {
   /*border:3px solid red;*/
   padding: 0.5em 0.5em;
   margin: 0.3em;
   position: relative;
   float: left;
   cursor: pointer;
   display: none;
}

.menu-icon .nav-icon {
   background: #fff; /*#333;*/
   display: block;
   height: 5px;
   width: 2.1em;
   position: relative;
   transition: background 0.2s ease-out;
}

.menu-icon .nav-icon:before {
   content: "";
   background: #fff; /*#333;*/
   display: block;
   height: 100%;
   width: 100%;
   position: absolute;
   transition: all 0.2s ease-out;
   top: 12px;
}

.menu-icon .nav-icon:after {
   content: "";
   background: #fff; /*#333;*/
   display: block;
   height: 100%;
   width: 100%;
   position: absolute;
   transition: all 0.2s ease-out;
   top: -12px;
}

.menu-btn {
   display: none;
}

.menu-btn:checked ~ #nav-items {
   display: flex;
}

.menu-btn:checked ~ .menu-icon .nav-icon {
   background: transparent;
}
.menu-btn:checked ~ .menu-icon .nav-icon:before {
   transform: rotate(-45deg);
   top: 0;
}

.menu-btn:checked ~ .menu-icon .nav-icon:after {
   transform: rotate(45deg);
   top: 0;
}

/* ----------------------------------------------------------- */
/* ----------------------------------------------------------- */
/* ----------------------------------------------------------- */
/* ----------------------------------------------------------- */

@media (max-width: 6700px) {
   /* canged this to 6700 instead of 700 to make it not show menu except as icon */
   #nav-items {
      flex-flow: column;
      display: none;
   }
   .nav-item {
      margin-bottom: 0.4em;
   }
   .menu-icon {
      display: block;
   }
}
/*----------------------------------------------------------------*/
/*----------------------------------------------------------------*/
/*----------------------------------------------------------------*/
/*----------------------------------------------------------------*/

#show-case {
   background-image: url("../resources/images/logo.png"), url("../resources/images/leather.jpg");
   background-position: center, center;
   background-repeat: no-repeat, repeat;
   background-size: contain;
   height: 10vmin; /*300px;*/
   margin-bottom: 0.5em; /*30px;*/
   text-align: center;
}
/*------------------*/

@media (max-width: 700px) {
   #show-case {
      height: 20vmin; /*150px;*/
      margin-bottom: 0px;
   }
}

/*----------------------------------------------------------------*/
/*----------------------------------------------------------------*/
/*----------------------------------------------------------------*/
/*----------------------------------------------------------------*/
iframe {
   width: 100%;
   /* height: 250px; */
   height: max(300px, 30vh);
}

#main-grid {
   /* width: 95%;
   margin: 1rem auto;
   display: grid;
   grid-gap: 1em 1em;
   grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
   grid-auto-flow: row dense; */
   width: 100%;
   margin: 0 auto;
   background-color: #333;
}

/*------------------*/

/* @media (max-width: 700px) {
   #main-grid {
      grid-template-columns: 1fr;
      width: 100%;
   }
} */

/*----------------------------------------------------------------*/
/*----------------------------------------------------------------*/
/*----------------------------------------------------------------*/
/*----------------------------------------------------------------*/

#footer-grid {
   background-color: #333;
   color: #fff;
   text-align: center;
   padding-bottom: 0.6em;
   display: flex;
   flex-flow: row wrap;
   justify-content: center;
   /* gap:0 3em; */
}

#footer-grid a {
   text-decoration: none;
   color: #86abd3;
}
#footer-grid a:hover {
   color: #ddd;
}

#copyright {
   width: 100%;
   text-align: center;
}

#phone,
#email {
   text-align: center;
   margin: 0 1em;
}

/*------------------*/

@media (max-width: 700px) {
   #footer-grid {
      flex-flow: column;
   }
}

/*----------------------------------------------------------------*/
/*----------------------------------------------------------------*/
/*----------------------------------------------------------------*/
/*----------------------------------------------------------------*/

#main-article {
   grid-column: span 2;
   padding: 10px;
   box-sizing: border-box;
   background-color: #eee;
   color: #110553;
   font-weight: 400;
}

#main-article h1 {
   background-color: #110553;
   background-image: linear-gradient(to bottom right, #0278b4, #86abd3);
   color: #110553;
   padding: 0.2em;
}

/*----------------------------------------------------------------*/
/*----------------------------------------------------------------*/
/*----------------------------------------------------------------*/
/*----------------------------------------------------------------*/

#side-bar {
   grid-column: span 1;
   padding: 10px;
   box-sizing: border-box;
   background-color: #fbfde9;
   color: #006930;
   font-weight: 400;
}

#side-bar h1 {
   background-color: #006930;
   background-image: linear-gradient(to bottom right, #9fce64, #cbe3aa);
   color: #006930;
   padding: 0.2em;
}

/*------------------*/

@media (max-width: 700px) {
   #main-article,
   #side-bar {
      grid-column: span 1;
      padding: 0 0.5em;
   }
}

/*----------------------------------------------------------------*/
/*----------------------------------------------------------------*/
/*----------------------------------------------------------------*/
/*----------------------------------------------------------------*/

@media print {
   body *:not(.printable):not(.printable *) {
      display: none;
      /* visibility: hidden; */
   }
}
