@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@400;700&display=swap');

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

body {
  font-family: 'Quicksand', sans-serif;
  background: #ffffff;
  color: #222;
  display: flex;
  min-height: 100vh;
  animation: fadeIn 2s ease;
  overflow-x: hidden;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

@keyframes stretchScroll {
  0%, 100% { transform: scaleX(1); }
  50% { transform: scaleX(1.02); }
}

.left {
  width: 60%;
  padding: 2rem 3rem;
  display: flex;
  flex-direction: column;
  animation: stretchScroll 2s ease-in-out infinite;
}

.logo {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  animation: float 6s ease-in-out infinite, fadeIn 1.5s ease;
}

nav {
  margin-bottom: 2rem;
}

nav a {
  margin-right: 1.5rem;
  text-decoration: none;
  color: #222;
  font-weight: 600;
  transition: color 0.3s ease;
}

nav a:hover {
  color: #555;
}

.content {
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(15px);
  border-radius: 15px;
  padding: 2rem;
  max-width: 700px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
  animation: float 4s ease-in-out infinite, fadeIn 2.5s ease;
}

.content p {
  font-size: 1.2rem;
  line-height: 1.8;
}

footer {
  margin-top: 2rem;
  font-size: 0.85rem;
  color: #555;
  animation: float 6s ease-in-out infinite, fadeIn 3s ease;
}

.right {
  width: 40%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  animation: fadeIn 2s ease;
}

.right img {
  max-width: 100%;
  height: auto;
  transform: scale(1.1);
  animation: float 8s ease-in-out infinite, fadeIn 2s ease;
}

@media (max-width: 768px) {
  body {
    flex-direction: column;
  }

  .left, .right {
    width: 100%;
    padding: 1.5rem;
  }

  nav a {
    display: block;
    margin: 0.5rem 0;
  }
}
