﻿/*

Author: Thomas Turnasella
Project: CST 161 Final - Fall 2022
Due Date: 12/20/22
File: mainStyles.css

CSS Stylesheet for all pages

*/

/* General Styles */

@font-face /* Custom WebFont */

{
    font-family: titleFont;
    src: url('../fonts/bolton.ttf');
}

body 

{
    font-family: Verdana, Geneva, sans-serif;
    font-size: 100%;
    font-weight: inherit;
    line-height: 1.2em;
    margin: 0px;
    padding: 0px;
    vertical-align: baseline;
    background-image: linear-gradient(orange, rgb(87, 59, 2));
    background-repeat: no-repeat;
    background-attachment: fixed;
}

footer address

{
    color: cornsilk;
    text-align: center;
    font-size: 12px;
    font-style: normal;
    margin-top: 50px;
    margin-bottom: 10px;
}

/* Header Image Styles */

header

{
    display: flex;
    justify-content: center;
    width: 100%;
    height: 225px;
    background-image: url('../img/forest.jpg');
    background-position: center;
    margin: 0px 0px -20px 0px;
}

header img

{
    width: auto;
    height: 75%;
    margin: 25px 0px;
}

/* NavBar Styles */

#mainNav ul

{
    display: flex;
    justify-content: center;
    background-color: darkolivegreen;
    height: 35px;
}

#mainNav ul li

{
    list-style-type: none;
    margin: 0.5em 1em;
    vertical-align: central;
}

#mainNav ul li a

{
    text-decoration: none;
    font-family: titleFont;
    font-size: 24px;
    letter-spacing: 2px;
    color: cornsilk;
    background-color: chocolate;
    padding: 0.5em 0.75em;
    outline: 3px solid sienna;
    -webkit-border-radius: 25px;
    -moz-border-radius: 25px;
    border-radius: 25px;

    transition: color 0.5s, outline 0.5s;
}

/* Hover Animation */

#mainNav ul li a:hover

{
    color: yellow;
    outline: 3px solid orange;
}