/********************************************************************* 
CONTENTS

1. reset
2. HTML5 reset
3. basics - structure & base type
4. header and introductory content
5. content sections
    a. shared styles
    b. about
    c. jury
    d. submit
    e. calendar
    f. contact & footer
6. misc.  
7. media queries - min 425px
8. media queries - min 768px 
9. media queries - min 1025px 
10. navigation
*/

/********************************************************************* 
1. reset CSS 
http://meyerweb.com/eric/tools/css/reset/ 
v2.0 | 20110126 License: none (public domain)
*********************************************************************/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}

/*********************************************************************
2. HTML5 reset
*********************************************************************/

article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/*********************************************************************
3. basics - structure & base type 
*********************************************************************/

body {
    background-color: #FFF;
}

body:before {
  content: "";
  display: block;
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 700px;
  z-index: -10;
  background: url(images/marbling-bg-mobile.jpg) no-repeat center center;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

/*********************************************************************
4. header and introductory content
*********************************************************************/

#container {
    width: 100%;
}

header {
    position: relative;
    height: 568px;
    -webkit-clip-path: polygon(0% 0%, 80% 0, 100% 20%, 100% 85%, 50% 99%, 0% 85%);
    clip-path: polygon(0% 0%, 80% 0, 100% 20%, 100% 85%, 50% 99%, 0% 85%);
    overflow: hidden;
    width: 100%;   
}

#intro1 {
	text-align: center;
	background-size: cover;
	background-image: url(images/marbling-bg4.jpg);
    background-attachment: scroll;
    background-position: center;
    background-repeat: no-repeat;
    height: 330px;
    overflow: hidden;
}

#intro1 h1 {
    font-family: 'Crimson Text', serif;
    font-weight: 700;
    margin: 0;
    font-size: 20em;
    text-transform: uppercase;
    color: #000;
    background-color: #fff;
    mix-blend-mode: lighten;
    padding-top: 70px;
}

#intro2 {
    width: 100%;
    height: 238px;
    background-color: #fff;
}

#intro2 h1 {
    font-family: 'Bungee', sans-serif;
    font-size: 2.5em;
    background: #fff;
    color: #383838;
    text-align: center;
    width: 80%;
    margin: 0 auto;
}

#intro2 p {
    width: 60%;
    margin: 0 auto;
    font-family: 'Crimson Text', serif;
    font-style: italic;
    font-size: 1.4em;
    text-align: center;
}

/********************************************************************* 
5. content sections
*/

/********************************************************************* 
5.a. shared styles
*/

#about h1, #jury h1, #calendar h1, #submission h1, #contact h1 {
    font-family: 'Bungee hairline', sans-serif;
	font-size: 2.25em;
    text-decoration: underline;
    color: #383838;
    text-align: center;
    margin-top: 40px;
}

#about p, #jury p, #calendar p, #contact p, #submission p {
    width: 80%;
    margin: 30px auto;
    font-family: 'Crimson Text', serif;
    font-size: 16px;
    line-height: 1.3em;
}

/********************************************************************* 
5.b. about
*/

#about {
    width: 100%;
    background-color: #FFD700;
    -webkit-clip-path: polygon(0% 0%, 50% 5%, 100% 3%, 100% 96%, 50% 100%, 0% 97%);
    clip-path: polygon(0% 0%, 50% 5%, 100% 3%, 100% 96%, 50% 100%, 0% 97%);
    padding-top: 1px;
    overflow: hidden;
}

#about-container {
    width: 90%;
    margin: 100px auto;
    overflow: hidden;
    background-color: #FFF;
    box-shadow: 10px 10px #111;
}

/********************************************************************* 
5.c. jury
*/

#jury {
    width: 100%;
    background-color: #e23f84;
    -webkit-clip-path: polygon(0% 2%, 40% 0%, 100% 3%, 100% 100%, 0% 99%);
    clip-path: polygon(0% 2%, 40% 0%, 100% 3%, 100% 100%, 0% 99%);
    overflow: hidden;
    margin-top: -20px;
}

#jury h1 {
    color: #fff;
    margin-top: 70px;
}

.jury-team {
    width: 90%;
    margin: 60px auto;
    overflow: hidden;
    background-color: #FFF;
    box-shadow: 10px 10px #111;
}

.jury-team img {
    width: 100%;
}

#jury .jury-team h1 {
    font-family: 'Bungee', sans-serif;
	font-size: 1.25em;
    color: #383838;
    text-align: center;
    text-decoration: none;   
    margin: 25px auto;
}

