/* Styles sheet for final project template */

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

/*! Generated by Font Squirrel (https://www.fontsquirrel.com) on March 13, 2024 */



@font-face {
    font-family: 'ralewaylight';
    src: url('raleway-light-webfont.woff2') format('woff2'),
         url('raleway-light-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'ralewayblack';
    src: url('raleway-black-webfont.woff2') format('woff2'),
         url('raleway-black-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

body {
    /* background: #2d3142; */
    background: #364A59;
    font-family: 'ralewaylight';
}

header {
    background: #dce1de;
    width: 100%;
    height: 75px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1;
}

#wrapper {
    width: 960px;
    margin: 75px auto 30px auto;
    overflow: hidden;
}

#logo {
    float: left;
    margin-left: 10px;
    margin-top: 5px;
    margin: 5px 0 5px 10px;
}



nav {
    height: 40px;
    line-height: 40px;
    float: right;
    margin-top: 10px;
}


nav li {
   list-style-type: none;
   display: block;
   float: left;
   padding-left: 10px;
   width: 100px;
   border-right: 1px solid #f26419;
}

nav li:last-of-type {
    border-right: none;
}

.dropdown li:last-of-type {
    border-right: 1px solid #f26419 ;
}


nav a {
    color: #f26419;
    text-decoration: none;
    float: left;
    display: block;
    position: relative;
    text-align: center;
}

.dropdown {
    display: none;
    z-index: 1;
}

.dropdown li {
    border: 1px solid #f26419;
    background: #dce1de;
}

nav li:hover {
    text-decoration: underline;
    font-weight: bold;
}


nav li:hover .dropdown {
    display: block;
    position: absolute;
    width: 140px;
    top: 50px;
    right: 60px;
    list-style-type: none;
    border-right: none;
    font-weight: normal;
}

.row {
    margin-top: 50px;
}


.third {
    width: 300px;
    float: left;
    margin-right: 20px;
    margin-bottom: 40px;
    position: relative;
}

.third:last-of-type {
    margin-right: 10px;
}

.third:first-of-type{
    margin-left: 10px;
}

.description {
    position: absolute;
    top: 25%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: none;
}

img:hover + .description {
    display: block;
    z-index: 1;
}

.third img:hover {
    filter: saturate(50%);
}

table {
    width: 960px;
    margin: 20px auto;
}

td {
    width: 50%;
    vertical-align: top;
    padding: 10px;
}

th {
    padding: 15px;
    font-size: 2.5em;
    color: #4f6e85;
}

.container {
    position: relative;
}

.centered {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: none;
}  

.container img:hover {
    filter: grayscale(75%);
}

.container img:hover + .centered {
    display: block;
}

footer {
    height: 25px;
    line-height: 25px;
    width: 100%;
    border-top: 1px solid #425c6f;
    clear: both;
}

footer ul {
    margin-left: 15px;

}

footer li {
    float: left;
    margin-right: 30px;
    list-style-type: none;
    font-size: .8em;
    color: #425c6f;
}

footer a {
    text-decoration: none;
    color: #425c6f;
}

/* Typography */

h1, h2, h3, a, p {
    font-family: 'ralewaylight';
    color: #4f6e85;
}

.gallery h2 {
    text-align: center;
    margin-top: 15px;
    font-size: 2.5em;
}

p {
    color: #5c829f;
    line-height: 20px;

}

.row h2, p {
    text-align: center;
}

.row h2  {
    margin: 10px 0 10px 0;
    line-height: 30px;
    font-size: 1.7em;
}

.container p {
    font-size: 1.2em;
    color: #dce1de;
}

.portfolio p {
    font-size: 2.3em;
}



a {
    text-decoration: none;
    color: #dce1de;
}




