





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: 32px;
    line-height: 24px;
    color: #0077B5
}

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, .tweetButton: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: 250px repeat(2, 1fr) 300px;
    grid-template-rows: 60px 40px 60px 65px repeat(4, 50px) 1fr;
    grid-column-gap: 10px;
    grid-row-gap: 10px;
    padding: 10px;
    max-width: 1200px;
    margin: auto;
}

#text {
    grid-area: 9 / 1 / 10 / 4;
    margin: 50px 0px 0px 0px;
    font-size: 18px;
    line-height : 1.6;
}

#div12{
    grid-area: 1 / 1 / 5 / 2;
    
    margin: -10px 0 0 0;

}

#div2, #div3, #div4, #div5, #div6, #div7, #div8, #div9 {
    line-height: 35px;
    padding: 5px;
}

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


}
#div3 { grid-area: 2 / 3 / 3 / 4; 
    text-align: center;
    font-size: 20px;
    line-height: 35px;
    background-color:  #cce3f0;    
    margin-bottom: -10px;
}
#div4 { grid-area: 3 / 2 / 4 / 3; 
    text-align: center;
    border: 1px solid #0077b5;
    font-size: 28px;
    line-height: 40px;
    background-color: #fff;

}
#div5 { grid-area: 3 / 3 / 4 / 4; 
    text-align: center;
    border: 1px solid #0077b5;
    font-size: 30px;
    line-height: 40px;
    background-color: #fff;
}
#div6 { grid-area: 5 / 1 / 6 / 2; 
    border: 1px solid #0077b5;
    font-size: 20px;
    line-height: 20px;
    grid-column-gap: 0px;
    grid-row-gap: 0px;
    background-color:  #e5f1f7;
    border-radius: 10px;

}
#div7 { grid-area: 6 / 1 / 7 / 2; 
    border: 1px solid #0077b5;
    font-size: 20px;
    line-height: 22px;
    grid-column-gap: 0px;
    grid-row-gap: 0px;
    background-color: #e5f1f7;
    border-radius: 10px;
}
#div8 { grid-area: 7 / 1 / 8 / 2; 
    border: 1px solid #0077b5;    
    font-size: 20px;
    line-height: 20px;
    background-color: #e5f1f7;
    border-radius: 10px;
}
#div9 { grid-area: 8 / 1 / 9 / 2; 
    border: 1px solid #0077b5;
    font-size: 20px;
    line-height: 40px;
    background-color: #e5f1f7;
    border-radius: 10px;
}

#sidebar {
    grid-area: 1 / 4 / 10 / 5; 
}




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

#div11 { grid-area: 1 / 4 / 9 / 5; 
}






.lineHeightOne {
    height: 1px;
}

.lineHeightNormal {
    height: 300px;
}

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



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


#synonymWord {
    color: #fff !important;
    text-transform: uppercase;
    text-decoration: none;
    padding: 15px;
    margin: 5px 0px 0px 5px;
    line-height: 2px;
    height: 15px;
    background: #808080;
    /*
    background: #32CD32;
    */
    display: inline;
    border-radius: 5px;
    border: none;
    transition: all 0.4s ease 0s;
}

#synonymWord: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;
}


 
  #item1 {
      border-radius: 5px;
      border: 3px 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;
      padding:  0px 0px 0px 5px;
      font-size: 36px;
      line-height: 46px;
      
    }
    
    #item2, #item3, #item4, #item5, #item6, #item7, #item8{
      background:LightGray;
      margin: 5px 0px;
      border: 3px solid #555;
      border-radius: 5px;
      padding: 5px;
      -webkit-box-shadow: 0 8px 6px -6px #999;
      -moz-box-shadow: 0 8px 6px -6px #999;
      box-shadow: 0 8px 6px -6px #999;
      font-size: 18px;
      line-height: 25px;
    }
    
     
        
     
  #item1{
    grid-area: 1/1/2/4;
  }
 
  #item2{
    grid-area: 1/1/2/2;
  }
  
  #item3{
    grid-area: 2/1/3/2;
  }
  
  #item4{
    grid-area: 3/1/4/2;
  }
  
  #item5{
    grid-area: 4/1/5/2;
  }
  
  

  
  input {
    width: 95%;
  }


  .containerBox {
    box-sizing: border-box;
    padding: 5px;
    width: 100%;
    display: grid;
    grid-template-columns: 250px 1fr 300px 180px;
    grid-template-rows: 65px 65px 65px 65px 30px;
    grid-column-gap: 15px;
    grid-row-gap: 3px;
  }
 
  
  #containerOutput {

    margin: 0 0 0 0px;
    padding: 5px;
    width: 100%;
    display: grid;
    grid-template-columns: 250px 1fr 1fr 180px;
    grid-template-rows: 40px 50px;
    box-sizing: border-box;
  }
  
  
  #num3 {
      grid-area: 1/3/2/4;
  }
  #num1 {
      grid-area: 2/2/3/3;
  }
  
  
  #num4 {
      grid-area: 1/2/2/3;
  }
  #num2 {
      grid-area: 2/3/3/4;
  }
  
  
  #num1, #num2, #num3, #num4 {
     
      background:LightPink;
      padding:  0px 0px 0px 0px;
      font-size: 20px;
      text-transform: uppercase;
      line-height: 40px;
      text-align: center;
      
      font-family: 'Roboto', sans-serif;
      
    }
    
    #num1, #num2{
        font-size: 39px;
        
        
    }

  
  @media only screen and (max-width: 992px) {
      
     
      #sidebar {
        grid-area: 1 / 3 / 10 / 4; 
    }
      
      #div12{
          display: none;
      }
      
     
      
      .parent {
        display: grid;
        grid-template-columns: repeat(2, 1fr) 300px;
        grid-template-rows: 60px 30px 50px 375px repeat(4, 50px) 1fr;
        grid-column-gap: 10px;
        grid-row-gap: 10px;
       }

    #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; 
        font-size: 22px;

    }
    #div5 { 
        grid-area: 3 / 2 / 4 / 3;
        font-size: 22px;

    }
    #div6 { grid-area: 5 / 1 / 6 / 3; 
        
    }
    #div7 { grid-area: 6 / 1 / 7 / 3; 
    }
    #div8 { grid-area: 7 / 1 / 8 / 3; 
    }
    #div9 { grid-area: 8 / 1 / 9 / 3; 
        line-height: 40px;
    }
    #div10 { 
        grid-area: 4 / 1 / 5 / 3;
    }
    #div11 { grid-area: 1 / 3 / 7 / 4; }
    
    #text {
        grid-area: 9 / 1 / 10 / 3;
        margin: 0px 0px 0px 0px;
    }


} 


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

    .hide {
            display: none;
        }
}



