/* Site Colors:
  #ffc30b - gold
  #bdc0c1 - lightgrey
  #6f7171 - darkgrey
  #786758 - brown
*/

html {
  height: 100%;
  width: 100%;
}

body {
  width: 100%;
  height: 100%;
  margin: auto;
  border: 0;
  font-family: Roboto, sans-serif;
  font-size: 13px;
  line-height: 15px;
  background: #ffc30b;
}

header {
  background: black;
  position: sticky;
  top: 0;
  z-index: 100;
  margin:0;
  padding:0;
}

.headerlinks {
   padding:30px 30px;
   float: right;
    word-spacing:15px;
}

#main {
  width:100%;
  height: 100%;
  min-height: 400px;
  margin: 0;
  padding: 0;
  background: #ffc30b;
}

footer {
  height: 3em;
  bottom: 0;
  background: black;
  color: #ffc30b;
  position:fixed;
  z-index: 100;
  margin:0;
  width:100%;
}


/* Navigation */

navigation {
  float: left;
  width: 100px;
  height: 100%;
  background: #6f7172;
}

navigation a {
  color: #ffc30b;
  text-decoration: none;
}

navigation a:hover {
  color: #bdc0c1;
  text-decoration: underline;
}

a {
  color: #ffc30b;
  text-decoration: none
}

a:hover {
  text-decoration: underline
}

ul.subjects {
  margin-top: 10px;
  margin-left: 10px;
  padding: 0;
  list-style: none;
}

ul.subjects > li {
  margin-bottom: 1em;
}

ul.pages {
  margin-left: 10px;
  padding: 0;
  list-style: none;
  font-weight: normal;
}

.selected > a {
  color: #bdc0c1;
  font-style: normal;
}

navigation li {
  font-size: 16px;
  line-height: 1.5em;
}

.actions {
  float:right;
  padding-top:30px;
  padding-right:30px;
  color: #ffc30b;
}

/* Page Content */

#hero-image {
  float: left;
  margin-bottom: 40px;
  padding: 0;
  height: 200px;
  width: 900px;
}

#page {
  width: 100%;
  height: 100%;
  padding-left: 0;
  vertical-align: top;
 margin:auto;
}

#page h1 {
  font-size: 16px;
  color: #000000;
  line-height: normal;
}

#page h2 {
  font-size: 14px;
  color: #000000;
  line-height: normal;
}

#page p {
  font-family: Roboto, sans-serif;
  padding: 0px;
  line-height: normal;
}

#page h3 {
  font-size: 14px;
  color: #000000;
}

#content {
  margin-top: 10px;
  margin-left: 10px;
  margin-right: 10px;
}

#content p {
  font-size: 16px;
  line-height: normal;
}

#content li {
  padding: 5px;
  font-size: 16px;
  
}

#disclaimer {
  margin-left: 10px;
  font-size: 14px;
  line-height: normal;
  clear: both;
  padding: 1em;
}

/* Service blocks on homepage */

#service-blocks {
  margin-top: 50px;
  width: 90%;
  margin-left: auto;
  margin-right: auto;
  display: flex;
   justify-content: space-between;
}

#service-blocks .service {
 float: left;
  width: 250px;
 
  }

/* Learn More links */

a.learnmore {
  color: #6f7172;
  font-size: 14px;
  font-weight: bold;
  text-decoration: none
}

a.learnmore:hover {
  text-decoration: underline
}

.flip-card {
  background-color: transparent;
  width: 200px;
  height: 200px;
  perspective: 1000px; /* Remove this if you don't want the 3D effect */
}

/* This container is needed to position the front and back side */
.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}

/* Do an horizontal flip when you move the mouse over the flip box container */
.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

/* Position the front and back side */
.flip-card-front, .flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden; /* Safari */
  backface-visibility: hidden;
}

/* Style the front side (fallback if image is missing) */
.flip-card-front {
  background-color: #ffc30b;
  color: white;
  }

.flip-card-front h1 {
  font-weight: 800;
  font-size: 50px;
  padding: 0px 0;
  text-align: center;
  color: white;
}

/* Style the back side */
.flip-card-back {
  background-color:white;
  color: white;
  transform: rotateY(180deg);
}

.flip-card-back p{
  font-weight: 400;
  font-size: 18px;
  color: white;
}

.flip-card-back h1 {
  font-weight: 800;
  font-size: 50px;
  padding: 0px 0;
  text-align: center;
  color: white;
}

.horspace {
  display: flex;
  justify-content: space-between;
  width:90%;
  margin:auto;
  }