html {
  height: 100%;
  scroll-behavior: smooth;
 }


 body {
  font-family: 'DM Sans', sans-serif;
  margin: 0;
  padding: 0;
  background: #fefef3;
}

header {
  position: sticky;
  top: 0;
  z-index: 1000; /* stays above other elements */
  background-color: #e9daff;
  padding: 0rem 2rem;
  width: 100%;
  box-sizing: border-box;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
 }

 .header-content {
  display: flex;    
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}

main {
  padding: 0rem;
 }

.title{
  color:#5e2ea4;
}

 .left {
  display: flex;
  align-items: center;
 }

 .logo {
  width: 50px; /* or whatever size you want */
  height: 50px; /* make height equal to width */
  object-fit: cover; /* make sure the image fills the circle nicely */
  border-radius: 50%; /* this makes it a circle */
  margin-right: 5px;
 }

 .button {
  font-family: 'DM Sans', sans-serif;
  background-color: #5e2ea4; /* Green */
  border: none;
  border-radius: 30px;
  color: #eee1ff;
  padding: 12px 25px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 1.2rem;
  margin: 10px 2px;
  transition-duration: 0.4s;
  cursor: pointer;
 }

 .button:hover{
  background-color: #412072;
 } 

 .global-index {
  position: relative;
  width: 100vw;
  height: 100vh;
  background-image: url("images/index/indexPicture.svg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1); /* default scale */
  transition: transform 0.2s ease-out;
  will-change: transform;
 }
 
 
 .global-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: flex-start;
 }
 
 .index-text {
  position: center;
  margin: auto;
  padding-bottom: 15rem;
  max-width: 100%;
 }
 
 
 .index-title {
  font-size: 9rem;
  font-weight: 700;
  color: #eee1ff;
  margin-bottom: -2rem;
  margin-top: -2.5rem;
 }
 
 .index-subtitle1 {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.6;
  color: #fffde0;
  font-weight: 100;
  margin-bottom: 0.5rem;
  font-style: italic;
  font-weight: bold;
 }
 
 .index-subtitle2 {
  font-size: 1.2rem;
  line-height: 1.6;
  color: white;
  font-weight: 100;
  margin-top: 0rem;
  letter-spacing: 0.105rem;
 }

 .section-container{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 7.5rem 2rem;
  background-color: #f5eeff;
 }

 .section-text {
  flex: 1;
  padding-left: 2.5rem;
 }

 .section-title{
  font-size: 3.7rem;
  margin-top: 0;
  margin-bottom: 0.5rem;
  color: #5e2ea4;
 }

 .section-subtitle1 {
  font-size: 1.7rem;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.03rem;
  color: #eea8b8;
  font-weight: 100;
  margin-bottom: -0.75rem;
  font-style: italic;
  font-weight: bold;
 }
 
 .section-subtitle2 {
  max-width: 90%;
  font-size: 1.2rem;
  line-height: 1.7;
  color: #5e2ea4;
  margin-top: 0;
  margin-bottom: 1rem;
 }
 
 .section-image {
  text-align: center;
  padding: 0rem 2rem 0rem 1rem;
  margin: 0 auto; 
 }

 .section-image img {
  width: 100%; 
  height: auto;
  object-fit: cover;
  margin: 0 auto; 
 }

 .section-button{
  background-color: #eea8b8;
  font-family: 'DM Sans', sans-serif;
  border: none;
  border-radius: 30px;
  color: #fffde0;
  padding: 12px 25px;
  text-align: center;
  text-decoration: none;
  font-size: 1.2rem;
  margin: 10px 2px;
  transition-duration: 0.4s;
  cursor: pointer;
 }
 
 .section-button:hover{
  background-color: #e67d95;
  color: #ffece0;
 }

 .mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  width: 63%;
  height: 100%;
  background-color: #e9daff;
  box-shadow: -2px 0 8px rgba(0, 0, 0, 0.2);
  padding: 2rem;
  flex-direction: column;
  gap: 1rem;
  z-index: 1500;
}

.mobile-nav a {
  color: #5e2ea4;
  font-size: 1.5rem;
  text-decoration: none;
}

.mobile-nav.active {
  display: flex;
}

.close-btn {
  align-self: flex-end;
  font-size: 2rem;
  cursor: pointer;
  color:#5e2ea4;
}
.section-divider {
  border: none;
  border-top: 1px solid #666666;
  margin: 2rem 0 0 0 ;
  width: 100%;
 }

footer {
  padding: 2rem 1rem 1rem 4rem;
  background-color: #e9daff;
}

footer p {
  margin-top: 0;
}

.footer-title {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.footer-substitle {
  font-size: 1rem;
  padding-left: 0;
}

 

 @media (min-width: 769px) {
  .desktop-nav a {
    margin: 0 10px;
    color: #5e2ea4;
    text-decoration: none;
    font-size: 1.2rem;
  }

  .desktop-nav a:hover {
    color: #381b62;
  }
    
  .mobileMenu,
  .mobile-nav {
    display: none;
  }
}

/*MOBILE FRIENDLY*/
@media (max-width: 769px) {
  .desktop-nav {
    display: none;
  }

  .index-text{
    max-width: 100%;
    padding-left: 0.4rem;
    padding-top: 26rem;
  }

  .index-title{
    font-size: 4rem;
  }

  .index-subtitle1{
    font-size: 2rem;
    margin-bottom: 2rem;
  }

  .index-subtitle2{
    font-size: 1rem;
    margin-top: 1.5rem;
    letter-spacing: 0rem;
  }

  .section-container{
    padding: 2rem;
   }

  .section-text {
    flex: 1;
    padding-left: 0;
   }


  .section-title{
    font-size: 3.7rem;
    margin-top: 0;
    margin-bottom: 0.5rem;
    color: #5e2ea4;
   }

  .section-image {
    text-align: center;
    padding: 0rem 2rem 0rem 1rem;
    order: -1;
   }

   .button{
    padding: 12px 60px;
   }

   footer {
    padding: 2rem 1rem 1rem 2rem;
  }

}