/*
 * Hide visually and from screen readers
 */

 .hidden {
  display: none !important;
}

/*
 * Mediaqueries
 */

 @media (max-width: 600px) {

 }

 *, *:before, *:after {
  box-sizing: border-box;
}

body {
  background: #f6f6f6;
  font-family: 'Lato', sans-serif;
  color: #333;
}

menu {
  position: fixed;
  height: 3em;
  width: 100%;
  background: rgba(255,255,255,.9);
  top: 0;
  left: 0;
  margin: 0;
  padding: 0;
  z-index: 100;
  overflow-x: hidden;
  box-shadow: 0 3px 6px rgba(0,0,0,0.08), 0 3px 6px rgba(0,0,0,0.11);
  box-shadow: 0 4px 8px 0 rgba(0,0,0,.07), 0 10px 40px 0 rgba(0,0,0,.06), 0 16px 80px 0 rgba(0,0,0,.04);
  transition: all .3s ease-in-out;
  opacity: .3;
}

menu:hover {
  opacity: 1;
}


menu ul {
  max-width: 600px;
  line-height: 3em;
  justify-content: space-around;
  margin: 0 auto;
  display: flex;
  width: 100%;
}

menu ul li {
  flex-grow: 1;
  flex-basis: 0;
  text-align: center;
}

menu ul li a {
  display: block;
  width: 100%;
  position: relative;
}

menu ul li a + a:before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 2em;
  background: #444;
}

section {
  min-height: 100vh;
  min-width: 100%;
  display: flex;
  position: relative;
  align-items: center;
  text-align: center;
  padding: 3em 0;
}

.when_where {
  /*background: url('../img/spiration-light.png'), linear-gradient(to top, #fcc5e4 0%, #fda34b 15%, #ff7882 35%, #c8699e 52%, #7046aa 71%, #0c1db8 87%, #020f75 100%);
  background: url('../img/spiration-light.png'), linear-gradient(to top, #718a50 0%, #dce1a9 15%, #81993e 35%, #928467 52%, #9fb477 71%, #93805a 87%, #6d8746 100%);
  background-blend-mode: hard-light;*/
}

section .container {
  width: 100%;
  height: 100%;
  margin: 0 auto;
  padding: 5%;
  line-height: 1.5em;
  color: #020f75;

  color: #015e0a;
  position: relative;
}

.when_where .container .title {
  text-transform: uppercase;
  top: 0;
  transform: translateY(-60%);
  font-size: 4em;
  position: absolute;
  font-weight: 900;
  width: 100%;
  left: 0;
  z-index: -1;
}

.container .half {
  width: 50%;
  display: table-cell;
  position: relative;
}

section .container .full {
  display: block;
  font-size: .8em;
  margin: 40px 10% 0 10%;
  max-width: 80%;
}

h2 {
  text-transform: uppercase;
  font-size: 1.5em;
  font-weight: 900;
}

.when_where .half > i {
  font-size: 17em;
  margin-bottom: 20px;
  opacity: .05;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

hr {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg id='Squiggle-svg' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' xmlns:ev='http://www.w3.org/2001/xml-events' viewBox='0 0 20 4'%3E%3Cpath fill='none' stroke='%23FB6754' stroke-width='1' class='st0' d='M0,3.5 c 5,0,5,-3,10,-3 s 5,3,10,3 c 5,0,5,-3,10,-3 s 5,3,10,3'/%3E%3C/svg%3E");
  background-image: url('../img/separateur.png');
  height: 30px;
  width: 60%;
  margin: 20px auto;
  display: block;
  border:0;
  background-repeat: repeat-x;
  background-repeat: no-repeat;
  background-size: auto 5px;
  background-size: contain;
  background-position: center center;
}

.btn {
  text-transform: uppercase;
  padding: 10px 15px;
  border: 1px solid;
  text-decoration: none;
  margin: 20px;
  display: inline-block;
  cursor: pointer;
  position: relative;
  background: white;
  transition: all .1s;
}

.btn:before{
  transition: all .3s;
  content: "";
  background-size: 10px 10px;
  display: block;
  position: absolute;
  bottom: -7px;
  right: -7px;
  width: 100%;
  height: 100%;
  z-index: -1;
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg id='stripe-svg' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M-1,1 l2,-2 M0,10 l10,-10 M9,11 l2,-2' stroke='%23020f75' stroke-width='1' /%3E%3C/svg%3E");
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg id='stripe-svg' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M-1,1 l2,-2 M0,10 l10,-10 M9,11 l2,-2' stroke='%23015e0a' stroke-width='1' /%3E%3C/svg%3E");
}

.btn:hover {
  background: #020f75;

  background: #015e0a;
  color: white;
  border-color: #020f75;

  border-color: #015e0a;
}

.btn:hover:before {
  bottom:-0px;
  right: -0px;
}

.btn.calendar ul {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  top: 50%;
  transform: translateY(-50%);
  width: calc(100% + 10px);
  left: -5px;
  transition: all .3s ease-in-out;
  background: white;
  border: 1px solid;
  color: #020f75 !important;
  color: #015e0a !important;
}

.btn.calendar ul li {
  padding: 0px 10px;
}

.btn.calendar ul li + li {
  border-top: 1px solid;
}

.btn.calendar ul li a {
  display: block;
  line-height: 3em;
  color: inherit;
}

.btn.calendar.open ul {
  opacity: 1;
  pointer-events: auto;
}

.intro canvas {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
}

.intro .front p {
  line-height: .7em;
}

.intro em {
  font-style: normal;
  font-size: .7em;
}

.intro ::-webkit-input-placeholder {
 text-align: center;
}

.intro :-moz-placeholder { /* Firefox 18- */
 text-align: center;  
}

.intro ::-moz-placeholder {  /* Firefox 19+ */
 text-align: center;  
}

.intro :-ms-input-placeholder {  
 text-align: center; 
}

#scroll_pls {
  animation-name: scroll;
  animation-duration: 2.2s;
  animation-timing-function: cubic-bezier(.15,.41,.69,.94);
  animation-iteration-count: infinite;
}
@keyframes scroll {
  0% { opacity: 0; }
  10% { transform: translate(-50%, 0); opacity: .7; }
  100% { transform: translate(-50%, 15px); opacity: 0;}
}

