html {
    padding: 0;
    margin: 0;
}
body {
    font-family: Constantia, "Lucida Bright", Lucidabright, "Lucida Serif", Lucida, "DejaVu Serif", "Bitstream Vera Serif", "Liberation Serif", Georgia, serif; 
    padding: 0;
    margin: 0;
    text-align: center;
    background-color: rgb(255,250,227);
    margin-right: 5%;
    margin-left: 5%;
    }

h1 {
    margin-top: 0;
    padding-top: 25px;

}

/*h2 used on candle-care page*/
h2 {
    font-family: 'Script MT Bold', cursive;
    font-size: 36px;
    font-weight: bold;
 }

#background-wrapper {
    position: absolute;
    width: inherit;
}
.background {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    top: 0;
    width: 100%;
    height: 100%;
    background-image: url("../Images/texture-4.jpg");
}

#margin-class {
    margin: auto;
    max-width:1000px;
}

#margin-class-2 {
    margin-left: 10%;
    margin-right: 10%;
    max-width:1000px;
}
.hero-image-home {
     /* Use "linear-gradient" to add a darken background effect to the image (photographer.jpg). This will make the text easier to read */
     background-color: rgb(255,250,227);
     /* Position and center the image to scale nicely on all screens */
     background-position: center;
     background-repeat: no-repeat;
     background-size: cover;
     background-attachment: fixed;
     height: 100%;
}
.hero-image {
    /* Use "linear-gradient" to add a darken background effect to the image (photographer.jpg). This will make the text easier to read */
    background-color: rgb(255,250,227);
    /* Position and center the image to scale nicely on all screens */
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
  }
  
  .hero-image-2 {
    /* Use "linear-gradient" to add a darken background effect to the image (photographer.jpg). This will make the text easier to read */
    background-color: rgb(255,250,227);
    height: 100%;
    /* Position and center the image to scale nicely on all screens */
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
  }
  .heading-text {
      font-family: 'Dancing Script', cursive;
      font-size: 65px;
      font-weight: bold;
  }

  .h2-heading-text {
    font-family: 'Dancing Script', cursive;
    font-size: 34px;
    font-weight: bold;
  }

  .about-section-text {
    font-family: 'Script MT Bold', cursive;
    font-size: 25px;
    font-weight: bold;
 }

.about-end-section-text {
    font-family: 'Script MT Bold', cursive;
    font-size: 28px;
    font-weight: bold;
 }

 .general-content-text {
     font-family: 'Sarabun', sans-serif;
     font-size: 20px;
 }

 .candle-list-heading-text {
    font-family: 'Sarabun', sans-serif;
    font-size: 17px;
    font-weight: 700;
}

#candle-list {
    font-family: 'Sarabun', sans-serif;
    font-size: 17px;
    font-weight: 700;
    padding-bottom: 0px;
    margin-bottom: 0px;
}

#italics-id {
    font-family: 'Sarabun', sans-serif;
    font-size: 17px;
    font-style: italic;
}

.candle-list-item-text {
    font-family: 'Sarabun', sans-serif;
    font-size: 17px;
    font-style: italic;
}

 #candle-list-heading-text {
    font-family: 'Sarabun', sans-serif;
    font-size: 17px;
    font-weight: 700;
}

#candle-list-item-text {
    font-family: 'Sarabun', sans-serif;
    font-size: 17px;
    font-style: italic;
}

.content-margin {
     margin-right: 15%;
     margin-left: 15%;
 }
.margin-class-2 {
    align-self: flex-start;
    margin: 0;
    padding: 0;
 }

.margin-class-3 {
    align-self: flex-start;
    margin: 0 0 0 0;
    padding: 0;
    text-align: left;
 }

  #italics-id {
    font-style: italic;
    padding-bottom:20px;
 }

  .content-container {
      padding-top: 5px;
      position: relative;
      background-attachment: scroll;
  }

  #container p { display: inline;}
  
  .home-text-p {
      position: relative;
      display: flex;
      flex-wrap: nowrap;
      align-items: baseline;
      margin-top: 25px;
      line-height: 20px;
  }

.header-1 {
    position: relative;
    padding-top: 50px;
    padding-bottom: 0px;
  }

.flex-container {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
}

#tree-image-size {
    width: 200px;
}

.nav-items {
    font-family: 'Sarabun', sans-serif;
    color: white;
    padding-right: 15px;
    font-size: 18px;
}

.wrapper-flex-wrapper {
    position: absolute;
    top:0;
    left: 0;
    width: 100%;
    background-image: url("../Images/texture-4.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 25px;
    padding-bottom: 15px;
    margin-bottom: 30px;
    border-top: 2px solid black;
    border-bottom: 2px solid black;
}
.flex-wrapper {
    align-content: center;
    margin-top: 10px;
    margin-right: 15px;
    margin-left: 20px;
    line-height: 20px;
}
/*
.positional-container {
    position: absolute;
    bottom: 0;
}
*/

@media only screen and (min-device-width: 540px) and (max-device-width: 1024px) {

    #margin-class {
        margin-left: 7%; 
        margin-right: 7%;
    }

    #tree-image-size {
        width: 130px;
    }

    .nav-items {
        font-family: 'Sarabun', sans-serif;
        color: white;
        padding-right: 15px;
        font-size: 17px;
    }

}

@media only screen and (max-device-width: 539px) {

    #margin-class {
        margin-left: 5%;
        margin-right: 5%
    }
/*candle-list items container*/
    .content-container {
        padding-top: 5px;
        position: relative;
        background-attachment: scroll;
        margin-left: 5%;
        margin-right: 5%;
    }


 #candle-list {
    font-family: 'Sarabun', sans-serif;
    font-size: 15px;
    font-weight: 700;
}

#italics-id {
    font-family: 'Sarabun', sans-serif;
    font-size: 15px;
    font-style: italic;
}


#italics-id {
    font-family: 'Sarabun', sans-serif;
    font-size: 15px;
    font-style: italic;
}

    .candle-list-heading-text {
        font-family: 'Sarabun', sans-serif;
        font-size: 15px;
        font-weight: 700;
    }
    
    .candle-list-item-text {
        font-family: 'Sarabun', sans-serif;
        font-size: 15px;
        font-style: italic;
    }
     #candle-list-heading-text {
        font-family: 'Sarabun', sans-serif;
        font-size: 15px;
        font-weight: 700;
    }
    
    #candle-list-item-text {
        font-family: 'Sarabun', sans-serif;
        font-size: 15px;
        font-style: italic;
    }

    #tree-image-size {
        width: 100px;
    }

    .flex-container {
        display: flex;
        flex-direction: column;
    }
    
    .header-1-image {
        position: relative;
        right: 0;
        margin-top: 20px;
    }
    
    .header-1-image-left {
        position: relative;
        left: 0;
    }

    .nav-items {
        font-family: 'Sarabun', sans-serif;
        color: white;
        padding-right: 15px;
        font-size: 15px;
    }
}
