@import url('https://fonts.googleapis.com/css?family=Poppins:200,300,400,500,600,700,800,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Cambay:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500&display=swap');


:root {
  --primary-color: #0f60f6;

  /* primary variants */
  --primary-color-l90: #E7EFFE;
  --primary-color-l80: #CFDFFD;
  --primary-color-l70: #B7CFFC;
  --primary-color-l60: #9FBFFB;
  --primary-color-l50: #87B0FB;
  --primary-color-l40: #6FA0FA;
  --primary-color-l30: #5790F9;
  --primary-color-l20: #3F80F8;
  --primary-color-l10: #2770F7;
  --primary-color-d10: #0855E2;
  --primary-color-d20: #084BC9;
  --primary-color-d30: #0742B0;
  --primary-color-d40: #063997;
  --primary-color-d50: #052F7E;
  --primary-color-d60: #042665;
  --primary-color-d70: #031C4B;
  --primary-color-d80: #021332;
  --primary-color-d90: #010919;


  --secondary-color: #CA238D;
  --tertiary-color: #37b67a;

  --links-background-color: rgb(228, 228, 228);

}

/* start text selection highlighting */
::selection {
  background: #f0c5ea;
  /* WebKit/Blink Browsers */
}

::-moz-selection {
  background: #f0c5ea;
  /* Gecko Browsers */
}

/* end text selection highlighting */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: #fff;

}


/* html {
  scroll-behavior: smooth;
} */

a {
  text-decoration: none;
}



ul {
  list-style: none;
}

.container {
  width: 90%;
  max-width: 1100px;
  margin: auto;

}


h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Roboto', sans-serif;
}

p {
  font-family: 'Poppins', sans-serif;
  color: var(--primary-color-d90);
  margin-top: 0.5rem;
  /* margin-bottom: 2rem; */
}

blockquote {
  font-family: 'Cambay', sans-serif;
}

/* h1 {
  font-size: 160%;
  font-weight: 400;
  margin-bottom: 13rem;
} */

.narrative h1:first-of-type {
  margin-top: 3rem;
  margin-bottom: 3rem;
  text-align: center;
  /* background-color: hotpink; */
}

h2 {
  font-size: 150%;
  font-weight: 400;
  margin-top: 4rem;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  color: var(--primary-color);
  /* background-color: rebeccapurple; */
}

h3 {
  font-size: 130%;
  font-weight: 400;
  font-style: italic;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
  color: var(--secondary-color);
  /* background-color: green; */

}

h4 {
  font-size: 120%;
  font-weight: 400;
  color: var(--primary-color-d20);
  margin-top: 2rem;

  font-style: italic;
  /* background-color: blue; */
}

p {
  font-size: 110%;
  line-height: 1.6;
  margin-bottom: 20px;
  text-align: justify;
  /* background-color: yellow; */
}



/* START OF NAVIGATION*/
.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 40px;
  padding: 60px 20px;
  font-size: 120%;
  font-weight: 600;

}

.main-nav img {

  width: 200px;
  margin-right: auto;
}

.main-nav ul {
  display: flex;
}

.main-nav ul li {
  padding: 0 10px;

  /* border-right: solid var(--secondary-color) 2px; */
  /* min-width: 100px; */
}

/* .main-nav ul li:last-child {
  border-right: none;
} */

.main-nav ul li a {
  text-decoration: none;
  font-family: 'Cambay', sans-serif;
  text-transform: uppercase;

  /* font-size: 100%; */
}


.main-nav ul li a:hover {
  position: relative;
  top: -2px;
  border-bottom: 2px solid var(--primary-color);
  color: var(--primary-color);
}



/* .main-nav ul.main-menu {
  flex: 1;
  margin-left: 20px;

} */

/* .main-nav .logo {
  font-family: 'Roboto', sans-serif;
  font-size: 130%;
  color: var(--primary-color);
} */

.main-nav .logo a,
.main-nav .logo a:visited,
.main-nav .logo a:hover,
.main-nav .logo a:active {
  color: var(--primary-color);

}

.main-nav a,
.main-nav a:visited,
.main-nav a:hover,
.main-nav a:active {
  /* font-size: 2rem; */
  color: var(--secondary-color);

  /* font-family: 'Roboto', sans-serif; */

}