@media only screen and (max-width: 768px) {
    
    h1{
        font-size: 30.5px;

    }
    
 
    #sidebar {
        display: none; 
    }
    
    .hide {
        display: none;
    }
    
    
   
    
    
    .parent {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: 60px 30px 50px 1fr repeat(2, 50px);
        grid-column-gap: 8px;
        grid-row-gap: 8px;
    }
        
        
    #div6 { grid-area: 5 / 1 / 6 / 2; 
        
    }
    #div7 { grid-area: 5 / 2 / 6 / 3; 
    }
    #div8 { grid-area: 6 / 1 / 7 / 2; 
    }
    #div9 { grid-area: 6 / 2 / 7 / 3; 
        line-height: 40px;
    }
    
    #div11{
        display: none;
    }
    
    
    
    #containerOutput {

            margin: 0 0 0 0px;
            padding: 5px;
            width: 100%;
            display: grid;
            grid-template-columns: 1fr 1fr;
            grid-template-rows: 40px 50px;
            box-sizing: border-box;
        }
        
          #num3 {
            grid-area: 1/2/2/3;
          }
          #num1 {
              grid-area: 2/1/3/2;
          }
          
          
          #num4 {
              grid-area: 1/1/2/2;
          }
          #num2 {
              grid-area: 2/2/3/3;
          }
    
 
    
    
    #div6, #div7, #div8, #div9 { 
    
        line-height: 40px;
    }
    
   


  .containerBox {
    
    font-size: 36px;
    line-height: 46px;
    padding: 1px;
    width: 99%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 50px 260px 65px 55px 55px 55px 55px 55px 55px;
    grid-column-gap: 2px;
    grid-row-gap: 2px;
    
  }
  
  
 
  #item0{
    grid-area: 1/1/2/2;
  }

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

  #item1{
    grid-area: 1/1/2/3;
    margin: 1px;
  }
  
  #item2{
    grid-area: 4/1/5/2;
  }
  #item3{
    grid-area: 4/2/5/3;
  }
  #item4{
    grid-area: 5/1/5/2;
  }
  #item5{
    grid-area: 5/2/6/3;
  }
  #item6{
    grid-area: 6/1/7/2;
  }
  #item7{
    grid-area: 6/2/7/3;
  }
  #item8{
    grid-area: 7/1/8/2;
  }
 
    
}





@media only screen and (max-width: 600px) {
    
    h1 {
        text-align: center;
        font-size: 28px;
        line-height: 28px;
    }
    
    #div1 {  
        padding: 0 0 0 0;
        margin: -10px 0 0 0;
    }
    
    
    .parent {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: 60px 30px 50px 1fr repeat(4, 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;
        }
        #div5 { grid-area: 3 / 2 / 4 / 3; 
            font-size: 20px;
        }
        #div6 { grid-area: 5 / 1 / 6 / 3; 
        }
        #div7 { grid-area: 6 / 1 / 7 / 3; }
        #div8 { grid-area: 7 / 1 / 8 / 3; }
        #div9 { grid-area: 8 / 1 / 9 / 3; }
        #div10 { grid-area: 4 / 1 / 5 / 3; }
        
        #text {
            grid-area: 9 / 1 / 10 / 3;
            margin: 0px 0px 0px 0px;
        }
    
    
    
    
    
    
    
    
    .lineHeightNormal {
      height: 300px;
    }

    textarea {
    height: 300px;
    }
    
    .containerBox {

        grid-template-rows: 50px 260px 65px 55px 55px 55px 55px 55px 55px;
        grid-column-gap: 1px;
        grid-row-gap: 1px;
    }
    
      #item1{
      margin: 5px 0px;
      padding: 5px;
      font-size: 20px;
      line-height: 25px;
      }

      #item2{
        grid-area: 4/1/5/3;
      }
      #item3{
        grid-area: 5/1/6/3;
      }
      #item4{
        grid-area: 6/1/7/3;
      }
      #item5{
        grid-area: 7/1/8/3;
      }
      #item6{
        grid-area: 8/1/9/3;
      }
      #item7{
        grid-area: 9/1/10/3;
      }
      #item8{
        grid-area: 10/1/11/3;
      }
      
      .buttonBox{
        grid-area: 3/1/4/3;
        margin:  0px;
  }
}


*/
@media only screen and (max-width: 480px) {
    
    h1 {
        text-align: center;
        font-size: 24px;
        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;}
}
  
  
  
  

    

    
    