.jury-team a {
    border-bottom: #5ddfef solid 2px;
    text-decoration: none;
    color: #383838;
}

.social {
    width: 100%;
    overflow: hidden;
    margin-bottom: 30px;
}

.social ol {
    width: 80%;
    margin: 0 auto;
}

.social li {
    display: block;
    width: 25%;
    float: left;
}

#jury .social img, .jury-team .social li a {
    width: 30px;
    display: block;
    margin: 0 auto;
    border-bottom: none;
}

/********************************************************************* 
5.d. submit
*/

#submission {
    width: 100%;
    margin-top: -15px;
    background-color: #5ddfef;
    -webkit-clip-path: polygon(0% 2%, 25% 5%, 100% 1%, 100% 100%, 0% 95%);
    clip-path: polygon(0% 2%, 25% 5%, 100% 1%, 100% 100%, 0% 95%);
    overflow: hidden;    
}

#submission-container {
    width: 90%;
    margin: 100px auto;
    overflow: hidden;
    background-color: #FFF;
    box-shadow: 10px 10px #111;
}

#submission ul {
    width: 80%;
    margin: 0 auto 35px;
    list-style: square;
    font-family: 'Crimson Text', serif;
}

#submission li {
    margin: 20px auto;
}

#countdown {
    width: 90%;
    margin: 0 auto;
    overflow: hidden;
}

p#submit-link {
    display: block;
    width: 60px;
    height: 42px;
    background-color: #5ddfef;
    border-radius: 60px;
    text-align: center;
    padding-top: 18px;
    border: 10px solid pink;
    margin: 5px auto;
}

#submit-link a {
    color: #fff;
    text-decoration: none;
}

#countdown p {
    font-family: 'Bungee', sans-serif;
	font-size: 1.25em;
    text-align: center;
    text-decoration: none;
    margin-bottom: 20px;
    color: #FFD700;
}

/********************************************************************* 
5.e. calendar
*/

#calendar {
    width: 100%;
    margin-top: -15px;
    background-color: #FFF;
    -webkit-clip-path: polygon(0% 4%, 100% 0%, 100% 100%, 0% 95%);
    clip-path: polygon(0% 4%, 100% 0%, 100% 100%, 0% 95%);
    overflow: hidden;
}

#calendar-container {
    width: 90%;
    margin: 100px auto;
    overflow: hidden;
    background-color: #ffc0cb;
    box-shadow: 10px 10px #111;
}

#calendar ol {
    width: 90%;
    margin: 20px auto;
}

#calendar li {
    font-family: 'Crimson Text', serif;
    font-size: 1.25em;
    line-height: 2em;
    text-align: center;
    border-bottom: 1px solid #fff;
    padding: 20px 0;
}

#calendar li:last-child {
    border-bottom: none;
}

/********************************************************************* 
5.f. contact & footer
*/

#contact {
    width: 100%;
    background-color: #FFD700;
    -webkit-clip-path: polygon(0% 2%, 80% 0%, 100% 4%, 100% 100%, 0% 94%);
    clip-path: polygon(0% 2%, 80% 0%, 100% 4%, 100% 100%, 0% 94%);
    overflow: hidden;  
}

#contact-container {
    width: 90%;
    margin: 100px auto;
    overflow: hidden;
    background-color: #FFF;
    box-shadow: 10px 10px #111;
}

#contact address {
    width: 80%;
    margin: 30px auto;
    font-family: 'Crimson Text', serif;
    font-size: 16px;
    line-height: 1.3em;
    text-align: center;
}

#contact ul {
    width: 80%;
    height: 30px;
    margin: 30px auto 60px;
}

#contact li {
    display: block;
    width: 33.3%;
    float: left;
}

#contact img, address a {
    width: 30px;
    display: block;
    margin: 0 auto;
}

#sponsors h2 {
    font-family: 'Bungee hairline', sans-serif;
	font-size: 1.75em;
    text-decoration: underline;
    color: #383838;
    text-align: center;
    margin-top: 40px;    
}

#sponsors ul {
    width: 80%;
    height: auto;
    margin: 30px auto 60px;
}

#sponsors li {
    display: block;
    width: 100%;
    float: none;
}

#sponsors img {
    margin-bottom: 20px;
    margin-left: 15%;
    margin-top: 20px;
    width: 70%;
}

#contact footer img {
    display: block; 
    margin: 20px auto;
    width: 35%;
}

footer ul {
    list-style: none;
}

footer li {
    display: block;
    float: left;
    font-size: 12px;
    height: 35px;
    line-height: 16px;
    overflow: hidden;
    padding-bottom: 1px;
    text-align: center;
    width: 33.3%;
    margin-bottom: 20px;
}

