/*General*/
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }

body {
  font-family: kingred;
  line-height: 1.6;
  }

@font-face {
  font-family: PlayfairDisplay-Bold;
  src: url(PlayfairDisplay-Bold.ttf);
}

@font-face {
  font-family: Poppins-SemiBold;
  src: url(Poppins-SemiBold.ttf);
}

@font-face {
  font-family: Kindred-Youth;
  src: url(Kindred-Youth.otf);
}

@font-face {
  font-family: kingred;
  src: url(kingred.otf);
}

.varela-regular {
  font-family: "Varela", sans-serif;
  font-weight: 400;
  font-style: normal;
}


h1{
  font-family: Kindred-Youth;
}

p{
  font-family: kingred;
}

/*Horizontal Line*/
hr {
  border: 0;
  height: 1px;
  background-image: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0));
}

/*Button*/ 

.homepagesection1button {
  appearance: button;
  background-color: white;
  position: relative;
  text-align: center;
  border-radius: 10%;
  color: #2c3e91;
  font-size: 1.5rem;
  font-family: Poppins-SemiBold;
  transition-duration: 0.4s;
  padding: 2%;
  width: 7vw;
}

.homepagesection1button:hover {
  background-color: #2c3e91;
  color: white;
}

.button {
  appearance: button;
  backface-visibility: hidden;
  background-color: white;
  border-radius: 6px;
  border-width: 0;
  box-shadow: rgba(50, 50, 93, .1) 0 0 0 1px inset,rgba(50, 50, 93, .1) 0 2px 5px 0,rgba(0, 0, 0, .07) 0 1px 1px 0;
  box-sizing: border-box;
  color: #2c3e91;
  cursor: pointer;
  font-family: kingred;
  font-size: 100%;
  height: 44px;
  line-height: 1.15;
  margin: 12px 0 0;
  outline: none;
  overflow: hidden;
  padding: 0 15px;
  position: relative;
  text-align: center;
  text-transform: none;
  transform: translateZ(0);
  transition: all .2s,box-shadow .08s ease-in;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  width: 100%;
}
/*for debugging
div {
    border: 1px solid red;
    background: transparent;
  }*/

/*Media Responsiveness*/
@media screen and (min-width: 1024px){
    /*Home Page*/
    /*Home Section 1*/
    .homesection1{
      background-image: url("images/homepageimage2.jpg");
      display: flex;
      background-size: cover;
      background-repeat: no-repeat;
      background-position: center;
      h1{
        color: #F6F9FE;
      }
      p{
        color: #F6F9FE;
      }
      }

    /*Home Section 2*/
    .stats-container {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 15px;
      text-align: center;
      flex-wrap: wrap;
    
    }
    
    .stat {
      font-size: 18px;
      color: #c5d1e9;
    }
    
    .stat .value {
      font-size: 3em;
      font-weight: bold;
    }
    .blue {
      color: #c5d1e9;
    }
    .green {
      color: #C191BB;
    }
    .peach {
      color: #5487C8;
    }
    .dark-green {
      color: #c5d1e9;
    }
    
    /*Text Alignment*/
    .left-half {
      width: 50%;  /* Takes up half the width of the page */
      text-align: left;  /* Aligns text to the left within this div */
      margin-left: 10%;
      padding: 5%;  /* Optional: Add padding for better readability */
      display: flex;
      flex-wrap: wrap;
    }
    .right-half {
      width: 50%;  /* Takes up half the width of the page */
      text-align: right;  /* Aligns text to the left within this div */
      margin-right: 10%;
      padding: 5%;  /* Optional: Add padding for better readability */
      display: flex;
      flex-wrap: wrap;
    }
    
    /*Home Section 5*/
    
  
    .split-row{
      display: flex;
      align-items: center;
    }
}

