/* Centering content */
body {
  font-family: 'Poppins', sans-serif;
  margin: 0;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  background: white;
  text-align: center;
  color: white;
  position: relative;
  z-index: 1;
}

body::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  border-right: 150px solid transparent; /* Smaller size */
  border-bottom: 155px solid transparent; /* Smaller size */
  border-left: 150px solid #F28C28; /* Same color */
  border-top: 150px solid #F28C28; /* Same color */
  z-index: 0;
}

body::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0;
  height: 0;
  border-left: 350px solid transparent;
  border-top: 350px solid transparent;
  border-right: 350px solid #F28C28;
  border-bottom: 350px solid #F28C28;
  z-index: 0;
}

@keyframes typewriter {
  0% {
    width: 0;
  }
  100% {
    width: 100%;
  }
}

@keyframes blink {
  50% {
    border-color: transparent;
  }
}

h1 {
  margin-bottom: 20px;
  position: relative;
  z-index: 2;
  font-size: 58px;
  font-weight: bold;
  color: orange;
  overflow: hidden;
  white-space: nowrap;
  border-right: 4px solid orange; /* Creates the cursor effect */
  animation: typewriter 4s steps(40) 1s 1 normal both, blink 0.75s step-end infinite, hideCursor 4s 0.25s forwards;
  left: -21%;
}

/* Cursor Blink */
@keyframes hideCursor {
  0% {
    border-color: orange;
  }
  100% {
    border-color: transparent;
  }
}

@keyframes blink {
  50% {
    border-color: transparent;
  }
}


.image-container {
  position: absolute;
  top: 50%;
  right: 10%;
  transform: translateY(-50%);
  z-index: 1;
}

.image-container img {
  max-width: 100%;
  height: auto;
}

/* Button with Border */
button {
  background-color: #F28C28;
  color: white;
  border: none;
  padding: 20px 40px; /* Increased padding */
  font-size: 28px; /* Increased font size */
  font-weight: bold;
  cursor: pointer;
  border-radius: 8px;
  position: relative;
  left: -20%;
  z-index: 2;
  box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

button:hover {
  background-color: #d97706;
  transform: scale(1.1); /* Slightly increased scale on hover */
}

/* Click Effect */
button:active {
  transform: scale(0.98);
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}
