/*
STUDENT INFO:
Sean Stapleton
Student ID: 672293053
Date: May 20th, 2020
Course: CA-FWBDV
Final Project

color scheme: (colorhunt.io)
#edffea - light green, body background
#75daad - medium green, i'm bad with colors (mint?)
#216353 - dark green
#7a4d1d - brown / dark gold type color

*/

* {
    box-sizing: border-box;
}

/* core tags */
body {
    background: #edffea;
    color: #000;
    font-family: 'Montserrat', Verdana, sans-serif;
    height: 100%;
    margin: 0;
}

/* common classes */

.clearall {
    clear: both;
}

img {
    border: 1px solid #216353;
    max-width: 900px;
    width: 100%;
}

.tmiddle {
    text-align: center;
}
/* header section */

header {
    background: #216353;
    position: relative;
    width: 100%;
}

.headerimg {
    padding: 1rem;
    width: 10%;
}

.leftimg {
    float: left;
}

.rightimg {
    float: right;
}

.title-text { /* will need to break at 1024px or smaller to reposition the centering */
    font-size: 3rem;
    font-weight: bolder;
    margin: auto 0;
    position: absolute;
    text-align: center;
    top: 25%;
    width: 100%;
}


/* navigation section */

nav { 
    background: #75daad;
    padding: 0.5em;
    text-align: center;
}

nav a { /* links break below 768px, be sure to add this breakpoint for nav a% */
    color: #216353;
    padding: 0.5rem 1.25rem;
    text-decoration: none;
}

nav a:hover {
    background: #216353;
    color: #edffea;
}

nav a:active { 
    background: #216353;
    color: #edffea;
}

/*** new nav additions, change from anchor to list items ***/

nav ul {
    margin: 0;
    padding: 0;
}

nav li {
    display: inline-block;
    list-style-type: none;
}


/* body / content section */

#main {
    margin-top: 1rem;
    padding: 0.5rem 15rem;
}

a {
    color: #216353;
}

a:hover {
    text-decoration: none;
}


/* skins page */

/* .embed-contaner content courtesy of embedresponsively.com */

.embed-container {
    height: 0;
    max-width: 100%;
    overflow: hidden;
    position: relative;
    padding-bottom: 56.25%;
} 

.embed-container iframe, .embed-container object, .embed-container embed {
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
}

/* contact page */

.contact-table {
    border-collapse: collapse;
    margin-bottom: 2em;
    width: 100%;
}

.contact-table th {
    font-weight: normal;
    padding: 1.5em 1em;
}

.contact-table td {
    border: 1px solid #216353;
    margin: 0;
    padding: 0.4em;
}

.firstrow {
    width: 35%;
}

/* contact form */

.contact-form input[type='text'], input[type='email'], textarea {
    font-family: 'Montserrat', Verdana, sans-serif;
    padding: 0.3em;
    width: 100%;
}

.contact-form textarea {
    height: 10rem;
}

.contact-form input[type='button'] {
    font-family: 'Montserrat', Verdana, sans-serif;
    padding: 0.3em;
}

/* footer section */

footer {
    background: #7a4d1d;
    color: #75daad;
    font-size: 0.9rem;
    height: 15em;
    margin: 0;
    padding: 0;
    text-align: center;
    width: 100%;
}

.steve-box {
    display: inline-block;
    padding: 1em;
    text-align: center;
    width: 10%;
}

.steve {
    border: 0;
    padding: 1em;
    width: 120px;
}

footer a {
    color: #75daad;
    text-decoration: none;
}

footer a:hover {
    color: #fff;
}

.icon-links {
    font-size: 2em;
}

/* now start the modifications for different viewports and screen pixels. */

@media only screen and (max-width: 1024px) {

    .title-text { 
        padding: 0.8em 0.5em;
        position: relative;
        width: 100%;
    }

    #main {
        padding: 1.5rem;
    }

    .headerimg {
        display: none;
    }
}

@media only screen and (max-width: 768px) {

    nav {
        padding: 0;

    }

    nav ul {
        width: 100%;
    }

    nav li {
        display: list-item;
        height: 2rem;
        width: 100%;
    }

    nav a {
        display: inline-block;
        height: 2rem;
        width: 100%;
    }
}