@import url('https://fonts.googleapis.com/css?family=Abel');

html, body {
  background: #04552c;
}

.cards_body h1 {
  color: #04552c;
  font-weight: bold;
}

.buttons {
  display: flex;
  justify-content: center;
  padding: 10px;
}

.button-spacer {
  width: 1rem;
}

.cards_body {
  background: #ffffff;
}

.display_content {
  overflow: auto;
}

.center {
  min-height: calc(100vh - 180px);
  margin-bottom: 22px;
}

@media screen and (min-width: 768px) {
  .center {
    margin-top: 110px;
  }

  .img_center {
    position: absolute;
    left: 50%;
    -webkit-transform: translate(-50%, 0%);
    padding: 0.5rem 0.5rem;
  }

  .card {
    width: auto; /* 28-5 */
    min-height: 170px;
    height: auto;
    background: #fff linear-gradient(#f8f8f8, #fff);
    box-shadow: 0 8px 16px -8px rgba(0, 0, 0, 0.4);
    border-radius: 6px;
    /*overflow: hidden;*/
    position: relative;
    margin: 0.5rem; /* 28-5 */
    display: flex;
    align-items: flex-start;
    align-content: flex-start;
  }

  .card h2 {
    /*text-align: center;*/
    margin: 0;
    font-size: 1.75rem;
  }

  .cards_body {
    /*padding: 4%;*/
    width: 100%;
    background: #ffffff;
    border-radius: 1%;
  }

  .cards_body h1 {
    text-align: center;
    font-size: 2rem;
  }

  .card p {
    margin: 0.5em !important;
  }

  .card .additional {
    position: absolute;
    width: 150px;
    height: 100%;
    background: #800020;
    transition: width 0.4s;
    overflow: hidden;
    z-index: 2;
    cursor: pointer;
  }

  .card.green .additional {
    background: #800020;
    cursor: pointer;
  }


  .card .additional:hover {
    width: 60%;
    border-radius: 0 5px 5px 0;
  }

  .card .additional .user-card {
    width: 150px;
    height: 100%;
    position: relative;
    float: left;
  }

  .card .additional .user-card::after {
    content: "";
    display: block;
    position: absolute;
    top: 10%;
    right: -2px;
    height: 80%;
    border-left: 2px solid rgba(0, 0, 0, 0.025);
  }

  .card .additional .user-card .level,
  .card .additional .user-card .points {
    margin: auto;
    height: 100%;
    color: #fff;
    text-transform: uppercase;
    font-size: 0.75em;
    font-weight: bold;
    /*background: #fa8072;*/ /* 28-5 */
    /*padding: 1rem 1rem;*/
    border-radius: 10%;
    white-space: nowrap;
  }

  .card.green .additional .user-card .level {
    /*background-color: lightgreen !important;*/ /* 28-5 */
  }

  .card .additional .user-card .level img {
    border-radius: 10%;
  }

  .card .additional .user-card .points {
    top: 85%;
  }

  .card .additional .user-card svg {
    top: 50%;
  }

  .card .additional .more-info {
    width: auto;
    float: left;
    position: absolute;
    left: 150px;
    height: 100%;
  }


  .card .additional .more-info h2 {
    color: #fff;
    margin-bottom: 0;
  }

  .card.green .additional .more-info h2 {
    color: #fff; /* 28-5 */
  }

  .card .additional .coords {
    margin: 0 1rem;
    color: #fff;
    font-size: 1rem;
  }

  .card.green .additional .coords {
    color: #fff; /* 28-5 */
  }


  .card .additional .stats {
    font-size: 2rem;
    display: flex;
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    right: 1rem;
    top: auto;
    color: #fff;
  }

  .card.green .additional .stats {
    color: #325C46;
  }

  .card .additional .stats > div {
    flex: 1;
    text-align: center;
  }

  .card .additional .stats i {
    display: block;
  }

  .card .additional .stats div.title {
    font-size: 0.75rem;
    font-weight: bold;
    text-transform: uppercase;
  }

  .card .additional .stats div.value {
    font-size: 1.5rem;
    font-weight: bold;
    line-height: 1.5rem;
  }

  .card .additional .stats div.value.infinity {
    font-size: 2.5rem;
  }

  .card .general {
    height: auto;
    /*position: absolute;*/
    top: 0;
    right: 0;
    margin-left: 150px;
    z-index: 1;
    box-sizing: border-box;
    padding: 0 1rem 1rem;
  }

  .card .general .more {
    position: absolute;
    bottom: 0.3rem;
    right: 1rem;
    font-size: 0.9em;
  }
}


