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

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

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

/* COPY STYLES */
/* Typography */
body {
   color: white;
   font-family: 'Roboto', Helvetica, Arial, sans-serif;
   -webkit-font-smoothing: antialiased;
   text-rendering: optimizelegibility;
   height: 100%;
}
h1 {
   font-size: 3em;
   line-height: 1.2em;
   font-weight: 600;
   margin-bottom: 5px;

}
h2 {
   font-size: 2.3em;
   font-weight: 400;
}
h3 {
   font-size: 1.5em;
   font-weight: 500;
   line-height: 1.1em;
}
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: white;
}
a:hover {
   color: var(--color-link-hover);
}

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


/* BANNER */
#banner {
   position: fixed;
   top: 0;
   width: 100%;
   height: 10px;
   display: flex;
}

/* LINKS TO OTHER WEBSITES */
.other-sites {
   height: 10px;
   display: block;
}

/* NAV & LOGO */
#menu-block {
   /* make nav dissapear on mouse scroll - added java script */
   position: fixed;
   top: 10px;
   right: 40px;
   transition: top 0.3s; /* Transition effect */
}
#logo {
   width: 250px;
   padding: 30px 30px 0 0;
   float: right;
}


/* CONTAINERS */
/*Fix image to scale with screen size */
#backimage {
   width: 100%;
   height: 100%;
   background: radial-gradient( rgba(0,0,0,0.2) 10%, rgba(0,0,0,0.5) 100%), url('../images/cogs-mask-Holding-1500px.jpg');  
   background-size: cover;
   background-position-x: right;
}


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

/* Intro Position */
.main-container {
   width: 45%;
   margin: 0 20% 0 45%;
   padding-bottom: 100px;
   min-height: calc(100vh - 100px); /* Adjust based on footer height */
   overflow-y: auto; /* Enable vertical scrolling if necessary */
}

.main-heading {
   margin: 250px 30px 30px 0;
}


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


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

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

/* Button Style */
.align-button {
   margin-top: 40px;
   display: flex;
   justify-content: left;
   align-items: center;
}

.button-link {
   width: 450px;
   padding: 7px;
   border: 1px solid  var(--color-link-hover);
   text-decoration: none;
   cursor: pointer;
   text-align: center;
   text-transform: uppercase;
}
.button-link span {
   font-weight: 600;
   letter-spacing: 1px;
}
.button-link:hover {
   background-color: var(--color-link-hover);
}
.button-link:hover span {
   color: black;
}


/* 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: 10px 20px 10px 20px;   
   background: black;
}
footer p {
   color: white;
   font-size: 0.8em;
}
span {
   font-weight: 800;
}
.legal {
   text-align: right;
}


/* MEDIA QUERY */
   /* for DESKTOP screen sizes */
@media screen and (max-width: 1400px) {
#backimage {
   background-position-x: -250px;
}
.main-container {
   width: 60%;
   margin: 0 5% 0 25%;
}
.main-heading {
   margin: 200px 20px 20px 0;
}
h1 {
   font-size: 2.2em;
}
h2 {
   font-size: 1.9em;
}
h3 {
   font-size: 1.4em;
}
.page-intro p {
   font-size: 1em;
}
#logo {
   width: 80%;
   padding: 20px 0px 0 0px;
}
footer p {
   font-size: 0.7em;
}
}


/* MEDIA QUERY */
/* for MID screen sizes */
@media screen and (max-width: 900px) {
#backimage {
   background-position-x: -250px;
}
.main-container {
   width: 70%;
   margin: 0 5% 0 20%;
}
.main-heading {
   margin: 150px 20px 20px 0;
}
h1 {
   font-size: 1.7em;
}
h2 {
   font-size: 1.5em;
}
h3 {
   font-size: 1.3em;
}
.page-intro p {
   font-size: 0.9em;
}
.button-link {
font-size: 0.9em;
}
footer {
   flex-direction: column;
   padding: 5px;   
}
.address,
.legal {
   text-align: center;
}
}


/* MEDIA QUERY */
   /* for SMALL screen sizes */
@media screen and (max-width: 400px) {
#backimage {
   background-position-x: left;
}
.main-container {
   width: 90%;
   margin: 0 5% 0 5%;
}
.main-heading {
   margin: 150px 0 20px 0;
}
h1 {
   font-size: 1.4em;
}
h2 {
   font-size: 1.4em;
}
h3 {
   font-size: 1.3em;
   line-height: 1em;
}
p {
   font-weight: 400;
}
.page-intro p {
   font-size: 0.8em;
   line-height: 1.3em;
}
#logo {
   width: 60%;
}
.button-link {
   font-size: 0.8em;
}
.button-link span {
   letter-spacing: 0.2px;
   font-size: 1em;
}
#menu-block {
   top: 0;
   right: 30px;
}
footer {
   padding: 7px;
}
footer p {
   font-size: 0.5em;
}
}

