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



h1{
    text-align: center;
    line-height: 80%;
}

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

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

.parent ul{
    list-style: disc;
    padding-left: 2em;
}

.div1 { grid-area: 1 / 1 / 2 / 3; }
.div2 { grid-area: 2 / 1 / 3 / 2; }
.div3 { grid-area: 2 / 2 / 3 / 3; }
.div4 { grid-area: 3 / 1 / 4 / 2; }
.div5 { grid-area: 3 / 2 / 4 / 3; }
.div6 { grid-area: 4 / 1 / 5 / 3; 
    
}
.div7 { grid-area: 5 / 1 / 6 / 3; 
    text-align: right;
}
.div8 { 
    grid-area: 1 / 3 / 7 / 4; 
}
.div9 { 
    grid-area: 6 / 1 / 7 / 3;
    padding: 5px;
    font-size: 18px;
    line-height : 1.6;
}





#remaining {
    color: black;
}



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

}

.clearButton {
    background: #d52d2b;
}



.copyButton {
    background: #1e7b1e;
}

.clearButton, .copyButton {
    color: #fff !important;
    text-transform: uppercase;
    text-decoration: none;
    padding: 20px;
    margin: 10px;
    
    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;
}

#screenTooSmall{
    display: none;
}




textarea {
    border: 5px solid #ccc;
    padding: 5px 5px;
    border-radius: 15px;
    height: 97%;

    white-space:initial;
    width: 99%;
    

    

    outline: none;
}



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






 
    .div2, .div3, .div4, .div5{
     
      padding:  0px 0px 0px 0px;
      font-size: 20px;
      text-transform: uppercase;
      line-height: 40px;
      text-align: center;
      
    }
    
    .div4, .div5 {
        font-size: 39px;
        
        
    }
    
     
    .div9 a {
        color: #1A73E8;

    }
     
  
  
  

  
  
  
  
  
  
@media only screen and (max-width: 900px) {
    
    .parent {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: 50px 30px 40px 375px 75px 1fr;
        grid-column-gap: 5px;
        grid-row-gap: 5px;
    }
    
    .div1 { grid-area: 1 / 1 / 2 / 3; }
    .div2 { grid-area: 2 / 1 / 3 / 2; }
    .div3 { grid-area: 2 / 2 / 3 / 3; }
    .div4 { grid-area: 3 / 1 / 4 / 2; }
    .div5 { grid-area: 3 / 2 / 4 / 3; }
    .div6 { grid-area: 4 / 1 / 5 / 3; 
        
    }
    .div7 { grid-area: 5 / 1 / 6 / 3; 
        text-align: right;
    }
    .div8 { 
        display: none;
    }
    .div9 { 
        grid-area: 6 / 1 / 7 / 3;
        padding: 5px;
    }
        
        
        
    }
  

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

    .parent {
        grid-template-rows: 50px 30px 40px 375px 75px 1fr;
    }
  
    
}


@media only screen and (max-width: 600px) {
    
    .parent {
        grid-template-rows: 60px 25px 40px 375px 75px 1fr;
   
    }
   
    .div2, .div3, .div4, .div5{
     
      font-size: 18px;
      line-height: 40px;
    }
    
    .div4, .div5 {
        font-size: 30px;
        
        
    }
    
      
      
}
  
  
  @media only screen and (max-width: 375px) {
      h1 {
       font-size: 22px;
       line-height: 22px;
   }
   
   
   .div2, .div3, .div4, .div5{
     
      font-size: 18px;
      line-height: 40px;
    }
    
    .div4, .div5 {
        font-size: 24px;
        
        
    }
      
      
  }
  

    

    
    




/* 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;}
}









