@import url('https://fonts.googleapis.com/css?family=Roboto:300,400,500,700,900');


body {
    margin: 0;
    padding: 0;
    font-family: Roboto;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
    margin: 0;
}

a {
    color: rgb(185 185 185);
    font-weight: 500;
}

header {
    margin: 0;
    padding: 10px;
    position: absolute;
    z-index: 999;
}
.logo img {
    width: 32%;
    margin-right:5px;
}
#freedomlogo {
    width:215px;
}

.masthead {
    position: relative;
    background: url(../images/munish-tarun.jpg);
    background-size: cover;
    background-position: 40%;
    background-repeat: no-repeat;
    height: 100vh;
}

.header-box {
    width: 90vw;
    clip-path: polygon(0 0, 100% 0, calc(100% - 30px) 100%, 0% 100%);
    background-color:#1d2432;
    position: absolute;
    bottom: 20%;
    padding: 20px 10px 25px;
}

.header-box h1 {
    color: rgb(185 185 185);
    text-transform: uppercase;
    font-weight: 800;
    font-size: 1.4em;
    line-height: 1.2em;
    margin-bottom: 5px;
/*    letter-spacing: 1px;*/
}

.header-box a {
    color: rgb(185 185 185);
}

.header-box h2 {
    color: rgb(117 117 117);
    font-weight: 300;
    font-size: 0.9em;
    margin-bottom: 20px;
}

.title-line {
    position: absolute;
    bottom: 10px;
    text-align: right;
    right: 10px;
    color: #fff;
}

.title-line h1 {
    font-size: 1.2em;
    letter-spacing: 3px;
    font-weight: 700;
}

.title-line h2 {
    font-size: 0.9em;
    font-weight: 500;
    padding-right: 3px;
}

a.button {
    background-color: transparent;
    padding: 5px 10px;
    border: 2px solid rgb(206, 206, 206);
    color:  rgb(206, 206, 206)
    font-size: 0.8em;
    font-weight: 500;
    text-decoration: none;
    transition: background-color 0.5s ease;
	margin-right:15px;
    }


a.button:hover {
    background-color: #293857;
}

.dark-overlay {
    height: 100%;
    width: 100%;
    background-color: rgba(0,0,0,0.2);
        
}

#mission {
    position: relative;
    background: url(../images/cycling.jpg);
    background-size: cover;
    background-position: 20%;
    background-repeat: no-repeat;
    height: 100vh;
}

.right-box {
    width: 80vw;
    clip-path: polygon(35px 0, 100% 0, 100%  100%, 0% 100%);
    background-color: #1d2432;
    position: absolute;
    right: 0;
    bottom: 20%;
    padding: 30px 20px 20px 40px;
}

.left-box {
    width: 80vw;
    clip-path: polygon(0 0, 100% 0, calc(100% - 35px)  100%, 0% 100%);
    background-color: #1d2432;
    position: absolute;
    left: 0;
    bottom: 20%;
    padding: 30px 30px 20px 20px;
}

.right-box h1,
.left-box h1 {
    color: rgb(185 185 185);
    margin-bottom: 15px;
    font-size: 2.2em;
    font-weight: 700;
}

.right-box p,
.left-box p {
    color: rgb(185 185 185);
    margin: 10px 0;
    font-size: 0.9em;
    font-weight: 300;
    line-height: 1.2em;
}
/*

.right-box p:last-of-type,
.left-box p:last-of-type {
    margin-bottom: 30px;
}
*/

#ngo {
    position: relative;
    background: url(../images/kid.jpg);
    background-size: cover;
    background-position: 60%;
    background-repeat: no-repeat;
    height: 100vh;
}

#ngo .left-box {
    bottom: 10%;
}

#race-plan {
    background-color: #1d2432;
    color: rgb(206, 206, 206);
    padding: 25px 10px 30px;
}

.svg-container {
    margin: 0 auto;
}

.text-container {
    margin-bottom: 40px;
    padding: 30px;
}

.text-container h1,
.svg-container h1 {
    font-size: 1.2em;
    margin-bottom: 15px;
    font-weight: 700;
}

