html {
  height: 100%;
  width: 100%;
}

body {
  background-image: url("../../images/ARA_Globe.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  background-attachment: fixed;
 
  }

h1, h2, h3, h4, h5, h6, p {
  font-family: 'Roboto', sans-serif;
  color: #0F3059;
  }

h1 {
  font-weight: 600;
  font-size: 28px;
  padding: 0px 0;
  text-align: center;
}

h2 {
  font-weight: 500;
  font-size: 24px;
  padding: 2px 0;
  text-align: center;
}

h3 {
  font-weight: 400;
  font-size: 20px;
  text-align: center;
}

h4 {
 font-size: 20px;
  padding: 2px 0;
  text-align: left;
}

p {
  font-weight: 400;
  font-size: 18px;
  color: #0F3059;
  }
  
label {
  font-family: 'Roboto', sans-serif;
  font-weight: 600;
  font-size: 16px;
  color: #e5c413;
  }  

header {
 height: 10%;
  position: sticky;
  top: 0;
  z-index: 100;
  margin:0;
  padding: 0;
  background: white;
  color: #e5c413;
  line-height:1;
  font-family:Roboto, sans-serif;
 }

.headerlinks {
   padding:30px 30px;
   float: right;
   word-spacing:15px;
}

.header nav {
  width: 100%;
  height: 10%;
  display: flex;
  justify-content: space-between;
  }


.header nav img {
  width: 125px;
  float:left;
}

.header nav ul li {
  list-style: none;
  float: left;
}

.header nav ul li a {
  font-family: 'Roboto', sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: #0F3059;
  text-decoration: none;
  padding: 0 12px;
  text-transform: uppercase;
}

.header nav ul li a:hover {
  color: #4B8521;
}

.header nav ul li a {
color: #0F3059;
 }
        
.cover {
  background-color: white;
  height: auto;
  width:85%;
  line-height: 1.6;
  margin-top: 160px;
  margin-left:auto;
  margin-right:auto;
  padding: 10px;
  text-align: center
  }  

.footContainer {
  height:30px;
  width: 100%;
  font-family: 'Roboto', sans-serif;
  font-weight: 300;
  font-size:20px;
  position:fixed;
  overflow-x: scroll;
  overflow:hidden;
  white-space: nowrap;
  bottom:0;
  color:#0F3059;
  background-color: #E5C413;
  z-index: 100;
  margin:0;
  
}

.dropbtn {
  background-color: #E5C413;
  color: #0F3059;
  padding: 0px;
  width: 180px;
  font-weight: 600;
  font-size: 16px;
  font-family: 'Roboto', sans-serif;
  border: none;
}

.dropdown {
  position: relative;
  padding: 10px;
}

.dropdown-content {
  display: none;
  position: absolute;
  min-width: 140px;
  background-color: #E5C413;
   border: 2px solid #0f3059;
   z-index: 1;
   font-family: 'Roboto', sans-serif;
    font-weight: 600;
     font-size: 16px;
}

.dropdown-content a {
  color:  #0F3059;
  padding: 10px 10px;
  text-decoration: none;
  display: block;
  font-family: 'Roboto', sans-serif;
  font-weight: 600;
  font-size: 16px;
}

.dropdown-content a:hover {background-color: #4B8521;}

.dropdown:hover .dropdown-content {display: block;}

.dropdown:hover .dropbtn {background-color: #E5C413;}

.arrow {
  border: solid #0F3059;
  border-width: 0 3px 3px 0;
  display: inline-block;
  padding: 3px;
}

.right {
  transform: rotate(-45deg);
  -webkit-transform: rotate(-45deg);
}

.left {
  transform: rotate(135deg);
  -webkit-transform: rotate(135deg);
}

.up {
  transform: rotate(-135deg);
  -webkit-transform: rotate(-135deg);
}

.down {
  transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
}


/* Set a style for all buttons */
button {
  background-color: #4b8521;
  color: white;
  margin: 2px 2px;
  border-radius: 3px;
  cursor: pointer;
  width: 100px;
  height:30px;
}

button:hover {
  opacity: 0.8;
}

/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  padding-top: 100px; /* Location of the box */
  left: 0;
  top: 0;
  width: 80%; /* Full width */
  height: 80%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: green; /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content */
.modal-content {
  background-color: #0f3059;
  margin: auto;
  padding: 20px;
  border: 1px solid #e5c413;
  width: 40%;
  text-align: center;
}

.modal-content a {
    color: white;
}

.modal-content a:visited {
    color: white;
}
/* The Close Button */
.close {
  color: #e5c413;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: #4B8521;
  text-decoration: none;
  cursor: pointer;
}

.horspace {
  display: flex;
  justify-content: space-between;
  width:80%;
  margin:auto;
}

#service-blocks {
  margin-top: 50px;
  width: 95%;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  justify-content: space-between;
    }

.service {
    display: inline-block;
    text-align: center;
    font-weight: 600;
    font-family: 'Roboto', sans-serif;
    font-size: 18px;
    word-wrap:break-word;
    padding:20px;
}

.service button {
  background-color: #4b8521;
  color: white;
  margin: 5px 5px;
  border-radius: 50px;
  cursor: pointer;
  width: 140px;
  height:80px;
  font-weight: 400;
  font-family: 'Roboto', sans-serif;
  font-size: 18px;
}

.service button:hover {
  opacity: 0.8;
  border-color: #e5c413;
  color: #e5c413;
}

#content {
  width: 90%;
  margin-left: auto;
  margin-right: auto;
  background: #d3d3d3;
  padding:30px;
  color:black;
  font-size: 16px;
  }
  
#content label {
  font-family: 'Roboto', sans-serif;
  font-weight: 600;
  font-size: 16px;
  color: black;
  padding:2px;
  } 
  
  #content input {
  font-family: 'Roboto', sans-serif;
  height: 30px;
  font-size: 16px;
  color: black;
  padding:1px;
   } 
  
  #content select {
  font-family: 'Roboto', sans-serif;
  height: 30px;
  font-size: 16px;
  color: black;
  padding:1px;
  } 
  
  #content button {
  background-color: #4b8521;
  color: white;
  margin: 2px 2px;
  border-radius: 3px;
  cursor: pointer;
  width: 100px;
  height:30px;
}