/* START OF GENERATION CONTAINER */

.generation-container {
  /* width: 70%; */
  display: flex;
  flex-direction: column;
  /* margin: 2rem auto; */
  text-align: center;
  /* border: 2px solid var(--secondary-color); */
  /* border-radius: 20px; */
  /* border-bottom: solid 1px var(--secondary-color); */
  padding: 1rem 0;
}



.generation-container h1 {
  font-weight: 500;
  color: var(--primary-color);
  margin: 0 !important;
  padding: 1rem 1rem 2rem 1rem !important;
}

.generation-container a,
.generation-container a:visited,
.generation-container a:hover,
.generation-container a:active {
  font-size: 1.2rem;
  color: var(--secondary-color);
}

.generation-container a:hover {
  color: var(--primary-color);
  text-decoration: underline;
}

/* .generation-container h3 {
  color: var(--primary-color)
} */

.generation-container ul li {
  font-family: 'Roboto', sans-serif;
  padding-bottom: 2px;
}

.smalldate {
  font-size: 0.75rem;
  color: grey;
}

.generation-container a:hover {
  text-decoration: none;
}

/* .generation-container ul li:after {
  display: block;
  content: "";
  width: 80%;
  height: 15px;
  background: url('../images/dividers/divider02.png');
  text-align: center;
} */

/* END OF GENERATION CONTAINER */

.menu-btn {
  cursor: pointer;
  position: absolute;
  top: 20px;
  right: 30px;
  z-index: 2;
  display: none;
}


.btn {
  cursor: pointer;
  display: inline-block;
  border: 0;
  font-weight: bold;
  padding: 10px 20px;
  background: #262626;
  color: #fff;
  font-size: 15px;
}

.btn:hover {
  opacity: 0.9;
}

.dark {
  color: #fff;
}

.dark .btn {
  background: #f4f4f4;
  color: #333;
}

/* END OF NAVIGATION*/
.main-nav {
  border-bottom: 2px solid rgb(192, 190, 190);

}


.narrative a img {
  display: block;
  /* centres image by making it display as a block rather than an inline element */
  max-width: 100%;
  height: auto;
  /* these two lines make the image shrink to fit */
  margin-right: auto;
  /* tells the block to centre */
  margin-left: auto;
  /* tells the block to centre */
  margin-top: 20px;
  /* sets margin space above image */
  margin-bottom: 20px;
  /* sets margin space below image */
  border: solid 2px #000;
  /* rem the border must have a style, a size and a colour at least. If you do not declare a style it will not display */
  -moz-box-shadow: 3px 3px 4px #999;
  /* adds drop shadow */
  -webkit-box-shadow: 3px 3px 4px #999;
  /* adds drop shadow */
  box-shadow: 3px 3px 4px #999;
  /* adds drop shadow */

}



/* BACK TO TOP AND QUICK LINKS BUTTON */
.back-to-top {
  z-index: 99;
  position: fixed;
  bottom: 10px;
  right: 10px;
}

.quick {
  z-index: 99;
  position: fixed;
  bottom: 10px;
  left: 10px;
}

.back-to-top img,
.quick img {
  border: none !important;
  box-shadow: none !important;
  width: 50px;
  height: 50px;
}

.divider-center {
  width: 90%;
  display: block;
  margin: 3rem auto;
}

.centered {
  max-width: 100%;
  height: auto;
}



/* START BLOCKQUOTE */
blockquote {
  font-size: 90%;
  font-weight: 300;
  font-style: italic;
  line-height: 1.5;
  text-align: justify;
  padding: 1rem 20px 0.2rem 45px;
  border-left: 6px solid grey;
  border-radius: 0 15px 15px 0;
  margin: 15px 5% 15px 5%;
  position: relative;
  width: auto;
  background-color: #F7F6F4;

}

blockquote::before {
  font-family: Arial;
  content: "\201C";
  color: var(--tertiary-color);
  font-size: 4em;
  position: absolute;
  left: 10px;
  top: -10px;
}

blockquote::after {
  content: '';
}

blockquote span {
  display: block;
  /* color: #333333; */
  font-style: normal;
  font-weight: bold;
  margin-top: 1em;
}

