@import url('https://fonts.googleapis.com/css2?family=Lexend+Deca:wght@100..900&family=Lilita+One&display=swap');
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: Lexend Deca;
  background-color: white;
  display: flex;

  justify-content: center;
  min-height: 100vh;
  padding: 20px;
}

.container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  max-width: 1000px;
  width: 100%;
  text-align: left;
}

.main-image {
  /* max-width: 300px; */
  width: 512px;
  height: auto;
}

.text-content {
  max-width: 800px;
  width: 100%;
  flex-shrink: 1;
  padding-top: 5%;
}

.text-content h1 {
  font-size: 64px;
  font-weight: 900;
  font-family: Lilita One;
}

.text-content h2 {
  font-size: 32px;
  color: red;
  font-weight: normal;
  padding-bottom: 10px;
  border-bottom: 2px solid black ;
  white-space: nowrap;
}

.text-content p {
  font-size: 20px;
  font-weight: 500;
  color: #333;
  margin-top: 5px;
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .container {
    flex-direction: column;
    gap: 20px;
  }

  .text-content h1 {
    font-size: 36px;
  }

  .text-content h2 {
    font-size: 18px;
  }

  .text-content p {
    font-size: 13px;
  }
}

@media (max-width: 480px) {

  .container {
    text-align: center;
  }
  .text-content h1 {
    font-size: 28px;
  }

  .main-image {
    width: 300px;
    height: auto;
  }

  .text-content h2 {
    font-size: 16px;
  }

  .text-content p {
    font-size: 12px;
  }
}
