html,
body {
  margin: 0;
  height: 100%;
}

body {
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: sans-serif;
  line-height: 1.6;
  background-color: transparent;
  height: 100%;
  width: 100%;
  overflow-y: scroll;
  overflow-x: hidden;

}

.page-container {
  min-height: 100vh;
  width: 100vw;
  position: relative;
  z-index: 2;
  height: 10vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 1rem;
  margin-bottom: 5%;
}

/* .content-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  width: 100%;
  position: relative;
  z-index: 2;
  text-align: center;
}

.middle-content {
  display: inline-block;
  padding: 20px;
  max-width: 800px;
} */

#home {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

#home h1,
#home .subtitle {
  margin: 0;
}

#home-wrapper {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

#terminal {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}


/* Create a keyframe animation for the blinking cursor */
@keyframes blink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }
}

/* Add your custom styles for each section (Home, About, Skills, Projects, Testimonials, Blog) */
h1 {
  font-family: 'Fira Code', monospace;
  font-size: 2.5rem;
  font-weight: bold;
  color: #ffffff;
  text-align: center;
  text-shadow:
    1px 1px 0 #444,
    2px 2px 0 #666;
  /* Reduced the number of shadow layers and adjusted the shades of gray */
  margin-bottom: 0rem;
  margin-top: 0;
}



.blinking-cursor {
  font-size: 2.5rem;
  animation: blink 1s step-end infinite;
}

@keyframes blink {
  50% {
    color: transparent;
  }
}

#particles-js {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #000;
  background-image: url("");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 50% 50%;
  z-index: -1;
}

#particles-js canvas {
  position: absolute;
  pointer-events: none;
}

.subtitle {
  font-family: 'Fira Code', monospace;
  font-size: 1.5rem;
  font-weight: normal;
  color: #ffffff;
  text-shadow:
    1px 1px 0 #444,
    2px 2px 0 #666;
  /* Reduced the number of shadow layers and adjusted the shades of gray */
  text-align: center;
  position: relative;
  margin-top: 0;
  /* Set margin-top to 0 */

  /* Add this line to position the cursor */
}

.subtitle::after {
  content: '|';
  font-weight: normal;
  position: absolute;
  animation: blink 1s infinite;
  /* Apply the blinking animation */
}

input#help-input {
  display: block;
  width: 70%;
  max-width: 500px;
  margin: 2rem auto;
  padding: 1rem;
  font-size: 1rem;
  font-family: 'Fira Code', monospace;
  color: #ffffff;
  background-color: rgba(0, 0, 0, 0.7);
  border: 1px solid #808080;
  outline: none;
  text-align: left;
  text-shadow: 1px 1px 0 #000, -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000;
}

input#help-input:focus::placeholder {
  color: transparent;
  opacity: 1;
  text-align: left;
}

input#help-input:focus:-ms-input-placeholder {
  color: transparent;
  opacity: 1;
  text-align: left;
}

input#help-input:focus::-ms-input-placeholder {
  color: transparent;
  opacity: 1;
  text-align: left;
}

.typewriter {
  overflow: hidden;
  border-right: .15em solid white;
  white-space: nowrap;
  margin: 0 auto;
  letter-spacing: .15em;
  animation:
    typing 4s steps(30, end),
    blink-caret .5s step-end infinite;
}

@keyframes typing {
  from {
    width: 0
  }

  to {
    width: 100%
  }
}

@keyframes blink-caret {

  from,
  to {
    border-color: transparent
  }

  50% {
    border-color: white
  }
}

#help-input {
  text-align: center;
  position: relative;
  z-index: 1000;
}


#output {
  position: absolute;
  /* Add this line */
  top: 63%;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0px;
  background-color: rgba(0, 0, 0, 0.8);
  color: white;
  border-radius: 0px;
  font-family: 'Fira Code', monospace;
  font-size: 0.95rem;
  white-space: pre-wrap;
  box-shadow: 0 0 10px 3px rgba(0, 0, 0, 0.2);
  z-index: 2;
}

.output-text {
  color: #ffffff;
}


@keyframes contact-animation {
  0% {
    transform: translateY(-50%) translateX(-50%);
    opacity: 0;
  }

  100% {
    transform: translateY(0) translateX(-50%);
    opacity: 1;
  }
}

.contact-info {
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
  background-color: rgba(0, 0, 0, 0.8);
  color: white;
  border-radius: 5px;
  font-family: 'Fira Code', monospace;
  font-size: 0.95rem;
  white-space: pre-wrap;
  box-shadow: 0 0 10px 3px rgba(0, 0, 0, 0.2);
  animation: contact-animation 0.5s ease-in-out;
}



#contact-info h2 {
  margin-top: 0;
  margin-bottom: 1rem;
}

#contact-info li {
  list-style-type: none;
  margin-bottom: 0.5rem;
}

#contact-info li span {
  font-weight: bold;
  margin-right: 0.5rem;
}

#contact-info li a {
  color: white;
}

a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
}

a:hover {
  text-decoration: underline;
}

/* ############################## SKILLS ######################################## */


