* {
    -webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
            box-sizing: border-box;
}
:root{
    --main-color : #DBEDFF;
}
html{
    font-size: 16px;
}
body{
    padding:0;
    margin:0;
    max-width:100vw;
    height:100vh;
    background-color:var(--main-color);
    
}
button{
    width: 5em;
    height:2.5em;
    border-radius: 4px;
    background-color:var(--main-color);
    margin-right: 10px; 
    background-color: #DBEDFF;
}
button.showHint {
    width: auto!important;
    font-size: .6em;
    font-family:Arial, Helvetica, sans-serif;
    background-color: aqua;
    border: 0px;
}
button.showHint:hover {
    cursor: pointer;
    background-color: beige;
}
.main-body{
    margin-left:auto;
    margin-right:auto;
    width: 70%;
    min-height: 100%;
    background-color:white;
    border: 1px solid black;
    
}

#outputMessage{
    color:rgb(207, 25, 25);
    font-weight: bold;
    font-size: 25px;
    margin: 20px auto;
}

#outputMessage .hintAnswer {
    background-color: beige;
    border-radius: 10px;
    box-sizing: border-box;
    font-weight: normal!important;
    max-width: 40%;
    margin: 5px auto;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.8em;
    font-style: normal!important;
    color: black!important;
}
span.hintJawa {
    font-family: "NgayogyanNew"!important;
}
.alphabets-block{
    display: block;
    margin-left: auto;
    margin-right: auto;
    padding-top: 5px;
    width: 45%;
}
.box-cell {
    display: inline-block;
}
img {
    width: 60px;
    height: 40px;
}
img[id^="drag"] {
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
    margin: 5px;
    touch-action: none;
}

.display-row {
    display: table;
    width: 50%;
    margin: 0px auto;
    border-spacing: 10px;
    table-layout: fixed;
}
.display-box {
    max-width: 85px;
    height: 65px;
    border: 3px solid var(--main-color);;
    display: table-cell;
    margin-right: 5px;
    margin-top: 10px;
    margin-bottom: 10px;
    box-sizing: border-box;
}
.display{
    margin-left: auto;
    margin-right: auto;
    max-width:90%;
}
section{
    padding-left: 5px;
    padding-right: 5px;
    text-align: center;
}
.title-box{
    font-family: 'Bungee Shade';
    font-size: 30px;
    margin-top: 5px;
    margin-bottom: 0px;
}
.description-box, #hints, button{
    font-family: 'Rampart One';
    margin-bottom: 5px;
    margin-top: 5px;
    font-weight: bold;
}

[draggable] {
    cursor: move;
}
@media screen and (max-width:1100px){
    img{
        width:65px;
        height:45px;
    }
    .display-box{
        width:70px;
        height:50px;
    }
}
@media screen and (max-width:750px){
    .alphabets-block{
      width:90%  
    }
    img{
        width:60px;
        height:40px;
    }
    .display-row {
        width: 100%;
    }
    .display-box{
        width:65px;
        height:45px;
    }
}
@media screen and (max-width:500px){
    body {
        width: 100vw;
        max-width: 100vw;
    }
    .main-body,.alphabets-block{
        width:100%;
        max-width: 100%;
    }
    section {
        width: 100%!important;
    }
    .display {
        width: 100%!important;
        max-width: 100$!important;
    }
    .display-row {
        width: 100%!important;
        max-width: 100%!important;
        display: block;
    }
    .box-cell {
        position: relative;
        width:65px;
        height:45px;
    }
    .main-body{
        max-width: 100%!important;
        width: 100%!important;
        border:3px solid rgb(158, 158, 218);
    }
    .box-cell > img {
        position: absolute;
        top: 0;
        left: 0;
    }
    .display-box > img {
        margin: 0px;
        max-width: 90%;
    }
    #outputMessage .hintAnswer {
        max-width: 90%!important;
    }
}

.highlight-container, .highlight {
    position: relative;
    font-family: "NgayogyanNew"!important;
}
  
.highlight-container {
    display: inline-block;
}
.highlight-container:before {
    content: " ";
    display: block;
    height: 90%;
    width: 100%;
    margin-left: -3px;
    margin-right: -3px;
    position: absolute;
    background: #ffd500;
    transform: rotate(2deg);
    top: -1px;
    left: -1px;
    border-radius: 20% 25% 20% 24%;
}
  
.modal {
    position: fixed;
    width: 100vw;
    height: 100vh;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .modal.open {
    visibility: visible;
    opacity: 1;
    transition-delay: 0s;
  }
  .modal-bg {
    position: absolute;
    background: teal;
    width: 100%;
    height: 100%;
  }
  .modal-container {
    border-radius: 10px;
    background: #fff;
    position: relative;
    padding: 30px;
  }
  .modal-close {
    position: absolute;
    right: 15px;
    top: 15px;
    outline: none;
    appearance: none;
    color: red;
    background: none;
    border: 0px;
    font-weight: bold;
    cursor: pointer;
  }
a.btn-modal {
  padding: 5px 10px;
  background: teal;
  font-size: 0.9em!important;
  color: #fff;
  font-weight: bold;
  border-radius: 10px;
  cursor: pointer;
}