/* =============================================================================
   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,body{
	width:100%;
	height:100%;
	background:#111;
}

html{
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

body{
  font:normal 75% Arial, Helvetica, sans-serif;
}

canvas{
  display:block;
  vertical-align:bottom;
}
    html, body {
      height: 100%;
      margin: 0;
      overflow: hidden;
    }

    #particles-js {
      width: 100%;
      height: 100%;
      position: absolute;
      top: 0;
      left: 0;
    }

    .centered-container {
      position: absolute;
      top: 45%;
      left: 50%;
      transform: translate(-50%, -50%);
      text-align: center;
    }

    .centered-text {
      font-size: 6vw;
      font-family: "Comic Sans MS", cursive;
      opacity: 0; /* Initially hidden */
      animation: fade-in-title 1.5s ease-in-out forwards; /* Animation for title text */
    }

    .additional-text {
      font-size: 1.7vw;
      margin-top: 1vw;
      font-family: "Comic Sans MS", cursive;
      opacity: 0; /* Initially hidden */
      animation: slide-in-additional 1s ease-in-out forwards, spin-in-additional 1s ease-in-out forwards;
      animation-delay: 1s; /* Delay additional text animation by 1 second */
      transform-origin: center;
    }

    .github-icon {
      display: flex;
      justify-content: center;
      margin-top: 2vh; /* Increase or decrease the value as desired */
      opacity: 0; /* Initially hidden */
      animation: slide-in-icon 1s ease-in-out forwards;
      animation-delay: 2s; /* Delay icon animation by 2 seconds */
    }

    .icon-container {
      display: flex;
      justify-content: center;
      align-items: center;
      margin-top: 3vh; /* Adjust the top margin as needed */
    }

    .icon-container img {
      margin: 1vw; /* Adjust the horizontal spacing between icons as needed */
    }

    @media (max-width: 768px) {
      .centered-text {
        font-size: 14vw;
      }

      .additional-text {
        font-size: 4vw;
        margin-top: 3vw;
      }
    }

    /* Animation keyframes for title text */
    @keyframes fade-in-title {
      0% {
        opacity: 0;
      }
      100% {
        opacity: 1;
      }
    }

    /* Animation keyframes for additional text sliding in from left */
    @keyframes slide-in-additional {
      0% {
        opacity: 0;
        transform: translateX(-100%);
      }
      100% {
        opacity: 1;
        transform: translateX(0);
      }
    }

    /* Animation keyframes for additional text spinning in */
    @keyframes spin-in-additional {
      0% {
        opacity: 0;
        transform: rotate(-360deg);
      }
      100% {
        opacity: 1;
        transform: rotate(0);
      }
    }

    /* Animation keyframes for icons sliding in from left */
    @keyframes slide-in-icon {
      0% {
        opacity: 0;
        transform: translateX(-100%);
      }
      100% {
        opacity: 1;
        transform: translateX(0);
      }
    }

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

.count-particles{
  background: #000022;
  position: absolute;
  top: 48px;
  left: 0;
  width: 80px;
  color: #13E8E9;
  font-size: .8em;
  text-align: left;
  text-indent: 4px;
  line-height: 14px;
  padding-bottom: 2px;
  font-family: Helvetica, Arial, sans-serif;
  font-weight: bold;
}

.js-count-particles{
  font-size: 1.1em;
}

#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: 100%;
  background-color: #b61924;
  background-image: url('');
  background-size: cover;
  background-position: 50% 50%;
  background-repeat: no-repeat;
}
