/*
Theme Name: JDECB Site Custom
Theme URI: http://jdecodebrew.com/
Author: JDE Code Brew
Author URI: http://jdecodebrew.com/
Description: A custom WordPress theme for JDE Code Brew company site
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: my-custom-theme
*/

.banner {
    background-color: #1F1A87; /* Blue color */
    padding: 1rem 0;
    text-align: center;
}

.banner .logo {
    max-height: 100px; /* Adjust as needed */
}


/* Navbar container */
.navbar {
  background-color: #333 !important;
}

/* Inner layout container */
.navbar .container {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
}

/* UL menu: horizontal layout */
#menu-main-menu.navbar-nav {
  display: flex !important;
  flex-direction: row !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 0.5rem !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* LI items: flex children */
#menu-main-menu.navbar-nav > li {
  display: flex !important;
}

/* Links */
#menu-main-menu.navbar-nav > li > a {
  color: #fff !important;
  text-decoration: none !important;
  font-size: 1rem !important;
  padding: 0.5rem 1rem !important;
  display: block !important;
  transition: background-color 0.3s ease !important;
}

/* Hover effect */
#menu-main-menu.navbar-nav > li > a:hover {
  background-color: #555 !important;
  color: #fff !important;
}

/* Base styles */
.hamburger {
  display: none;
  font-size: 2rem;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
}

/* Mobile styles */
@media (max-width: 768px) {
  .hamburger {
    display: block !important;
  }

  #menu-main-menu.navbar-nav {
    display: none !important;
    flex-direction: column !important;
    background-color: #333 !important;
    width: 100% !important; 
  }

  #menu-main-menu.navbar-nav.active {
    display: flex !important;
  }

  #menu-main-menu.navbar-nav li {
    text-align: center !important;
    padding: 0.5 rem 0 !important;
  }
}


#content {
    margin: 0 auto;
    max-width: 800px;
    padding: 0 20px;
    padding-top: 1em;
}

footer {
    background: #f2f2f2;
    padding: 20px;
    text-align: center;
    position: relative; 
    bottom:0%;
    width: 100%;
}

.ascii-container {
  background: #1F1985;
  display: flex;
  flex-direction: column; /* Stack children vertically */
  justify-content: center;
  align-items: center;
  height: 60vh;
}

.mug-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.steam {
  font-family: monospace;
  font-size: 2rem;
  margin-bottom: 5px; /* space between steam and mug */
  color: #F9CF28;
}

.mug-wrapper img {
  max-width: 300px;
  height: auto;
}

.steam1, .steam2, .steam3 {
  opacity: 0;
  transition: opacity 1s ease-in;
}

.steam1.visible,
.steam2.visible,
.steam3.visible {
  opacity: 1;
}

.typewriter-container {
  margin-top: 20px;
  font-family: 'Courier New', Courier, monospace;
  font-size: 1.5rem;
  color: #F9CF28;
  white-space: nowrap;
  overflow: hidden;
  width: fit-content;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-right: 2px solid transparent; /* hidden by default */
}

/* Cursor animation only while typing */
.typewriter-container.typing {
  border-right: 2px solid #F9CF28;
  animation: blink-caret 0.75s step-end infinite;
}

#typewriter-text-1::after,
#typewriter-text-2::after {
  content: '';
  display: inline-block;
  width: 2px;
  height: 1.2em;
  background-color: #F9CF28;
  margin-left: 2px;
  animation: blink-caret 0.75s step-end infinite;
  vertical-align: bottom;
  visibility: hidden; /* hidden by default */
}

.typing-line-1 #typewriter-text-1::after {
  visibility: visible;
}

.typing-line-2 #typewriter-text-2::after {
  visibility: visible;
}

@keyframes blink-caret {
  0%, 100% { opacity: 0; }
  50% { opacity: 1; }
}

.testimonial-text {
  font-style: italic;
  font-size: 1.1em;
  margin-bottom: 10px;
  color: #F5D133;
  font-family: Arial;
}

.testimonial-meta {
  font-size: 0.95em;
  color: #F5D133;
  font-family: Arial
}

.testimonial-post{
  background-color: #1F1987;
  margin-top: 1rem;
  margin-bottom: 1rem;
  margin-left: 3rem;
  margin-right: 3rem;
  border-radius: 5px;
  padding: 0.5rem;
}

.testimonials-wrapper {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
}