/* ===============================
   Author: Gabs
   Date:   13 Nov 2023
   Notes: FWS Holding Page
*/

/* Variables */
:root {
   --color-link: black;
   --color-link-hover: #a7b6bf;
}

/* Simple CSS Reset */
 * {
   margin: 0;
   padding: 0;
}


/* General */
body {
   color: black;
   font-family: 'Roboto', Helvetica, Arial, sans-serif;
   -webkit-font-smoothing: antialiased;
   text-rendering: optimizelegibility;
}

/* Typography */
h1 {
   text-align: left;
   font-size: 3em;
   font-weight: 900;
}
h2 {
   margin: -20px 0 30px 0;
   font-size: 1.9em;
   font-weight: 400;
}
h3 {
   font-size: 1.4em;
   font-weight: 400;
   line-height: 1.4em;
}
h5 {
   font-size: 0.9em;
   line-height: 1.4em;
}
p {
   font-size: 1.2em;
   font-weight: 300;
   line-height: 1.4em;
   letter-spacing: 1px;
}

/* LINK EFFECT*/
/* General */
a {
   text-decoration: none;
   color: black;
}
a:hover {
   color: var(--color-link-hover);
}

/* Bottom */
#bottom-links a {
   color: var(--color-link);
}
#bottom-links a:hover {
   color: var(--color-link-hover);
}

  /* footer */
footer a {
   color: white;
}


/* BANNER */
#banner {
   position: fixed;
   top: 0;
   width: 100%;
   /* this height allows the anchor list menu to be selected at top of page */
   height: 10px;
   display: flex;
}

.other-sites {
   height: 10px;
   display: block;
}

/* NAV & LOGO */
#menu-block {
   /* make nav dissapear on mouse scroll - added java script */
   position: fixed; /* Make it stick/fixed */
   top: 0; /* Stay on top */
   right: 20px;
   transition: top 0.3s; /* Transition effect when sliding down (and up) */
}
#logo {
   width: 250px;
   padding: 30px 30px 0 0;
   float: right;
}


/* CONTAINERS */
/*Fix image to scale with screen size*/
#backimage {
   width: 100%;
   height: 140vh; /* 100% of the viewport height */
   background: url("../images/Business_Man_sml_1500px-left1.jpg") no-repeat center center fixed;
   background-size: cover;
}


/* ADAPTED TYPOGRAPHY & POSITION*/
/* Group Position*/
#banner span {
   margin: 20px 0 0 20px;
   font-weight: 600;
}

/* Intro Position*/
.main-container {
   margin: 0 100px 0 0;
   padding: 200px 0 0 0;
   margin-left: 40%;
}

/* Intro Position to add padding for scroll*/
.page-intro {
   padding-bottom: 100px;
}

/* Heading Position*/
.main-heading {
   margin-bottom: 30px;
}

/* Intro Style */
.page-intro p {
   font-size: 1.4em;
   line-height: 1.5em;
   text-align: justify;

}

/* Call to Action Style */
.call-to-action{
   margin: 50px 0 0 0;
   font-weight: 600;
   font-size: 1.5em;
}


/* Button Style */
.button-link {
   margin: 0px 50px 0 0;
   display: inline-block;
   cursor: pointer;
}

/* Keep words within a sentence together - not break onto another line 
.no-wrap-text {
   white-space: nowrap;
   overflow: hidden;
   display: inline-block;
}*/

/* Button Style with text border box 
.button-link {
   margin: 30px 30px 0 0;
   display: inline-block;
   width: 100px;
   padding: 7px;
   border: 1px solid  var(--color-link-hover);
   text-decoration: none;
   cursor: pointer;
   text-align: center;
}*/

.button-link span {
   font-weight: 500;
   letter-spacing: 1px;
}

.button-link:hover span {
   color: var(--color-link-hover);
}

/* Bottom Lnks */
#bottom-links {
  height: 30px;
}

#bottom-links li {
   list-style: none;
   font-size: 1em;
   float: right;
   margin-right: 30px;
   display: inline;
   font-weight: 500;
}


/* FOOTER */
/* fix to bottom of viewport*/
.fixedfoot {
   position: fixed;
   bottom: 0;
   width: 100%;
}
footer {
   display: flex;
   justify-content: space-between;
   padding: 20px 30px 10px 30px;   
   background: black;
}
footer p {
   color: white;
   font-size: 0.8em;
}

span {
   font-weight: 800;
}



/* MEDIA QUERY */
/* for MID screen sizes */
@media screen and (max-width: 1000px) {
.main-container {
   margin: 0 30px 0 0;
   padding: 150px 0 0 0;
   margin-left: 35%;
}

h1 {
   /*flex-basis: 20%;  Shrink the item size by 60% */
   font-size: 3em;
   line-height: 1.1em;
   margin-bottom: 10px;
}

.page-intro p {
   /*flex-basis: 20%;  Shrink the item size by 60% */
   font-size: 1.1em;
}

#logo {
   width: 80%;
   padding: 20px 0px 0 0px;
}

footer {
   flex-direction: column;
   padding: 10px;   
}

footer p {
   font-size: 0.8em;
}

.address,
.legal {
   text-align: center;
}
}


/* MEDIA QUERY */
/* for SMALL screen sizes */
@media screen and (max-width: 400px) {
.main-container {
   margin: 0 20px 0 0;
   padding: 110px 0 0 0;
   margin-left: 20%;
}
h1 {
   font-size: 1.6em;
   line-height: 1em;
   margin-bottom: 5px;
}
h2 {
   margin: -30px 0 0 0;
   font-size: 1.6em;
}
h3 {
   font-size: 0.9em;
   font-weight: 400;
   line-height: 0.9em;
}
p {
   font-weight: 400;
}
.page-intro p {
   font-size: 0.8em;
   line-height: 1.3em;
}
.call-to-action{
   margin: 0 30px 0 0;
   font-weight: 500;
   font-size: 1.1em;
   line-height: 1.1em;
}
#logo {
   width: 60%;
}
.button-link span {
   letter-spacing: 0.2px;
}
footer {
   padding: 7px;   
}
footer p {
   font-size: 0.6em;
}



/* Bottom Lnks 
#bottom-links li {
   list-style: none;
   font-size: 0.8em;
   float: right;
   margin-right: 20px;
   display: inline;
   font-weight: 500;
}*/
}


