﻿/* Katherine Townsend, 4/13/2020
    CISS 216 Homework 9

    orange-yellow: rgb(218,130,10), #da820a
    tan #eadfd1
    red #b63333
*/

* {
    box-sizing: border-box;
    font-family: Arial, Verdana, sans-serif;
}

body {
    background-image: linear-gradient(#eadfd1,#da820a);
    color: #eadfd1;
}

header {
    border-bottom: 3px ridge #eadfd1;
    margin-bottom: 1em;
}

h1 {
    text-transform: uppercase;
    font-family: 'Times New Roman', serif;
    color: #b63333;
    text-shadow: 1px 1px 1px #da820a;
    margin: 0 0 .25em 0;
}

fieldset {
    background-color: #b63333 /*#f1f1f1*/;
    border-color: #eadfd1;
    border-radius: 2px;
    margin-bottom: .25em;
    overflow: hidden;
    padding: 0 .625em; /* 10px */
    display: block;
}

i {
    display: block;
    float: right;
    margin-right: 1em;
    clear: both;
    font-size:100px;
    color:#da820a;
}

ul {
    list-style-type: none;
}

legend {
    font-weight: bold;
    font-size: 1.25em;
    text-shadow: 1px 1px 1px #da820a;
    background-color: #b63333;
    border-radius: 12px;
    padding: 5px;
}

.section-title {
    font-weight: bold;
}

.instructions {
    margin-bottom: 0;
}

.pad-top {
    padding-top: .5em;
}

label {
    cursor: pointer; /* labels for checkboxes and radios are actionalbe */
    display: inline-block;
    vertical-align: middle;
    font-weight: bold;
}

input, select, button, textarea {
    font-size: inherit;
    background-color: #eadfd1;
    padding: 3px;
}

textarea {
    resize: none;
    width: 18em;
    height: 3.5em;
    margin-bottom: 1em;
}

.btn {
    background-color: #b63333;
    border: none;
    border-radius: 4px;
    box-shadow: 2px 2px 2px #333;
    color: #eadfd1;
    margin: 12px 0 0 26px;
    padding: 12px;
    text-shadow: 1px 1px 0px #777;
    display: block;
}

footer {
    text-align: center;
    border-top: 3px ridge #eadfd1;
    margin-top: .5em;
    font-size: small;
}

        .submit {
            display: flex; 
            width: 100%; 
            justify-content: flex-start; 
            align-items: center;
        }



@media only screen and (min-width: 55em) {

    .container {
        max-width: 1920px;
    }

    body {
        width: 40%;
        margin: 0 auto;
        min-width: 400px;
    }

    i {
        margin-right: 2em;
    }
textarea {
    width: 25em;
}
}


    @media only print {

        body {
            font-size: 12pt;
            background: none;
            color: black;
            margin: 6%;
        }

        * {
            color: black;
            background: none;
            border: hidden;
            text-shadow: none;
        }

        h1, h2, legend {
            page-break-after: avoid;
            color: black;
            text-shadow: none;
            border: none;
        } 

        .btn {display: none;}

    }

