body {
  margin: 0;
  font-family: 'Roboto', sans-serif;
  font-style: normal;
  font-weight: normal;
  font-size: 1rem;
}

header {
  width: 100%;
  height: 80px;
  position: relative;
  box-shadow: 0px 1px 5px rgba(0, 0, 0, 0.1);
  background: white;
  z-index: 1;
}

#header-image {
  width: 184px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.datediff {
  padding: 10px 0;
}

.card-image {
  image-orientation: initial;
}

.card-text > .message {
  padding: 20px 0 30px 0;
}

#links {
  width: 100%;
  text-align: center;
  padding-bottom: 20px;
}

#links a img {
  height: 40px;
}

@media only screen and (max-width: 700px) {
  header {
    height: 60px;
  }

  .card {
    width: 100%;
  }

  .card-image, .card-text {
    width: 100%;
    display: block;
  }

  .card-image img {
    width: 100%;
  }

  .card-text {
    width: calc(100% - 40px);
    padding: 20px;
  }
}

@media only screen and (min-width: 700px) {
  header {
    height: 80px;
  }

  section#card-container {
    position: relative;
    width: 100%;
    padding-top: 100px;
    /*height: calc(100vh - 80px);*/
    text-align: center;
    z-index: 0;
  }

  .card {
    width: 100%;
    max-width: 700px;
    height: 460px;
    border-radius: 10px;
    text-align: left;
    box-shadow: 0px 1px 5px rgba(0, 0, 0, 0.1);
    position: relative;
    /*top: 50%;*/
    left: 50%;
    transform: translate(-50%, 0%);
    overflow: hidden;
    margin-bottom: 40px;
  }

  .card-image {
    position: relative;
    width: 50%;
    height: 100%;
  }

  .card-image img {
    width: 100%;
    height: 100%;
  }

  .card-text {
    position: relative;
    width: calc(50% - 80px);
    left: 50%;
    top: -100%;
    height: calc(100% - 80px);
    overflow-y: scroll;
    padding: 40px;
  }
}