/***** CSS resets *****/

p, ul, ol, h1, h2, h3, blockquote {
	margin: 0;
	padding: 0;
}

ul {
    list-style-type: none;
}

/***** Body styles *****/

body {
	font-family: "raleway", sans-serif;
    font-weight: 400;
    font-style: normal;
	/* background-color: #9ca3ab; */
	font-size: 16px;
    line-height: 1.7em;
    margin: 0 auto; 
    background-image: url(spa-final-images/random_grey_variations.webp);
}

.section {
    /* padding: 30px 40px 20px 30px; */
    background-color: #d4d2c3;
}

.section h1 {
    padding: 30px 40px 0 40px;
}
    
#button {
    color:#242f3e;
    display: none; 
    position: fixed; 
    bottom: 20px; 
    right: 10px;
    z-index: 99; 
    background-color: #d4d2c3; 
    outline: none;
    border: none;
    cursor: pointer;
    border-radius: 10px; 
    font-size: 14px;
}

#button:hover {
    color: white;
    background-color: #242f3e;
}

/***** Typography *****/

h1 {
	font-family: "finalsix", serif;
    font-weight: 600;
    font-style: normal;
	margin-bottom: .2em;
    font-size: 40px;
    line-height: 1.3em;
    text-align: left;
    color: #242f3e;
    text-transform: uppercase;
}

h2 {
    font-family: "finalsix", serif;
    font-weight: 600;
    font-style: normal;
	margin-bottom: .2em;
    font-size: 2em;
    line-height: 1.3em;
    text-align: left;
    color: #242f3e;
}

p {
    text-align: left;
}

.light h1,  .light p {
    color: #d4d2c3;
}

.dark h1,  .dark p {
    color: #242f3e;
}


/***** Navigation styles *****/

#nav {
    display: flex;
    justify-content: center;
    padding: 20px;
    background-image: url(spa-final-images/random_grey_variations.webp);
}

nav h1 {
    text-transform: uppercase;
    font-size: 0.9em;
    color: white;
    letter-spacing: 0.5em;
    padding: 5px 40px 0 0;
}

#navbar {
    position: relative;
    display: flex;
}

#nav-menu {
    position: absolute;
    top: 40px;
    right: 0;
}

#nav-menu ul li a {
    font-family: "raleway", sans-serif;
    font-weight: 400;
    font-style: normal;
	display:block;
	font-size: 12px;
	line-height: 30px;
	text-decoration:none;
	text-transform:uppercase;
	text-align:right;
	width: 100px;
    padding: 5px;
    background-image: url(spa-final-images/random_grey_variations.webp);
}

#nav-menu ul li a:link, #navbar ul li a:visited {
    color: white;
}

#nav-menu ul li a:hover {
    color: #8da2bb;
}

#mobilenav i {
    color: white;
    font-size: 15px;
}

/***** Header styles *****/

#header {
    background-image: url(spa-final-images/spa-view-psd-final-1200x800.jpg);
    position: relative;
    height: 600px; 
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
} 

#header img {
    width: 100%;
}

#header-h2 h2 {
    position: absolute;
    top: 260px;
    left: 30px;
    right: 40px;
    color: white;
    text-align: right;
    letter-spacing: 2.5px;
    font-size: 45px;
    font-weight: normal;
    line-height: 1.2em;
    margin: 0;
}

/***** Intro styles *****/

#intro {
    color: #2e3d50;
    background-color: #d4d2c3;
    /* color: #282f39;
    background-color: #c7cfd9; */
    padding: 50px;
}

#intro p {
    padding: 10px;
}

/***** Services styles *****/

#services .section {
    /* background-color: #373f4a; */
    background-image: url(spa-final-images/random_grey_variations.webp);
    padding-bottom: 50px;
}

#services h1 {
    color: #d4d2c3;
}

.services-type img {
    /* box-shadow: -1px -1px 20px #272c34; */
    box-shadow: 0 5px 5px rgba(154,160,185,.05), 0 5px 40px rgba(166,173,201,.2);
    width: 100%;
}