table {
    font-size: 0.9em;
    margin-bottom: 20px;
}

.text-container h2 {
    font-size: 1em;
}

.text-container ul {
    font-size: 0.9em;
}

.text-container ul li {
    margin: 10px 0;
}

.route {
    height: 200px;
    margin-left: 20px;
    float: left;
}

.route-marks {
    margin: 0;
    list-style: none;
    font-size: 0.9em;
    padding-left: 40px;
}

.route-marks li:nth-of-type(2) {
    margin-top: 25px;
}

.route-marks li:nth-of-type(3) {
    margin-top: 29px;
}

.route-marks li:nth-of-type(4) {
    margin-top: 29px;
}

.route-marks li:nth-of-type(5) {
    margin-top: 29px;
}

td:first-of-type {
    font-weight: 500;
    
}

td:last-of-type {
    font-weight: 300;
    padding-left: 10px;
}

#charity-dinner {
    position: relative;
    background: url(../images/charity-dinner.jpg);
    background-size: cover;
    background-position: 85%;
    background-repeat: no-repeat;
    height: 100vh;
}

#charity-dinner .left-box {
    bottom: 10%;
}

footer {
    clear: both;
    padding: 18px 0;
    background-color:#030303 ;
}

footer h2 {
    color: rgb(185 185 185);
    font-size: 0.8em;
    font-weight: 300;
    text-align: center;
}

@media screen and (min-width: 600px) {
    .masthead {
        background: #1d2432;
    }
    
    .header-box {
        width: 50vw;
        clip-path: polygon(0 0, 100% 0, calc(100% - 30px) 100%, 0% 100%);
        background-color:#1d2432 ;
        position: absolute;
        bottom: 20%;
        padding: 20px 10px 25px;
    }
    
    .masthead-image {
        clip-path: polygon(60px 0, 100% 0, 100% 100%, 0% 100%);
        width: 50vw;
        position: absolute;
        right: 0%;
        background: url(../images/munish-tarun.jpg);
        background-size: cover;
        background-position: 40%;
        background-repeat: no-repeat;
        height: 100vh;
    }
    
    .right-box, .left-box {
        width: 60vw;
    }
    
    #race-plan {
        display: grid;
        grid-template-columns: 1fr;
    }
}

@media screen and (min-width: 1200px) {
    .header-box h1 {
        font-size: 3.0em;
    }
    
    .header-box h2 {
        font-size: 1.5em;
    }
    
    a.button {
        font-size: 1.2em;
        padding: 10px 20px;
    }
    
    .title-line h1 {
        font-size: 2em;
    }
    
    .title-line h2 {
        font-size: 1.2em;
    }
    
    #mission {
        height: 80vh;
        background-position: 20% 30%;
    }
    
    .right-box {
        width: 40vw;
        padding-left: 50px;
    }
    
    #ngo {
        height: 80vh;
        background-position: 40% 0%;
    }
    
    #ngo .left-box,
    #charity-dinner .left-box {
        width: 40vw;
        bottom: 20%;
    }
    
    .right-box h1,
    .left-box h1 {
        font-size: 2em;
    }
    
    .right-box p,
    .left-box p {
        font-size: 1em;
    }
    .text-container {
        margin-left: none;
    }

    .text-container h1,
    .svg-container h1 {
        font-size: 2em;
        color: rgb(185 185 185);
    }
    
    table {
        font-size: 1em;
        color: rgb(117 117 117);
    }
    
    .text-container h2 {
        font-size: 1.2em;
        color: rgb(117 117 117);
    }
    .text-container ul {
        font-size: 1em;
        color: rgb(117 117 117);
    }
    
    
}

@media only screen and (max-width: 600px) {
    .header-box {
        bottom: 16%;
    }
    .title-line h1 {
        background-color: #0000008a;
        padding:5px;
        margin-bottom:5px;
    }

    #mission {
        background-position: 48%;
    }

    .logo img{
        width: 25%;
    }
    #freedomlogo {
        width:100px;
    }
}

