/*
 * Globals
 */


@font-face {
    font-family: 'Proxima Nova';
    src: url('../fonts/ProximaNova-Black-webfont.eot');
    src: url('../fonts/ProximaNova-Black-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/ProximaNova-Black-webfont.woff2') format('woff2'),
         url('../fonts/ProximaNova-Black-webfont.woff') format('woff'),
         url('../fonts/ProximaNova-Black-webfont.ttf') format('truetype'),
         url('../fonts/ProximaNova-Black-webfont.svg#proxima_novablack') format('svg');
    font-weight: 900;
    font-style: normal;

}




@font-face {
    font-family: 'Proxima Nova';
    src: url('../fonts/ProximaNova-Bold-webfont.eot');
    src: url('../fonts/ProximaNova-Bold-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/ProximaNova-Bold-webfont.woff2') format('woff2'),
         url('../fonts/ProximaNova-Bold-webfont.woff') format('woff'),
         url('../fonts/ProximaNova-Bold-webfont.ttf') format('truetype'),
         url('../fonts/ProximaNova-Bold-webfont.svg#proxima_nova_rgbold') format('svg');
    font-weight: 600;
    font-style: normal;

}




@font-face {
    font-family: 'Proxima Nova';
    src: url('../fonts/ProximaNova-Extrabold-webfont.eot');
    src: url('../fonts/ProximaNova-Extrabold-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/ProximaNova-Extrabold-webfont.woff2') format('woff2'),
         url('../fonts/ProximaNova-Extrabold-webfont.woff') format('woff'),
         url('../fonts/ProximaNova-Extrabold-webfont.ttf') format('truetype'),
         url('../fonts/ProximaNova-Extrabold-webfont.svg#proxima_novaextrabold') format('svg');
    font-weight: 800;
    font-style: normal;

}


/* Links */
a,
a:focus,
a:hover {
  color: #fff;
}

/* Custom default button */
.btn-default,
.btn-default:hover,
.btn-default:focus {
  color: #333;
  text-shadow: none; /* Prevent inheritence from `body` */
  background-color: #fff;
  border: 1px solid #fff;
}

h1, h2, h3, h4 {
  padding: 0;
  margin: 0;
}

/*
 * Base structure
 */

html,
body {
  height: 100%;
  background-color: #333;

}
body {
  color: #fff;
  text-align: center;
  text-transform: uppercase;
  font-family: "Proxima Nova";
  cursor: default;
}

body * {
 -webkit-transition: all .15s ease-out;
  -moz-transition: all .15s ease-out;
  -ms-transition: all .15s ease-out;
  -o-transition: all .15s ease-out;
  transition: all .15s ease-out; 
}

/* Extra markup and styles for table-esque vertical and horizontal centering */
.site-wrapper {
  display: table;
  width: 100%;
  height: 100%; /* For at least Firefox */
  min-height: 100%;
  position: relative;
}

.site-wrapper-inner {
  display: table-cell;
  vertical-align: middle;
}
.cover-container {
  margin-right: auto;
  margin-left: auto;
}

.container-fluid {
  padding: 0;
  width: 100%;
}


/*
 * Header
 */
.masthead-brand {
  font-size: 25px;
  letter-spacing: 3px;
  font-weight: 900;
  position: relative;
  top: 25px;
  left: 25px;
  float: left;
}

.masthead-brand a {
  text-decoration: none;
}

.masthead-nav {
  position: relative;
  top: 22px;
  right: 25px;
  float: right;
}

.masthead-nav > li {
  text-align: right;
  font-weight: 900;
  font-size: 25px;
  pointer-events: all;
}
.masthead-nav > li + li {
  margin-left: 20px;
}
.masthead-nav > li > a {
  padding: 0;
  padding-bottom: 10px;
  color: #fff; /* IE8 proofing */


}
.masthead-nav > li > a:hover,
.masthead-nav > li > a:focus {
  background-color: transparent;
  color: white;
  text-shadow: 5px 5px #30ffbe;
  transform: translate(-5px,-5px);
}

