/* --------------------------------------------------
   BASE STYLES
-------------------------------------------------- */

body {
  background-color: #fef3f1;
  font-family: Quicksand, sans-serif;
  margin: 0;
  padding: 0;
}

h1 {
  color: black;
  text-align: center;
  font-size: 30px;
}

h2 {
  color: black;
  text-align: center;
  font-size: 25px;
}

h3 {
  color: black;
  text-align: center;
  font-size: 20px;
  margin-bottom: 3px;
}

.leftalign {
  text-align: left;
}

p {
  text-align: center;
  font-size: 16px;
  margin-top: 5px;
}

/* --------------------------------------------------
   LAYOUT BLOCKS
-------------------------------------------------- */
.banner-wrapper {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.maintext {
  margin: auto;
  max-width: 900px;
  padding: 20px;
}

/* Make text readable on mobile */
@media (max-width: 600px) {
  .maintext {
    padding: 10px;
  }

  h1 {
    font-size: 26px;
  }

  h2 {
    font-size: 22px;
  }

  p {
    font-size: 18px;
  }
}

/* --------------------------------------------------
   MENU (RESPONSIVE)
-------------------------------------------------- */

.menu {
  display: flex;
  align-items: center;
  justify-content: flex-start;   /* items stay together */
  gap: 20px;                     /* spacing between icon and menu */
  max-width: 900px;
  margin: 0 auto;
  padding: 10px 20px;
}

ul {
  list-style-type: none;
  font-size: 20px;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 20px;
  background-color: #fef3f1;
}

li a {
  display: block;
  color: black;
  text-align: center;
  padding: 10px 0;
  text-decoration: none;
}

li a:hover {
  color: #ad2f1a;
}

.active {
  color: #ad2f1a;
  font-weight: bold;
}

.icon {
  width: 60px;
  height: auto;
  margin-bottom: 10px;
  position: static;
}

/* Mobile menu */
@media (max-width: 600px) {
  .menu {
    flex-direction: column;
    align-items: flex-start;
    padding: 10px;
  }

  ul {
    flex-direction: column;
    gap: 4px;        /* smaller vertical spacing */
    width: 100%;
  }

  li a {
    font-size: 20px;
    padding: 6px 0;  /* tighter padding */
    line-height: 1.2;
  }

  .icon {
    width: 50px;
    height: auto;
    margin-bottom: 8px;
    position: static;
  }
}

/* --------------------------------------------------
   IMAGES (RESPONSIVE)
-------------------------------------------------- */

.banner {
  display: block;
  margin: 0 auto;
  width: 100%;
  max-width: 900px;
  height: auto;
}

.centerpicture {
  display: block;
  margin: 20px auto;
  width: 100%;
  max-width: 450px;
  height: auto;
}

/* Decorative stars */
.star {
	  position: absolute;
  z-index: -1;
  width: auto;
  left: -70px;
  top: 30px;
  max-width: 70px;
}
.star2 {
  position: absolute;
  z-index: -1;
  width: auto;
  left: 280px;
  top: 200px;
  max-width: 70px;
}
.star3 {
  position: absolute;
  z-index: -1;
  width: auto;
  left: -75px;
  top: 180px;
  max-width: 70px;
}
.star4 {
  position: absolute;
  z-index: -1;
  width: auto;
  left: -70px;
  top: 30px;
  max-width: 70px;
}
.star5 {
  position: absolute;
  z-index: -1;
  width: auto;
  left: -70px;
  max-width: 70px;
}

/* On mobile: hide stars (they overlap text) */
@media (max-width: 600px) {
  .star,
  .star2,
  .star3,
  .star4,
  .star5 {
    display: none;
  }
}

/* --------------------------------------------------
   AFFILIATION LOGOS (RESPONSIVE)
-------------------------------------------------- */

.affiliations {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 20px 0;
  justify-content: center;
  align-items: center;
}

.aff-logo img {
  height: 60px;
  width: auto;
  display: block;
}

@media (max-width: 600px) {
  .aff-logo img {
    height: 45px;
  }
}

/* --------------------------------------------------
   FLOAT-BASED DIVS (LEGACY)
   Make them stack on mobile
-------------------------------------------------- */

.leftdiv,
.rightdiv,
.leftdivmij,
.rightdivmij {
  float: none;
  width: 100%;
}

@media (min-width: 700px) {
  .leftdiv {
    float: left;
    width: 50%;
  }

  .rightdiv {
    float: right;
    width: 50%;
    height: 180px;
  }

  .leftdivmij {
    float: left;
    width: 30%;
  }

  .rightdivmij {
    float: right;
    width: 60%;
    margin-top: 40px;
  }
}

/* --------------------------------------------------
   MISC
-------------------------------------------------- */

.titlepicture {
  margin-left: auto;
  margin-right: auto;
  height: 150px;
}

.elle {
  margin-top: 40px;
  width: 240px;
}

ol {
  font-size: 16px;
}

.with-bullets {
  list-style-type: disc;
  padding-left: 20px;
}
