@charset "UTF-8";

@import url("https://use.typekit.net/iai0gsv.css");



body {
    background-color: #f595a6;
}


#container {
    width: 200px;
    margin: auto;
}

#projects {
	width: 100%;
	margin: 25% auto;
	position: relative; 
	float: left;
}


.resources-projects-icon {
    width: 200px;
    height: 250px;
    background-image: url(../images/sprites2.jpg);
    background-repeat: no-repeat;
    overflow: hidden;
    transition: background 0.5s ease-in-out;
}

.resources-projects-icon {
	background-position: -600px 0px;
}

.resources-projects-icon:hover {
	background-position: -600px -250px;
}

li a {
    display: block;
    width: 190px;
    padding-left: 10px;
    font-family: Calibri;
    font-size: .8em;
    text-transform: uppercase;
    line-height: 32px;
    background-color: #ed1260;
    color: white;
    border-bottom: 2px solid white;
}

a.projects{
    color: white;
    background-color: #af0049;
    border-bottom: none;
}

a.projects:hover{
    background-color: white;
}

ul.submenu{
    position: absolute;
    left: -9000em;
    height: 0;
    transition: height 1.5s ease-in-out;
    overflow: hidden;
}

.topmenu li:hover ul.submenu{
    left: 0;
    height: 500px;
}

ul.submenu li a:hover{
    background-color: #af0049;
    border-bottom: 2px solid #af0049;
}

li:hover a.projects{
    background-color: white;
    color: #af0049;
}









