 /* typing effect on intro */

#intro h1 {
    display: inline-block;
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
	animation: caret .5s step-end infinite alternate,
             type 4s steps(5000, end)
}
@keyframes type {
  0% {
    width: 0;
  }
}
@keyframes caret { 
  50% { 
    box-shadow: .6em 0 0 transparent;
  }
}

#intro p br {
    display: block;
}

 .terminal-card-header {
    background: #2c2c2c;
    color: #f7f5e5;    
     text-align: center;
     font-family: monospace;
     font-size: 14px;
     font-weight: bolder;
 
 }
 
 .terminal-card-body {
    background: rgba(75, 68, 66, 1);
    color: rgba(255,255,255,0.9);
     font-family: monospace;
     font-size: 14px;
     font-weight: bold;
 }

 #quote {
    font-family: 'Indie Flower', cursive;
    text-align: center;
    font-size: 20px;
    color: #f7f5e5;   
}
 
#windowControls {
    position: absolute;
    right: 10px;
    top: 10px;
}

small {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.2);

}

.dice-container {
    text-align: center;
    margin: 30px auto;
}

@keyframes fadeIn {
    0% {opacity: 0;}
    100% {opacity: 1;} 
    from {transform:rotate(180deg);}
    to {transform:rotate(360deg);}
 } 

.dice img{
    height:100px;
    width:100px;
    margin: 20px 10px;
    animation-name: fadeIn;
    animation-duration: 1s;

}

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

    #windowControls {
        display: none;
    }
}

/* Chat styling */

/* Button used to open the chat form - fixed at the bottom of the page */
.open-button {
    background-image: url('/images/wikibot_icon.png');
    background-repeat:no-repeat;
    background-size: cover;
    background-position:center;
    bottom: 5vh; 
    right: 32px;
    color: #fff;
    float: right;  
    line-height: 1.2;  
    padding: 20px 20px;  
    position: fixed;  
    text-align: center;  
    z-index: 8;  
    cursor: pointer;
    border: none;
    width: 70px;
    height: 70px;
  }
  
  /* The popup chat - hidden by default */
  .form-popup {
    display: none;
    position: fixed;
    bottom: 0;
    right: 15px;
    z-index: 9;
  }
  
  /* Add styles to the form container */
  .form-container {
    max-width: 300px;
    padding: 10px;
    background-color: white;
    border-radius: 10px;
  }
  
  /* Full-width textarea */
  .form-container textarea {
    width: 100%;
    padding: 15px;
    margin: 5px 0 22px 0;
    border: none;
    background: #f1f1f1;
    resize: none;
    min-height: 200px;
  }
  
  /* When the textarea gets focus, do something */
  .form-container textarea:focus {
    background-color: #ddd;
    outline: none;
  }
  
  /* Set a style for the submit/login button */
  .form-container .btn {
    background-color: #4CAF50;
    color: white;
    padding: 8px 10px;
    border: none;
    cursor: pointer;
    width: 100%;
    margin-bottom:10px;
    opacity: 0.8;
    height: auto;
  }
  
  /* Add a red background color to the cancel button */
  .form-container .cancel {
    background-color: red;
  }
  
  /* Add some hover effects to buttons */
  .form-container .btn:hover, .open-button:hover {
    opacity: 1;
  }



.chat-body {

    background-color: #333;
}

.chat-header {
    color: #f7f5e5; 
    padding: 10px;
    font-size: 30px;
    text-align: center;
    font-family: 'Molle', cursive;
}


#chat-display {
    height: 50vh; 
    width: auto;
    border: grey solid 1px;
    margin-bottom: 10px;
    overflow-y: auto;
    background-color: #fff;
    font-size:18px;
    border-radius: 10px;
}

.chat-inputContainer {
    width: auto;
    margin-bottom: 10px;
   
}

#chat-text {
    height: 30px; 
    width: 100%;
    display:block;
    border: grey solid 1px;
    border-radius: 5px;
    font-family: 'Share Tech Mono', monospace;
  
}

#chat-text:focus {
    height: 30px; 
    width: 100%;
    display:block;
    border: greenyellow solid 1px;
    border-radius: 5px;
  
}

.chat-footer {
    color: #f7f5e5; 
    padding: 5px;
    font-size: 12px;
    text-align: center;
}

/* Chatbox styles */

.chat-container {
    border: transparent;
    background-color: #f1f1f1;
    border-radius: 10px;
    padding: 2px 2px;
    margin: 10px 2px;
    font-family: 'Yesteryear', cursive;
    font-size: 16px;
    font-weight: bold;
    
    color: black;
  }
  
  .chat-darker {
    border-color: #ccc;
    background-color: #0074f8;
    color: #f7f5e5;
    margin-right: 2px;
    margin-left: 2px;
    font-family: 'Share Tech Mono', monospace;
    font-size: 14px;
    font-weight: normal;
  }
  
  .chat-container::after {
    content: "";
    clear: both;
    display: block;
  }

 
  .chat-container img {
    float: left;
    max-width: 30px;
    width: 100%;
    margin-right: 10px;
    border-radius: 50%;
  }

  .chat-container p {
      margin: 0;
  }
  
  .chat-container img.right {
    float: right;
    margin-left: 20px;
    margin-right:0;
  }

  .form-container .close {
    color: #ff1212;
    text-shadow: none; 
    transition: all 1s;  
}
.form-container .close:hover {
    color: red !important ;
}



