/*

Path of Light Yoga Studio
Author: Jathan Tsinnie
Date: 4/27/26
*/

/* Universal Selector */
 *{
    box-sizing: border-box;
}
/* body*/
body {
	background-color: #40407A;
    color: #000000;
    font-family: Verdana, Arial, sans-serif;
    margin: 0;
}

/* Wrapper */
#wrapper {
    background-color: #F5F5F5; /* Removed width and margin */
    padding: 2em;
	max-width: 1200px; /*Added this so that the purple shows on both sides on page */
    margin: 0 auto;
}

/* Header banner with image */
header {
    background-color: #40407A;
    color: #FFFFFF;
    background-image: url("sunrise.jpg");
    background-size: 100% 100%;
    margin-top: 0px;
	font-size: 90%;     /* For mobile screens */
    min-height: 200px;  /* For mobile screens */
}



/* Header links */
header a:link,
header a:visited {
    color: #FFFFFF;
    text-decoration: none;
}

header a:hover {
    color: #EDF5F5;
}

/* Navigation (fixed at top) */
nav {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    width: 100%;
    height: auto; /* Fixed for mobile */
    background-color: #FFFFFF;
	padding-right: 0; /* Fixed for mobile */
}

/* Navigation list style*/
nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    font-size: 1.2em;
	text-align: center;
}

/* Navigation list items */
nav li {
    display: inline-block;
    padding-left: 4em;
}
/* Nav links */
nav a:link {
    color: #3F2860;
    text-decoration: none;
}

nav a:link {
    color: #3F2860;
    text-decoration: none;
}

nav a:hover {
    color: #A26100;
}

/* Home Page Header fixed for mobile */
.home {
    height: 20vh; 
    padding-top: 2em;
    padding-left: 10%; /* Removed padding bottom */
}

/* Content Page Header */
.content {
    height: 20vh;
    padding-top: 2em;
    padding-left: 10%; /* Removed padding bottom */
}

/* Main */
main {
    padding: 20px;
}

/*Section spacing*/
section {
    padding-left: 0.5em;
    padding-right: 0.5em;
}

/* Layout Columns / Deleted onethird and onehalf*/


/* Hero Images or Backround images Hidden */
	#mathero, #loungehero {
    display: none;
}


/* Headings */
h2 {
    margin: 0;
}

/* Footer */
footer {
	font-size: small;
    font-style: italic;
    text-align: center;
    padding: 10px;
}

 
 /* List items and description text */
li, dd {
    font-size: 90%;
}

/* Flow id selector */
#flow {
    display: block;
}

#mathero {
    height: 300px;
    background-image: url("yogamat.jpg");
    background-size: 100% 100%;
    background-repeat: no-repeat;
}

#loungehero {
    height: 300px;
    background-image: url("yogalounge.jpg");
    background-size: 100% 100%;
    background-repeat: no-repeat;
}

/*Table styles*/
table {
    border: 1px solid #40407A;
    border-collapse: collapse;
    margin-bottom: 1em;
}
/*Table cell*/
td, th {
    padding: 0.5em;
    border: 1px solid #40407A;
}
/*Row color*/
tr:nth-of-type(even) {
    background-color: #D7E8E9;
}
/*Caption for Table*/
caption {
    margin: 1em;
    font-weight: bold;
    font-size: 120%;
}

/* Form layout for small screens (stacked) */
form {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
}

/* Space between form controls */
input, datalist, textarea {
    margin-bottom: 0.5em;
}

 /*media query medium*/

@media (min-width: 600px) {

    nav ul {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: flex-end;
    }

    section {
        padding-left: 2em;
        padding-right: 2em;
        flex: 1;
    }

    #mathero, #loungehero {
        display: block;
        margin-bottom: 1em;
    }

    #flow {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
    }
	
	/* Form becomes a two-column grid */
    form {
        width: 60%;
        max-width: 40em;
        display: grid;
        grid-gap: 1em;
        grid-template-columns: 9em 1fr;
    }

    /* Submit button goes in column 2 */
    input[type="submit"] {
        grid-column: 2;
        width: 9em;
        margin-bottom: 0.5em;
    }

}
 
 /*media query large*/
@media (min-width: 1024px) {

    header {
        font-size: 120%;
    }

    .home {
        height: 50vh;
        padding-top: 5em;
        padding-left: 8em;
    }

    .content {
        height: 30vh;
        padding-top: 2em;
        padding-left: 8em;
    }

    #wrapper {
        width: 80%;
        margin: auto;
    }
}