/* *****
*JACL COLORS Orange Process Color-HEX F36C26, RGB 243 108 38 CMYK 0 71%, 96%, 0 Pantone 1505C
*Blue Process Color-HEX 0032A0, RGB 0 50 160 CMYK 100%, 90.7%, 2.27% .63 Pantone 826C
* ******/
:root {
  --primary: #0032A0;
  --secondary: #F36C26;
  --background: grey;
  --highlight: rgb(255, 226, 173);
  --textboxes: rgba(209, 209, 209, 0.875);
  /* --boxshadow-light: rgba(44, 187, 99, .2) 0 -25px 18px -14px inset, rgba(44, 187, 99, .15) 0 1px 2px, rgba(44, 187, 99, .15) 0 2px 4px, rgba(44, 187, 99, .15) 0 4px 8px, rgba(44, 187, 99, .15) 0 8px 16px, rgba(44, 187, 99, .15) 0 16px 32px;
  --boxshadow-dark:
    rgba(44, 187, 99, .35) 0 -25px 18px -14px inset, rgba(44, 187, 99, .25) 0 1px 2px, rgba(44, 187, 99, .25) 0 2px 4px, rgba(44, 187, 99, .25) 0 4px 8px, rgba(44, 187, 99, .25) 0 8px 16px, rgba(44, 187, 99, .25) 0 16px 32px; */

  --button-primary: var(--primary);
  --button-hover: var(--secondary);
  --button-color: white;
  --button-hover-color:white ;
  --btngradient: linear-gradient(
    45deg,
    #ffe2ad,
    #f7874f,
    #F36C26,
    #719cf9,
    #F36C26,
    #ffe2ad
  );

}

html {
  box-sizing: border-box;
}

*,
*::before,
*::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}

img {
  max-width: 100%;
  display: block;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  background-color:black;
  background-image: url("../logo/depositphotos_124844534-stock-photo-orange-trees-park.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: top center;
  
}

/* *****BUTTON FORMATTING***** */
.btn{
opacity: 1;
background-color: var(--primary);
border: none;
border-bottom: solid 2px black;
color: white;
padding:10px 25px 10px 25px;
margin-top:.25rem;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 16px;
cursor: pointer;
box-shadow: 0 12px 16px 0 rgba(0,0,0,0.24), 0 17px 50px 0 rgba(0,0,0,0.19);
-webkit-border-top-left-radius: 10px;
-webkit-border-top-right-radius: 10px;
-moz-border-radius-topleft: 10px;
-moz-border-radius-topright: 10px;
border-top-left-radius: 10px;
border-top-right-radius: 10px;
margin-bottom:-1px;
}

/* *****SUB-MENU BUTTONS ACTIVE/INACTIVE******* */

.active {
  /*display: none;*/
  background-color: var(--secondary);
  color:var(--primary);
  opacity: .5;
}

.content-out{
        overflow: hidden;  /* Hide the element content, while height = 0 */
        height: 0;
        opacity: 0;
        transition: height 0ms 400ms, opacity 400ms 0ms;
     }
.content-in{
        height: auto; opacity: 1;
        transition: height 0ms 0ms,     opacity 3000ms 0ms;
    }





/* *****GRID WRAPPER***** */
.grid-wrapper {
  margin: 3vh 1vw 1vw 1vh;
  display: grid;
  grid-template-columns: minmax(300px, 1000px) 200px;
  grid-template-rows: auto auto 150px;
  grid-template-areas:
    "branding nav"
    "main     main"
    "footer   footer";
  justify-content: center;
}

/* *****BRANDING**** */
#branding-section {
  grid-area: branding;
  padding: 1rem 0 0 1rem;
  background-image: url("../orangeCrane.jpg");
  background-size: contain;
  background-position: center 25px;
  background-repeat: no-repeat;
  background-color: white;
  transition: all 5s ease 1s;
box-shadow: 2px 2px 9px 1px rgba(0,0,0,0.75);
}

#branding-section:hover{
  transform: scale3d(0.75, 1, 1.7);
}

#branding-section ul.hamburger{
  display:none;
}


.logo img{
  width:30%;
  
}


/* *****NAVIGATION BUTTONS***** */
#navigation-section {
  grid-area: nav;
}

.main-navigation{
  display: flex;
  height:300px;
  row-gap:.15rem;
  flex-direction: column;
  justify-content:stretch;
}

.nav-item {
  list-style: none;
  flex: 1 0 auto;
  /* Center Text */
  display: grid;
  justify-content: center;
  align-content: center;
  }


 a.nav-item {
  background-color: var(--button-primary);
  /* border-radius: 100px;  remove round corners*/
  box-shadow: var(--boxshadow-light);
  color: var(--button-color);
  cursor: pointer;
  font-family: CerebriSans-Regular, -apple-system, system-ui, Roboto, sans-serif;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 2s;
 border: 0;
 font-size:clamp(.8rem, 1vw, 1rem);
 /*  minmax(5px, 5px); */
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
 }