.narrative>p>a {
  /* font-size: 80%; */
  color: inherit;
  text-decoration: underline
    /* margin-bottom: 12px solid black; */
}


.narrative>p>a:hover {
  color: var(--primary-color);
  /* font-size: 98%; */
  /* font-weight: bold; */
}

blockquote>a {
  color: var(--tertiary-color);
  font-weight: 700;

}

blockquote>a:hover {
  border-bottom: 2px solid var(--tertiary-color);
}


/* END BLOCKQUOTE */

/* START OF QUICKLINKS PAGE */

/* .anchor {
  background-color: hotpink;
} */

.quicklinks h1 {
  font-family: 'Roboto', sans-serif;
  margin-bottom: 0;
}


.quicklinks ul li a {
  font-family: "Poppins", sans-serif;
  color: var(--secondary-color);
  font-size: 1.3rem;
  margin-left: 5%;

}

.quicklinks ul>li>ul>li a {
  font-family: "Poppins", sans-serif;
  font-size: 1.1rem;
  color: var(--primary-color-d40);
  margin-left: 15%;
}

.quicklinks ul>li>ul>li>ul>li a {
  font-family: "Poppins", sans-serif;
  font-size: 1rem;
  color: var(--tertiary-color);
  margin-left: 25%;
}

.quicklinks p {
  /* font-style: italic; */
  text-align: center;
  margin-top: 0.5rem;
  color: rgb(95, 93, 93);
  /* background-color: hotpink; */

}



/* END OF QUICKLINKS PAGE */
/* START OF FAQS PAGE */

/* put a lot of margin onthe last item to push details off page */
ul.faq li:not(:last-child) {
  margin-bottom: 16px;
}


.faq li a:hover {
  text-decoration: underline;
  color: var(--primary-color);
}

ul.faq li:last-child {
  margin-bottom: 30rem;
}

/* END OF FAQS PAGE */
/* START OF GENERAL PAGE */



.general-links h1 {
  /* font-family: 'Roboto', sans-serif; */
  font-size: 1.75rem;
  /* margin-bottom: 0; */
}

.general-links h2 {
  /* font-family: 'Roboto', sans-serif; */
  font-size: 1.25rem;
  text-transform: none;
  /* margin-bottom: 0; */
}

.general-links a {
  color: var(--primary-color);
  border-bottom: 1px solid var(--secondary-color);
  line-height: 3;
}

.general-links a:hover {
  color: var(--primary-color);
  border-bottom: 2px solid var(--primary-color);
}

.general-links ul li a {
  font-family: "Poppins", sans-serif;
  color: var(--secondary-color);
  font-size: 1rem;
  /* margin-left: 5%; */
}

/*
.general-links ul>li>ul>li a {
  font-family: "Poppins", sans-serif;
  font-size: 1.1rem;
  color: var(--primary-color-d40);
  margin-left: 15%;
} */

/* .general-links ul>li>ul>li>ul>li a {
  font-family: "Poppins", sans-serif;
  font-size: 1rem;
  color: var(--tertiary-color);
  margin-left: 25%;
} */

.general-links p {
  font-size: 1rem;
  /* font-style: italic; */
  /* text-align: center;
  margin-top: 0.5rem; */
  color: var(--primary-color-d90);
  /* background-color: hotpink; */

}

/* END OF GENERAL PAGE */


/* START OF SHOWCASE */
.showcase {
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: left;
}

.caption {
  font-family: 'Poppins', sans-serif;
  font-size: 80%;
  margin: 1rem 0 0 0;
  text-align: center;
}

/*
@media */
/* .showcase h1 {
  color: var(--primary-color);
} */

/* .showcase h2,
.showcase p {
  margin-bottom: 10px;
}

.showcase p {
  margin-top: 20px;
} */

/* .showcase .btn {
  margin-top: 20px;
} */





.tighttextlist p {
  line-height: 0.2rem;
}

/* The Main NARRATIVE sections */

.namingpattern,
.namingpatternalt {
  font-family: 'Poppins', sans-serif;

}

.namingpattern {
  color: var(--primary-color);
}

.namingpatternalt {
  color: var(--secondary-color);
}



/* Footer */

.footer p {
  color: #616161;
  font-size: 0.8rem;
  font-weight: 700;
  padding-top: 50px;
  padding-bottom: 50px;
  text-align: center;
}


