/* #############################--SECTIONNAME--############################################ */
/* ################################################################################### */



@font-face {font-family: OratorStd; src: url('../Fonts/OratorStd.otf');}

@font-face {font-family: Rubik; src: url('../Fonts/Rubik.ttf');}

* {
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
}

iframe {
  width: 90%;
}

html {
  scroll-behavior: smooth;
}



/* #############################--HEADER--############################################ */

header {
  height: 100px;
  width: 100%;
  display: block;
}

header img {
  position: absolute;
  top: 0;
  left: 0;
  max-height: 120px;
  opacity:0.9;
  object-fit: cover;
}

header #logo {
 width: 100px;
 height: 100px;
 position: absolute;
 left: 30px;
 top: 10px;
 opacity:1;
}

header a {
  text-decoration: none;
}

header h1 {
  font-family: "Montserrat-Bold", sans-serif;
  font-size: 80px;
  font-weight: 900;
  color: white;
  opacity: 0.7;
  transition: color 0.5s ease;
  position: relative;
  margin: 8px 0px 0px 25px;
  display: inline;
}

header h1:hover {
  color: #81b0fc;
  transition: color 0.5s ease;
}

/* ################################################################################### */

/* #############################--TEXT STYLING--############################################ */

main {
  min-height: 100%;
  padding-top: 5%;
  width: 100%;
  text-align: center justify;
  margin: 0 auto;
}

main h1 {
  font-family: "Arial", sans-serif;
  font-size: 70px;
  text-align: center;
  font-weight: black;
  max-width: 70%;
  margin: 0 auto;
  margin-top: 3%;
  margin-bottom: 3%;
}

main h2 {
  font-family: "OratorStd", sans-serif;
  font-size: 50px;
  text-align: center;
  font-weight: normal;
  max-width: 70%;
  margin: 0 auto;
  margin-top: 3%;
  margin-bottom: 3%;
}

main h3 {
  font-family: "OratorStd", sans-serif;
  font-size: 40px;
  text-align: center;
  font-weight: normal;
  max-width: 70%;
  margin: 0 auto;
  margin-top: 3%;
  margin-bottom: 3%;
}

main h4 {
  font-family: "OratorStd", sans-serif;
  font-size: 30px;
  text-align: center;
  font-weight: normal;
  margin: 0 auto;
  margin-top: 3%;
  margin-bottom: 3%;
}

main h5 {
  font-family: "OratorStd", sans-serif;
  font-size: 20px;
  text-align: center;
  font-weight: normal;
  margin: 0 auto;
  margin-top: 3%;
  margin-bottom: 3%;
}

main p {
  width: 50%;
  text-align: justify;
  margin: 0 auto;
  font-size: 19px;
  font-weight: lighter;
  font-family: "Rubik";
}

main a {
  text-align: center;
  display: block;
  text-decoration: none;
  color: #81b0fc;
  font-weight: lighter;
  font-family: "Rubik";
  font-size: 20px;
  margin-top: 20px;
  margin-bottom: 20px;
}

main a:hover {
  text-decoration: underline;
}

main ul, main ol {
  width: 45%;
  text-align: left;
  margin: 0 auto;
  font-size: 17px;
  font-weight: lighter;
  font-family: "Rubik";
}

main button {
  cursor: pointer;
  clear: both;
  text-align: center;
  display: block;
  padding: 10px 20px;
  background-color: white;
  border: 1px solid white;
  text-decoration: none;
  color: #81b0fc;
  font-weight: lighter;
  font-family: "Rubik";
  font-size: 16px;
  margin-top: 20px;
  margin-bottom: 20px;
  margin: auto;
}

/* main button:hover {
  text-decoration: underline;
} */


/* ################################################################################### */

/* #############################--NAVIGATION--############################################ */

nav {
  clear: both;
  width: 100%;
  height: 80px;
  display: block;
  background-color: #F6F5F5;
  padding-top: 10px;
}

nav ul li, nav ul li a  {
  list-style: none;
  text-decoration: none;
  font-family: "OratorStd", "sans-serif";
  font-size: 20px;
  color: black;
  font-weight: medium;
  margin-top: 6px;
  padding-top: 23px;
  transition: color 0.5s ease;
}

nav a:hover {
  color: #81b0fc;
  transition: color 0.5s ease;
}

nav #largeScreens {
  display: block;
}

nav #smallScreens {
  display: none;
  text-align: center;
  font-size: 50px;
  margin-top: 0px;
  color: black;
}

#smallScreens h1 {
  font-family: "Montserrat-Bold", sans-serif;
  font-size: 45px;
  font-weight: 800;
  color: black;
  transition: color 0.5s ease;
}

#smallScreens h1:hover {
  color: #81b0fc;
  transition: color 0.5s ease;
}

#smallScreens a {
  text-decoration: none;
}



