@import url('https://fonts.googleapis.com/css2?family=Poppins&display=swap');
p {
  margin-top: 1em;
  margin-bottom: 1em;
}

.my-bordered-text {
  text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black;
}

.separator {
  height: 25px;
}

tr {
  background: red;
}

table {
  font-family: "Anonymous Pro", monospace;
  border-collapse: separate !important;
}

th,
td {
  border: 1px solid black;
  text-align: center;
  vertical-align: middle;
}

.skippedCells {
  background-color: #eee !important;
  border: 1px dotted #eee;
}

#explanation {
  font-size: 16px;
  line-height: normal;
  text-align: left;
}

/* .show {
  display: none;
} */

#text-content {
  padding: 5px;

  font-size: 18px;
  line-height: 1.6;
}

.sidebar {
  grid-area: 1 / 5 / 8 / 6;
}

/*
    Start
*/

td {
  width: 24px;
  height: 24px;
  background-color: white;
  border-spacing: 0px 20px;
}

.parent {
  display: grid;
  grid-template-columns: repeat(4, 1fr) 300px;
  grid-template-rows: 55px repeat(2, 50px) 300px 75px 1fr;
  grid-column-gap: 5px;
  grid-row-gap: 0px;
  padding: 10px;
  max-width: 1200px;
  margin: auto;
}

#title {
  grid-area: 1 / 1 / 2 / 5;
  text-align: center;
}
#div1 {
  grid-area: 2 / 1 / 3 / 2;
}
#div2 {
  grid-area: 3 / 1 / 4 / 2;
}
#div3 {
  grid-area: 2 / 2 / 3 / 3;
}
#div4 {
  grid-area: 3 / 2 / 4 / 3;
}
#div5 {
  grid-area: 2 / 3 / 3 / 4;
}
#div6 {
  grid-area: 3 / 3 / 4 / 4;
}
#div7 {
  grid-area: 2 / 4 / 3 / 5;
}
#div8 {
  grid-area: 3 / 4 / 4 / 5;
}

#div2,
#div4,
#div6,
#div8 {
  border: 1px solid black;
  margin: 0px 0px 5px 0px;
}

/* textarea */
#div9 {
  grid-area: 4 / 1 / 5 / 5;
}

/* button box */
#div11 {
  grid-area: 5 / 1 / 6 / 5;
}

/* table */
#div10 {
  grid-area: 6 / 1 / 7 / 5;
}

#text-content {
  grid-area: 7 / 1 / 8 / 5;
}

#div1,
#div2,
#div3,
#div4,
#div5,
#div6,
#div7,
#div8,
#div9,
#div11 {
  text-align: center;
  font-size: 26px;
  line-height: 40px;
}

#div1,
#div3,
#div5,
#div7 {
  background: #fd7b3d;
  color: white;
}

#div2,
#div4,
#div6,
#div8 {
  background: white;
}

html {
  margin: 0;
  padding: 0;
  border: none;
  font-family: 'Poppins', sans-serif;
}

input[type="text"],
input[type="number"],
textarea {
  font-size: 16px;
}

.clearButton {
  background: #ac2e25;
}

.copyButton {
  background: #19601c;
}

.charPerSMS{
  position: absolute;
}

.clearButton,
.copyButton {
  color: #fff !important;
  text-transform: uppercase;
  text-decoration: none;
  padding: 5px;
  margin: 5px 0px 0 5px;
  font-size: 15px;
  display: inline;
  border-radius: 5px;
  border: none;
  transition: all 0.4s ease 0s;
  font-family: 'Poppins';
}

.clearButton:hover,
.copyButton:hover {
  background: #434343;
  -webkit-box-shadow: 0px 5px 40px -10px rgba(0, 0, 0, 0.57);
  -moz-box-shadow: 0px 5px 40px -10px rgba(0, 0, 0, 0.57);
  box-shadow: 5px 40px -10px rgba(0, 0, 0, 0.57);
  transition: all 0.4s ease 0s;
}

#userInput {
  line-height: 20px;
}

#text {
  width: 75%;
  margin: 0 auto;
}

.lineHeightOne {
  height: 1px;
}

.lineHeightNormal {
  height: 300px;
}

textarea {
  box-sizing: border-box;
  border: 5px solid #ccc;
  padding: 5px 5px;
  border-radius: 15px;
  height: 300px;
  width: 100%;
  outline: none;
  /* 
    white-space:initial;
    */
}

textarea:focus {
  border: 5px solid #555;
  -webkit-box-shadow: 0 8px 6px -6px #999;
  -moz-box-shadow: 0 8px 6px -6px #999;
  box-shadow: 0 8px 6px -6px #999;
}