#content button:hover {
  opacity: 0.8;
}

#content table {
    font-family: 'Roboto', sans-serif;
    margin-left: auto;
    margin-right: auto;
    color:black;
    border: 2px solid #e5c413;
}

#content tr:nth-child(even){
    background-color: white;
    }
    
#content tr:hover {
    background-color: #e5c413;
    opacity: 0.5;
    }    
    
#content th {    
  padding-top: 5px;
  padding-bottom: 5px;
  background-color: #e5c413;
  font-weight: 400;
  font-size: 17px;
 }
 
 #content td {    
  padding: 2px;
  border: 0.5px solid #e5c413;
 }
 
 .button {
  width: 100%; 
  height: 100%; 
  background-color: #d3d3d3;
 }
 
 .flip-card {
  background-color: transparent;
  width: 200px;
  height: 400px;
  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: white;
  color: white;
}

/* Style the back side */
.flip-card-back {
  background-color: #0f3059;
  color: white;
  transform: rotateY(180deg);
}

.flip-card-back p{
  font-weight: 300;
  font-size: 16px;
  color: white;
}

.flip-card-back h2 {
  font-weight: 600;
  font-size: 22px;
  padding: 0px 0;
  text-align: center;
  color: white;
}

.navbar {
  width: 100%;
  background-color: #e5c413;
  overflow: auto;
  position: fixed;
  top: 0;
  line-height:20px;
  text-align: center;
  justify-content: space-between;
}

.navbar a {
  float: left;
  color: #0f3059;
  padding-top: 5px;
  font-family: 'Roboto', sans-serif;
  text-decoration: none;
  font-size: 20px;
  text-align: center; 
  width:9%;
  justify-content: space-between;
}

.navbar a:hover {
  color: white;
}

.navbar a.active {
  background-color: #0f3059;
}

@media screen and (max-width: 500px) {
  .navbar a {
    float: none;
    display: block;
    width: 100%;
    text-align: left; 
  }
}

.serv {
    font-family: 'Roboto', sans-serif;
   font-weight: 400;
    font-size: 18px;
    color: #0F3059;
    text-align:left;
   }
   
   #mySidenav a {
  position: fixed; /* Position them relative to the browser window */
  left: -65px; /* Position them outside of the screen */
  transition: 0.3s; /* Add transition on hover */
  padding: 5px; /* 15px padding */
  width: 120px; 
  text-decoration: none; 
  font-family: 'Roboto', sans-serif;
  font-size: 10px; 
  color: white; 
  border-radius: 0 5px 5px 0; 
  text-align:right;
}

#mySidenav a:hover {
  left: 0; 
  color: white;
  font-size: 20px; 
}


#about {
  top: 20px;
  background-color: #0f3059;
}

#services {
  top: 70px;
  background-color: #0f3059;
}

#compliance {
  top: 120px;
  background-color: #0f3059;
}

#risk {
  top: 170px;
  background-color: #0f3059;
}

#efficiency {
  top: 230px;
  background-color: #0f3059;
}

#sustainability {
  top: 280px;
  background-color: #0f3059;
}

#training {
  top: 320px;
  background-color: #0f3059;
}

#systems {
  top: 370px;
  background-color: #0f3059;
}

#coaching {
  top: 420px;
  background-color: #0f3059;
}
#contact {
  top: 470px;
  background-color: #0f3059 
}

#myBtn {
  top: 520px;
  background-color: #0f3059 
}