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

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

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


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

/* Typography */
h1 {
   text-align: left;
   text-transform: uppercase;
   font-size: 3em;
   font-weight: 900;
}
h2 {
   text-transform: uppercase;
   font-size: 1.9em;
   font-weight: 700;
}
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);
}

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

/* 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/Fabric Solo RGB top left 1800px.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: 300px 0 0 0;
   margin-left: 30%;
}
/* 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;
}


/* Image Buttons Container*/
.left-button-container {
   position: relative;
   margin: 60px 0 100px 0;
   float: left;
   width: 450px;
   overflow: hidden;

}
.right-button-container {
   position: relative;
   margin: 60px 0 100px 0;
   float: right;
   width: 450px;
   overflow: hidden;
  }

 .item img {
   width: 100%;
   height: auto;
   transition: opacity 1s ease-in; /* Add a smooth transition effect */
}

.button-label {
   position: absolute;
   text-transform: uppercase;
   letter-spacing: 2px;
   font-weight: 500;
   font-size: 1.6em;
   top: 38%;
}
.right-button-container .button-label {
   left: 20%;
}
.left-button-container .button-label {
   left: 17%;
   }

/* Image Button hover links */
.item:hover .button-label {
   color: white;
}
.item .img2 {
   display: none;
}
.item:hover .img1 {
   display: none;
}
.item:hover .img2 {
   display: inline-block;
   opacity: 0.5; /* Add a smooth transition effect */
   cursor: pointer;
}

/* 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) {

#backimage {
   width: 100%;
   height: 100vh; /* 100% of the viewport height */
   background: url("../images/Fabric Solo top left 2000px.jpg") no-repeat left top fixed;
   background-size: 80%;
}

.main-container {
   margin: 0 30px 0 0;
   padding: 150px 0 0 0;
   margin-left: 25%;
}

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

.left-button-container {
   width: 350px;
}
.right-button-container {
   width: 350px;
  }
.button-label {
   font-size: 1.1em;
   top: 40%;
}
.left-button-container .button-label {
   left: 22%;
   }

}

/* MEDIA QUERY */
/* for MID screen sizes */
@media screen and (max-width: 700px) {
.left-button-container {
   width: 250px;
}
.right-button-container {
   width: 250px;
}
.button-label {
   font-size: 0.9em;
   top: 38%;
}
.left-button-container .button-label {
   left: 12%;
}
}

/* MEDIA QUERY */
/* for SMALL screen sizes */
@media screen and (max-width: 400px) {
#backimage {
   width: 100%;
   height: 100vh; /* 100% of the viewport height */
   background: url("../images/Fabric Solo left-left 1000px.jpg") no-repeat left top fixed;
   background-size: 80%;
}

.main-container {
   margin: 0 20px 0 0;
   padding: 130px 0 0 0;
   margin-left: 25%;
}
h1 {
   font-size: 2.2em;
   line-height: 1em;
   margin-bottom: 5px;
}
.page-intro p {
   font-size: 0.8em;
   line-height: 1.3em;
}
#logo {
   width: 60%;
}
footer {
   padding: 7px;   
}
footer p {
   font-size: 0.6em;
}

/* Button Style */
.button-link {
   margin: 30px 10px 0 0;
   width: 80px;
   padding: 3px;
}

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

.left-button-container {
   width: 185px;
}
.right-button-container {
   width: 185px;
}
.button-label {
   font-size: 0.6em;
   top: 38%;
}
.left-button-container .button-label {
   left: 12%;
}

}

