html, body {
  height: 100%;          /* Ensures the elements can stretch to full viewport */
  margin: 0;             /* Removes default browser margins that can cause gaps */
  padding: 0;
}

body {
	min-height: 100vh;     /* 100% of viewport height – even better for modern browsers */
	background-image: linear-gradient(135deg, #bf0a30 0%, #ffffff 40%, #002868 100%);
	background-repeat: no-repeat;
	background-size: cover;   /* Makes the gradient stretch to fill the entire element */
	background-attachment: fixed;  /* keeps gradient static while scrolling (test on mobile) */
	display: flex;
	justify-content: center;  /* Horizontally centers the child (.main-wrapper) */
	align-items: flex-start;
	margin: 2rem;
	font-family: Playfair, Georgia, 'Times New Roman', Times, serif;
	font-size: calc(10px + 2vmin);
}

.main-wrapper {
	background-color: white;
	border-radius: 12px;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
	padding: 2rem;
	width: 100%;
	max-width: 1000px;	
}

h1 {
	text-align: center;
	font-size: 2rem;
}

h2 {
  text-align: center;
  color: #002868;
  margin: 2rem 0 1rem;
  font-size: 1.8rem;
}

p {
  font-size: 1.2rem;
  margin: 25px;
}

ul {
	font-size: 1.2rem;
	list-style-type: none;
	font-weight: bold;
	margin: 1rem auto;
	max-width: 600px;
}

a {
  font-family: Playfair, Georgia, 'Times New Roman', Times, serif;
  text-decoration: none;
  font-weight: 500;  
}

.flag-svg {
	width: 2.5rem;
	height: auto;
}

.star-divider {
  text-align: center;
  font-size: 1.8rem;           /* Tweak size – try 1.6rem or 2rem if needed */
  letter-spacing: 0.5rem;      /* Adjust spacing between stars; 0.4rem–0.7rem range works well */
  margin: 1.5rem 0;            /* Vertical breathing room */
  line-height: 1.4;
}

.star-divider span {
  display: inline-block;
}

/* Red solid stars: positions 1,4,7,10,13,16,... */
.star-divider span:nth-child(3n+1) {
  color: #bf0a30;  /* Your red */
}

/* Hollow white stars with blue outline: positions 2,5,8,11,14,17,... */
.star-divider span:nth-child(3n+2) {
	color: #002868;
}

/* Blue solid stars: positions 3,6,9,12,15,18,... */
.star-divider span:nth-child(3n) {
  color: #002868;  /* Your navy blue */
}

.registration-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
  margin: 2rem 0;
}

.registration-buttons small {
  display: block;
  margin-top: 0.3rem;
  font-weight: normal;
}

.registration-btn {
  display: inline-block;
  background-color: #002868;           /* Navy blue */
  color: white;
  font-family: inherit;
  font-size: 1.2rem;
  font-weight: 600;
  text-decoration: none;
  padding: 1rem 2rem;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  text-align: center;
  min-width: 220px;                    /* Prevents too-narrow buttons */
}

.registration-btn:hover {
  background-color: #bf0a30;           /* Red on hover */
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.registration-btn:active {
  transform: translateY(0);
}

.email-link {
	color: #002868;
}

.email-link:visited {
	color: #bf0a30;
}

@media (max-width: 768px) {
  body {
    font-size: calc(12px + 1.5vmin);  /* Smaller base */
  }
  h1 {
    font-size: 1.6rem;
  }
  p, ul {
    font-size: 1rem;
    margin: 15px;
  }
  .star-divider {
    font-size: 1.4rem;
    letter-spacing: 0.4rem;
  }
}

@media (max-width: 600px) {
  .registration-buttons {
    flex-direction: column;
    gap: 1rem;
  }
  .registration-btn {
    min-width: auto;
    width: 100%;
  }
}