footer li a {
    color: #383838;
    border-bottom: #5ddfef solid 2px;
    text-decoration: none;
}

footer small {
    clear: both;
    display: block;
    font-family: 'Crimson Text', serif;    
    font-size: 14px;
    padding: 5%;
    text-align: center;
}

/********************************************************************* 
6. misc. 
*/

hr {
    width: 70%;
    height: 5px;
    background-color: #FFD700;
    border-style: none;
    margin: 15px auto;
    clear: both;
}

.serif {
    font-family: 'Crimson Text', serif;
    font-size: 1.6em;
    font-weight: 700;
    line-height: 1.5em;
    color: #FFD700;
}

.event {
    font-style: italic;
}

cite {
    font-style: italic;
}

.strikethrough {
    text-decoration: line-through;
}

/********************************************************************* 
7. media queries - min 425px 
*/

@media (min-width: 425px) {

    #sponsors img{
        width: 40%;
        margin: 30px auto;
    }
    
    #contact footer img {
        width: 25%;
    }
}

/********************************************************************* 
8. media queries - min 768px 
*/

@media (min-width: 768px) {
    
    body:before {
        height: 100%;
        background-image: url(images/marbling-bg4.jpg)
    }

    header {
        height: auto;
    }
    
    #intro1 {
        height: 430px;
    }
    
    #intro1 h1 {
        font-size: 500px;
    }
    
    #intro2 {
        height: 405px;
        padding-top: 70px;
    }

    #intro2 h1 {
        font-size: 3.5em;
    }
    
    #intro2 p {
        font-size: 2.4em;
    }
    
    #about-container, .jury-team, #calendar-container, #submission-container, #contact-container {
        width: 50%;
    }
    
    #about-container, #calendar-container, #submission-container, #contact-container {
        margin: 200px auto;
    }
    
    #jury h1 {
        margin-top: 100px;
    }
}

/********************************************************************* 
9. media queries - min 1025px 
*/

@media (min-width: 1025px) {

    #container {
        background-size: cover;
        background-image: url(images/marbling-bg4.jpg);
        background-attachment: fixed;
    }
    
    header {
        position: relative;
        -webkit-clip-path: polygon(0% 0%, 80% 0, 100% 20%, 100% 80%, 50% 98%, 0% 80%);
        clip-path: polygon(0% 0%, 80% 0, 100% 20%, 100% 80%, 50% 98%, 0% 80%);    
    }
    
    #intro1 {
        background-attachment: fixed;
        height: 540px;
    }

    #intro1 h1 {
        font-size: 720px;
        padding-top: 30px;
    }

    #intro2 {
        height: 260px;
        padding-top: 0;
    }

    #intro2 h1 {
        padding-top: 30px;
        width: 100%;
    }

    #intro2 hr {
        width: 50%;
    }
    
    #intro2 p {
        width: 30%;
        margin: 25px auto;
        font-size: 1.3em;
    }
    
    #about h1, #jury h1, #calendar h1, #submission h1, #contact h1 {
        font-size: 4vw;
        margin-top: 40px;
    }
    
    #jury h1 {
        margin-top: 150px;
    }

    #about p, #calendar p, #contact p, #submission p {
        width: 80%;
        margin: 50px auto;
        font-family: 'Crimson Text', serif;
        font-size: 1em;
        line-height: 1.3em;
    }
    
    #about {
        -webkit-clip-path: polygon(0% 0%, 70% 10%, 100% 3%, 100% 80%, 50% 98%, 0% 80%);
        clip-path: polygon(0% 0%, 70% 10%, 100% 3%, 100% 80%, 50% 98%, 0% 80%);
    }

    #about-container {
        margin: 200px auto 300px;
        overflow: hidden;
        background-color: #FFF;
        box-shadow: 10px 10px #111;
    }

    #about-container, .jury-team, #calendar-container, #submission-container, #contact-container {
        width: 40%;
    }
    
     #about-container, #calendar-container, #submission-container, #contact-container {
        max-width: 710px;
    }
    
    #jury {
        margin-top: -100px;
        -webkit-clip-path: polygon(0% 13%, 40% 0%, 100% 9%, 100% 100%, 0% 96%);
        clip-path: polygon(0% 13%, 40% 0%, 100% 9%, 100% 100%, 0% 96%);
        padding-bottom: 50px;
    }

    .jury-team {
        width: 30%;
        margin: 60px 1.665%;
        float: left;
    }

    .jury-team img {
        width: 100%;
    }

    #jury .jury-team h1 {
        font-family: 'Bungee', sans-serif;
        font-size: 1.8vw;
        color: #383838;
        text-align: center;
        text-decoration: none;
        margin-bottom: 20px;
    }
    
    #calendar {
        width: 100%;
        margin-top: -40px;
        -webkit-clip-path: polygon(0% 13%, 100% 0%, 100% 100%, 0% 90%);
        clip-path: polygon(0% 13%, 100% 0%, 100% 100%, 0% 90%);
    }

    #calendar ol {
        width: 80%;
        margin: 20px auto;
    }

    #calendar li {
        font-family: 'Crimson Text', serif;
        font-size: 1.25em;
        line-height: 2em;
        text-align: center;
    }
    
    #submission {
        margin-top: -170px;
        -webkit-clip-path: polygon(0% 14%, 25% 3%, 100% 20%, 100% 95%, 0% 90%);
        clip-path: polygon(0% 14%, 25% 3%, 100% 20%, 100% 95%, 0% 90%);
    }
    
    #submission ul {
        margin: -25px auto 35px;
    }
    
    p#submit-link {
        width: 60px;
        margin: 5px auto;
    }

    #countdown p {
        font-family: 'Bungee', sans-serif;
        font-size: 2.25vw;
        margin-bottom: 20px;
        margin-top: 30px;
    }
    
    #contact {
        margin-top: -170px;
        -webkit-clip-path: polygon(0% 15%, 80% 5%, 100% 5%, 100% 100%, 0% 90%);
        clip-path: polygon(0% 15%, 80% 5%, 100% 5%, 100% 100%, 0% 90%);
    }
    
    #sponsors ul {
        width: 80%;
        height: 100px;
        margin: 0 auto;
    }
    
    #sponsors li {
        display: block;
        width: 50%;
        float: left;
    }
    
    #sponsors img {
        width: 150px;
        margin: 30px auto;
    }
    
    #sponsors img.img-down {
        margin-top: 70px;
    }
    
    #contact footer img {
        width: 80px;
        float: left;
        margin-left: 10%;
        margin-right: 10px;
    }
    
    #contact footer p {
        padding-top: 30px;
        width: auto;
        margin: 0 10% 0 0;
    }
    
    #contact footer ul {
        height: auto;
        clear: both;
    }
    
    #contact footer li {
        display: block;
        width: 20%;
        float: left;
    }
}

