@charset "utf-8";

/*
   New Perspectives on HTML5 and CSS3, 8th Edition
   Tutorial 3
   Case Problem 1
   
   Layout styles for Slate and Pencil Tutoring
   Author: Andrew Marks
   Date:   10/2/2025
   
   Filename: sp_layout.css

*/

/* Window and Body Styles */

html {height: 100%;}

body {min-height: 100%;}

body {
    width: 95%;
    min-width: 640px;
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
}

body > header > img {
    display: block;
}

body {
    width: 75%;
    margin-left: 5%;
}


/* CSS Grid Styles */

body {
    grid-template-columns: 4fr, 1fr;
}



/* Horizontal Navigation List Styles */

nav.horizontalNavigation li {
    display: block;
    width: 12.5%;
    float: left;
}

nav.horizontalNavigation a {
    display: block;
    text-align: center;
}

footer > nav.verticalNavigation {
    float: center;
}

footer {
    text-align: center;
}

/* Section Styles */

section#rightCoumn img {
    width: 50%;
    margin-top: 0;
    margin-bottom: 0;
    margin-left: auto;
    margin-right: auto;
}

body {
    width: 70%;
    margin-top: 0;
    margin-bottom: 0;
    margin-left: auto;
    margin-right: auto;
}

div#info1 {
    justify-self: right;

}

div#info2 {
    justify-self: right;
}

div#info3 {
    justify-self: right;
}

div#info4 {
    justify-content: right;
}

div#info5 {
    justify-content: right;
}

div#info6 {
    justify-content: right;
}

/* Customer Comment Styles */

body > section{
    width: 75%;
    padding-bottom: 30px;
}
