@charset "UTF-8";

html 
{
    background-color: yellow;
}

body
{
    font-family: Verdana, Geneva, sans-serif;
    background-color: skyblue;
    margin: 25px;
}

header
{
    background-image: url("images/eddiejo.jpg");
    background-size:contain;
    text-align: center;
    padding: 20px;
    font-size: 3em;
    font-family:cursive;
    text-shadow: 0 0 10px red;
    letter-spacing: .3em;
}

h2
{
    font-size: 1.3em;
}

nav
{
    background-color: brown;
    padding: 15px;
    text-align: center;
}

nav a
{
    padding-left: 10px;
    padding-right: 10px;
    text-decoration: none;
    color: white;
}

nav a:hover
{
    text-decoration: underline;
    color: yellow;
}

main
{
    padding-left: 25px;
    padding-right: 25px;
}

img
{
    width: 20%;
    padding: 25px;
    float: right;
}

footer
{
    background-color: brown;
    color: rgba(255,255,255,.7);
    font-weight: bold;
    font-size: .9em;
    text-align: center;
    margin-top: 10px;
    padding:10px;
}

ul li 
{
    list-style-type: square;
}

blockquote p {
    font-size: 1.1em;
    font-style: italic;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}

blockquote {
    border-top: 2px solid green; 
}
blockquote:last-of-type {
    border-bottom: 2px solid green;
}

.contact_p{
    text-align: center;
}

/*why does it look off center */

input:focus, select:focus, textarea:focus{
    background-color:yellow;
}

input#name:focus:valid, input#zip:focus:valid, input#phone:focus:valid, input#mail:focus:invalid{
    background:yellow url(rb_valid.png) bottom right/contain no-repeat;
}

input#name:focus:invalid, input#zip:focus:invalid, input#phone:focus:invalid, input#mail:focus:invalid{
    background:crimson url(rb_invalid.png) bottom right/contain no repeat;
}
/*large screen css? im dumb*/

form{
    width:90%;
    margin: 0 auto;
}

fieldset{
    width:90%;
    border-bottom: 2px solid black;
    border-top: 2px solid black;
}

input:not([type="radio"]):not([type="checkbox"]), select, textarea{
    width:70%;
    margin-bottom: 20px;
    display:block;
    margin: 0 auto;
}

label{
    width:100px;
    text-align: right;
    display:inline-block;
    vertical-align:top;
    font-weight: bold;
}
.formfield{
    text-align: center;
}

.radio{
    text-align:center;
}

.checkbox{
    text-align:center;
}

.radio input, .checkbox input{
    display: inline-block;
    width:auto;
    margin: 0 5px 20px 0px;
}

.radio label, .checkbox label{
    display: inline-block;
    width:auto;
    text-align: left;
    margin-right: 15px;
}

.radio p, .checkbox p{
    text-align: center;
    display: block;
    width: 100%;
}

/*finally bruh omg*/

input[type="submit"], input[type="reset"]{
    width: 20%;
    height: 40px;
    border-radius: 25%;
    text-align: center;
    background-color:cornflowerblue;
}

input[type="submit"]:hover, input[type="reset"]:hover{
    background-color:white;
    color: cornflowerblue;
}

.formfield input:not([type="radio"]):not([type="checkbox"]), .formfield select, formfield textarea{
    width: 70%;
    margin:0;
    display: inline-block;
    vertical-align: top;
}

.formfield label:not(.vacationdream){
    width: 100px;
    display: inline-block;
    text-align: right;
    vertical-align: top;
    font-weight: bold;
    padding-bottom: 20px;
}

.vacationdream{
    text-align:center;
}

/*IM LOSING IT IM LOSING IT*/

/*good enough I know this is all over th eplace it just doesn't look right*/


@media screen and (max-width: 799px){
    header{
        padding: 20px;
        font-size: 2em;
        letter-spacing: normal;
    }

    form{
        width:100%;
    }

    form label{
        display:block;
        text-align:left;
    }

    fieldset{
        width: 100%;
        padding: 5px;
        margin: 0;
    }

    input[type=text], input[type="email"], input[type="select"], input[type="textarea"]{
        width: 90%;
        height: 50px;
    }
     
    /*i cant remember if I have to do this but im just making sure */

    input[type="submit"], input[type="reset"]{
        width:40%;
        font-size: 1.5em;
        border-radius: 25%;
        text-align: center;
        background-color:cornflowerblue;
    }    

    input[type="submit"]:hover, input[type="reset"]:hover{
        background-color:white;
        color: cornflowerblue;
    }  
}