h1 {
  text-align: center;
  font-size: 4em;
  font-family: 'Amatic SC', cursive;
  width: 100%;
}

#rsvp_form {
  background: white;
  padding: 30px;
  box-shadow: 0 4px 8px 0 rgba(0,0,0,.07), 0 10px 40px 0 rgba(0,0,0,.06), 0 16px 80px 0 rgba(0,0,0,.04);
  margin: 2em 10px 0 10px;
  color: #444;
}

#rsvp_form .line.mt20{
  margin-top: 20px !important;
}

#rsvp_form .line {
  text-align: left;
  width: 96%;
  margin: 0 auto;
}

#rsvp_form input[type="text"], #rsvp_form input[type="email"], #rsvp_form input[type="submit"], #rsvp_form textarea {
  border: 1px solid #444;
  border-radius: 3px;
  padding: 1em;
  width: 100%;
  background: transparent;
}

#rsvp_form .line.half {
  width: 48%;
  margin: 0 auto;
  display: inline-block;
}

#rsvp_form .notice {
  display: none;
  text-align: left;
  padding: 20px;
  color: white; font-weight: 500;
}

#rsvp_form .notice.success {
  background: #27ae60;
}

#rsvp_form .notice.error {
  background: #c0392b;
}

.background {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  z-index: -1;
  opacity: .2;
}

.gradient {
  position: absolute;
  transition: -webkit-filter 1200ms, top 1200ms, left 1200ms, right 1200ms, bottom 1200ms; 
  animation: gradient 30000ms infinite;
}

.gradient-1 {
  width: 100vw;
  height: 100vh;
  bottom: 0;
  left: 0;
  background: radial-gradient(ellipse at bottom center, RGBA(137, 125, 109, 0.7) 0%, RGBA(255, 255, 255, 0) 50%); }

  .gradient-2 {
    width: 100vw;
    height: 100vh;
    bottom: 0;
    left: 0vw;
    background: radial-gradient(ellipse at center left, RGBA(189, 255, 131, 1) 0%, RGBA(255, 255, 255, 0) 50%); }

    .gradient-3 {
      width: 100vw;
      height: 100vw;
      bottom: 0;
      left: 0;
      background: radial-gradient(ellipse at center right, RGBA(250, 219, 155, 1) 0%, RGBA(255, 255, 255, 0) 50%); }

      .background:after {
        content: '';
        position: absolute;
        right: -1px;
        top: 0;
        bottom: 0;
        background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, white 100%);
        width: 25vw;
        z-index: 0; }
        
        .background:before {
          content: '';
          position: absolute;
          left: -1px;
          top: 0;
          bottom: 0;
          background: linear-gradient(to right, white 0%, rgba(255, 255, 255, 0) 100%);
          width: 25vw;
          z-index: 0;
        }

        #spotify p {
          margin: 0;
        }

        #spotify p + p {
          margin-top: 1.5em;
        }

        #spotify ol {
          list-style-type: decimal;
          margin-top: 1.5em;
          padding-left: 15px;
        }

        #spotify ol li {
          display: list-item;
          padding-left: 5px;
        }

        #spotify ol li + li {
          margin-top: 8px;
        }

        @media (max-width: 750px) {

          .hide_mobile {
            display: none;
          }

          .container .half {
            width: 100%;
            min-height: 250px;
            display: block;
            position: relative;
            color: #020f75;
            color: #015e0a;
            margin-top: 35px;
            margin-bottom: 35px;
          }

          .intro .front p {
            line-height: .9em;
          }

          #rsvp_form .line.half {
            width: 96%;
            margin: 0 auto;
            display: inline-block;
          }

          #rsvp_form .line {
            margin-top: 20px !important;
          }

          #spotify .content  {
            flex-direction: column-reverse;
          }

          #spotify .content > div:first-child{
            margin-top: 2em;
          }
        }