.services-type {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-content: center;
}

.services-type h2 {
    background-color: #d4d2c3;
    padding: 20px;
    text-align: center;
    color: #242f3e;
}

.services-type div {
    display: flex;
    flex-direction: column-reverse;
    padding-top: 30px;
}

.services-type a:link, .services-type a:visited {
    color: #242f3e;
    text-decoration: none;
}

.services-type a:hover, .services-type a:active {
    color: #8da2bb;
}


/***** Menu styles *****/

.menu {
    padding: 0.1em;
}

.menu div {
    border-left: 2px solid #242f3e;
    padding: 0 20px 0 20px;
    margin: 3em;
    align-items: stretch;
    align-content: stretch;
}

.menu h2 {
    font-size: 1.5em;
}

.menu p {
    padding-top: 20px;
    padding-bottom: 20px;
}

.book-now {
    font-size: 1.2em;
    font-weight: bold;
    background-color: #2e3d50;
    text-transform: uppercase;
    padding: 5px;
}

.book-now a:link, .book-now a:visited {
    color: #d4d2c3;
    text-decoration: none;
}

.book-now a:hover, .book-now a:active {
    color: #8da2bb;
    text-decoration: none;
}


/***** Book Appointment styles *****/

.appt-box {
    background-image: url(spa-final-images/random_grey_variations.webp);
    padding: 20px;
}

.appt-box div {
    padding-left: 1em;
    padding-right: 1em;
}

.appt-box a:link, .appt-box a:visited {
    color: #d4d2c3;
    text-align: center;
    display: block;
    text-decoration: none;
}

.appt-box a:hover, .appt-box a:active {
    color: #8da2bb;
    text-align: center;
}

.appt-box h1 {
    padding: 10px;
    margin: 0 30px 10px 30px;
    font-size: 1.5em;
    text-align: center;
    background-color: #d4d2c3;
    color: #242f3e;
    border-radius: 20px;
}

.appt-box h1 a:link, .appt-box h1 a:visited {
    color: #242f3e;
}

.appt-box h1 a:hover, .appt-box h1 a:active {
    color: #8da2bb;
}

.appt-box address {
    text-align: center;
    color: #d4d2c3;
}

/***** Shop styles *****/

.shop {
    font-family: "finalsix", serif;
    font-weight: 600;
    font-style: normal;
    font-size: 1.2em;
    font-weight: bold;
    text-transform: uppercase;
}

#shop .section {
    padding: 0;
}

#shop img {
    width: 100%;
}

.products-left {
    display: flex;
    flex-direction: column-reverse;
    justify-content: center;
    align-content: center;
    padding: 30px 0;
    text-align: center;
}

.products-right {
    display: flex;
    flex-direction: column-reverse;
    justify-content: center;
    align-content: center;
    padding: 30px 0;
    text-align: center;
}

.products-left-text {
    padding: 0 20px;
    margin: 30px;
    border-left: 2px solid #242f3e;
    margin-top: 20px;
}

.products-right-text {
    padding: 0 20px;
    margin: 30px;
    border-left: 2px solid #242f3e;
    margin-top: 20px;
}

.products-left-text h2 {
    color: #242f3e;
}

.products-right-text h2 {
    color: #242f3e;
}

.products-left-text p {
    padding-top: 10px;
}

.products-right-text p {
    padding-top: 10px;
}

.products-left-text a:link, .products-left-text a:visited {
    color: #242f3e;
    text-decoration: none;
}

.products-left-text a:hover, .products-left-text a:active {
    color: #8da2bb;
}

.products-right-text a:link, .products-right-text a:visited {
    color: #242f3e;
    text-decoration: none;
}

.products-right-text a:hover, .products-right-text a:active {
    color: #8da2bb;
}

/***** Membership styles *****/


#membership .section {
    background-image: url(spa-final-images/random_grey_variations.webp);
    padding: 0;
}

#membership h1 {
    padding-right: 100px;
}

