
/* Soubor css/styles_introduce.css */


* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px; /* základní velikost písma desktop */
}

body {
  font-family: "Helvetica", Arial, sans-serif;
  color: #222;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.6;
}

/* ====================
   OBECNÉ ROZLOŽENÍ
   ==================== */
.main-index {
  text-align: center;
  padding: 100px 20px 60px 20px;
  flex: 1;
}

/* Nadpisy */
h1 {
  font-size: 1.4rem; /* 32px */
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}


/* Texty a odstavce */
p {
  text-align: center;
  padding: 0.625rem 0; /* 10px */
  font-size: 1.1rem;  /* 17.6px */
  max-width: 37.5rem; /* 600px */
}

/* Dekorativní vlna */
.wave-icon {
  font-size: 3rem; /* 48px */
  margin: 1.25rem 0 2.5rem 0; /* 20px a 40px */
  color: #0077cc;
  text-align: center;
  animation: waveFloat 3s ease-in-out infinite;
}

@keyframes waveFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-0.3125rem); } /* -5px */
}

/* Tlačítka a odkazy */
.link-list {
  display: flex;
  flex-direction: column;
  gap: 1.5625rem; /* 25px */
  align-items: center;
  margin-top: 0.9375rem; /* 15px */
  margin-bottom: 1.5625rem; /* 25px */
}

.main-link {
  background: #0077cc;
  color: #fff;
  text-decoration: none; 
  font-size: 1.8rem; /* 28.8px */
  font-weight: 600;
  padding: 1.125rem 1.875rem; /* 18px 30px */
  border-radius: 50px;
  transition: 0.3s;
}

.main-link:hover {
  background: #005fa3;
  transform: translateY(-0.125rem); /* -2px */
}

.small-link {
  color: #004aad;
  text-decoration: underline;
  font-size: 1.5rem; /* 24px */
  transition: 0.3s;
}

.small-link:hover {
  color: #002f73;
  text-decoration: none;
}

/* Footer */
.footer p {
  margin: 0;
  font-size: 0.6rem; /* 9.6px */
  letter-spacing: 0.5px;
  text-align: center;
  color: #222;
  padding: 0.9375rem 0; /* 15px */
}

/* ===================================
   RESPONZIVNÍ STYLY – MOBIL
   =================================== */
@media (max-width: 600px) {
  html {
    font-size: 14px; /* o něco větší než desktop, zachová proporce */
  }

  .main-index {
    padding: 4.375rem 0.9375rem 2.5rem 0.9375rem; /* 70px 15px 40px 15px */
  }

  h1 {
    font-size: 1.5rem; /* zachování proporce */
    margin-bottom: 0.9375rem;
  }

  .wave-icon {
    font-size: 3.125rem;
    margin-bottom: 1.25rem;
  }

  .main-index p {
    font-size: 1.2rem;
    line-height: 1.6;
    padding: 0 0.625rem;
    margin-top: 0.9375rem;
  }

  .main-link {
    font-size: 1.9rem;
    padding: 1.125rem 1.875rem;
  }

  .small-link {
    font-size: 1.5625rem;
  }

  .footer p {
    font-size: 0.65rem;
    padding: 0.625rem 0;
  }
}
