* {
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
*, *:before, *:after{
    box-sizing:border-box;
}

body {
    height: 100%;
    width: 100%;
    margin: 0;
    background-color: #fff;
    font-family: 'Lato', Arial, sans-serif;
    font-weight: 400;
    color: #000;
    text-align: center;
}

h1{
  font-size: 40px; 
  font-size: 5vw;
  margin: 0;
  padding-top: 60px;
}
h1 strong{
    text-shadow: 0 1px 0px #fff;
}

h2 {
    font-family: 'Arvo', Arial, sans-serif;
    margin:1em 0 0.5em;
    font-size: 2em;
    font-weight: normal;
    color: #000;
}

h2.section {
    font-weight: bold;
}

h2.nomargin {
    margin-top:0;
}

h3 {
    margin-top: 2em;
    font-size: 1.6em;
    font-weight: normal;
}

h4 {
    font-size: 1.4em;
    font-weight: normal;
    line-height: 1.5em;
}

h5 {
    font-size: 1.2em;
    font-weight: normal;
    margin-bottom: 0.5em;
}

p {
    font-size: 16px;
    line-height: 1.8em;
    text-align: left;
}

li {
    font-size: 1.1em;
    line-height: 1.6em;
    list-style-type: none;
}

a,
a:active,
a:visited {
    color: #777;
}

a:hover {
    color: #BBB;
}

.hidden {
    display: none;
    float: right;
}

/* HEADER */
header {
    box-sizing: border-box;
    width: 100%;
    height: 60px;
    background: #000; /* Old browsers */
    background: -moz-linear-gradient(top,  #fff 0%, #999 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top,  #fff 0%,#999 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom,  #fff 0%,#999 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    font-family: 'Arvo', Arial, sans-serif;

    color: #fff;
    padding: 5px 15px;
    z-index: 2;
}

@media (min-width: 700px) {
    header {
        position: fixed;
    }
}

/* MENU */
.hamburger-menu {
    font-size: 3em;
    float: right;
    cursor: pointer;
    line-height: 1em;
}

/* NAVIGATION */
nav {
    display: none;
    position: fixed;
    right: 0px;
    top: 0px;
    z-index: 1;
}



#menu-toggle {
    display: none;
}

#menu-toggle:checked + nav {
    display: block;
}


nav ul {
    margin: 0;
    padding: 0;
    background-color: #999;
}

nav li {
    margin-top: 5px;
    list-style-type: none;
    padding: 10px 20px;
    z-index: 2;
}

nav li:first-child {
    margin-top: 0;
}

nav li a,
nav li a:visited {
    color: #000;
    text-decoration: none;
    text-shadow: 0 1px 0 #DDD;
}

nav li a:hover {
    color: #fff;
}

nav li.register a,
nav li.register a:visited {
    color: #fff;
}

nav li.register a:hover {
    color: #fff;
}

@media (min-width: 768px) {
    .hamburger-menu {
        display: none;
    }
    nav {
        display: block;
        position: static;
        float: right;
    }
    nav li {
        float: left;
        padding: 5px 10px;
    }
    nav li:first-child {
        margin-top: 5px;
    }
}


/* CONTENT */
section {
    padding: 0 0 30px;
}

img {
    max-width: 100%;
    height: 100%;
}

.banner {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.content {
    padding:0 0 10px;  
    max-width: 700px;
    width: 100%;
    margin: 0 auto;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;    
}

.content p{
    font-weight: 400;
    font-style: normal;
    font-size: 21px;
    line-height: 1.58;
    letter-spacing: -.003em;    
}

.event {
    padding: 25px 10px;
}

.events {
    display: grid;
    grid-template-columns:  repeat(auto-fit, minmax(300px, 1fr));
    grid-gap: 1em;
}

.faq {
    display: grid;
    grid-template-columns:  repeat(auto-fit, minmax(250px, 1fr));
    grid-gap: 2em;
    padding: 5px 35px;
}

.flag {
    max-width: 25%;
    max-height: 25%;
}

.graphic {
    border: 2px solid #000;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.hack {
    max-width: 100%;
}

.hide {
  display: none;
}
    
.ghost:hover + .hide {
  display: block;
  color: #000;
  font-size: 30px; 
}

.icon {
    height: 75px;
    width: 75px;
}

.iframe-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
}

.iframe-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.item {
    display: grid;
    grid-template-columns:  repeat(auto-fit, minmax(250px, 1fr));
    grid-gap: 1em;
}

.location {
    transition: all .2s ease-in-out;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.location:hover {
    transform: scale(1.05); 
}

.logo {
    width: 300px;
    height: 250px;
}   

.logo_3D {
    display: grid;
    margin: 0 auto;
    padding: 0 0 5px 0;
    width: 50%;
    height: 250px;
} 

/* BUTTON */
.myButton {
    box-shadow: 0px 10px 14px -7px #3e7327;
    background:linear-gradient(to bottom, #77b55a 5%, #72b352 100%);
    background-color:#77b55a;
    border-radius:4px;
    border:1px solid #4b8f29;
    display:inline-block;
    cursor:pointer;
    color:#ffffff;
    font-family:Arial;
    font-size:px;
    font-weight:bold;
    padding:20px 40px;
    text-decoration:none;
    text-shadow:0px 1px 0px #5b8a3c;
}
.myButton:hover {
    background:linear-gradient(to bottom, #72b352 5%, #77b55a 100%);
    background-color:#72b352;
}
.myButton:active {
    position:relative;
    top:1px;
}

.offwhite{
    background: #E9E9E9;
}

.projects {
    padding: 0px 50px;
    text-align: left;
}

.sponsor {
  max-width: 100%;
}

.supporter {
    padding: 5px 5px;
    text-align: center;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.winners {
    display: grid;
    grid-template-columns:  repeat(auto-fit, minmax(250px, 1fr));
    grid-gap: 1em;
    padding: 5px 200px;
}

.white{
    background: #fff;
    z-index: 0;
    position: relative;
}

.wrapper {
    padding: 25px 10px;
    margin: auto;
}

#name {
    color: #000;
}

/* FOOTER */
footer {
    margin: auto;
    width: 100%;
    background: #3498db; /* Old browsers */
    background: -moz-linear-gradient(top,  #999 0%, #000 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top,  #999 0%,#000 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom,  #999 0%,#000 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    color: #fff;
    padding: 25px 0px;
    text-align: center;
    font-family: 'Arvo', Arial, sans-serif;
    font-weight: 400;
}



/* EASTER EGG FUN*/
/* Make the container relative */
.swap-on-hover {
    position: relative;   
    margin:  0 auto;
    width: 200px;
    height: 200px;
    align-items: center;
}

.swap-on-hover img {
    position: absolute;
    top:0;
    left:0;
    overflow: hidden;
    width: 200px;
    height: 200px;
}

.swap-on-hover .swap-on-hover_front-image {
    z-index: 9999;
    transition: opacity .5s linear;
}

.swap-on-hover:hover > .swap-on-hover_front-image{
    opacity: 0;
}