#membership-box {
    display: flex;
    justify-content: center;
    align-content: center;
    flex-direction: column-reverse;
    padding: 30px 0;
    text-align: center;
}

#membership-text {
    padding: 0 20px;
    margin: 30px;
    text-align: left;
    border-left: 2px solid #d4d2c3;
}

#membership-text h2 {
    color: #d4d2c3;
}

#membership-text p {
    padding-top: 10px;
    padding-bottom: 20px;
}

#membership-box img {
    width: 100%;
}

.book-member {
    font-size: 1.2em;
    font-weight: bold;
    /* background-color: #555505; */
    background-color: #d4d2c3;
    text-transform: uppercase;
    padding: 10px;
}

.book-member a:link, .book-member a:visited {
    color: #2e3d50;
    text-decoration: none;
}

.book-member a:hover, .book-member a:active {
    color: #8da2bb;
}

/***** Facilities styles *****/

#facilities .section {
    padding: 0;
}

#facilities h1 {
    padding-right: 100px;
}

#facilities-box {
    display: flex;
    justify-content: center;
    align-content: center;
    flex-direction: column-reverse;
    padding: 30px 0;
    text-align: center;
}

#facilities-text {
    padding: 0 20px;
    margin: 30px;
    border-left: 2px solid #242f3e;
}

#facilities-text p {
    padding-top: 10px;
}

#facilities-box img {
    width: 100%;
}


/***** Staff styles *****/

#experts .section {
    /* background-color: #373f4a; */
    background-image: url(spa-final-images/random_grey_variations.webp);
    padding: 0;
}

#experts h1 {
    padding-right: 100px;
}

#experts-box {
    display: flex;
    justify-content: center;
    align-content: center;
    flex-direction: column-reverse;
    padding: 30px 0;
    text-align: center;
}

#experts-text {
    padding: 0 20px;
    margin: 30px;
    border-left: 2px solid #d4d2c3;
}

#experts-text h2 {
    padding-top: 20px;
}

#experts-text a:link, #experts-text a:visited {
    color: #d4d2c3;
    text-decoration: none;
    font-weight: bold;
}
#experts-text a:hover, #experts-text a:active {
    color: #8da2bb;
}

#meet {
    font-size: 1.5em;
}

#experts-box img {
    width: 100%;
}

/***** Guidelines styles *****/

#guidelines .menu p {
    padding-bottom: 0;
}

/***** Footer styles *****/

#footer {
    padding: 20px 40px 20px 40px;
    /* background-color: #4a4a44; */
    background-image: url(spa-final-images/random_grey_variations.webp);
}

#footer-about {
    padding: 10px 0 20px 0;
    border-bottom: 2px solid #d4d2c3;
}

#footer address {
    color: #d4d2c3;
    padding-top: 20px;
}

#footer a:link, #footer a:visited {
    color: #d4d2c3;
    text-decoration: none;
}

#footer a:hover, #footer a:active {
    color: #8da2bb;
}

#social {
    padding-top: 20px;
}

#social h3 {
    color: #d4d2c3;
}

.social-icon {
    display: flex;
}

.social-icon li {
    padding-right: 20px;
    padding-top: 20px;
    font-size: 30px;
}

.form-box {
    justify-content: flex-end;
    padding-top: 20px;
}

/**** media query 600px styling ****/

@media only screen and (min-width: 600px) {

    nav h1 {
        font-size: 1em;
        letter-spacing: 0.5em;
        padding: 2px 40px 0 0;
    }

    #mobilenav i {
        font-size: 20px;
    }

    #header-h2 h2 {
        top: 280px;
        left: 100px;
        right: 60px;
        font-size: 60px;
    }

    #intro p {
        padding-left: 50px;
        padding-right: 50px;
    }

   .appt-box {
        font-size: 1.1em;
    }

    .appt-box h1 {
        margin: 0 50px 20px 50px;
    }

    .appt-box div {
        padding: 20px;
    }

    .menu {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 5px;
        padding: 2em;
    }

    .menu div {
        display: grid;
        grid-template-columns: 1fr;
        border-left: 2px solid black;
        padding: 0 0 0 20px;
        margin: 1.5em;
    }

    .book-now {
        margin-top: auto;
        font-size: 1.1em;
        font-weight: bold;
        padding-bottom: 5px;
        padding-top: 5px;
        width: 70%;
    }

    .shop {
        font-family: "finalsix", serif;
        font-weight: 600;
        font-style: normal;
        font-size: 1.2em;
        font-weight: bold;
        text-transform: uppercase;
}

    #membership-text, #facilities-text, #experts-text {
        padding-right: 100px;
    }

    #footer-about{
        margin-right: 100px;
    }

}

