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

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

.red {
    color: red;
}

#remaining {
    color: black;
}

.highlight {
  background-color: yellow;
}

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


#caspaDescription {
    width: 70%;
    margin: 0 auto;
    font-size: 18px;
    line-height : 1.6;
    max-width: 1200px;
    margin: auto;
}







textarea {
    border: 5px solid #ccc;
    padding: 5px 5px;
    border-radius: 15px;
    height: 350px;
    width: 97%;
    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;
}






 
  #item1, #item2, #item3, #item4 {
     
      padding:  0px 0px 0px 0px;
      font-size: 20px;
      text-transform: uppercase;
      line-height: 40px;
      text-align: center;
      font-family: 'Roboto', sans-serif;
    }
    
    #item1, #item2 {
        font-size: 39px;
        
        
    }
    
     
        
     
  
  
 
  

  .textAreaBox {
    grid-area: 1/1/2/4;
  }
  
  .buttonBox{
    grid-area: 2/3/3/4;
  }
  
  

  .containerBox {
    margin:  0 auto;
    width: 70%;
    display: grid;
    grid-template-columns: 1fr 1fr ;
    grid-template-rows: 375px 65px;
    max-width: 1200px;
    margin: auto;

  }
  

  .fine-print {
      font-weight: lighter;
  }
  
  
  
  #containerOutput {
    margin:  auto;
    padding: 5px;
    width: 70%;
    display: grid;
    grid-template-columns: 1fr 1fr ;
    grid-template-rows: 40px 50px;
    box-sizing: border-box;
  }
  
@media only screen and (max-width: 992px) {
    
    .containerBox{
        width: 80%;
    }
    
    #containerOutput {
        width: 80%;
    }
    
    
    #caspaDescription {
    width: 80%;
    }
    
    
}
  

@media only screen and (max-width: 768px) {
    
    #containerOutput {
        width: 100%;
    }
    
    
    
    #caspaDescription {
    width: 100%;
    padding: 10px;
    }
    
    
   


  
  
  
 
  .textAreaBox {
    grid-area: 1/1/2/3;
  }

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

  
 
  
  #buttonAdvert {
    grid-area: 11/1/12/3;
  }
    
}


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

    .hide {
        display: none;
    }
    
   
    
    .containerBox {

        grid-template-rows: 375px 65px;
        grid-column-gap: 1px;
        grid-row-gap: 1px;
    }
    
      
      
}
  
  
  
  

    

    
    




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