@keyframes fill-progress {
  from {
    transform: rotate(0);
  }

  to {
    transform: rotate(360deg);
  }
}

/* Skills */
#skills {
  background-color: rgba(0, 0, 0, 0.7);
  padding: 20px;
  border-radius: 5px;
  max-width: 80%;
  margin: 0 auto;
}

.skills-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;

}

.skill-card {
  width: 200px;
  margin: 16px;
  padding: 16px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 5px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.skill-label {
  font-weight: bold;
}

.progress-bar-container {
  width: 100%;
  height: 10px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 5px;
}


.progress-bar {
  height: 100%;
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: 5px;
  animation: fill-progress 0.5s forwards;
  /* Add this line */
}

@keyframes fill-progress {
  from {
    transform: scaleX(0);
  }

  to {
    transform: scaleX(1);
  }
}

.hidden {
  display: none;
}

/* ############################## PROJECTS ######################################## */

.projects-section {
  display: none;
  width: 70%;
  max-width: 500px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 40px;
  margin-left: auto;
  margin-right: auto;
}

.project-box {
  display: inline-block;
  width: 200px;
  height: 300px;
  margin: 10px;
  border: 1px solid #ccc;
  box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.1);
  position: relative;
  text-decoration: none;
  color: #333;
  transition: all 0.3s;
  background-color: transparent;
  overflow: hidden;
}

.project-box:hover {
  box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.2);
  transform: translateY(-5px);
}

.project-title {
  position: absolute;
  bottom: 10px;
  left: 10px;
  font-size: 18px;
  background-color: rgba(255, 255, 255, 0.7);
  padding: 2px 5px;
  border-radius: 3px;
}



.pdf-preview {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

#music-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 10;
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.minecraft-icon {
  font-family: 'Minecraft';
  font-weight: normal;
  font-style: normal;
  text-decoration: none;
  color: #cfcfcf;
  opacity: 0.5;
  transition: opacity 0.3s ease;
}

.minecraft-icon:hover {
  opacity: 1;
}

.fa {
  font-size: 24px;
}



@keyframes fill-bar {
  0% {
    width: 0%;
  }

  100% {
    width: var(--rating);
  }
}



@keyframes slide-in {
  0% {
    transform: translateY(-50%) scale(0.5);
    opacity: 0;
  }

  60% {
    transform: translateY(10px);
    opacity: 1;
  }

  80% {
    transform: translateY(-5px);
  }

  100% {
    transform: translateY(0) scale(1);
  }
}

@keyframes projects-animation {
  0% {
    opacity: 0;
    transform: translateY(20px);
  } 

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ############################## ABOUT ME ######################################## */


.about-title,
.about-subtitle {
  text-align: center;
}

.infographic {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.info-content {
  position: absolute;
  top: 110%;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  color: #fff;
  text-align: center;
  font-size: 1.2rem;
  background-color: rgba(0, 0, 0, 0.7);
  transition: opacity 0.3s ease;
}
p.about-content {
  padding-bottom: 8%;
}
.visible .info-content {
  opacity: 1;
}

.active {
  color: #f9a825;
}

@keyframes slide-down {
  from {
    top: 80%;
    opacity: 0;
  }
  to {
    top: 120%;
    opacity: 1;
  }
}

.minecraft-font {
  font-family: 'Minecraftia', cursive;
}

#about-me-title {
  text-align: center;
  font-family: 'Fira Code', monospace;
  margin-bottom: 5%;
  margin-top: 5%;
}


.minecraft-button {
  background-color: #727272;
  border: 2px solid black; /* Add a black border */
  color: white;
  text-align: center;
  font-family: 'Minecraftia', cursive;
  display: inline-block;
  margin: 10px;
  cursor: pointer;
  font-size: 14px;
  padding: 8px 16px;
  text-decoration: none;
  transition-duration: 0.4s;
  border-radius: 2px; /* Adjust the border-radius to make edges sharper */
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  position: relative;
  overflow: hidden;
  margin: 4px 0;
  text-transform: uppercase;
  width: 535px; /* Adjust this value to your desired button width */
}

.minecraft-buttons {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: absolute;
  left: 50%;
  text-align: center;
  transform: translateX(-50%);
  z-index: 1001;
}

.minecraft-button:before {
  content: "";
  position: absolute;
  background: rgba(255, 255, 255, 0.2);
  width: 60px;
  height: 100%;
  left: -90px;
  top: 0;
  transform: skewX(-45deg);
  transition: 0.7s;
}

.minecraft-button:hover {
  background-color: #45a049;
}

.minecraft-button:hover:before {
  left: 200%;
}


.info-content {
  text-align: justify;
  margin: 0 auto;
  max-width: 800px;
  font-family: 'Minecraftia', cursive;

}

@font-face {
  font-family: 'Minecraftia';
  src: url('Minecraft.ttf') format('truetype');
}


/* Rights Reserved */
footer {
  position: fixed;
  left: 1rem;
  bottom: 0.1rem;
  text-align: left;
  background-color: transparent;
  color: #333;
  font-size: 0.9rem;
  padding: 0.5rem;
  border: none;
}

