@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  src: local('Montserrat Regular'), local('Montserrat-Regular'), url(montserrat.woff) format('woff');
}

body {
  background-image: url('../images/background.jpg');
  background-color: #253034;
  background-repeat: no-repeat;
  background-position: top center;
  margin: 0;
  padding: 0;
  font-family: Montserrat;
}

#wrapper {
  padding-top: 150px;
  margin: 0 10px;
  background-image: url('../images/logo.jpg');
  background-repeat: no-repeat;
  background-position: top center;
}

h1 {
  color: #ffffff;  
  font-size: 40px;
  text-align: center;
}

h1 a:link, h1 a:visited {
  color: #ffffff;
  text-decoration: underline;
}

#content {
  background-color: #ffffff;
  color: #000000;
  border: 5px solid #999999;
  padding: 20px;
  margin-bottom: 50px;
}

#content p {
  line-height: 150%;
}

#content ul#domain-list {
  list-style: none;
  padding: 0;
  text-align: center;
}
#content ul#domain-list li {
  display: inline-block;
  margin: 5px;
  width: 220px;
  overflow: auto;
}

a:link, a:visited {
  color: #5091a9;
  text-decoration: none;
}
a:hover, a:active {
  text-decoration: underline;
}

.rule-block {
  border: 1px solid #999;
  padding: 20px;
  margin-bottom: 20px;
}

.rule-block pre {
  overflow: auto;
  margin-top: 0;
  background-color: #f0f0f0;
  padding: 10px;
}

.rule-block p {
  margin: 0;
}

#search input {
  width: 100%;
  margin-top: 1em;
}

#results a {
  display: block;
}

#letters {
  text-align: center;
  font-size: 1.4em;
  text-transform: uppercase;
}

@media (min-width: 768px) {
  #wrapper {
    margin: 0 100px;
  }
}