.masthead-nav > .active > a,
.masthead-nav > .active > a:hover,
.masthead-nav > .active > a:focus {
  color: #fff;
  border-bottom-color: #fff;
}




.sticky .masthead-brand {
  font-size: 18px;
  font-weight: 800;
}

.sticky .masthead-nav > li > a {
 padding: 0;
 font-size: 18px;
}

.sticky .masthead-nav > li > a:hover,
.sticky .masthead-nav > li > a:focus {
  text-shadow: 2px 2px #30ffbe;
  transform: translate(-2px,-2px);
}

/*
 * Content
 */


.site-wrapper.first {
  background: #c1ff0d url("../img/bg-1.gif") no-repeat fixed 5% 25%;
  background-size: cover;
}

.site-wrapper.second {
  background: url("../img/bg-3.png") no-repeat scroll 50% 50%;
  background-size: cover;
}

.site-wrapper-outer {
  display: table-row;
/*  background: url("../img/bg-2.png") no-repeat fixed 50% 50%;
  background-size: cover;*/
}



h1 {
  font-size: 100px;
  letter-spacing: 20px;
  text-shadow: 15px 15px #30ffbe;
  margin: 7% auto;
  font-weight: 900;
  cursor: default;
}

.second h2 {
 font-size: 52px;
 letter-spacing: 2px;
 line-height: 56px;
 font-weight: 900;
  width: 90%;
  margin:auto;
}

.second h4 {
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 2px;
  margin: 40px auto 0;
  width: 90%;
}

.compet {
    position: absolute;
  bottom: 1px;
  left: 5px;
  text-transform: none;
  font-size: 9px;
  opacity: 0.6;
}

a.ok { 
  background: none; 
  border: solid 10px white;
  border-radius: 0;
  color: white;
  font-size: 45px;
  letter-spacing: 3px;
  font-weight: 800;  
  padding: 3px 35px;
}

a.ok:hover,
a.ok:active,
a.ok:focus { 
  border: solid 10px white;
  color: #c1ff0d;
  background: white;
  -webkit-box-shadow: none;
  box-shadow: none;
   
}

a.cancel { 
  background: none; 
  border-color: transparent;
  border-radius: 0;
  color: white;
  font-weight: 600;
  letter-spacing: 2px;
  margin-left: 30px;      
}

a.cancel:hover,
a.cancel:active {
  color: white;
  background: transparent;
  border-color: transparent;
  -webkit-box-shadow: none;
  box-shadow: none;  
}

a.cancel:focus {
   background: none;
   color: white;
   outline: none;
   border: 0;
}

.work { 
  width: 100% ;
  padding: 200px 0;
  background: #ff0084;
  font-size: 28px;
  font-weight: 900;
  letter-spacing: 4px;
}

.piece { 
  width: 25%;
  padding-bottom: 25%;
  float: left;
  background: white;
  position: relative;  
}

.double { 
  width: 50%;
}

.piece .inside {
  position: absolute;
  top: 0 ; left: 0; right: 0; bottom: 0;
  text-align: center;
  overflow: hidden;
}

.piece .text {
  opacity: 0;
  position: absolute;
  z-index: 100;
  top: 20px;
  left: 20px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  line-height: 16px;
  text-align: left;
  width: 70%;
}

.piece .text.dark {
  color: #555;
}

.piece .inside img {
  max-width: 100%;
  position: relative;
   -webkit-transform: scale(1); 
  -moz-transform: scale(1);
  -ms-transform: scale(1);
  -o-transform: scale(1);
  transform: scale(1); 
  ms-transform: scale(1);
}

.piece:hover img {
  -webkit-transform: scale(1.05); 
  -moz-transform: scale(1.05);
  -ms-transform: scale(1.05);
  -o-transform: scale(1.05);
  transform: scale(1.05); 
}

.piece:hover .text {
  opacity: 1;
}