/**** media query 700px styling ****/

@media only screen and (min-width: 700px) {


    .book-now {
        margin-top: auto;
        width: 50%;
    }

}

/**** media query 800px styling ****/

@media only screen and (min-width: 800px) {


    #header {
        height: 800px;
    }

     #header-h2 h2 {
        top: 290px;
        left: 200px;
        right: 90px;
    }

    #nav {
        padding-bottom: 0;
    }

    #navbar {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }

    #navbar h1 {
        font-size: 1.5em;
        padding: 0;
    }

    #nav-menu {
        position: static;
    }

    #nav-menu ul {
        display: flex;
    }

    #nav-menu ul li {
        padding-left: 40px;
        padding-right: 40px;
        flex: 1;
        justify-content: center;
    }

    #nav-menu ul li a {
        width: 100%;
        padding: 15px;
        text-transform: uppercase;
        font-size: 1em;
        box-sizing: border-box;
    }

    #nav-menu ul li a:link, #nav-menu ul li a:visited {
        color: white;
        text-decoration: none;
    }

    #navmenu ul li a:hover, #nav-menu ul li a:active {
        color: #8da2bb;
    }

    #mobilenav {
        display: none;
    }

    #intro p {
        padding-left: 150px;
        padding-right: 150px;
    }

    #services img {
        border-top-left-radius: 100px;
        border-top-right-radius: 100px;
    }

    .services-type {
        flex-wrap: nowrap;
        padding: 50px 0 50px 0;
    }

    .services-type div {
        padding: 5px;
    }

    .services-type h2 {
        font-size: 1.5em;
    }

    .menu  {
        grid-template-columns: repeat(3, minmax(0, 1fr)); 
    }

    .book-now {
        margin-top: auto;
        width: 75%;
    }

    .appt-box {
        padding: 20px;
    }

    .appt-box address {
        display: flex;
        justify-content: space-between;
        flex-direction: row-reverse;
        font-size: 1em;
        align-items: center;
    }

    .appt-box h1 {
        margin: 0;
    }

    #shop .section h1 {
        padding-bottom: 30px;
    }

    .products-left {
        flex-direction: row;
        align-content: center;
        align-items: start;
        padding: 30px;
    }

    .products-left-text {
        width: 50%;
        padding-right: 70px;
        font-size: 1.1em;
        margin: 0;
    }

    .products-right {
        flex-direction: row-reverse;
        align-content: center;
        align-items: start;
        padding: 30px;
    }

    .products-right-text {
        width: 50%;
        padding-right: 70px;
        font-size: 1.1em;
        margin: 0 0 0 30px;
    }

    .products-left img {
        border-top-left-radius: 150px;
        /* box-shadow: -1px 0px 25px #9d9c90; */
        box-shadow: 0 0px 5px rgba(175, 181, 203, 0.05), 0 0px 40px #b7b5a1;
    }

    .products-right img {
        border-top-right-radius: 150px;
        /* box-shadow: 0px 0px 25px #9d9c90; */
        box-shadow: 0 0px 5px rgba(175, 181, 203, 0.05), 0 0px 40px #b7b5a1;
    }

    #membership-box {
        flex-direction: row-reverse;
        padding: 50px 0 75px 50px;
    }

    #membership-text {
        width: 50%;
        padding-top: 0;
        margin-top: 0;
        font-size: 1.1em;
        align-self: center;
    }

    #membership-box img {
        border-top-left-radius: 150px;
        border-bottom-right-radius: 150px;
        /* box-shadow: -1px -1px 20px #272c34; */
        box-shadow: 0 5px 10px rgba(154,160,185,.05), 0 15px 40px rgba(166,173,201,.2);
    }

    #facilities-box, #experts-box {
        padding-bottom: 30px;
    }

    #facilities-text, #experts-text {
        font-size: 1.1em;
        padding-right: 250px;
    }

    #membership-text {
        padding-right: 0;
    }

    #footer {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-areas:
        "a b"
        "c d"
        "e f";
        padding-top: 50px;
        padding-bottom: 50px;
        font-size: 1.1em;
        line-height: 1.7em;
    }

    #footer article {
        grid-area: f;
        justify-items: flex-end;
        margin-bottom: 20px;
    }

    #footer address {
        grid-area: b;
        padding-top: 20px;
        justify-items: flex-end;
    }

    #footer-about {
        grid-area: c;
        border-bottom: none;
    }

    #social {
        grid-area: d;
        justify-items: flex-end;
    }

    .social-icon li {
        font-size: 2em;
    }

}

