/* =============================================================================
   HTML5 CSS Reset Minified - Eric Meyer
   ========================================================================== */

html,
body,
div,
span,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
abbr,
address,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
samp,
small,
strong,
sub,
sup,
var,
b,
i,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent
}

body {
  line-height: 1
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block
}

nav ul {
  list-style: none
}

blockquote,
q {
  quotes: none
}

blockquote:before,
blockquote:after,
q:before,
q:after {
  content: none
}

a {
  margin: 0;
  padding: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;
  text-decoration: none
}

mark {
  background-color: #ff9;
  color: #000;
  font-style: italic;
  font-weight: bold
}

del {
  text-decoration: line-through
}

abbr[title],
dfn[title] {
  border-bottom: 1px dotted;
  cursor: help
}

table {
  border-collapse: collapse;
  border-spacing: 0
}

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0
}

input,
select {
  vertical-align: middle
}

li {
  list-style: none
}


/* =============================================================================
   My CSS
   ========================================================================== */

/* ---- base ---- */

/* html{
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
} */
canvas {
  display: block;
  vertical-align: bottom;
}


/* ---- stats.js ---- */

.count-particles {
  position: absolute;
  width: 80px;
  color: #13E8E9;
  font-size: .8em;
  text-align: center;
  justify-content: center;
  align-items: center;
  text-indent: 4px;
  line-height: 14px;
  padding-bottom: 2px;
  font-family: Helvetica, Arial, sans-serif;
  font-weight: bold;
}

#stats,
.count-particles {
  -webkit-user-select: none;
  margin-top: 5px;
  margin-left: 5px;
}

#stats {
  border-radius: 3px 3px 0 0;
  overflow: hidden;
}

.count-particles {
  border-radius: 0 0 3px 3px;
}


/* ---- particles.js container ---- */

#particles-js {
  width: 100%;
  height: 50vh;
  background-color: #000000;
  background-image: linear-gradient(rgba(0, 0, 0, 0.822), rgba(0, 0, 0, 0.808)), url('../../assets/img/hero-bg.jpg');
  background-size: cover;
  background-position: 50% 50%;
  background-repeat: no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* ai typing text */

.ai-text {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 25vh;
  width: 70%;
  position: absolute;
  background-color: transparent;
}

.ai-content {
  max-width: 700px;
  /* container width */
  margin: 0 auto;
  text-align: center;
}

#typing-text {
  font-weight: bold;
  /* border-right: 2px solid #333; Blinking cursor */
  margin-bottom: 20px;
  /* Space between text and button */

  white-space: normal;
  /* allow wrapping */
  overflow-wrap: break-word;
  /* break long words if needed */
  word-wrap: break-word;
  word-break: break-word;
  display: inline-block;
  /* width constraint applies */
  line-height: 1.4;
  font-size: 1.2rem;
  color: #fff;
  max-width: 100%;
}

#typing-text::after {
  content: "|";
  animation: blink 0.7s infinite;
  color: #00ff4c;
}

#action-button {
  padding: 10px 20px;
  font-size: 16px;
  font-weight: bold;
  background-color: #333;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

#action-button:hover {
  background-color: #555;
}

@keyframes blink {
  0% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}


/* Mobile Responsive Styles */
@media (max-width: 600px) {
  #typing-text {
    font-size: 18px;
    /* Adjust font size for mobile */
    margin-bottom: 15px;
    /* Adjust space between text and button */
  }

  #action-button {
    padding: 8px 16px;
    /* Adjust button padding for smaller screens */
    font-size: 14px;
    /* Adjust font size for button */
  }
}