*{
  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;
}


/*
========
HOME PAGE MAIN
========
*/
#mobileMenuBtn{display: none;}

.homePageMainSection {
  margin: 0;
  padding: 0;
}

/*
======== IMG ========
*/
.homePageImg {
  width: 100%;
  object-fit: cover;
  margin:0;
  padding: 0;
}

/*
======== Main Message ========
*/
.homePageMainMessage {
  position: absolute;
  top: 27%;
  width: 100%;
  left: 0;
  text-align: center;
  align-items: center;
  background-color: rgba(0, 51, 102, .3);
}

.homePageMainMessage h1 {
  font-size: 3vw;
}

.linkBtn1 {
  position: absolute;
  width: 100%;
  top: 50vw;
  display: flex;
  justify-content: space-around;
}

.linkBtn1 > a {
  background-color: white;
  border-radius: 10px;
  padding: 2vw;
  border: none;
  width: 23vw;
  box-shadow: 0 0 20px 10px white;
  font-size: 2.5vw;
  text-decoration: none;
  color: #FF8E04;
  text-align: center;
}

.linkBtn1 a:hover {
  color: #FF8E04;
  box-shadow: 0 0 10px 3px lightgray;
  background-color: white;
  cursor: pointer;
}


/*
===== 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}
.footerContact {grid-column: 2}
.footerLocation {grid-column: 3}



/*--
==== 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: absolute;
    top: -15px;
    left: 48%;
    z-index: 2;
    /* transform: rotate(45deg); */
  }

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

  .mobileMenuTab {
    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;
  }

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




  /* Adjusting the Landing IMG */

  main {
    position: relative;
  }

  #desktopImage {
    display: none;
  }
  #bck_mobileImage {
    display: block !important;
  }

  /* Adjusting the Main Content */
  .homePageMainMessage {
    top: 75%;
  }

  .homePageMainMessage h1 {
    font-size: 2em;
  }

  /* Adjusting the HomePage Quick Links */
  .linkBtn1 {
    display: flex;
    flex-direction: column;
    width: 80%;
    top: 50px;
    left: 10%;
  }

  .linkBtn1 > a {
    font-size: 1.5em;
    width: 100%;
    padding: 5% 2%;
    margin: 10% 1%;
  }

}