.buttonBox {
  grid-area: 6/1/7/4;
}

.textAreaBox {
  grid-area: 1/1/10/4;
}

input {
  width: 95%;
}

@media only screen and (max-width: 992px) {
  .sidebar {
    display: none;
  }

  td {
    width: 24px;
    height: 24px;
    background-color: white;
    border-spacing: 0px 20px;
  }

  .parent {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: 55px repeat(2, 50px) 300px 75px 1fr;
    grid-column-gap: 5px;
    grid-row-gap: 0px;
  }

  #div1 {
    grid-area: 2 / 1 / 3 / 2;
  }
  #div2 {
    grid-area: 3 / 1 / 4 / 2;
  }
  #div3 {
    grid-area: 2 / 2 / 3 / 3;
  }
  #div4 {
    grid-area: 3 / 2 / 4 / 3;
  }
  #div5 {
    grid-area: 2 / 3 / 3 / 4;
  }
  #div6 {
    grid-area: 3 / 3 / 4 / 4;
  }
  #div7 {
    grid-area: 2 / 4 / 3 / 5;
  }
  #div8 {
    grid-area: 3 / 4 / 4 / 5;
  }

  /* textarea */
  #div9 {
    grid-area: 4 / 1 / 5 / 5;
  }

  /* button box */
  #div11 {
    grid-area: 5 / 1 / 6 / 5;
  }

  /* table */
  #div10 {
    grid-area: 6 / 1 / 7 / 5;
  }

  #text-content {
    grid-area: 7 / 1 / 8 / 5;
  }
}

@media only screen and (max-width: 768px) {

#div10{
  margin-top: 22px;
}

  td {
    width: 20px;
    height: 20px;
    background-color: white;
    border-spacing: 0px 20px;
  }

  #text {
    width: 100%;
  }

  .textAreaBox {
    grid-area: 1/1/3/3;
  }

  .buttonBox {
    grid-area: 3/1/4/3;
    margin: 0px 0px 0px 0px;
  }
}

@media only screen and (max-width: 550px) {
  #div1,
  #div2,
  #div3,
  #div4,
  #div5,
  #div6,
  #div7,
  #div8,
  #div9,
  #div11 {
    text-align: center;
    font-size: 16px;
    line-height: 30px;
  }

  td {
    width: 18px;
    height: 18px;
    background-color: white;
    border-spacing: 0px 15px;
    font-size: 14px;
  }
  .charPerSMS{
    position: relative;
    margin-bottom: -20px;
  }
}

@media only screen and (max-width: 480px) {
  td {
    width: 14px;
    height: 14px;
    background-color: white;
    border-spacing: 0px 10px;
    font-size: 10px;
  }
}

#copiedText,
#copiedTextBlank {
  visibility: hidden;
  min-width: 250px;
  margin-left: -125px;
  background-color: #5cb85c;
  color: #fff;
  text-align: center;
  border-radius: 2px;
  padding: 16px;
  position: fixed;
  z-index: 1;
  left: 50%;
  bottom: 30px;
  font-size: 17px;
}

#copiedTextBlank {
  background-color: #d9534f;
}

#copiedText.show,
#copiedTextBlank.show {
  visibility: visible;
  -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
  animation: fadein 0.5s, fadeout 0.5s 2.5s;
}

@-webkit-keyframes fadein {
  from {
    bottom: 0;
    opacity: 0;
  }
  to {
    bottom: 30px;
    opacity: 1;
  }
}

@keyframes fadein {
  from {
    bottom: 0;
    opacity: 0;
  }
  to {
    bottom: 30px;
    opacity: 1;
  }
}

@-webkit-keyframes fadeout {
  from {
    bottom: 30px;
    opacity: 1;
  }
  to {
    bottom: 0;
    opacity: 0;
  }
}

@keyframes fadeout {
  from {
    bottom: 30px;
    opacity: 1;
  }
  to {
    bottom: 0;
    opacity: 0;
  }
}

/* Custom CSS */
.parent div {
  color: #00000099;
}
#title h1 {
  color: black;
  margin-top: 5px;
}



      .key-container {
            display: flex;
            align-items: center;
            gap: 20px;
            padding: 10px 0px;
            width: fit-content;
            font-size: 12px;
        }
        .key-item {
            display: flex;
            align-items: center;
            gap: 10px;
        }
        .key-box {
            width: 20px;
            height: 20px;
            border-radius: 3px;
        }
        .gsm {
            background-color: lightgray;
        }
        .extended-gsm {
            background-color:#f34848;
        }
        .unicode {
            background-color: #f3f348;
        }