* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  line-height: 1.5;
  max-width: 800px;
  width: 100%;
  margin: 0 auto;
  touch-action: none;
}

h1,
h2 {
  font-size: 1.125rem;
  color: #111111;
}

p {
  color: #555555;
}

header {
  margin-top: 50px;
}

header .row {
  display: flex;
  align-items: center;
}

header .row .col-1 {
  margin-right: 20px;
}

header img {
  max-width: 100px;
  border-radius: 50%;
}

header button {
  color: #111111;
  background-color: #c9e1ff;
  width: 100px;
  border-radius: 5px;
  border: none;
  padding: 5px 10px;
  margin-top: 5px;
}

section {
  margin-top: 30px;
}

section .row {
  padding-top: 10px;
  display: flex;
  align-items: center;
}

section .row .col {
  margin-bottom: 20px;
}

section .row .col-1 {
  margin-right: 80px;
}

.description {
  color: #111111;
}

.technologies {
  display: flex;
}

.pills {
  background-color: #c9e1ff;
  margin: 5px;
  padding: 5px 10px;
  width: auto;
  border-radius: 15px;
}

footer {
  margin-top: 50px;
  text-align: center;
}

#langaw {
  position: absolute;
  width: 50px;
  height: 60px;
  background-image: url('img/fly.png');
  background-size: cover;
  transition: all 1s linear;
  z-index: 1;
}

#swatter {
  position: absolute;
  bottom: 20px;
  left: 20px;
  width: 120px;
  cursor: grab;
  user-select: none;
  z-index: 2;
}

#jumpscare {
  display: none;
  position: fixed;
  inset: 0;
  background: url('img/jumpscare.jpg') center/cover no-repeat;
  z-index: 9999;
}

#tooltip {
  position: fixed;
  bottom: 130px;
  left: 100px;
  background-color: #111;
  color: #fff;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 14px;
  animation: fadeOut 2s ease-in 3s forwards; /* fade away after 3 seconds */
  z-index: 20;
}

/* Modal background */
.modal {
  display: none; /* Hidden by default */
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
}

/* Modal box */
.modal-content {
  background-color: #fff;
  margin: 15% auto;
  padding: 20px 30px;
  border-radius: 12px;
  width: 90%;
  max-width: 400px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Heading */
.modal-content h2 {
  margin-top: 0;
  color: #333;
}

/* OK Button */
.ok-btn {
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 6px;
  padding: 10px 20px;
  cursor: pointer;
  font-size: 16px;
}

.ok-btn:hover {
  background-color: #0056b3;
}


@keyframes fadeOut {
  to {
    opacity: 0;
    transform: translateY(10px);
  }
}