/*for Screens 769px - 1023px*/
@media screen and (min-width: 769px) and (max-width: 1023px){
    /*Home Page*/
    /*Home Section 1*/
       .homesection1{
        background-image: url("images/homepageimage2.jpg");
        display: flex;
        
        background-size:cover;
        background-repeat: no-repeat;
        background-position: center;
        h1{
          color: #F6F9FE;
        }
        p{
          color: #F6F9FE;
        }
        }

    /*Home Section 2*/
    .stats-container {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 15px;
      text-align: center;
      flex-wrap: wrap;
    }
    .stat {
      font-size: 18px;
      color: #000;
    }
    
    .stat .value {
      font-size: 3em;
      font-weight: bold;
    }
    .blue {
      color: #c5d1e9;
    }
    .green {
      color: #C191BB;
    }
    .peach {
      color: #5487C8;
    }
    .dark-green {
      color: #c5d1e9;
    } 
        
    /*Text Alignment*/
    .left-half {
      width: 50%;  /* Takes up half the width of the page */
      text-align: left;  /* Aligns text to the left within this div */
      margin-left: 10%;
      padding: 20px;  /* Optional: Add padding for better readability */
      display: flex;
      flex-wrap: wrap;
    }
    /*Home Section 3*/
   .row-container1{
    align-items: center;
    display: flex;
    h1{
      size: 7rem;
    } 
   }
    /*Home Section 5*/

    .split-row{
      display: flex;
      align-items: center;
    }
}

@media screen and (min-width: 576px) and (max-width: 768px){
    /*Home Page*/
    /*Home Section 1*/
    .homesection1{
      background-image: url("images/homepageimage2.jpg");
      display: flex;
      background-size: cover;
      background-repeat: no-repeat;
      background-position: center;
      h1{
        color: #F6F9FE;
      }
      p{
        color: #F6F9FE;
      }
      }
    
    /*Home Section 2*/
    .stats-container {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      justify-content: center;
      gap: 15px;
      text-align: center;
      flex-wrap: wrap;
    
    }
    .stat {
      font-size: 75%;
      color: #000;
    }
    
    .stat .value {
      font-size: 3em;
      font-weight: bold;
    }
    .blue {
      color: #c5d1e9;
    }
    .green {
      color: #C191BB;
    }
    .peach {
      color: #5487C8;
    }
    .dark-green {
      color: #c5d1e9;
    }  
    
    /*Text Alignment*/
    .left-half {
      width: 50%;  /* Takes up half the width of the page */
      text-align: left;  /* Aligns text to the left within this div */
      margin-left: 10%;
      padding: 20px;  /* Optional: Add padding for better readability */
      display: flex;
      flex-wrap: wrap;
    }
    
    /*Home Section 5*/
    .split-row{
      display: flex;
     
      align-items: center;
    }
}

/*for 360px and larger*/
@media(max-width: 575px){
    .homesection1{
        background-image: url("images/homepageimage2mobile.png");
        padding: 2%;
        display: flex;
        background-size: cover;
          background-repeat: no-repeat;
          background-position: center;
        }
    h1{
      color: #F6F9FE;
      align-items: center;
      padding: 2%;
    }
    p{
      color: #F6F9FE;
      align-items: center;
      padding: 4%;
    }
    .left-half{
      margin-top: 15%;
      background-color: rgba(0, 0, 0, 0.2);
    }
  
/*Home Section 2*/
.stats-container {
  max-width: 100%;
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  justify-content: flex-end;
  text-align: center;
  padding: 0%;
  /*grid-template-columns: 1fr;  Switch to 1 column 
  gap: 10px;*/
}
.stat {
  font-size: 75%;
  color: #000;
  grid-template-columns: repeat(1, 1fr);
}
.stat .value {
  font-size: 3em;
  font-weight: bold;
}
.blue {
  color: #c5d1e9;
}
.green {
  color: #C191BB;
}
.peach {
  color: #5487C8;
}
.dark-green {
  color: #c5d1e9;
} 

/*Home Section 5*/

.split-row{
  max-width: 100%;
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  justify-content: flex-end;
  text-align: center;
  padding: 1%;
}
}