.ping {
  padding: 400px 0;
  background: #5bff62;
}

.ping svg {
  height: 100px;
  width: 100px;
}

.ping svg:hover {
  -webkit-transform: scale(1.05); 
  -moz-transform: scale(1.05);
  -ms-transform: scale(1.05);
  -o-transform: scale(1.05);
  transform: scale(1.05); 
}






.modal {
 overflow-y: auto;
}

.modal-open {
 overflow: auto;
}

body.modal-open
{
  margin-right: 0!important;
  padding-right: 0!important;

}

.modal-backdrop {
  background: white;
}

.modal-backdrop.in {
  opacity: 0.8;
}

.modal-content {
  box-shadow: none;
  -webkit-box-shadow: none;
  border: 0;
  border-radius: 0;
}

.modal-body {
  padding: 90px 0;
}

.modal-body h2 {
  color: #65ff6d;
  font-weight: 900;
  letter-spacing: 2px;
  font-size: 30px;
  display: inline;  
}

.modal-body a.donate {
  background: #65ff6d;
  font-weight: 900;
  letter-spacing: 2px;
  font-size: 30px;
  padding: 4px 8px 3px;
  margin-left: 30px;
  white-space: nowrap;
}

.modal-body a.donate:hover {
  text-decoration: none;
  background: #30ffbe;  
}

.close { 
position: absolute;
top: 10px ; right: 15px;
}

/*
 * Footer
 */

.footer {
float: left;
  font-weight: 800;
  letter-spacing: 2px;
  font-size: 11px;
  padding-bottom: 5px;
  background: #5bff62;
  width: 100%;
  text-align: left;
  padding-left:10px;
}


/*
 * Affix and center
 */

@media (min-width: 768px) {
  /* Pull out the header and footer */
  .masthead {
    position: fixed;
    top: 0;
    z-index: 500;
  }


  /* Handle the widths */
  .masthead,
  .cover-container {
    width: 100%; /* Must be percentage or pixels for horizontal alignment */
  }
}


@media (max-width: 768px) {
  .piece {
    width: 50%;
    padding-bottom:50%;
  }
  .double {
    width:100%;
  }
  .ping {
    padding: 240px 0;
  }
}

@media (max-width: 320px) {
  .piece {
    width:100%;
    padding-bottom:100%;
  }
  .double {
    width:100%;
        padding-bottom:50%;
  }
  .double img {

  }
  .ping {
    padding: 120px 0;
  }

  .second h2 {
    font-size: 25px;
      line-height: 44px;
  }

  h1 {
  font-size: 45px;
  letter-spacing: 9px;
  text-shadow: 8px 8px #30ffbe;
  margin-bottom: 50px;
  }

  .second h4 {
    font-size: 10px;
    line-height: 15px;
  }

  .masthead-brand {
  font-size: 16px;
  letter-spacing: 2px;
  font-weight: 900;
  position: absolute;
  top: 10px;
  width: 100%;
  float: none;
  left: 0;
  }

.masthead-nav {
  top: 0;
  right: 0;
  float: none;
}

.masthead-nav > li {
    display: inline-block;
    font-size: 21px;
}

a.ok,
a.ok:hover,
a.ok:active,
a.ok:focus {
  font-size: 28px;
  border: solid 7px white;
}

a.cancel {
  margin-left: 10px;
  font-size: 15px;
}

.modal-body a.donate {
    font-size: 15px;
    margin-left: 0;
}

}






.module {
  opacity: 0;
}

.delay {
  -webkit-animation-delay: 1s;
  animation-delay: 1s;
}

.come-in {
  -webkit-animation: come-in 2s ease forwards;
  animation: come-in 2s ease forwards;
}

.already-visible {
  opacity: 0;
  -webkit-animation: come-in 2s ease forwards;
  animation: come-in 2s ease forwards;
}

@keyframes come-in {
  to { opacity: 1; }
}

@-webkit-keyframes come-in {
  to { opacity: 1; }
} 