/* Adjusts websites to fit different screens/devices */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
margin: 0;
padding: 0;
border: 0;
outline: 0;
font-weight: inherit;
font-style: inherit;
font-size: 100%;
font-family: inherit;
vertical-align: baseline;
}
/* Body */
body {
font-family: sans-serif;
font-weight: normal;
font-size: 15px;
height: 100%;
width: 100%;
background-image: url("leather.jpg");
background-attachment: fixed;
}  
/* Header */
header {
position: fixed;
width: 100%;
background-image: url("wood12.jpg");
border: 4px solid black;
align: center;
}
/* Company name */
h1 {
color: tan;
text-shadow: 0px 3px 0px #5e5e5e, 0px 5px 0px #4d4d4d, 0px 7px 0px #3c3c3c, 0px 9px 0px #2b2b2b, 3px 8px 15px rgba(0,0,0,0.1), 3px 8px 5px rgba(0,0,0,0.3);
font-size: 40px;
font-weight: bold;
font-family: sans-serif;
margin-left: 225px;
}
/* Slogan */
h3 {
color: lightgoldenrodyellow; 
font-family: sans-serif;
font-size: 18px;
text-shadow: 2px 2px black;
margin-left: 285px;
}
/* Navbar */
nav {
position: fixed;
top: 91px;
bottom: 0;
left: 0px;
width: 145px;
float:left;
background-image: url("wood12.jpg");
border: 4px solid black;
border-top: none;
}
ul#main_menu li {
display: block;
list-style: none;
margin-left: 20px;
align: center;
}
ul#main_menu li a{
display: inline-block;
background-image: url("pix9.jpg");
border: 2px solid;
padding: 3px;
border-radius: 12px 12px;
color: navajowhite;
text-decoration: none;
text-shadow: 3px 3px black;
font-weight: bold;
width: 90px;
text-align: center;
margin-bottom: 30px;
}
/* Main paragraph */
.p1 {
text-align: center;
font-family: sans-serif;
font-size: 20px;
margin: 0px 230px 10px 348px;
color: lightgoldenrodyellow;
text-shadow: 2px 2px black;
}
/* Images */
img {
border: 4px solid black;
border-radius: 90px 90px;
margin-left: 90px;
}
/* Horse names */
.p2 {
text-align: center;
font-family: sans-serif;
font-size: 28px;
color: sandybrown;
font-weight: bold;
text-shadow: 3px 3px black;
margin: 0px 200px 0px 280px;
}
/* Lessons page */
/* Image captions */
figcaption {
font-family: sans-serif;
font-size: 15px;
color: lemonchiffon;
text-shadow: 2px 2px black;
font-weight: bold;
margin-bottom: 40px;
}
/* Lesson benefits */
.p7 {
text-align: justified;
font-family: sans-serif;
font-size: 20px;
margin: 15px 400px 0px 500px;
color: lightgoldenrodyellow;
text-shadow: 2px 2px black;
}
/* Quotes */
.p8 {
text-align: center;
font-family: sans-serif;
font-size: 18px;
margin: 0px 230px 10px 348px;
color: lemonchiffon;
text-shadow: 3px 3px black;
}
/* Contact us page */
/* Contact info */
.p5 {
text-align: center;
border-radius: 4px;
font-family: sans-serif;
font-size: 23px;
font-weight: bold;
color: navajowhite;
text-shadow: 1px 1px black;
margin: 125px 225px 0px 325px;
}
/* Contact links */
.p6 {
text-align: center;
font-size: 18px;
margin: 0px 200px 100px 313px;
}
/* Contact form */
/* Questions title */
.p3 {
text-align: center;
font-size: 18px;
font-weight: bold;
}
/* Style inputs, select elements and textareas */
input[type=text], select, textarea{
width: 75%;
padding: 10px;
border: 1px solid #ccc;
border-radius: 4px;
box-sizing: border-box;
resize: vertical;
font-family: sans-serif;
}
/* Style the submit button */
input[type=submit] {
background-color: #04AA6D;
color: white;
padding: 12px 12px;
border: none;
border-radius: 4px;
cursor: pointer;
float: right;
}
/* Style the container */
.container {
border-radius: 2%;
background-color: #f2f2f2;
margin: 30px 125px 110px 275px;
padding: 15px;
}
/* Style width of contents in container */
.col-25 {
float: left;
width: 20%;
margin-top: 50px;
}
/* Floating column for inputs: 75% width */
.col-75 {
float: left;
width: 75%;
margin-top: 6px;
}
/* Clear floats after the columns */
.row:after {
content: "";
display: table;
clear: both;
}
/* Before back to top */
.p4 {
text-align: center;
font-size: 18px;
margin: 40px 200px 100px 325px;
}

