*{
  box-sizing: border-box;
}

/*
  ======= HEADER STYLING =======
 */


header {
  display: grid;
  grid-template-columns: 2fr, 6fr, 2fr;
  grid-template-rows: auto;
  text-align: center;
  align-items: center;
  padding: 1vw 0 1vw 0;
  justify-content: space-around;
  position: fixed;
  top: 0;
  width: 100%;
  background-color: white;
  z-index: 2;
}

/*
======== LOGO ========
*/
.hLogo {
  grid-column: 1;
}
.homePageLogo {
  width: 30vw;
}

/*
======== NAV ========
*/

.hNav {
  grid-column: 2;
}
.hNav > a {
  padding: 0vw 1.5vw 1vw 1.5vw;
  font-size: 1.3vw;
  text-decoration: none;
  color: black;
}

.hNav a:hover {
  color: gray;
  border-top: 2px solid darkorange;
  background-color: white;
  border-radius: 10px;
}

/*
======== LANG ========
*/

.hLang {
  grid-column: 3;
  display: flex;
  flex-direction: column;
  text-align: left;
}
.hLang a {
  padding: .5vw;
  font-size: .8vw;
  text-decoration: none;
  color: black;
}

.hLang a:hover {
  color: darkblue;
  box-shadow: -2px 0 0 0 darkorange;
}


/*
======= Back to Top =======
*/
.backToTop {
  position: fixed;
  top: 80vh;
  left:90%;
  border-radius: 50%;
  width: 7vw;
  border: 3px solid black;
  transform: rotate(180deg);
  opacity: .2;
  z-index: 5;
}

.backToTop:hover {
  opacity: 1;
  cursor: pointer;
  color: darkorange;
}

.bHide {
  display: none;
}

/*
=======
Main Section
=======
*/


/* About Us Heading */
    .pageHeadingImg {
      filter: blur(5px);
      opacity: .5;
      position: relative;
      object-fit: cover;
      width: 100%;
      height: 25vw;
      box-sizing: border-box;
    }

    .pageHeadTitle {
      position: absolute;
      left: 10%;
      top: 20%;
      font-size: 7vw;
      color: #001a4d;
      font-family: serif;
    }

    /*
    === End of Repetitive HTML Section ===
    */

/* Values Page Body */

#mobileMenuBtn {display: none}


.valWhlCont {
  width: 100%;
  height: auto;
  align-items: center;
  display: flex;
  justify-content: space-around;
  text-align: center;
  margin: 4vw 0;
}

.valWhl > img {
  width: 40vw;
  height: auto;
}

/* All Boxes */


.box {
  box-shadow: 0 0 8px 2px lightgray;
  margin-left: 10vw;
  padding: .5vw 1vw;
  width: 25vw;
  border-radius: 20px;
  display: grid;
  grid-template-rows: auto 1fr;
}


.box > h4 {
  border-bottom: 1px solid #003366;
  padding-bottom: .5vw;
  font-size: 2.2vw;
  text-transform: uppercase;
  color: darkorange;
}
.box > p {
  font-size: 1.5  vw;
}
.svgCont {
  position: absolute;
  top: 40vh;
  width: 98vw;
  height: 90vh;
}

.valWhl > h1 {
  padding: 2vw 0;
  color: #003366;
}


/*
=====
FOOTER SECTION
======
*/

.siteFooter {
  display: grid;
  grid-template-columns: auto auto auto;
  grid-template-rows: auto;
  justify-content: space-around;
  background-color: #003366;
  color: white;
  padding: 1.5vw;
  font-size: 1.5vw;

}

.footerDetails {grid-column: 1}
.footerCredits {grid-column: 1}
.footerContact {
  grid-column: 2;
  grid-row: 1;
}
.footerLocation {
  grid-column: 3;
  grid-row: 1;
}


/*--
====
MOBILE SECTION
====
--*/

@media only screen and (max-width: 600px) {

  /* Adjusting the Logo & Nav */
  header {display: none;}
  .mobileHeader {
    display: grid !important;
    grid-template-columns: 1;
    grid-template-rows: 1;
  }

  .homePageLogo {
    grid-column: 1;
    grid-row: 1;
    padding: 3vw;
    width: 100%;
  }


  /*
  ===== Nav =====
  */
  #mobileMenuBtn {
    display: block;
    width: 35px;
    position: relative;
    top: 10px;
    left: 48%;
    z-index: 2;
    /* transform: rotate(45deg); */
  }

  .off { /* Used to toggle the menu */
    display: none;
    height: auto;
  }

  .mobileMenuTab {  /* Effectively the Menu Container for mobile */
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 5px 0 10px 0;
  }

  .hNav {
    display: grid;
    grid-template-columns: auto;
    grid-template-rows: auto auto auto auto auto;
    text-align: center;
  }
  .hNav > a {
    font-size: 2em;
    border-bottom: 2px solid rgba(0, 50, 102, .2);
  }

  .hLang {
    display: flex;
    flex-direction: row;
    justify-content: center;
  }
  .hLang > a {
    margin: 2% 5%;
    font-size: 1.1em;
  }



  /* Adjusting the Header & IMG */

  main {
    position: relative;
  }

  .backToTop {
    background-color: #9BC9FF;
    opacity: 1;
    border-color: #9BC9FF;
  }

  .aboutPageHeading{position: relative;}

  .pageHeadTitle {
    position: relative;
    width: 50%;
  }

  .pageHeadingImg {
    position: relative;
    top: -75px;
  }


  /* Adjusting the Main Content */

  .valWhlCont {
    position: relative;
    top: -80px;
    display: flex;
    flex-direction: column;
  }

  .box {
    margin: 1px;
    width: 80%;
  }

.box h4 {
  font-size: 1.2em;
}

.box p {
  font-size: 1.1em;
}

  .valWhl img {
    width: 95%;

  }

  /* Adjusting the Footer */
  footer > div > p,
  footer > div > a   {
    font-size: 2em;
  }

  .siteFooter {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    align-items: center;
  }

  .footerDetails,
  .footerCredits {
    grid-column: 1;
  }


  .footerContact,
  .footerLocation {
    grid-column: 2;
  }
  .footerContact {grid-row: 1}
  .footerLocation {grid-row: 2}

}
