html, 
* {
  box-sizing: border-box;
  margin: 0; 
  padding: 0;
  scroll-behavior: smooth;
}

body {
  padding: 0;
  margin: 0;
  width: 100%;
  font-family: 'Lato', sans-serif;
  font-size: 1.5rem;
  color: rgb(80, 80, 80);
}

h1, h2, h3, h4, h5, h6 {
  text-transform: uppercase;
}

p, 
li {
  font-size: 1.2rem;
  line-height: 2rem;
}

/* Banners */
.message {
  position: fixed;
  top: 0;
  z-index: 1;
  padding: 20px 40px;
  background-color: #f44336;
  opacity: 0.8;
  color: white;
  width: 100%;
  text-align: center;
  font-size: 1.3rem;
}

.maintenance-banner {
  position: fixed;
  z-index: 1;
  padding: 20px 40px;
  background-color: cornflowerblue;
  opacity: 0.8;
  color: white;
  width: 100%;
  text-align: center;
  font-size: 2rem;
}

#help-email {
  cursor: pointer;
  color: white;
  text-transform: uppercase;
}

.closebtn {
  margin-right: -10px;
  margin-left: 10px;
  color: white;
  font-weight: bold;
  float: right;
  font-size: 2rem;
  line-height: 25px;
  cursor: pointer;
  transition: 0.3s;
}

.closebtn:hover {
  color: black;
}

/* Navbar */
.collapsible-menu {
  background: rgba(0,120,170,0.988);
  position: fixed;
  bottom: 0; 
  left: 0;
  width: 100%;
  z-index: 1;
}

.collapsible-menu label {
  font-size: 2em;
  cursor: pointer;
  width: 100%;
  display: block;
  text-align: center;
  padding: .5rem;
  color: white;
}

/* hide checkbox */
.collapsible-menu input {
  display: none;
}

/* hide navbar list */
.menu-items {
  max-height: 0;
  overflow: hidden;
}

/* when checked, show navbar list */
#menu:checked ~ .menu-items {
  max-height: 100%;
}

#menu:checked + #example span {
  display: none;
}

#menu:checked + #example:after {
  content: '\D7';
}

nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  width: 100%;
}

nav ul li {
  font-size: 1.2rem;
  font-family: 'Montserrat', sans-serif;
}

nav ul li a {
  display: block;
  color: white;
  padding: .5em;
  text-decoration: none;
  text-transform: uppercase;
  text-align: center;
  letter-spacing: 1.5px;
  transition: 0.3s;
}

nav ul li a:hover,
nav ul li a:focus {
  background-color: rgba(0, 100, 143, 0.988);
  color: white;
  text-decoration: none;
}

/* Hero */
.hero-image {
  background-image:url("../img/ontime.png");
  height: 100vh;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  display: flex;
  justify-items: center;
  align-items: center;
}

.hero-text {
  text-align: center;
  margin: 0 auto;
  width: 90%;
}

.hero-text h1 {
  color: #0078AA;
  font-size: 2rem;
}

.hero-text p {
  font-size: 1.3rem;
}

.hero-text .logo {
  display: none;
}

/* Footer */
footer {
  padding-bottom: 50px;
  margin: 100px;
  text-align: center;
}

/* Pages */
.foreclosure-list {
  margin-left: 80px;
}

#help__email {
  cursor: pointer;
  color: blue;
  text-transform: uppercase;
  font-weight: bolder;
}

.page {
  border-top: 1px solid #c5c2c2;
  width: 90%;
  margin: 0 auto;
  padding: 150px 0;
}

.page > :first-child {
  color: #0078AA;
}

.page h2 {
  text-align: center;
  margin-bottom: 30px;
}

.contact-container div {
  margin-bottom: 20px;
}

@media only screen and (min-width: 750px) {
  .page {
    width: 90%;
    max-width: 1200px;
  }

  .container-nav {
    width: 100%;
    max-width: 1500px;
    margin: 0 auto;
    padding: 0;
  }

  nav ul {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  nav ul li a {
    padding: 1em 1.5em;
  }

  #example {
    display: none;
  }

  .menu-items {
    max-height: 100%;
  }

  .hero-text {
    width: 70%;
  }

  .hero-text h1 {
    font-size: 3em;
  }
  
  .hero-text p {
    font-size: 1.2em;
  }
  
  .hero-text .logo {
    display: inline;
  }

  .contact-container {
    display: flex;
    justify-content: space-between;
  }

  .contact-container div {
    width: 33%;
  }
}