body {
  font: 14px "Lucida Grande", Helvetica, Arial, sans-serif;
  margin: 0px;
}

a {
  color: #00B7FF;
}

hr {
  border: 0;
  clear:both;
  display:block;
  width: 96%;               
  background-color:#b0000f;
  height: 1px;
}

figure {
  display: inline-block;
  position: relative;
}

figcaption {
  position: sticky;
  bottom: 4px;
  left: 0;
  right: 0;
}

/* text themes */
.text-style-main {
    letter-spacing: 0;
    font-family: sofia-pro, sans-serif;
    letter-spacing: 0;
    text-rendering: optimizeLegibility;
    font-size: 1.0625rem;
    line-height: 1.5rem;
    margin-bottom: 1.5rem;
    color: #20032e;
}

.text-style-main-headers {
    letter-spacing: 0;
    font-family: sofia-pro, sans-serif;
    letter-spacing: 0;
    text-rendering: optimizeLegibility;
    font-size: 1.0625rem;
    line-height: 1.5rem;
    margin-bottom: 1.5rem;
    font-weight: bold;
    color: #20032e;
}

/*content background*/
.page-content {
    background-color: #790a13;
    width: 100%;
    max-width: 100%;
    margin: 40px;
    /*padding: 60px;*/
    justify-self: center;
    mask: 
      radial-gradient(165.47px at 50% 222px,#000 99%,#0000 101%) calc(50% - 148px) 0/296px 100%,
      radial-gradient(165.47px at 50% -148px,#0000 99%,#000 101%) 50% 74px/296px 100% repeat-x;
}

.content-inner {
  max-width: 1100px;
  margin: 0 auto;
  justify-items: center;
  padding: 100px;
}

.center-image {
  display: block;
  margin: 2rem auto;
  padding: 0;
  border-radius: 10px;
}

/*
  ----- Main Page Styling -----
*/

/*grid layout styling*/
.box{
  background-color: #b5d8ff;
  min-width: 0;
  overflow: hidden;
  justify-items: center;
  align-items: center;
  box-sizing: border-box;
  padding: 10px;
  border-radius: 30px;
  border-width: 10px;
  border-style: solid;
  border-color:#6d88fe;
}


/* main page image styling*/
.main-img {
  width: 90%;
  height: 90%;
  object-fit: contain;
  corner-shape: superellipse(0);
  border-radius: 60px;
  filter: drop-shadow(0 0 10px rgb(0 0 0/50));
}

/*for main page at 3 different screen sizes*/
.main-page {
  min-height: 0;
  min-width: 0;
  width: 100%;
  display: grid;
  grid-auto-columns: repeat(auto-fit, 1fr);
  grid-auto-rows: repeat(auto-fit, 1fr);
  gap: 1em;
  grid-template-areas:
    "box1 box1 box1"
    "box1 box1 box1"
    "box2 box2 box3"
    "box4 box4 box3";
}
@media(max-width: 56em){
  .main-page {
    grid-auto-columns: repeat(auto-fit, 1fr);
    grid-auto-rows: repeat(auto-fit, 1fr);
    grid-template-areas:
    "box1 box1"
    "box2 box3"
    "box4 box4";
  }
  .star-off {
    display: none;
  }
}
@media(max-width: 24em){
  .main-page {
    grid-auto-columns: repeat(auto-fit, minmax(300px, 1fr));
    grid-auto-rows: repeat(auto-fit, minmax(300px, 1fr));
    grid-template-areas:
    "box1"
    "box2"
    "box3"
    "box4";
  }
  .star-off {
    display: none;
  }
}

/* 
  ----- Donation Widget -----
*/

.donation-widget {
  width: 80%;
  margin: 30px auto;

  background: #b5d8ff;
  border-radius: 20px;
  padding: 25px;
  text-align: center;

  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}

.donation-amount {
  color: #20032e;
  font-size: 1.2rem;
  margin-bottom: 15px;
}

.progress-bar {
  width: 100%;
  height: 28px;
  background: #b5d8ff;
  border-radius: 999px;
  overflow: hidden;
  border: 2px solid #20032e;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(
    90deg,
    #360056,
    #ae89c4
  );
  border-radius: 999px;

  transition: width 0.5s ease;
}

.donation-percent {
  margin: 10px;
  margin-bottom: 20px;
  color: #360056;
}

.donation-button {
  background-color: #360056;
  color: white;
  border-radius: 20px;
  padding: 12px;
  font-size: 1.2rem;
}

/* 
  ----- Header -----
*/

header {
  /*padding-left: 10px;*/
  padding-top: 10px;
  margin-bottom: 20px;
}

.header-art ul {
  display: flex;
  justify-content: center;
  align-items: center;
  list-style: none;
  padding-top: 10px;
  padding-left: 80px;
  padding-bottom: 0px;
  margin: 0;
}

.logo img {
  width: 75%;
  height: auto;
}

.star img {
  width: 75%;
  height: auto;
}

.main-nav {
  top: 0;
  z-index: 1000;
  background-color: #a5b2fe;

  list-style: none;
  /*padding: 0;*/
  margin: 5px;
  text-align: center;

}

.main-nav ul,
.main-nav li {
  display: inline-block;
  margin: auto;
}

.main-nav a {
  color: #360056;
  text-decoration: none;
  margin: 5px;
  font-size: large;
}

.main-nav a:hover {
  color: white;
}

/* 
  ----- Footer -----
*/

footer {
    width:100%;
    background-color: #360056;
    color: white;
    margin-bottom: 20px;
    /*padding: 10px 0;*/
}

.footer-container {
    margin: 0 auto;
    text-align: center;
}

/* Navigation links */
.footer-nav ul,
.footer-links {
    top: 0;
    z-index: 1000;
    list-style: none;
    padding: 10px;
    margin: 5px;
    text-align: center;
}

.footer-nav li {
    display: inline-block;
    margin: 5px;
}

.footer-nav a,
.footer-links a {
    color: white;
    text-decoration: none;
}

.footer-nav a:hover,
.footer-links a:hover {
    color: #9CCBFF;
}