body,
html {
  width: 100%;
  height: 100%;
  font-family: 'Montserrat', sans-serif;
  background: url(dean-digital-logo.png) no-repeat center center fixed;
  -webkit-background-size: contain;
  -moz-background-size: contain;
  -o-background-size: contain;
  background-size: contain;
  background-color: #6EA2D9;
}


body {
  animation: fadeIn 1.2s ease-in;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

h1 {
  font-size: 2rem;
  color: #1B2A4A;
  letter-spacing: 2px;
}

.subtitle {
  color: #2C4A6E;
  font-size: 1rem;
  margin-top: 10px;
}

.btn {
  font-weight:700;
  border-radius: 300px;
  text-transform: uppercase;
}

.btn-primary{
  background-color:#1B2A4A;
  border-color: #1B2A5A;
}

.btn-primary:hover {
  background-color:#2456a0 ;
  border-color:#2456a0 ;
  border-width: 4px;
}

.btn-xl {
  padding: 1rem 2rem;
}

hr {
    margin: 20px auto;
    color: #1B2A4A;
    border: 3px solid #1B2A4A;
    max-width: 65px;
    opacity: 1;  
}
/* Portrait mobile */
@media (max-width: 768px) {
  h1 {
    font-size: 1.3rem;
  }
  
  .subtitle {
    font-size: 0.85rem;
  }

  body, html {
    background-size: 80%;
    background-position: center center;
  }
  
  .btn-xl {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
  }
}

/* Landscape mobile */
@media (max-height: 500px) and (orientation: landscape) {
  h1 {
    font-size: 1rem;
    margin-bottom: 0;
  }

  .subtitle {
    font-size: 0.75rem;
    margin-top: 5px;
  }

  header {
    margin-top: 5px !important;
  }

  body, html {
    background-size: 40%;
    background-position: center center;
  }

  .btn-xl {
    padding: 0.5rem 1.2rem;
    font-size: 0.8rem;
  }

  hr {
    margin: 8px auto;
  }

  section {
    margin-bottom: 10px !important;
  }
}
