@charset "utf-8";

/*
 * Stellar fonts
 */
@font-face {
    font-family: Stellar;
    src:url(font/Stellar-Regular.otf);
}
@font-face {
    font-family: Stellar-Light;
    src:url(font/Stellar-light.otf);
}
@font-face {
    font-family: Stellar-Bold;
    src:url(font/Stellar-Bold.otf);
}
@font-face {
    font-family: Stellar-Medium;
    src:url(font/Stellar-Medium.otf);
}

@font-face {
    font-family: Pakenham;
    src:url('font/pakenham rg.ttf');
}

html {
    height:100%;
}

body {
    margin: 0;
    background-color:#f5f5f5;
    font-family:Stellar;
    font-size:16pt;
    height:100%;
    display: table-cell;
    vertical-align:middle;
}

h1 {
    font-family:Pakenham;
    font-size:4vw;
    text-align:center;
    margin-top:2px;
    margin-bottom:2px;
}

h2 {
    font-family:Stellar-Bold;
    font-size:2vw;
    text-align:center;
    margin-top:2px;
    margin-bottom:2px;
}

p {
    margin-bottom: 12px;
    text-align:justify;
}

br {
    margin-bottom: 8px;
}

li {
    margin-top: 2px;
    margin-bottom: 2px;
}

#navigation {
    overflow:hidden;
    background-color:#333;
}

#navigation p {
    padding: 14px 12px;
    float: right;
    color:#f2f2f2;
    font-size: 18px;
    margin-right:0px;
    background-color:darkblue;

    -webkit-margin-before: 0em;
    -webkit-margin-after: 0em;
}

#navigation a {
    float:left;
    display:table;
    color:#f2f2f2;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 18px;
    color: white;
}

#navigation a:hover {
    background-color:#ddd;
    color: black;
}

#navigation a.active {
    background-color:darkorange;
    color: white;
}

.sticky {
    position:fixed;
    top: 0;
    width: 100%;
    z-index: 3;
}

.sticky + .content {
    padding-top: 46px;
}

.content {
    margin: auto;
    width:65%;
    max-width:1500px;
}

.separator {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;

    color:white;

    position:relative; top:0; left:0; z-index:2;

    padding:0px;
}

.title {
    background-image:url("images/racecar.jpg");
}

.school {
    background-image:url("images/rit.jpg");
}

.formula {
    background-image:url("images/ritracing.jpg");
}

.separator .background {
    position:relative; top:0; left:0; z-index:1;
}

.separator .background img {
    max-width: 100%;
    height: auto;
    visibility: hidden;
}

.separator .block {
    position:absolute;
    left:50%;
    top:75%;
    transform: translate(-50%, -50%);

    background-image:
        radial-gradient(
            rgb(128,128,128,0.85),
            rgb(128,128,128,0.0)
        );
    background-size:cover;
}

.separator .credit {
    display: inline-block;
    vertical-align: right;
}

.separator .credit p {
    z-index: 2;
    text-align: right;
    margin-bottom: 1px;
    text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black;
}


.separator h1{
    text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black;
    font-size:4vw;
    font-family: Pakenham;
    white-space: nowrap;
    letter-spacing:2px;
}

.separator h2{
    text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black;
    font-size:2vw;
    font-family: Pakenham;
    letter-spacing:2px;
}

.job:after {
    content: "";
    display: table;
    clear: both;
}

.job .header {
    margin: 0 auto;
    padding: 20px;
    width: 100%;
}

.job .text {
    display: inline-block;
    vertical-align: middle;

    width:50%;
}

.job .description {
    float: left;
}

.work_logo {
    display: inline-block;
    vertical-align: middle;
    width: 50%;
}

.work_logo img {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 50%;
}

.job .text {
    text-align: center;
}

.job .text h3 {
    margin-top: 3px;
    margin-bottom: 3px;
}

.portrait {
    display: block;
    margin-left: auto;
    margin-right: auto;
    border-radius: 50%;

    width:25%;
}

.logo {
    display: block;
    margin-top: 10px;
    margin-left: auto;
    margin-right: auto;

    width:50%;
}

.ContactInfo p {
    text-align: center;
}

.ContactInfo a {
    display: block;
    text-align: center;
}
