html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

h2 {
 margin-bottom: 20px;  
}

p {
  font-size: 20px;  
  margin:auto;
  padding-top: 10px;
  padding-bottom: 10px;
  font-family: Arial, Helvetica, sans-serif;
}

a {
color: rgb(66, 152, 181);
font-size: 20px;
font-weight: 450;
text-decoration: none;
}

a:hover {
    color: #136986;
    text-decoration: underline;
}

span.source {
    font-style: italic;
    font-size: 18px;
    color: #444;
}


ul li {
  list-style-type: none;
}

.container {
  max-width: 1120px;
}

header {
  margin-bottom: 20px;
}

.logo {
    height: 70px;
    width: 70px;
    border-width: 4px;
    border-radius: 46px;
    border-color: rgb(2, 52, 87);
    border-style: solid;
    padding: 15px;
    padding-top: 12px;
    font-weight: bold;
    line-height: 18px;
    font-size: 21px;
    color: rgb(2, 52, 87);
}

.title-container {
    display: flex;
}

.title-container h1 {
    margin-top: 10px;
    margin-left: 10px;
    letter-spacing: -1px;
    font-weight: bolder;
}

.title-container a {
    text-decoration: none;
    color: rgb(33, 37, 41);
    border-width: 0px;
}

.navbar .nav-item {
    min-width: 120px;    
}

.navbar .nav-item a {
    font-size: 18px;
    color: #333;
    text-decoration: none;
    cursor: pointer;        
    text-align: center;
}

    .navbar .nav-item.survey {
        color: white;
        background-color: navy;
        padding-left: 20px;
        padding-right: 20px;
        border-radius: 10px;
    }

    .navbar .nav-item.survey a {
        color: white;
    }

        .navbar-collapse {
            text-align: right;
        }

.hero {
    background-repeat: no-repeat;
    min-height: 330px;
    background-size: 100%;
    background-position: center;
    margin: auto;
    background-position-y: -10px;
    margin-bottom: 20px;
    background-repeat: no-repeat;
}

.intro p {
  font-size: 19px;
}

.survey-container {
  margin: auto;
  text-align: center;
  margin-top: 20px;
 
  }

.btn.take-survey {
    background-color: navy;
    padding-left: 40px;
    padding-right: 40px;
    border-radius: 10px;
}

@media (max-width: 1268px) {

  .hero  {   
    background-position-y: 0px;
    background-position: -50px 0;
    background-size: 110%;    
    min-height: 330px;
  }
}


@media (max-width: 1000px) {

  .hero  {   
    background-position-y: 0px;
    background-position: -100px 0;
    background-size: 120%;    
    min-height: 250px;
  }
}

@media (max-width: 600px) {

  .title-container a {
    margin-left: -4px;
  }

  .title-container a h1 {
    font-size: 22px;
  }

  .navbar-brand.logo {
    width: 67px;
    margin-right: 0px;
    padding-right: 0px;
  }

  .hero  {   
    background-position-y: 0px;
    background-position: -200px 0;
    background-size: 150%;    
    min-height: 200px;
  }
}

@media (max-width: 400px) {
  .hero  {   
    background-position-y: 0px;
    background-position: -200px 0;
    background-size: 185%;    
    min-height: 200px;
  }
}

