* html,
body {
  font-size: 100%;
  font-family: "Amatic SC";
}

.title {
  box-sizing: border-box;
  font-size: 1rem;
  text-align: top;
  background: #023d6d;
  color: white;
  /*   padding: 0.2rem; */
  font-size: 0.5rem;
  box-shadow: 0 0.125rem 0.5rem rgba(0, 0, 0, 0.26);
  width: 100%;
  vertical-align: center;
}

/* 
.table {
  box-sizing: border-box;
}

.td-description {
  box-sizing: border-box;
}

.td-score {
  text-align: center;
  vertical-align: middle;

} */

/* Main buttons.*/

.button-main {
  align-self: center;
  background-color: #fff;
  background-image: none;
  background-position: 0 90%;
  background-repeat: repeat no-repeat;
  background-size: 0.25rem 0.188rem;
  border-radius: 0.938rem 14.063rem 15.938rem 0.938rem 0.938rem 15.938rem 14.063rem 0.938rem;
  border-style: solid;
  border-width: 0.125rem;
  box-shadow: rgba(0, 0, 0, .2) 0.938rem 1.75rem 1.563rem -1.125rem;
  box-sizing: border-box;
  color: #41403e;
  cursor: pointer;
  display: inline-block;
  font-family: inherit;
  font-size: 1.25rem;
  line-height: 0.20rem;
  outline: none;
  padding: .75rem;
  text-decoration: none;
  transition: all 235ms ease-in-out;
  border-bottom-left-radius: 0.938rem 15.938rem;
  border-bottom-right-radius: 15.938rem 0.938rem;
  border-top-left-radius: 15.938rem 0.938rem;
  border-top-right-radius: 0.938rem 225px;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
}

.button-main:hover {
  box-shadow: rgba(0, 0, 0, .3) 0.125rem 0.5rem 0.5rem -0.313rem;
  transform: translate3d(0, 0.125rem, 0);
  box-sizing: border-box;
}

.button-main:focus {
  box-shadow: rgba(0, 0, 0, .3) 0.125rem 0.5rem 0.25rem -0.375rem;
  box-sizing: border-box;
}

/* Score and dice buttons */

.button-score {
  align-self: center;
  background-color: #fff;
  background-image: none;
  background-position: 0 90%;
  background-repeat: repeat no-repeat;
  background-size: 0.25rem 0.188rem;
  border-radius: 0.938rem 14.063rem 15.938rem 0.938rem 0.938rem 15.938rem 14.063rem 0.938rem;
  border-style: solid;
  border-width: 0.125rem;
  box-shadow: rgba(0, 0, 0, .2) 0.938rem 1.75rem 1.563rem -1.125rem;
  box-sizing: border-box;
  color: #41403e;
  cursor: pointer;
  display: inline-block;
  font-family: Neucha, sans-serif;
  font-size: 1rem;
  line-height: 0.20rem;
  outline: none;
  padding: .75rem;
  text-decoration: none;
  transition: all 235ms ease-in-out;
  border-bottom-left-radius: 0.938rem 15.938rem;
  border-bottom-right-radius: 15.938rem 0.938rem;
  border-top-left-radius: 15.938rem 0.938rem;
  border-top-right-radius: 0.938rem 14.063rem;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
}

.button-score:hover {
  box-shadow: rgba(0, 0, 0, .3) 0.125rem 0.5rem 0.5rem -0.313rem;
  transform: translate3d(0, 2px, 0);
  box-sizing: border-box;
}

.button-score:focus {
  box-shadow: rgba(0, 0, 0, .3) 0.125rem 0.5rem 0.25rem -0.375rem;
  box-sizing: border-box;
}

.button-score {
  align-content: center;
  box-sizing: border-box;
}

/* The Modal (background) */
.modal {
  box-sizing: border-box;
  display: none;
  position: fixed;
  z-index: 1;
  padding-top: 6.25rem;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgb(0, 0, 0);
  background-color: rgba(0, 0, 0, 0.4);
  font-size: 1.5rem;
}

/* Modal Content */
.modal-content {
  background-color: #fefefe;
  margin: auto;
  padding: 1.25rem;
  border: 0.063rem solid #888;
  width: 80%;
  box-sizing: border-box;
}

/* The Close Button */
.close {
  color: #aaaaaa;
  float: right;
  font-size: 1.75rem;
  font-weight: bold;
  box-sizing: border-box;
}

.close:hover,
.close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
  box-sizing: border-box;
}

.col-1 {
  width: 8.33%;
}

.col-2 {
  width: 16.66%;
}

.col-3 {
  width: 25%;
}

.col-4 {
  width: 33.33%;
}

.col-5 {
  width: 41.66%;
}

.col-6 {
  width: 50%;
}

.col-7 {
  width: 58.33%;
}

.col-8 {
  width: 66.66%;
}

.col-9 {
  width: 75%;
}

.col-10 {
  width: 83.33%;
}

.col-11 {
  width: 91.66%;
}

.col-12 {
  width: 100%;
}


.row::after {
  content: "";
  clear: both;
  display: table;
}

[class*="col-"] {
  float: left;
  width: 100%;
  /*  padding: 15px;
  border: 1px solid red; */
}