/*********************************************************************
10. navigation
*********************************************************************/

#sidebar-wrapper {
    margin-left: -240px;
    left: 0;
    top: -20px;
    width: 240px;
    background: #383838;
    position: fixed;
    height: 120%;
    overflow-y: auto;
    z-index: 1000;
    -webkit-transition: 0.5s;
    -moz-transition: 0.5s;
    -ms-transition: 0.5s;
    -o-transition: 0.5s;
    transition: 0.5s;
    font-family: 'Bungee', sans-serif;
}

#sidebar-content {
  display: block;
  padding-top: 40px;
  max-width: 240px;
  margin: 0 auto;
}

.sidebar-nav, #archive {
    width: 240px;
    list-style: none;
    margin: 0 auto;
    padding: 26px 0px;
}

.sidebar-nav li a, #archive li a {    
    padding: 8px 8px 8px 32px;
    text-decoration: none;
    font-size: 25px;
    color: #fff;
    display: block;
    -webkit-transition: 0.3s;
    -moz-transition: 0.3s;
    -ms-transition: 0.3s;
    -o-transition: 0.3s;
    transition: 0.3s;
 }

.sidebar-nav li a:hover, #archive li a:hover {
     color: #fff;
     background-color: rgba(93,223,239,.9);
     text-decoration: none;
     width: 200%;
 }

.sidebar-nav li a:active, .sidebar-nav li a:focus, #archive li a:active, #archive li a:focus { text-decoration: none }

#menu-toggle {
    position: fixed;
    top: 20px;
    left: 20px;
    color: #383838;
}

#menu-close {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 36px;
    margin-left: 50px;
    padding: 8px 8px 8px 32px;
    text-decoration: none;
    color: #FFF;
    display: block;
    transition: 0.5s;
}

#sidebar-wrapper.active {
    left: 240px;
    width: 240px;
    -webkit-transition: all 0.5s ease 0s;
    -moz-transition: all 0.5s ease 0s;
    -ms-transition: all 0.5s ease 0s;
    -o-transition: all 0.5s ease 0s;
    transition: all 0.5s ease 0s;
}

.sidebar-bottom-section {
  padding-top: 5px;
}