body, div, ul, ol, li, span, p, header, footer, main,
label, input, html {
  padding: 0;
  margin: 0;
  list-style: none;
}

body {
  background: url('scratchwork.png');
}

main {
  position: fixed;
  top: 85px;
  height: 85%;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.skip-link {
  position: absolute;
  top: -30px;
  left: 0;
  background: #8B0000;
  padding: 5px;
  z-index: 4;
  color: white;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
}

.skip-link:focus {
  top: 0;
}

.hidden {
    position: absolute;
    left: 0;
    top: 0;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.logo-container a {
  text-decoration: none;
}

form#login-form {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  height: 135px;
}

.form-button {
  cursor: pointer;
  background: #1488CC;  /* fallback for old browsers */
  background: -webkit-linear-gradient(to right, #383fc4, #0f70a8);  /* Chrome 10-25, Safari 5.1-6 */
  background: linear-gradient(to right, #383fc4, #0f70a8);
  padding: 8px;
  color: white;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  letter-spacing: .5px;
  border: 1px solid transparent;
  border-radius: 2px;
  box-shadow: 0 2px 4px -1px rgba(0,0,0,0.06), 0 4px 5px 0 rgba(0,0,0,0.06), 0 1px 10px 0 rgba(0,0,0,0.08);
}

div.entry-container {
  height: 35px;
}
.entry-container input {
    height: 25px;
    font-size: 16px;
    letter-spacing: 1px;
    font-family: 'Montserrat', sans-serif;
}


#logo h1 {
  font-family: 'Montserrat', sans-serif;
  color: #fcfcfc;
  font-size: 30px;
  padding: 4px 20px 4px 20px;
}

#logo h1:hover {
  text-decoration: underline;
}

#logo:focus {
  color: white;
  text-decoration: underline;
}

nav a:focus {
  outline: none;
  margin-top: 2px;
  border-bottom: 2px solid white;
}

div.nav-container {
  display: flex;
  align-items: center;
  position: fixed;
  width: 100%;
  height: 80px;

  transition: opacity 1.5s ease-in;
  background: #1488CC;  /* fallback for old browsers */
  background: -webkit-linear-gradient(to right, #383fc4, #1488CC);
  background: linear-gradient(to right, #383fc4, #1488CC);
  transition-duration: 2s;
  border: 1px solid transparent;
  box-shadow: 0 2px 4px -1px rgba(0,0,0,0.06), 0 4px 5px 0 rgba(0,0,0,0.06), 0 1px 10px 0 rgba(0,0,0,0.08);
}

.header-item a {
  text-decoration: none;
  color: #fcfcfc;
  font-family: 'Montserrat', sans-serif;
  letter-spacing: .5px;
  margin: 0 2px 0 2px;
}

ul.header-group {
  display: flex;
  align-items: center;
}

li.header-item {
  padding: 30px 10px 27px 10px;
  border-bottom: 5px solid transparent;
  display: flex;
  align-items: center;
  transition: transform 0.2s;
}

li.header-item:hover {
  border-bottom: 5px solid #eff0f1;
}

.fa {
  padding: 0 4px 0 2px;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4);
}


.modal-content {
    background-color: #fefefe;
    margin: 15% 18% 18% 20%; /* 15% from the top and centered */
    max-width: 700px;
    padding: 20px;
    border: 1px solid #888;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    height: 150px;
    transition-duration: 2s;
    border: 1px solid transparent;
    box-shadow: 0 2px 4px -1px rgba(0,0,0,0.06), 0 4px 5px 0 rgba(0,0,0,0.06), 0 1px 10px 0 rgba(0,0,0,0.08);
}

.login-form-container {
  padding: 20px;
  background: #f7f7f7;
  height: 200px;
  width: 240px;
  border: 2px solid lightgrey;
  border-radius: 3px;
  transition-duration: 2s;
  border: 1px solid transparent;
  box-shadow: 0 2px 4px -1px rgba(0,0,0,0.06), 0 4px 5px 0 rgba(0,0,0,0.06), 0 1px 10px 0 rgba(0,0,0,0.08);
}

.login-header {
  background: #1488CC;  /* fallback for old browsers */
  background: -webkit-linear-gradient(to right, #383fc4, #0f70a8);
  background: linear-gradient(to right, #383fc4, #0f70a8);
  position: relative;
  top: -21px;
  left: -22px;
  width: 282px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', sans-serif;
  color: white;
  text-transform: uppercase;
  letter-spacing: 2px;
  border: 1px solid transparent;
  border-radius: 2px;
  box-shadow: 0 2px 4px -1px rgba(0,0,0,0.06), 0 4px 5px 0 rgba(0,0,0,0.06), 0 1px 10px 0 rgba(0,0,0,0.08);


}

.button-container {
  display: flex;
  justify-content: center;
}

div.button-container:hover {
  box-shadow: 2px 2px 1px 2px rgba(27, 75, 153,0.1), 0px 2px 4px 1px rgba(0,0,0,0.1), 0 4px 5px 0 rgba(0,0,0,0.1), 0 1px 10px 0 rgba(0,0,0,0.1);
}

.footer {
  position: fixed;
  bottom: 0;
  padding-bottom: 10px;
  width: 100%;
  color: black;
}

a#signature {
  margin-left: 25px;
  font-family: 'Montserrat', sans-serif;
  letter-spacing: 0.5px;
  color: #383fc4;
  text-decoration: none;
  padding-bottom: 3px;
  border-bottom: 1px solid #383fc4;
  margin-bottom: 4px;
}

a#signature:hover {
  transition-duration: .5s;
  color: #4286f4;
  border-bottom: 1px solid #4286f4;
}

#processed-response {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  letter-spacing: 0.5px;
}