/* STYLE SHEET FORMATTING */
.roboto {
  font-family: 'Roboto', sans-serif;
  color: blue;
}

.poppins {
  font-family: 'Poppins', sans-serif;
  color: orange;
}

.cambay {
  font-family: 'Cambay', sans-serif;
  /* color: hotpink; */
}

/* .carial {
  font-family: Arial, Helvetica, sans-serif;
  color: hotpink;
} */


@media(max-width: 950px) {


  .main-nav ul li {
    margin-top: 20px;
  }

  .main-nav ul li {
    margin-bottom: 20px;
  }

  .main-nav {
    font-size: 95%;
    /* margin-top: 1rem; */
    /* margin-bottom: auto; */
  }

  h1 {
    font-size: 130%;
    margin-bottom: 0.5rem;
  }

  h2 {
    font-size: 120%;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    font-weight: 500;

  }

  h3 {
    font-size: 115%;
    margin-top: 2rem;
    margin-bottom: 0.5rem;

  }

  h4 {
    font-size: 105%;
  }

  p {
    font-size: 100%;
    margin-top: 1rem;
    margin-bottom: 1rem;

  }

}


@media(max-width: 800px) {
  .main-nav img {
    margin: 0 auto;
  }

  /* FONT RESIZING */

  h1 {
    font-size: 140%;

  }

  h2 {
    font-size: 120%;
  }

  h3 {
    font-size: 110%;
  }

  h4 {
    font-size: 100%;
  }

  p {
    font-size: 90%;
  }

  h1,
  h2,
  h3,
  h4,
  p {
    line-height: 1.8;
  }

  blockquote {
    margin-right: 0px;
    margin-left: 0px;
    border-left: 3px solid grey;
    /* border-right: 3px solid grey; */
  }

  .back-to-top img,
  .quick img {
    width: 40px;
    height: 40px;
  }


  /* Quick Links */
  .quicklinks h1 {
    margin-top: 1rem;

  }

  .quicklinks ul li a {
    margin-left: 10px;
    font-size: 1rem;
  }

  .quicklinks ul>li>ul>li a {
    margin-left: 30px;
    font-size: 0.9rem;
  }

  .quicklinks ul>li>ul>li>ul>li a {
    margin-left: 60px;
    font-size: 0.8rem;

  }
}

/* the following control the pop-out menu */
@media(max-width: 700px) {

  .main-nav {
    /*
    align-items: center; */
    justify-content: center;


  }

  /* Quick Links */

  .quicklinks {
    overflow: auto;
  }

  .quicklinks ul li a {
    margin-left: 0;
    font-size: 0.9rem;
  }

  .quicklinks ul>li>ul>li a {
    margin-left: 20px;
    font-size: 0.7rem;
  }

  .quicklinks ul>li>ul>li>ul>li a {
    margin-left: 40px;
    font-size: 0.6rem;

  }


}

@media(max-width: 700px) {
  .menu-btn {
    display: block;
  }

  .menu-btn:hover {
    opacity: 0.5;
  }

  .main-nav ul.right-menu {
    margin-right: 50px;
  }

  .main-nav ul.main-menu {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    background: #f2f2f2;
    width: 50%;
    height: 100%;
    border-right: #ccc 1px solid;
    opacity: 0.9;
    padding: 30px;
    transform: translateX(-500px);
    transition: transform 0.5s ease-in-out;
  }

  .main-nav ul.main-menu li {
    /* padding: 10px; */
    /* border-bottom: #ccc solid 1px; */
    font-size: 14px;
  }

  .main-nav ul.main-menu li:last-child {
    border-bottom: 0;
  }

  .main-nav ul.main-menu.show {
    transform: translateX(-20px);
  }

  .home-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .xbox .content p {
    display: none;
  }

  .xbox .content h2 {
    margin-bottom: 20px;
  }

  .carbon .content {
    width: 85%;
  }

  .links .links-inner {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media(max-width: 500px) {
  .home-cards {
    grid-template-columns: 1fr;
  }

  .links .links-inner {
    grid-template-columns: 1fr;
  }

  .links .links-inner ul {
    margin-bottom: 20px;
  }
}