/* Variabes */
/* Mixin's */

@import url('https://fonts.googleapis.com/css2?family=Kalam:wght@300;400;700&display=swap');




body {
  font-family: "Kalam", cursive;
  font-weight: 600;
  font-style: normal;

  /* font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif; */
  color: #1d27b3;
  text-align: center;
  font-size: 20px;
  height: 100%;

  background-color: #dee2e6;

  background-size: cover;
}

.wrappper {
  width: 100%;
  margin: 0 auto;
}
.wrappper:after {
  content: "";
  display: table;
  clear: both;
}

canvas {
  color: #1d27b3;
  border: #1d27b3 dashed 4px;
  padding: 15px;
}

h1,
h2,
h3 {
  color: #d3bfbf;
  font-weight: 600;
  text-transform: uppercase;
  margin: 5px 0;
}

h1 {
  font-size: 2.6em;
  color: #1d27b3;
}

h2 {
  font-size: 1.6em;
}

p {
  font-size: 1.6em;
}
@keyframes fall {
  0% {
    transform: translateY(-100vh);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

.title-letter {
  display: inline-block;
  animation: fall 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
  opacity: 0;
}
#alphabet {
  margin: 15px auto;
  padding: 0;
  max-width: 900px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
#alphabet:after {
  content: "";
  display: table;
  clear: both;
}

.modal {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transform: scale(1.1);
  z-index: 999999;
  transition: visibility 0s linear 0.25s, opacity 0.25s 0s, transform 0.25s;
}

.modal-content {
  position: absolute;
  line-height: 45px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #1d27b3;
  padding: 20px 20px 35px;
  width: 35rem;
  font-size: 10px;
  border-radius: 0.5rem;
}
.modal-content h1{
  padding-bottom: 35px;
  padding-top: 35px;
  margin: 0px;
  font-weight: 600;
}
.modal-btn {
  border: 1px solid white;
  width: 8rem;
  font-size: 22px;
  font-weight: 600;
  padding: 12px 10px;
}
.modal-btn:hover {
cursor: pointer;
}

.close-button {
  border-radius: 14px;
  width: 30px;
  height: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  cursor: pointer;
  right: 10px;
  top: 10px;
  position: absolute;
  background-color: #d3d3d385;
  border-radius: 30px;
  font-size: 22px;
}
.close-button:hover {
  background-color: #d3d3d370;
  
}
.show-modal {
  opacity: 1;
  visibility: visible;
  transform: scale(1.0);
  transition: visibility 0s linear 0s, opacity 0.25s 0s, transform 0.25s;
}

#alphabet li {
  float: left;
  margin: 0 14px 14px 0;
  list-style: none;
  width: 41px;
  height: 42px;
  padding-top: 10px;
  background: #d3bfbfd0;
  color: hsla(242, 88.4%, 45.3%, 1);
  cursor: pointer;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  border-radius: 5px;
  -khtml-border-radius: 5px;
  border: solid 1px #1d27b3;
}
#alphabet li:hover {
  background: #d3bfbf;
  border: solid 1px #fff;
  color: hsla(242, 88.4%, 45.3%, 1);
}

#my-word {
  margin: 0;
  display: block;
  padding: 0;
  display: block;
}

#my-word li {
  position: relative;
  list-style: none;
  margin: 0;
  display: inline-block;
  padding: 0 10px;
  font-size: 1.6em;
}

.active {
  opacity: 0.4;
  filter: alpha(opacity=40);
  -moz-transition: all 1s ease-in;
  -moz-transition: all 0.3s ease-in-out;
  -webkit-transition: all 0.3s ease-in-out;
  cursor: default;
}
.active:hover {
  -moz-transition: all 1s ease-in;
  -moz-transition: all 0.3s ease-in-out;
  -webkit-transition: all 0.3s ease-in-out;
  opacity: 0.4;
  filter: alpha(opacity=40);
  -moz-transition: all 1s ease-in;
  -moz-transition: all 0.3s ease-in-out;
  -webkit-transition: all 0.3s ease-in-out;
}

#mylives {
  font-size: 1.7em;
  text-align: center;
  display: block;
  color: rgb(58, 201, 58);
}

button {
  font-family: "Kalam", cursive;
  font-weight: 600;
  font-style: normal;
  border-radius: 14px;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  border-radius: 5px;
  -khtml-border-radius: 5px;
  background: rgb(90, 85, 223);
  color: #fff;
  border: solid 1px #fff;
  text-decoration: none;
  cursor: pointer;
  font-size: 1.2em;
  padding: 18px 10px;
  width: 180px;
  margin: 10px;
  outline: none;
}
button:hover {
  border-radius: 14px;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  background: #1d27b3;
  border: solid 1px #fff;
  color: #d3bfbf;
}


  body{  scale: 0.6;
    top: -98px;
    left: 10px;
    right: 10px;
    position: absolute;}

@media (max-width: 767.98px) { 

  h1 {
    font-size: 2.1em;
   }
 }

@media (max-width: 767px) {
  
  #alphabet {
    padding: 0 0 0 15px;
  }
}
@media (max-width: 480px) {
  #alphabet {
    padding: 0 0 0 25px;
  }
}