a.nav-item:hover,a.nav-item:focus{
  background-position: left;
  box-shadow: var(--boxshadow-dark);
  background-color: var(--button-hover);
  color: var(--button-hover-color);
  border: black solid 2px;
  margin: 7px 0;
  transform:  scale(1.31) translateX(-30px);
  transition: 
  transform .5s ease-in .25s,
  margin .25s;
  background-image:var(--btngradient);
  background-size:300%;
  -webkit-animation:bgbtn-animation 3s infinite alternate ;
          animation:bgbtn-animation 3s infinite alternate;
}
@-webkit-keyframes bgbtn-animation{
    0% {
      background-position:left;
    }
    100% {
      background-position:right;
    }
  }
@keyframes bgbtn-animation{
    0% {
      background-position:left;
    }
    100% {
      background-position:right;
    }
  }




/*~Social Media~ */
.social-media-container {
  display: flex;
  gap: .5rem;
  justify-content: center;
  background-color:rgba(0, 50, 160, .5);
  background-blend-mode:multiply;
  padding:5px;
  
  }


.fab {
    padding: 8px;
    font-size: 25px;
    text-align: center;
    text-decoration: none;
    border-radius: 50%;
    border: solid rgba(255, 255, 255, 0.59) 2px;
   
}

/* Add a hover effect if you want */
.fab:hover {
  opacity: 0.7;
}

/* Set a specific color for each brand */

/* Facebook */
.fa-facebook {
  background: #3B5998;
  color: white;
}

/* Twitter */
.fa-twitter {
  background: #55ACEE;
  color: white;
}
/* Instagram */
.fa-instagram {
  background: #125688;
  color: white;
}




.btn-primary {
  background-color: var(--button-primary);
  border-radius: 100px;
  box-shadow: var(--boxshadow-light);
  color: white;
  cursor: pointer;
  display: inline-block;
  font-family: CerebriSans-Regular, -apple-system, system-ui, Roboto, sans-serif;
  padding: 7px 20px;
  text-align: center;
  text-decoration: none;
  transition: all 250ms;
  border: 0;
  font-size: 16px;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  width: 12rem;
}

.btn-primary:hover {
  box-shadow: var(--boxshadow-dark);
  background-color: var(--button-hover);
  transform: scale(1.05);
}

/* *****ARTICLE SECTION***** */
#article-section {
  margin-top:25px;
  grid-area: main;
  justify-self:center;
  width:85%;
  
  /* background-color: var(--textboxes); */
}


/* 
-webkit-box-shadow: 2px 2px 9px 1px rgba(0,0,0,0.75);
-moz-box-shadow: 2px 2px 9px 1px rgba(0,0,0,0.75);
box-shadow: 2px 2px 9px 1px rgba(0,0,0,0.75);
 */

#home .spotlight {
  display: flex;
  flex-direction: column;
  /* space outside of image */
 /*  border: solid var(--highlight) 50px;
  border-radius: 5%;
  box-shadow: 0px 0px 4px 4px rgba(0, 0, 0, 0.75); */
  background-color: var(--textboxes);
  border:solid #0032A0 2px;
  box-shadow: 5px 0 5px -5px rgba(0,0,0,0.7), -5px 0 5px -5px rgba(0,0,0,0.7);
}

#home .imageWrapper {
  border: 3px solid black;
  margin: 0 15%;
  background-color: var(--textboxes);
}

#home .imageTitle {
  font-size: 2rem;
  text-transform: uppercase;
  color: var(--primary);
  text-align: center;
  margin: 0 auto;
  padding: 2rem;
}

#home .imageCaption {
  text-align: center;
  padding-bottom: 30px;
}

#home .imageCaption p {
  margin: 0 15%; /* Matches the image margin */
  text-align: center;
  padding: .5rem 0rem 1rem 0rem;
  color: var(--primary);
  font-weight: 600;
  margin: 0 15%;
}

#aboutUs #article-section{
margin-top:50px;
}
#aboutUs .spotlight{
  background-color: var(--textboxes);
  border:solid #0032A0 2px;
  box-shadow: 5px 0 5px -5px rgba(0,0,0,0.7), -5px 0 5px -5px rgba(0,0,0,0.7);
  padding:50px;
  font-size:clamp(1.2rem, 2vw, 1.5rem);
  color:black;
}

#aboutUs .spotlight .title{
  color:var(--primary);
  margin-bottom:25px;
  text-align: center;
  font-size:clamp(2rem,3.5vw, 3.5rem);
  text-transform: uppercase;
  text-shadow: -1px 1px 2px rgba(0,0,0,0.8)

}

#aboutUs .spotlight .content{
  text-indent: 15px;
  line-height: 1.5;
  margin-bottom: 25px;
  }
#aboutUs .spotlight .values{
  margin-left:80px;
}

#aboutUs .spotlight .valueItem{
  margin: 10px 0;
}


#aboutUs .imageCaption {
  text-align: center;
  padding-bottom: 30px;
}

