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

:root {
  --golden-yellow: #f5c247;
  --mint-turquoise: turquoise;
  --coral-red: coral;
  --light-gray: #e0e0e0;
  --black: #111;
  --white: #fff;
  --fuchsia: #ff00ff;
}

.fuchsia-text {
  color: var(--fuchsia);
}

html {
  font-size: clamp(1rem, 0.95rem + 0.25vw, 1.25rem);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  background-color: var(--white);
  color: var(--black);
  text-align: center;
  box-sizing: border-box;
  opacity: 0;
  animation: fadeIn 0.5s ease-in-out forwards;
}

*, *::before, *::after {
  box-sizing: inherit;
}

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

section {
  padding: 4rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  width: 100%;
}

main {
  width: 100%;
  max-width: 600px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.75rem;
}

.intrigue-container {
  gap: 1.5rem;
}

.logo img {
  width: clamp(120px, 30vw, 180px);
  height: clamp(120px, 30vw, 180px);
  border-radius: 50%;
  object-fit: cover;
}

.main-question {
  font-size: clamp(2rem, 1.5rem + 2.5vw, 3.5rem);
  font-weight: 600;
  margin: 0;
}

.separator {
  width: 70px;
  height: 2px;
  background-color: var(--light-gray);
  margin: 0 auto;
}

.slogan {
  font-size: 1.25rem;
  margin: 0;
  max-width: 450px;
}

.cta-button {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--black);
  background-color: var(--golden-yellow);
  padding: 1em 2em;
  border: none;
  border-radius: 50px;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-top: 1rem;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px -10px var(--golden-yellow);
}

#about {
  background-color: #f9f9f9;
}

.explanation-container {
  text-align: left;
  width: 100%;
  max-width: 900px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.main-text {
  font-size: clamp(1.2rem, 1rem + 1vw, 1.75rem);
  font-weight: 400;
  line-height: 1.5;
  text-align: center;
}

.marker-title {
  color: var(--mint-turquoise);
  text-transform: uppercase;
  font-weight: 600;
  text-align: center;
}

.marker-title .separator {
  background-color: var(--mint-turquoise);
  width: 100%;
  margin: 0.5rem 0 0 0;
}

.contacts {
  text-align: center;
  margin-top: 2rem;
}

.address {
  font-size: 1rem;
  color: #908d8d;
}

.contact-links a {
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--coral-red);
  text-decoration: none;
  margin: 0 0.75rem;
  transition: color 0.3s ease;
}

.contact-links a:hover {
  color: var(--black);
}

footer {
  padding: 2rem 1rem;
  background-color: var(--white);
  text-align: center;
}

footer p {
  margin: 0;
  font-size: 0.875rem;
  color: #6c757d; /* Bootstrap's secondary text color */
}

@media (min-width: 768px) {
  .explanation-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-areas:
      "main marker"
      "contacts contacts";
    gap: 4rem;
    align-items: start;
  }
  .main-text p {
    margin: 0;
  }
  .main-text { 
    grid-area: main; 
    text-align: left;
    font-size: clamp(1.5rem, 1.5rem + 1vw, 2.25rem);
  }
  .marker-title { 
    grid-area: marker; 
    text-align: right;
  }
  .marker-title .separator {
    margin: 0.5rem 0 0 auto;
  }
  .contacts { 
    grid-area: contacts; 
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .intrigue-container main {
    gap: 2.5rem;
  }
}

@media (max-height: 500px) and (orientation: landscape) {
  .intrigue-container main {
    gap: 1rem;
  }
  .logo img {
    width: 100px;
    height: 100px;
  }
  .main-question {
    font-size: 1.5rem;
  }
}

@media (min-width: 960px) {
  .slogan span:nth-child(2) {
    display: block;
  }
}

@media (max-width: 480px) {
  .intrigue-container {
    padding-top: 2rem;
    padding-bottom: 6rem;
  }
  .slogan span {
    display: inline-block;
  }
  .slogan span:nth-child(2) {
    display: inline-block;
  }
  .slogan {
    font-size: 1.1rem;
    line-height: 1.4;
    padding-bottom: 1rem;
  }
  .cta-button {
    font-size: 0.7rem;
    padding: 0.8em 1.5em;
  }
}

