﻿html {
  background: #f1f1f1;
  height: 100%;
}

body {
  background: #fff;
  color: #505050;
  font-family: 'Dosis', sans-serif;
  font-size: 14px;
  margin: 1%;
  min-height: 95.5%;
  border: 1px solid silver;
  position: relative;
}

#header {
  margin-top: 20px;
}

#header h1 {
  font-size: 44px;
  font-weight: bold;
  margin: 0;
  padding: 0 30px;
  color: #48185b;
  background-image: url('../img/logo.svg');
  background-repeat: no-repeat;
  background-position: right;
  background-size: contain;
}

#header span {
  margin: 0;
  padding: 0 30px;
  font-size: 18px;
}

#header p {
  font-size: 20px;
  color: #fff;
  background: #48185b;
  padding: 0 30px;
  line-height: 50px;
  margin-top: 25px;
}

#header p a {
  color: #fff;
  text-decoration: underline;
  font-weight: bold;
  padding-right: 30px;
  background: no-repeat right bottom url('../img/go.png');
}

#main {
  padding: 5px 30px;
  clear: both;
}

.section {
  width: 21.7%;
  float: left;
  margin: 0 0 0 4%;
}

.section h2 {
  font-size: 13px;
  text-transform: uppercase;
  margin: 0;
  border-bottom: 1px solid silver;
  padding-bottom: 12px;
  margin-bottom: 8px;
}

.section.first {
  margin-left: 0;
}

.section.first h2 {
  font-size: 24px;
  text-transform: none;
  margin-bottom: 25px;
  border: none;
}

.section.first li {
  border-top: 1px solid silver;
  padding: 8px 0;
}

.section.last {
  margin-right: 0;
}

ul {
  list-style: none;
  padding: 0;
  margin: 25px 20px;
  line-height: 20px;
}

li {
  padding: 4px 0;
}

a {
  color: #267cb2;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

#footer {
  clear: both;
  padding-top: 50px;
}

#footer p {
  position: absolute;
  bottom: 10px;
}

hr {
  border: 0;
  clear: both;
  display: block;
  margin: 1.4rem auto;
  text-align: center;
  width: 100%;
}

/* -- Animated hr -- */

.progress {
  background: rgba(1, 15, 30, 0.1);
  height: 1px;
  overflow: hidden;
  position: relative;
}

.progress::before {
  animation-duration: 3s;
  animation-timing-function: ease;
  animation-iteration-count: infinite;
  animation-name: progress;
  background: #48185b;
  content: '';
  display: block;
  height: 1px;
  position: absolute;
  width: 100px;
}

@keyframes progress {
  0% {
    transform: translateX(0px);
  }
  100% {
    transform: translateX(2000px);
  }
}

/* Extra small devices (portrait phones, less than 576px) */
@media screen and (max-width: 598.98px) {
  #header h1 {
    background-image: url('');
    text-align: center;
    font-size: 35px;
    margin-bottom: 15px;
  }
  #header span {
    font-size: 16px;
  }
  #header p {
    font-size: 15px;
    font-family: 'Dosis', sans-serif;
    padding: 15px;
    line-height: 1.8;
  }
  #body-content {
    text-align: center;
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  #header h1 {
    text-align: center;
    font-size: 35px;
    margin-bottom: 15px;
  }
  #header span {
    font-size: 16px;
  }
  #header p {
    font-size: 15px;
    padding: 15px;
    line-height: 1.8;
  }
  #body-content {
    text-align: center;
  }
}