#aboutUs .imageCaption p {
  margin: 0 15%; /* Matches the image margin */
  text-align: center;
  padding: .5rem 0rem 1rem 0rem;
  color: var(--primary);
  font-weight: 600;
  margin: 0 15%;
}



/* *****FOOTER***** */
#footer-section {
  margin-top:25px;
  background-color:white;
  grid-area: footer;
  
}



/* *****Hamburger Icon ***** */

#branding-section{
position:relative;
}

ul.hamburger{
  position: absolute;
  /*top: 50%;  left: 50%;
  transform: translate(-50%,-50%)*/;
  bottom: 0px;  left: 0px;
  width: clamp( 30px, 8vw, 45px);  
  height: clamp(30px, 8vw, 45px);
  background: #fff;
  box-shadow: 0 0 20px rgba(0,0,0,.5);
  border-radius: 5px;
  overflow: hidden;
  cursor: pointer;
}
ul.hamburger li{
  list-style: none;
  position: absolute;
  transform: translateY(-50%);
  width: 70%;  height: 2px;
  background: #262626;
  transition: 1s;
}
ul.hamburger li:nth-of-type(1){
  top: 30%;  left: 15%; 
  transition-delay: 1s; 
  opacity: 1; 
}
ul.hamburger li:nth-of-type(2){
  top: 50%;  left: 15%; 
  transition-delay: 0s;   
}
ul.hamburger li:nth-of-type(3){
  top: 70%;  right: 15%;
  transition-delay: 1s; 
  opacity: 1; 
}
ul.hamburger.active1 li:nth-of-type(1){
  left: 100%;
  transition-delay: 0s;
  opacity: 0; 
}
ul.hamburger.active1 li:nth-of-type(2){
  transform: translateY(-50%) rotate(405deg);
  transition-delay: .5s;
}
ul.hamburger.active1 li:nth-of-type(3){
  right: 100%;
  transition-delay: 0s;
  opacity: 0; 
}

ul.hamburger li:nth-of-type(2)::before{
 content: '';
 position: absolute;
 top: -150px;  left: 0;
 width: 100%;  height: 100%;
 background: #262626;
 transform: rotate(90deg);
 transition: 1s;
 transition-delay: .5s;
}
ul.hamburger.active1 li:nth-of-type(2)::before{
 top: 0; 
 transition-delay: 1s;
}

/* *****MEDIA QUERY RULES***** */
@media all and (max-width: 768px) {
  .grid-wrapper {
    margin: 0px;
    grid-template-columns:auto;
    grid-template-rows: auto;
    grid-template-areas:
      "branding"
      "nav"
      "main"
      "footer";
    justify-content: center;
  }
  #branding-section {
    grid-area: branding;
    padding: 1rem 0;
    background-image: none;
    background-color: white;
    transition: none;
    box-shadow: 2px 2px 9px 1px rgba(0,0,0,0.75);
    }
    #branding-section:hover{
      transform: none;
    }
    
  .logo img{
    width:40%;
    margin:0 auto;  
  }

  a.nav-item{
    width:70%;
    margin: 0 auto;
     }

  a.nav-item:hover,a.nav-item:focus{
     margin:7px auto; 
     transform: scale(1.1) translateX(0px);
}
.social-media-container {
  width:70%;
  margin:0 auto;
  }

  #aboutUs #article-section{
    margin-top:0px;
    width: calc(100% - 00px);
   min-width:200px;
   max-width:98%;
  
    }

  #article-section .submenu{
    display:flex;
    flex-direction:row;
    flex-wrap:wrap-reverse;
    align-items: center;
    justify-content: center;
 
 }
  
  #article-section .btn{
  margin-top:10px;
  mxin-width:200px;
}

.btn{
  
  border: solid 1px black;
  padding:3px 8px 3px 8px;
  margin: 2px 2px;
  font-size: clamp(10px, 3vw, 15px);
  -webkit-border-top-left-radius: 0px;
  -webkit-border-top-right-radius: 0px;
  -moz-border-radius-topleft: 0px;
  -moz-border-radius-topright: 0px;
  border-top-left-radius: 0px;
  border-top-right-radius: 0px;
  margin-bottom:-1px;
  }

#aboutUs .spotlight{
    padding:0px;
    font-size:clamp(1rem, 1vw, 3rem);
   }
  
  #aboutUs .spotlight .title{
    color:var(--primary);
    margin-bottom:15px;
    font-size:clamp(1.5rem, 5.5vw, 4rem);
    font-size: 1.7rem;
   }
  
  #aboutUs .spotlight .content{
    margin-bottom: 15px;
    padding:10px;
    }
  #aboutUs .spotlight .values{
    margin-left:40px;
  }
  #aboutUs .spotlight .valueItem{
   
  }
 
  /* *****Navigation Mobile***** */
  #navigation-sectionON {
    display:block;
  }
  #navigation-section {
    display:none;
  }
 
  /* *****Hamburger Icon ***** */
#branding-section ul.hamburger{
  position:absolute;
  display:block;
}

}  /* *End of media query*/