html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  overflow-x: hidden;
}

/* --- MAIN CONTENT LAYOUT --- */
.container {
  display: flex;
  width: 100%;
  height: 100vh;
  padding-top: 8vh;
}

.language-translation,
.concept-translation {
  width: 50%;
  height: 100%;
  color: white;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center; /* Vertical centering */
  align-items: center; /* Horizontal centering */
  text-align: center;

  background-size: cover;
  background-repeat: no-repeat;
  transition: transform 0.3s ease;

  filter: saturate(20%);
  transform: scale(1);

  transition:
    filter 0.4s ease,
    transform 0.4 ease;
}

.language-translation:hover,
.concept-translation:hover {
  filter: saturate(120%);
  transform: scale(1.1);
}

.language-translation {
  background-image: url('../../assets/translation-page/landing/languageTranslations.jpg');
  background-position: right center;
}

.concept-translation {
  background-image: url('../../assets/translation-page/landing/ScienceTermsTranslations.jpg');
  background-position: center center;
}

/* Content spacing */
.language-translation h1,
.concept-translation h1 {
  margin-bottom: 20px;
}

.language-translation p,
.concept-translation p {
  margin-bottom: 30px;
  max-width: 80%;
  text-shadow:
    0 0 5px black,
    0 0 5px black,
    0 0 5px black;
}

/* Button Styling */
.cta-button {
  background-color: #002244;
  color: white;
  padding: 15px 35px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1rem;
  border: 2px solid white;
  transition:
    background-color 0.3s ease,
    color 0.3s ease;
}

.cta-button:hover {
  background-color: white;
  color: #002244;
}

@media only screen and (max-width: 899px) {
  .container {
    flex-direction: column;
    padding-top: 8vh;
  }

  .language-translation,
  .concept-translation {
    width: 100%;
    height: 50%;
  }
}

@media only screen and (max-width: 739px) {
  .language-translation h1,
  .concept-translation h1 {
    font-size: 1.8rem;
  }

  .language-translation p,
  .concept-translation p {
    font-size: 0.9rem;
  }
}