@media screen and (max-width: 767px) {
  .center, .img_center {
    padding-top: 22px;
    padding-left: 2%;
    padding-right: 2%; /* 28-5 */
    width: auto;
  }

  .card {
    /*width: 300px !important;*/ /*28-5*/
    min-height: 147px;
    height: auto;
    background: #fff linear-gradient(#f8f8f8, #fff);
    box-shadow: 0 8px 16px -8px rgba(0, 0, 0, 0.4);
    border-radius: 6px;
    overflow: hidden;
    position: relative;
    margin: 0.3rem 0 0.1rem 0; /* 28-5 */
    display: flex;
    align-items: flex-start;
    align-content: flex-start;
  }


  .card h2 {
    margin: 0 !important;
    font-size: 1rem; /* 28-5 */
  }

  .cards_body {
    padding: 2%;
    width: 100% !important;
    border-radius: 1%;
  }

  .cards_body h1 {
    text-align: center;
    font-size: 1.5rem;
  }

  .card p {
    margin: 0.5em !important;
    font-size: 11px;
  }

  .card .additional {
    position: absolute;
    width: 90px;
    height: 100%;
    background: #800020;
    transition: width 0.4s;
    overflow: hidden;
    z-index: 2;
  }

  .card.green .additional {
    background: #800020;
  }


  .card .additional:hover {
    width: 75%; /* 28-5 */
    border-radius: 0 5px 5px 0;
  }

  .card .additional .user-card {
    width: 90px;
    height: 100%;
    position: relative;
    float: left;
  }

  .card .additional .user-card::after {
    content: "";
    display: block;
    position: absolute;
    top: 10%;
    right: -2px;
    height: 80%;
    border-left: 2px solid rgba(0, 0, 0, 0.025);
  }

  .card .additional .user-card .level,
  .card .additional .user-card .points {
    margin: auto;
    height: 100%;
    color: #fff;
    text-transform: uppercase;
    font-size: 0.75em;
    font-weight: bold;
    /*background: #fa8072;*/ /* 28-5 */
    border-radius: 20%;
    white-space: nowrap;
    text-align: center;
  }

  .card.green .additional .user-card .level {
    /*background-color: lightgreen !important;*/ /* 28-5 */
  }

  .card .additional .user-card .level img {
    border-radius: 10%;
  }

  .card .additional .user-card .points {
    top: 85%;
  }

  .card .additional .user-card svg {
    top: 50%;
  }

  .card .additional .more-info {
    width: auto;
    float: left;
    position: absolute;
    left: 100px;
    height: 100%;
  }

  .card .additional .more-info h2 {
    color: #fff;
    margin-bottom: 0;
  }

  .card.green .additional .more-info h2 {
    color: #fff; /* 28-5 */
  }

  .card .additional .coords {
    margin: 0 1rem;
    color: #fff;
    font-size: 0.8rem; /* 28-5 */
  }

  .card.green .additional .coords {
    color: #fff; /* 28-5 */
  }

  .card .additional .stats {
    font-size: 2rem;
    display: flex;
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    right: 1rem;
    top: auto;
    color: #fff;
  }

  .card.green .additional .stats {
    color: #325C46;
  }

  .card .additional .stats > div {
    flex: 1;
    text-align: center;
  }

  .card .additional .stats i {
    display: block;
  }

  .card .additional .stats div.title {
    font-size: 0.75rem;
    font-weight: bold;
    text-transform: uppercase;
  }

  .card .additional .stats div.value {
    font-size: 1.5rem;
    font-weight: bold;
    line-height: 1.5rem;
  }

  .card .additional .stats div.value.infinity {
    font-size: 2.5rem;
  }

  .card .general {
    height: auto;
    /*position: absolute;*/
    top: 0;
    right: 0;
    margin-left: 95px; /*28-5*/
    z-index: 1;
    box-sizing: border-box;
    /*padding: 1rem;*/
    /*padding-left: 1.2rem;*/
    padding-top: 0;
  }

  .card .general .more {
    position: absolute;
    bottom: 0.3rem;
    right: 1rem;
    font-size: 0.9em;
  }
}