nav button {
  cursor: pointer;
  display: inline;
  background-color: #F6F5F5;
  border: none;
  color: black;
  font-size: 20px;
  padding-top: 1px;
  transition: color 0.5s ease;
}

nav button:hover {
  color: #81b0fc;
  transition: color 0.5s ease;
}

nav #largeScreens button {
  font-size: 20px;
}

nav #smallScreens button {
  font-size: 30px;
  margin-right: 10px;
}


nav #smallScreens #logo {
  width: 75px;
  height: 75px;
}



/* ################################################################################### */

/* #############################--HORIZONTAL LISTS--############################################ */

.spreadList {
  position: relative;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  width: 88%;
  padding: 4%;
  padding-top: 0;
  padding-bottom: 0;
  list-style: none;
}


/* ################################################################################### */


/* #############################--FOOTER--############################################ */

/* light grey: #393939
super light grey: #F6F5F5
dark grey: #393939
light blue: #81b0fc */

footer {
  clear: both;
  margin-top: 50px;
  width: 100%;
  height: 120px;
  position: "relative";
  font-family: "Rubik";
}

footer .footerTop {
  height: 100px;
  display: flex;
}

footer .footerBottom {
  display: block;
  width: 100%;
  background-color: #393939;
  color: #F6F5F5;
  height: 20px;
  font-weight: lighter;
  position: relative;
  padding-top: 12px;
}

footer .footerBottom p {
  font-size: 12px;
  text-align: center;
  width: 100%;
  display: block;
}

.footerSection1, .footerSection2 {
  flex: 1;
  background-color: #F6F5F5;
  color: #393939;
  padding: 10px;
  display: block;
}

footer .footerSection1 {
  border-right: 2px solid #393939;
}



.footerSection1 p {
  display: block;
  margin-left: auto;
  margin-right: auto;
  font-size: 14px;
  text-align: justify;
  width: 95%
}

footer h2 {
  font-family: "OratorStd", sans-serif;
  font-size: 20px;
  text-align: center;
  font-weight: normal;
}

footer i {
  margin-right: 3px;
  font-size: 17px;
}

.footerSection1 span, .footerSection2 span {
  font-size: 17px;
  text-align: center;
  margin-top: 20px;
  margin-left: 5%;
}

footer a {
  color: #393939;
  text-decoration: none;
  transition: color 0.5s ease;
}

footer a:hover {
  color: #81b0fc;
  transition: color 0.5s ease;
}

#footerUp {
  display:none;
}

footer #BottomA{
  display:block;
}

footer #BottomB{
  display:none;
}

/* ################################################################################### */

.iframeContainer {
  width: 100%;
  text-align: center;
}

/* #####################DROP DOWN########################################### */

.dropDown {
 background-color: #F6F5F5;
 padding-bottom: 20px;
 border-radius: 8px;
 float: right;
 text-align: center;
 width: 100%;
 left: 0;
}

#dropMenu {
  display: none;
}

nav ul li ul div li a {
  font-weight: medium;
  font-size: 20px;
  padding: 20px;
}

#logo {
 width: 100px;
 height: 100px;
 position: absolute;
 left: 30px;
 top: 10px;
 opacity:1;
}
/* ################################################################################### */

.topNav {
  width: 50px;
  height: 25px;
  padding-top: 12px;
  padding-bottom: 12px;
  border-radius: 25px;
  background-color: #81b0fc;
  font-size: 20px;
  font-weight: 0;
  text-align: center;
  bottom: 10px;
  right: 10px;
  position: fixed;
  z-index: 999;
  color: white;
  transition: background-color 0.5s ease;
  display:inline;
}

.topNav:hover {
  background-color: #cf54e8;
  transition: background-color 0.5s ease;
}



/* #####################MEDIA QUERIES########################################### */


  /* Media Query for Smaller Devices */
@media only screen and (max-width: 1024px) {

   .footerSection1 {
     display: none;
   }

   nav #largeScreens {
     display: none;
   }

   nav #smallScreens {
     display: block;
   }

   #homeNews, #quickTop {
     display: none;
   }

   #homepageSlideshowImage {
     margin-bottom: 50px;
   }

   header {
     display: none;
   }

   main p, .aims {
     font-size: 16px;
     width: 80%;
   }

  main ul, main ol {
    font-size: 14px;
    width: 70%;
    text-align: left;
  }

  main h2 {
    font-size: 40px;
  }

  main h3 {
    font-size: 30px;
  }

  .topNav{
    display:none;
  }

  #footerUp{
    display:inline;
  }

  footer #BottomA{
    display:none;
  }

  footer #BottomB{
    display:block;
    font-size: 9px;

}


@media only screen and (max-width: 1600px) {
  footer .footerSection1 p {
    font-size: 11px;
  }
}

#largeScreens button {
  font-size: 20px;
}
