

html {
  margin: 0;
  padding: 0;
  border: none;
  /*
  font-family: 'Chakra Petch', sans-serif;
  */
  font-family: 'Roboto', sans-serif;

}

p {
  margin-top: 1em ;
  margin-bottom: 1em ;
}

h1 {
    text-align: center;
    font-size: 40.5px;
    line-height: 0px;
    color: #5c0d09;
}

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



.clearButton {
    background: #d52d2b;
    float: right;
}

.copyButton {
    background: #1e7b1e;
    float: right;
}


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

.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;
}

#userWord {
    line-height: 20px;
}


#goRight{
    float: right;
}

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



#div2, #div3, #div4, #div5, #div6, #div7, #div8, #div20, #div21 {
    line-height: 0px;
    padding: 5px;
    color: #2e0604;
}

#div1 { grid-area: 1 / 1 / 2 / 4; 
    text-align: center;
}
#div2 { grid-area: 2 / 2 / 3 / 3; 
    text-align: center;
    font-size: 20px;
    line-height: 45px;
    background-color:  #d8d5f6;
    margin-bottom: -10px;


}
#div3 { grid-area: 2 / 3 / 3 / 4; 
    text-align: center;
    font-size: 20px;
    line-height: 45px;
    background-color:  #d8d5f6;    
    margin-bottom: -10px;
}
#div4 { grid-area: 3 / 2 / 4 / 3; 
    text-align: center;
    border: 1px solid #405DE6;
    font-size: 40px;
    line-height: 55px;
    background-color: #fff;

}
#div5 { grid-area: 2 / 3 / 3 / 4; 
    text-align: center;
    border: 1px solid #405DE6;
    font-size: 40px;
    line-height: 55px;
    background-color: #fff;
}

#div20 { grid-area: 3 / 1 / 4 / 2; 
    border: 1px solid #E62117;
    font-size: 20px;
    line-height: 16px;
    background-color: #fce8e7;
    border-radius: 10px;
}
#div21 { grid-area: 2 / 1 / 3 / 2; 
    border: 1px solid #E62117;
    font-size: 20px;
    line-height: 34px;
    background-color: #fce8e7;
    border-radius: 10px;
}


#div6 { grid-area: 4 / 1 / 5 / 2; 
    border: 1px solid #E62117;
    font-size: 20px;
    line-height: 30px;
    grid-column-gap: 0px;
    grid-row-gap: 0px;
    background-color:  #fce8e7;
    border-radius: 10px;

}
#div7 { grid-area: 5 / 1 / 6 / 2; 
    border: 1px solid #E62117;
    font-size: 20px;
    line-height: 30px;
    grid-column-gap: 0px;
    grid-row-gap: 0px;
    background-color: #fce8e7;
    border-radius: 10px;
}



#div8 { grid-area: 6 / 1 / 7 / 2; 
    border: 1px solid #E62117;    
    font-size: 20px;
    line-height: 30px;
    background-color: #fce8e7;
    border-radius: 10px;
}

#text {
    grid-area: 7 / 1 / 8 / 4;
    margin: 60px 0px 0px 0px;
    font-size: 18px;
    line-height : 1.6;
}






#div10 { grid-area: 2 / 2 / 7 / 4; 
}




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



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




 


  
  input {
    width: 95%;
  }
 


 
  
  #sidebar {
      grid-area: 1 / 4 / 8 / 5;
  }
 
   
  
  @media only screen and (max-width: 992px) {
      
      #sidebar {
          grid-area: 1 / 3 / 9 / 4;
      }
   
      
      h1 {
        text-align: center;
        font-size: 32px;
        line-height: 20px;
    }
      
      .parent {
        display: grid;
        grid-template-columns: repeat(2, 1fr) 300px;
        grid-template-rows: 60px 350px repeat(5, 50px) 1fr;
        grid-column-gap: 10px;
        grid-row-gap: 10px;
       }

    #div1 { grid-area: 1 / 1 / 2 / 3; }
    #div2 { grid-area: 2 / 1 / 3 / 2; 
        line-height: 30px;
    }
    #div3 { grid-area: 2 / 2 / 3 / 3; 
        line-height: 30px;
    }
    #div4 { grid-area: 3 / 1 / 4 / 2; 
        line-height: 40px;
    }
    #div5 { grid-area: 3 / 2 / 4 / 3; 
        line-height: 40px;
    }
    
    #div6 { grid-area: 5 / 1 / 6 / 3; 
        line-height: 40px;
    }
    #div7 { grid-area: 6 / 1 / 7 / 3; 
        line-height: 40px;
    }
    #div8 { grid-area: 7 / 1 / 8 / 3; 
        line-height: 40px;
    }
    
    
    #div20 { grid-area: 4 / 1 / 5 / 3; 
        line-height: 20px;
    }
    #div21 { grid-area: 3 / 1 / 4 / 3; 
       line-height: 40px;
    } 
    
    
    #div10 { 
        grid-area: 2 / 1 / 3 / 3;
        }
    
    #text {
        grid-area: 8 / 1 / 9 / 3;
        margin: 0px 0px 0px 0px;

    }


       
        
      
      
       
        
          
      
      
      
       
    
  

} 

@media only screen and (max-width: 768px) {
    
    h1 {
        font-size: 38px;
    }
    
   
    #sidebar {
          display: none;
      }
    
    .hide {
        display: none;
    }
    
    
    #div4, #div5{
        font-size: 30px;
    }
    
    
    .parent {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: 60px 1fr repeat(3, 50px);
        grid-column-gap: 8px;
        grid-row-gap: 8px;
    }
        
    
 
 
    
}

<!--

@media only screen and (max-width: 584px) {
   
        h1 {
        font-size: 28px;
        line-height: 16px;
    }
    
}


-->


@media only screen and (max-width: 550px) {
    
   
    
    
    .parent {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: 60px 1fr repeat(5, 50px);
        grid-column-gap: 4px;
        grid-row-gap: 4px;
    }
        
        #div1 { grid-area: 1 / 1 / 2 / 3; }
        #div2 { grid-area: 2 / 1 / 3 / 2; 
            line-height: 25px;
        }
        #div3 { grid-area: 2 / 2 / 3 / 3; 
            line-height: 25px;
        }
        #div4 { grid-area: 3 / 1 / 4 / 2; 
            font-size: 20px;
            line-height: 40px;
        }
        #div5 { grid-area: 3 / 2 / 4 / 3; 
            font-size: 20px;
            line-height: 40px;
        }
        #div6 { grid-area: 5 / 1 / 6 / 3; }
        #div7 { grid-area: 6 / 1 / 7 / 3; }
        #div8 { grid-area: 7 / 1 / 8 / 3; }

    
        #div20 { grid-area: 4 / 1 / 5 / 3;}
        #div21 { grid-area: 3 / 1 / 4 / 3;}
    
        #div10 { grid-area: 2 / 1 / 3 / 3; }
         
        #text {
            grid-area: 8 / 1 / 9 / 3;
        }
    


    textarea {
        height: 300px;
    }
    
    
    
     
      
     
}

@media only screen and (max-width: 480px) {
    
    h1 {
        text-align: center;
        font-size: 20px;
        line-height: 18px;
    }
}

/* Snack Bar Notification  */


#snackbar, #snackbarFail{
  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;
}

#snackbarFail{
    background-color: #d9534f;
}

#snackbar.show, #snackbarFail.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;}
}
  
  
  
  

    

    
    











