* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: black;
  font-family: "Segoe UI", "Helvetica Neue", Helvetica, sans-serif;
}

.hero {
  width: 100vw;
  height: 100vh;
  position: relative;
  overflow: hidden;
}

.video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.background-blur {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("../img/KBlogo.png") no-repeat center center;
  background-size: contain;
  filter: blur(8px);
  z-index: -1;
}

.center-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: none;
  z-index: 1;
}

.center-image img {
  height: 100vh;
  width: auto;
  object-fit: contain;
  pointer-events: none;
}

.name-block {
  position: absolute;
  top: 50%;
  left: 5%;
  transform: translateY(-50%);
  z-index: 1;
  text-align: left;
}

.ken {
  color: white;
  -webkit-text-stroke: 0px white;
  font-size: 8vw;
  font-weight: 900;
  line-height: 1;
  animation: kenFillToOutline 3s ease-in-out infinite alternate;
}

.bautista {
  color: transparent;
  -webkit-text-stroke: 1px white;
  font-size: 8vw;
  font-weight: 900;
  line-height: 1;
  animation: bautistaOutlineToFill 3s ease-in-out infinite alternate;
}

.socials {
  margin-top: 1rem;
  display: flex;
  gap: 1.5rem;
}

.social-icon {
  font-size: 1.8vw;
  color: white;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.social-icon:hover {
  transform: scale(1.2);
  cursor: pointer;
}

.description {
  position: absolute;
  top: 50%;
  right: 5%;
  transform: translateY(-50%);
  z-index: 2;
  color: white;
  font-size: 1.2vw;
  width: 30vw;
  font-family: "Courier New", Courier, monospace;
}

.typewriter .line1 {
  color: #a5a5a5;
}

.typewriter .line1,
.typewriter .line2 {
  overflow: hidden;
  white-space: nowrap;
  border-right: 2px solid white;
  width: 0;
  animation: typing 2s steps(15) forwards;
}

.typewriter .line2 {
  animation-delay: 2.2s;
}

.slide-text {
  opacity: 0;
  transform: translateX(100%);
  animation: slideIn 1.5s ease forwards;
  animation-delay: 4.5s;
  margin-top: 1rem;
}

.cntc-btn,
.wrks-btn {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  margin-top: 2rem;
  border: 1px solid white;
  background-color: transparent;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.cntc-btn:hover,
.wrks-btn:hover {
  font-weight: bold;
  background-color: white;
  color: black;
  cursor: pointer;
}

.works-card {
  position: absolute;
  top: 10%;
  right: -40vw;
  width: 35vw;
  height: auto;
  background-color: rgba(0, 0, 0, 0.85);
  padding: 1rem;
  border-left: 2px solid white;
  z-index: 3;
  transition: right 0.6s ease;
  display: flex;
  justify-content: center;
  align-items: center;
}

.works-card.active {
  right: 5%;
}

.works-card img {
  width: 100%;
  border-radius: 10px;
  object-fit: cover;
}

.card-image {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 10px;
}

.card-image img {
  width: 100%;
  display: block;
  border-radius: 10px;
  object-fit: cover;
}

.card-desc {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 1rem;
  font-size: 0.9vw;
  opacity: 0;
  transform: translateY(100%);
  transition: all 0.4s ease-in-out;
  text-align: center;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
}

.card-image:hover .card-desc {
  opacity: 1;
  transform: translateY(0);
}

@keyframes typing {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}

@keyframes slideIn {
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes kenFillToOutline {
  0% {
    color: white;
    -webkit-text-stroke: 0px white;
  }
  100% {
    color: transparent;
    -webkit-text-stroke: 1px white;
  }
}

@keyframes bautistaOutlineToFill {
  0% {
    color: transparent;
    -webkit-text-stroke: 1px white;
  }
  100% {
    color: white;
    -webkit-text-stroke: 0px white;
  }
}

@keyframes scrollSlider {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}