@-moz-viewport { width: device-width; scale: 1; }
@-ms-viewport { width: device-width; scale: 1; }
@-o-viewport { width: device-width; scale: 1; }
@-webkit-viewport { width: device-width; scale: 1; }
@viewport { width: device-width; scale: 1; }

html {
  -moz-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  box-sizing: border-box;
  font: normal 100%/1.3 sans-serif;
  font-family: Dosis, sans-serif;
}

*, *::before, *::after {
  box-sizing: inherit;
}

body {
  margin: 0;
}

.cards:hover {
  box-shadow: 9px 9px 15px #333;
}

.picture img {
  width: 100%;
}

img {
  width: 100%;
}

.card.img {
  border-radius: 15px;
}

.logo {
  width: 5%;
}

.banner {
  position: relative;
  text-align: left;
}

.header-banner {
  display: block;
}

.center {
  margin: 0;
  flex-direction: row;
  align-items: stretch;
  list-style-type: none;
  display: flex;
}

.cards {
  background-color: #333;
  margin: 0;
  display: inline-block;
  border-radius: 15px;
  border: 6px solid #ccc;
}

header {
  padding: .5rem 0;
  background-color: #ccc;
  text-align: center;
}

h1 {
  margin: 0 0 .5rem;
  font-size: 1.5rem;
}

h2 {
  color: #fff;
  background-color: rgba(0, 0, 0, .5);
}

.content {
  left: 50%;
  max-width: 29em;
  width: 100%;
  text-align: center;
  color: #333;
  padding: 0 1.5rem;
  line-height: 1.2;
  transform: translateX(-50%);
  position: relative;
  max-height: 500px;
  overflow: hidden;
  display: inline-block;
}

.img-flex {
  display: block;
  width: 100%;
}

footer {
  background-color: #333;
  color: #ccc;
  margin-left: 20px;
  margin-right: 20px;
  margin-top: 20px;
  margin-bottom: 20px;
  padding: .75em;
  box-shadow: 9px 9px 15px #333;
}

nav ul {
  margin: 0;
  padding: 0;
  list-style-type: none;
  font-family: Dosis, sans-serif;
}

p {
  padding-bottom: 2em;
  font-size: .6rem;
  text-align: center;
}

nav li {
  text-align: left;
}

h3 {
  color: #fff;
  text-align: center;
}

nav a {
  display: block;
  padding: .5em .75em;
  color: #333;
  text-decoration: none;
  position: relative;
}

.description {
  color: #fff;
}

.btn {
  padding: .75em;
  border: 3px solid #333;
  font-size: 1.125em;
  margin-bottom: 2rem;
  border-radius: 9px;
  background-color: #fff;
}

.btn:hover {
  background-color: #333;
  border: 2px solid #ccc;
  color: #fff;
}

nav a:hover {
  background-color: #333;
  color: #fff;
}

.big-image {
  width: 30%;
  margin-left: auto;
  margin-right: auto;
}

.text {
  margin-top: 5em;
  margin-left: 16em;
}

.wrapper {
  margin-left: 5em;
}

span {
  top: 100px;
  left: 90%;
  width: 100%;
}

@media only screen and (min-width: 25em) {

  nav li {
    display: inline-block;
    text-align: center;
    width: 45%;
  }

  p {
    padding-bottom: 2em;
    font-size: .6rem;
    text-align: center;
  }

  h4 {
    margin-left: auto;
    margin-right: auto;
    width: 12em;
    text-align: center;
  }

  .center {
    margin-top: -5em;
  }

  .content {
    top: -10rem;

    display: inline-block;
    text-align: center;
    width: 48%;
  }

}

@media only screen and (min-width: 38em) {

  html {
    font-size: 110%;
    line-height: 1.4;
    position: absolute;
  }

  p {
    padding-bottom: .9em;
    font-size: .7rem;
    text-align: center;
  }

  h4 {
    margin-left: auto;
    margin-right: auto;
    width: 19em;
    text-align: center;
  }

  .center {
    margin-top: -5em;
  }

  nav li {
    width: 20%;
  }

}

@media only screen and (min-width: 60em) {

  html {
    font-size: 120%;
    line-height: 1.5;
  }

  p {
    padding-bottom: .9em;
    font-size: 1rem;
    text-align: center;
  }

  h4 {
    margin-left: auto;
    margin-right: auto;
    width: 30em;
    text-align: center;
  }

  header {
    align-items: center;
    font-size: 120%;
    justify-content: space-between;
    display: flex;
  }

  .center {
    margin-top: -5em;
  }

  h1 {
    font-size: 120%;
  }

  nav li {
    width: auto;
  }

}

@media only screen and (min-width: 90em) {

  html {
    font-size: 130%;
  }

  .center {
    margin-top: -5em;
  }

  p {
    padding-bottom: 2em;
    font-size: 1rem;
    text-align: center;
  }

  h4 {
    margin-left: auto;
    margin-right: auto;
    width: 45em;
    text-align: center;
  }

  header {
    padding-left: 1rem;
    padding-right: 1rem;
    text-align: left;
  }

  h1,
  nav {
    display: inline-block;
    vertical-align: middle;
  }

  h1 {
    margin-bottom: 0;
    margin-right: 1.5rem;
  }

}
