/*
CSS Document used for the Homework 6 assignment
Author: Manny McCullom
Course: ITWP 1000
File: styles.css
*/

/* Variable declarations */
:root
{
    /* Page Colors */
    --colorPrimary: white;
    --colorSecondary: black;

    /* Preset Horizontal Line Element Styles */
    --hrPrimary: solid var(--colorPrimary);
    --hrSecondary: solid var(--colorSecondary);

    /* Page Width */
    --contentWidth: 50%;
}

body
{
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
}

h1{
    text-align: center;
}

label
{
    padding: 2px;
    line-height: 2.5em;
}

fieldset
{
    text-align: left;
    padding: 5px;
    background-color: #eee;
}

legend
{
    background-color: #f93;
    border: 1px solid #f00;
    padding: 5px;
    margin-bottom: 5px;
}

section
{
    max-width: 600px;
    margin: auto;
}

/* classes that stye the textarea tag */
.comment
{
    float: left;
    width: 100%;
    height: auto;
    padding-top: 5px;
}

.textinput
{
    float: left;
    width: 99%;
    min-height: 75px;
    outline: none;
    resize: none;
    border: 1px solid grey;
}

.fontColorPrimary
{
    color: var(--colorPrimary);
}

.fontColorSecondary
{
    color: var(--colorSecondary);
}

.hrPrimary
{
    border: var(--hrPrimary);
}

.hrSecondary
{
    border: var(--hrSecondary);
}

/* ID that centers the validation */
#validation
{
    font-size:x-large;
    text-align: center;
}