@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Raleway:wght@300;400;600&display=swap');

:root {
  --primary-mint: #71cba7;
  --dark-text: #2c3e50;
  --soft-gray: #555;
}

#O-Mnie {
  padding: 60px 20px;
  background-color: #fff;
}

.o-mnie-container {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 120px;
}

.o-mnie-img {
  flex: 0 0 35%;
  position: relative;
}

.o-mnie-img img {
  width: 100%;
  max-height: 600px;
  height: auto;
  display: block;
  border-radius: 80px 15px 80px 15px;
  box-shadow: 0 15px 30px rgba(0,0,0,0.08);
  object-fit: cover;
  transition: transform 0.3s ease;
}

.o-mnie-img img:hover {
  transform: translateY(-5px);
}

.o-mnie-text {
  flex: 1;
}

.o-mnie-text h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  color: var(--dark-text);
  margin-bottom: 15px;
  line-height: 1.2;
}

.o-mnie-text p {
  font-family: 'Raleway', sans-serif;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--soft-gray);
  margin-bottom: 12px;
}

#o-mnie-anchor {
  scroll-margin-top: 85px;
}

html {
  scroll-behavior: smooth;
}

@media (max-width: 1024px) {
  .o-mnie-container {
    gap: 30px;
  }
}

@media (max-width: 830px) {
  .o-mnie-container {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }

  .o-mnie-img {
    width: 50%;
  }

  .o-mnie-text h2 {
    font-size: 1.75rem;
  }
}

@media (max-width: 480px) {
  #O-Mnie {
    padding: 40px 20px;
  }

  .o-mnie-img {
    width: 80%;
  }

  .o-mnie-text h2 {
    font-size: 1.5rem;
  }

  .o-mnie-text p {
    font-size: 0.9rem;
  }
}