/* Extra Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (max-height: 650px) {
  .col-s-1 {
    width: 8.33%;
  }

  .col-s-2 {
    width: 16.66%;
  }

  .col-s-3 {
    width: 25%;
  }

  .col-s-4 {
    width: 33.33%;
  }

  .col-s-5 {
    width: 41.66%;
  }

  .col-s-6 {
    width: 50%;
  }

  .col-s-7 {
    width: 58.33%;
  }

  .col-s-8 {
    width: 66.66%;
  }

  .col-s-9 {
    width: 75%;
  }

  .col-s-10 {
    width: 83.33%;
  }

  .col-s-11 {
    width: 91.66%;
  }

  .col-s-12 {
    width: 100%;
  }

  .button-main {
    font-size: 0.5rem;
    padding: .45rem;
    font-size: 1rem;
  }

  .button-score {
    font-size: 0.75rem;
    padding: .5rem;
  }

  .header {
    font-size: 0.5rem;
  }

  .title {
    font-size: 1rem;
    padding: 0.2rem;
  }

  .td-description {
    font-size: 0.5rem;
  }
}

/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (min-height: 650px) {
  .col-s-1 {
    width: 8.33%;
  }

  .col-s-2 {
    width: 16.66%;
  }

  .col-s-3 {
    width: 25%;
  }

  .col-s-4 {
    width: 33.33%;
  }

  .col-s-5 {
    width: 41.66%;
  }

  .col-s-6 {
    width: 50%;
  }

  .col-s-7 {
    width: 58.33%;
  }

  .col-s-8 {
    width: 66.66%;
  }

  .col-s-9 {
    width: 75%;
  }

  .col-s-10 {
    width: 83.33%;
  }

  .col-s-11 {
    width: 91.66%;
  }

  .col-s-12 {
    width: 100%;
  }

  .button-main {
    font-size: 1rem;
    padding: .5rem;
  }

  .button-score {
    font-size: 0.75rem;
    padding: .5rem;
  }

  .header {
    font-size: 0.5rem;
  }

  .title {
    font-size: 1.25rem;
    padding: 0.2rem;
  }

  .td-description {
    font-size: 1rem;
  }

  .modal {
    font-size: 1rem; 
  }
}

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-height: 730px) {
  .col-m-1 {
    width: 8.33%;
  }

  .col-m-2 {
    width: 16.66%;
  }

  .col-m-3 {
    width: 25%;
  }

  .col-m-4 {
    width: 33.33%;
  }

  .col-m-5 {
    width: 41.66%;
  }

  .col-m-6 {
    width: 50%;
  }

  .col-m-7 {
    width: 58.33%;
  }

  .col-m-8 {
    width: 66.66%;
  }

  .col-m-9 {
    width: 75%;
  }

  .col-m-10 {
    width: 83.33%;
  }

  .col-m-11 {
    width: 91.66%;
  }

  .col-m-12 {
    width: 100%;
  }

  .button-main {
    font-size: 1rem;
    padding: .6rem;
    font-size: 1.35rem;
  }

  .button-score {
    font-size: 1rem;
    padding: .60rem;
  }

  .header {
    font-size: 0.5rem;
  }

  .title {
    font-size: 1.5rem;
    padding: 0.2rem;
  }

  .td-description {
    font-size: 1.35rem;
  }

  .modal {
    font-size: 1.35rem; 
  }
}

/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-height: 820px) {
  .col-l-1 {
    width: 8.33%;
  }

  .col-l-2 {
    width: 16.66%;
  }

  .col-l-3 {
    width: 25%;
  }

  .col-l-4 {
    width: 33.33%;
  }

  .col-l-5 {
    width: 41.66%;
  }

  .col-l-6 {
    width: 50%;
  }

  .col-l-7 {
    width: 58.33%;
  }

  .col-l-8 {
    width: 66.66%;
  }

  .col-l-9 {
    width: 75%;
  }

  .col-l-10 {
    width: 83.33%;
  }

  .col-l-11 {
    width: 91.66%;
  }

  .col-l-12 {
    width: 100%;
  }

  .button-main {
    font-size: 1.25rem;
    padding: 0.7rem;
    font-size: 1.6rem;
  }

  .button-score {
    font-size: 1.25rem;
    padding: 0.7rem;
  }

  .header {
    font-size: 0.5rem;
    padding: 2rem;
  }

  .title {
    font-size: 1.8rem;
    padding: 0.2rem;
  }

  .td-description {
    font-size: 1.6rem;
  }

  .modal {
    font-size: 1.6rem; 
  }

  /* Extra Large devices (laptops/desktops, 992px and up) */
  @media only screen and (min-height: 1024px) {
    .col-xl-1 {
      width: 8.33%;
    }

    .col-xl-2 {
      width: 16.66%;
    }

    .col-xl-3 {
      width: 25%;
    }

    .col-xl-4 {
      width: 33.33%;
    }

    .col-xl-5 {
      width: 41.66%;
    }

    .col-xl-6 {
      width: 50%;
    }

    .col-xl-7 {
      width: 58.33%;
    }

    .col-xl-8 {
      width: 66.66%;
    }

    .col-xl-9 {
      width: 75%;
    }

    .col-xl-10 {
      width: 83.33%;
    }

    .col-xl-11 {
      width: 91.66%;
    }

    .col-xl-12 {
      width: 100%;
    }

    .button-main {
      font-size: 1.25rem;
      padding: 1rem;
      font-size: 1.75rem;
    }

    .button-score {
      font-size: 1.25rem;
      padding: 1rem;
    }

    .header {
      font-size: 2.5rem;
      padding: 4rem;
    }

    .title {
      font-size: 2.25rem;
      padding: 0.2rem;
    }


    .td-description {
      font-size: 2rem;
    }

    .modal {
      font-size: 2rem; 
    }
  }
}