/*
NOTE THE FONT COLORS AND SIZES FOR ALL ELEMENTS:
BACKGROUND OF FORM: #e6e6ff (95% DILUTED LILAC)
TOP NAVIGATION BAR BACKGROUND: #000066 (20% DILUTED LILAC)
TOP NAVIGATION BAR HOVER: #e6e6ff (95% DILUTED LILAC)
TOP NAVIGATION BAR SELECTED ELEMENT: WHITE
SUBMIT BUTTON BACKGROUND: #000066 (20% DILUTED LILAC)
SUBMIT BUTTON HOVER: WHITE
*/


* {
  box-sizing: border-box;
  font-family: 'Raleway', sans-serif;
}

img{
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 50%;
}
/*-------------------------------------------------------------------------------------------------------------*/

/*Start CSS for the form elements*/

p{
  margin-left: 20px;
}

h2{
  margin-left: 20px;
  font-size: 25px;
}

input[type=text], input[type=tel], input[type=email], input[type=number], select{
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  resize: vertical;
}

label{
  display: inline-block;
  font-size: 15px;
}

input[type=submit] {
  margin-left: 20px;
  background-color: #000066;
  color: white;
  padding: 12px 20px;
  border: 2px solid white;
  border-radius: 4px;
  cursor: pointer;
  align-items: center;
}

input[type=submit]:hover {
  background-color: white;
  color: black;
  border: 2px solid #000066;
}

.container {
  border-radius: 5px;
  background-color: #e6e6ff;
  padding: 20px;
}


.labelarea {
  float: left;
  width: 100%;
  margin-top: 6px;
  margin-left: 20px;
  margin-right: 20px;
}

.inputarea {
  float: left;
  width: 50%;
  margin-top: 6px;
  margin-left: 20px;
  margin-right: 20px;
}

.row:after {
  content: "";
  display: table;
  clear: both;
}

/* Responsive layout - when the screen is less than 600px wide, all fields fill width of screen except checkboxes and radio */
@media screen and (max-width: 600px) {
  .labelarea, .inputarea, input[type=submit] {
    width: 100%;
    margin-top: 6px;
    margin-left: 6px;
    margin-right: 6px;
  }
}


/*End CSS for the Form Elements*/


/*-------------------------------------------------------------------------------------------------------------*/

/*Start CSS for the Top Navigation Bar*/
.navbar {
  overflow: hidden;
  background-color:#000066;
}

.navbar a {
  float: left;
  display: block;
  color: white;
  font-weight: normal;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 15px;
}

.navbar a:hover {
  background-color:#e6e6ff ;
  color: black;
}

.navbar a.active {
  background-color: white;
  color: black;
}

.navbar .icon {
  display: none;
}

/*Responsive design for the menu: when width is less than 600px, turn menu bar into hamburger menu icon*/

@media screen and (max-width: 600px) {
  .navbar a {display: none;}
  .navbar a.icon {
    float: left;
    display: block;
  }
}

@media screen and (max-width: 600px) {
  .navbar.responsive {position: relative;}
  .navbar.responsive .icon {
    position: absolute;
    right: 0;
    top: 0;
  }
  .navbar.responsive a {
    float: none;
    display: block;
    text-align: left;
  }

/*End CSS for the Top Navigation Bar*/