@media screen and (min-width: 768px) and (max-width: 1023px) {
  .center {
    /*top: 110px;*/
    /*position: absolute;*/
    /*left: 50%;*/
    /*-webkit-transform: translate(-50%, 0%);*/
    margin-left: 3%;
    margin-right: 3%; /* 28-5 */
    margin-top: 110px;
    /*margin: 0;*/
  }

  .img_center {
    left: 50%;
    -webkit-transform: translate(-50%, 0%);
  }

  .card {
    width: auto; /* 28-5 */
    min-height: 170px;
    height: auto;
    background: #fff linear-gradient(#f8f8f8, #fff);
    box-shadow: 0 8px 16px -8px rgba(0, 0, 0, 0.4);
    border-radius: 6px;
    overflow: hidden;
    position: relative;
    margin: 0.5rem; /* 28-5 */
    display: flex;
    align-items: flex-start;
    align-content: flex-start;
  }

  .card h2 {
    /*text-align: center;*/
    margin: 0 !important;
    font-size: 18px;
  }

  .cards_body {
    /*padding: 4%;*/
    /*width: 768px;*/ /* 28-5 */
    background: rgba(194 193 192 / 21%);
    border-radius: 1%;
  }

  .cards_body h1 {
    text-align: center;
    font-size: 25px;
  }

  .card p {
    margin: 0.5em !important;
    font-size: 16px;
  }

  .card .additional {
    position: absolute;
    width: 150px;
    height: 100%;
    background: #800020;
    transition: width 0.4s;
    overflow: hidden;
    z-index: 2;
  }

  .card.green .additional {
    background: #800020;
  }

  .card .additional:hover {
    width: 60%;
    border-radius: 0 5px 5px 0;
  }

  .card .additional .user-card {
    width: 150px;
    height: 100%;
    position: relative;
    float: left;
  }

  .card .additional .user-card::after {
    content: "";
    display: block;
    position: absolute;
    top: 10%;
    right: -2px;
    height: 80%;
    border-left: 2px solid rgba(0, 0, 0, 0.025);
  }

  .card .additional .user-card .level,
  .card .additional .user-card .points {
    margin: auto;
    height: 100%;
    color: #fff;
    text-transform: uppercase;
    font-size: 0.75em;
    font-weight: bold;
    /*background: #fa8072;*/ /* 28-5 */
    /*padding: 1rem 1rem;*/
    border-radius: 10%;
    white-space: nowrap;
  }

  .card.green .additional .user-card .level {
    /*background-color: lightgreen !important;*/ /* 28-5 */
  }

  .card .additional .user-card .level img {
    border-radius: 10%;
  }

  .card .additional .user-card .points {
    top: 85%;
  }

  .card .additional .user-card svg {
    top: 50%;
  }

  .card .additional .more-info {
    width: auto;
    float: left;
    position: absolute;
    left: 150px;
    height: 100%;
  }

  .card .additional .more-info h2 {
    color: #fff;
    margin-bottom: 0;
  }

  .card.green .additional .more-info h2 {
    color: #fff; /* 28-5 */
  }

  .card .additional .coords {
    margin: 0 1rem;
    color: #fff;
    font-size: 1rem;
  }

  .card.green .additional .coords {
    color: #fff; /* 28-5 */
  }

  .card .additional .stats {
    font-size: 2rem;
    display: flex;
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    right: 1rem;
    top: auto;
    color: #fff;
  }

  .card.green .additional .stats {
    color: #325C46;
  }

  .card .additional .stats > div {
    flex: 1;
    text-align: center;
  }

  .card .additional .stats i {
    display: block;
  }

  .card .additional .stats div.title {
    font-size: 0.75rem;
    font-weight: bold;
    text-transform: uppercase;
  }

  .card .additional .stats div.value {
    font-size: 1.5rem;
    font-weight: bold;
    line-height: 1.5rem;
  }

  .card .additional .stats div.value.infinity {
    font-size: 2.5rem;
  }

  .card .general {
    height: auto;
    /*position: absolute;*/
    top: 0;
    right: 0;
    /*left: 20%;*/
    z-index: 1;
    box-sizing: border-box;
    padding: 0 1rem 1rem;
  }

  .card .general .more {
    position: absolute;
    bottom: 0.3rem;
    right: 1rem;
    font-size: 0.9em;
  }
}

@media screen and (min-width: 768px) {
  .click1 {
    background-color: #04552c;
    font-size: 20px;
    border-radius: 4px;
    padding: 8px;
    position: relative;
    bottom: -10px;
  }

  .click1, .click1:visited, .click1:link {
    color: white;
  }

  .click1:hover {
    text-decoration: none;
    background-color: #4CAF50;
    color: white;

  }

  .click, .click:visited, .click:link {
    color: white;
  }

  .click:hover {
    text-decoration: none;
    background-color: #4CAF50;
    color: white;

  }

  .click {
    background-color: #04552c;
    font-size: 20px;
    border-radius: 4px;
    padding: 8px;
    position: relative;
    bottom: -10px;
  }
}

@media screen and (width: 320px) {
  .card {
    width: 280px;
    min-height: 187px;
    background: #fff linear-gradient(#f8f8f8, #fff);
    box-shadow: 0 8px 16px -8px rgb(0 0 0 / 40%);
    border-radius: 6px;
    overflow: hidden;
    position: relative;
    margin: 0.3rem 0 0.1rem 0.4rem; /*28-5*/
    display: flex;
    align-items: flex-start;
    align-content: flex-start;
    height: auto;

  }

  .cards_body {
    border-radius: 1%;
  }

  .click {
    background-color: #04552c;
    font-size: 13px;
    border-radius: 4px;
    padding: 3px;
    position: relative;

  }

  .click1 {
    background-color: #04552c;
    font-size: 13px;
    border-radius: 4px;
    padding: 3px;
    position: relative;
  }

  .click1, .click1:visited, .click1:link {
    color: white;
  }

  .click1:hover {
    text-decoration: none;
    background-color: #4CAF50;
    color: white;
  }

  .click, .click:visited, .click:link {
    color: white;
  }

  .click:hover {
    text-decoration: none;
    background-color: #4CAF50;
    color: white;
  }
}

@media screen and (min-width: 1025px) {
  .center {
    margin: 110px 20% 20px;
  }
}

@media screen and (width: 1024px) {
  .center { /* 28-5 */
    margin-left: 3%;
    margin-right: 3%;
  }

  .card {
    width: auto;
  }
}