/**** media query 960px styling ****/

@media only screen and (min-width: 1024px) {


     /* #navbar {
        position: static;
    } */

    #header {
        height: 900px;
    }

     #header-h2 h2 {
        top: 300px;
        left: 250px;
        right: 120px;
        font-size: 4em;
    }

    #navbar h1 {
        margin-left: 20px;
        font-size: 2em;
    }

     #nav-menu ul li {
        padding-left: 50px;
        padding-right: 50px;
        font-size: 1.2em;
    }

    .section h1 {
        padding: 50px 50px 0 60px;
        font-size: 3.5em;
    }

    .menu {
        padding-left: 30px;
        padding-right: 30px;
        font-size: 1.2em;
        line-height: 1.7em;
    }

    #intro div {
        padding: 70px;
        font-size: 1.2em;
        line-height: 1.7em;
    }

    .appt-box div {
        padding: 50px;
        font-size: 1.1em;
    }

    .book-now {
        margin-top: auto;
        width: 60%;
    }

     #services img {
        border-top-left-radius: 150px;
        border-top-right-radius: 150px;
    }

    .services-type h2 {
        font-size: 2em;
}
    }

    .products-right, .products-left {
        font-size: 1.2em;
        line-height: 1.7em;
    }


    .products-right-text h2, .products-left-text h2 {
        font-size: 1.7em;
        line-height: 1.7em;
    }

    #membership-text, #facilities-text, #experts-text {
        font-size: 1.2em;
        line-height: 1.7em;
    }

    /* #footer {
        padding: 100px;
        font-size: 1.3em;
    } */


/**** media query 1200px styling ****/


@media only screen and (min-width: 1200px) {

    #container {
        margin: 0 auto;
        max-width: 1250px;
    }

     #header {
        height: 1050px;
    }

    #header-h2 h2 {
        top: 330px;
        left: 200px;
        right: 190px;
        font-size: 5em;
    }

    #navbar h1 {
        font-size: 2.3em;
    }

    #intro div {
        padding-left: 150px;
        padding-right: 150px;
        font-size: 1.2em;
        line-height: 1.7em;
    }

    .appt-box div {
        padding-left: 150px;
        padding-right: 150px;
        font-size: 1.2em;
    }

    .book-now {
        margin-top: auto;
        width: 50%;
    }

    .services-type {
        flex-wrap: nowrap;
    }

    .products-right, .products-left {
        padding-left: 75px;
        padding-right: 75px;
    }

      #facilities-text, #experts-text {
        padding-right: 600px;
        margin-left: 75px;
    }


    /* #footer {
        font-size: 1.5em;
    } */

}

@media only screen and (min-width: 1400px) {


    #header-h2 h2 {
        top: 380px;
        left: 300px;
        right: 350px;
        font-size: 5em;
    }
}