@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter", sans-serif;
}

body {
  background-color: #f4f4f9;
  color: #333;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
}

nav {
  width: 100%;
  max-width: 1000px;
  display: flex;
  justify-content: center;
  padding: 15px;
  background: #ffffff;
  border-bottom: 2px solid #ddd;
}

nav ul {
  display: flex;
  justify-content: center;
  align-items: center;
  list-style: none;
}

nav ul li {
  margin-right: 20px;
}

nav ul li a {
  text-decoration: none;
  color: #007bff;
  font-weight: 600;
  font-size: 1rem;
  transition: color 0.3s, transform 0.2s ease-in-out, font-size 0.2s ease-in-out;
  position: relative;
}

nav ul li a:hover {
  color: #0056b3;
  transform: scale(1.05);
}

main {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1000px;
  background: #fff;
  padding: 40px;
  margin-top: 20px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.text-content {
  flex: 1;
  padding-right: 40px;
}

.text-content h2 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #333;
}

.text-content p,
.text-content ul {
  font-size: 1rem;
  margin-bottom: 8px;
  line-height: 1.6;
}

.text-content strong {
  color: #007bff;
}

.text-content ul {
  padding-left: 20px;
}

.text-content ul li {
  list-style: circle;
  margin-bottom: 5px;
}

.text-content a {
  color: #007bff;
  text-decoration: none;
  transition: color 0.3s;
}

.text-content a:hover {
  color: #0056b3;
}

.image-container {
  flex: 0.8;
  display: flex;
  justify-content: center;
}

.image-container img {
  width: 250px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease-in-out;
}

.image-container img:hover {
  transform: scale(1.1);
}

@media (max-width: 768px) {
  main {
    flex-direction: column;
    text-align: center;
    padding: 20px;
  }

  .text-content {
    padding-right: 0;
  }

  .image-container {
    margin-top: 20px;
  }
}
