:root {
    --header: visible;
}

@media print {
  *,
  *:before,
  *:after {
    background: transparent !important;
    color: #000 !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }

  a,
  a:visited {
    text-decoration: underline;
  }

  a[href]:after {
    content: " (" attr(href) ")";
  }

  abbr[title]:after {
    content: " (" attr(title) ")";
  }

  a[href^="#"]:after,
  a[href^="javascript:"]:after {
    content: "";
  }

  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }

  thead {
    display: table-header-group;
  }

  tr,
  img {
    page-break-inside: avoid;
  }

  img {
    max-width: 100% !important;
  }

  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }

  h2,
  h3 {
    page-break-after: avoid;
  }
}

html {
  font-size: 12px;
}

header {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  
  vertical-align: baseline;
  position: sticky;
  font-size: 18px;
  padding: 5px;
  padding-right: 18px;
}

lb {
    display: inline;
}

#lclose {
    right: 0px;
}

@media screen and (min-width: 32rem) and (max-width: 48rem) {
  html {
    font-size: 15px;
  }
}

@media screen and (min-width: 48rem) {
  html {
    font-size: 16px;
  }
  
  header {
    position: fixed;
    font-size: x-large;
    padding: 5px 30px;
  }
  
  #lclose {
      right: 10px;
  }
}

@media screen and (min-width: 1180px) {
  lb {
    display: block;
  }
}

body {
  line-height: 1.85;
}

p,
.air-p {
  font-size: 1rem;
  margin-bottom: 1.3rem;
}

h1,
.air-h1,
h2,
.air-h2,
h3,
.air-h3,
h4,
.air-h4 {
  margin: 1.414rem 0 .5rem;
  font-weight: inherit;
  line-height: 1.42;
}

h1,
.air-h1 {
  margin-top: 0;
  font-size: 3.998rem;
}

h2,
.air-h2 {
  font-size: 2.827rem;
}

h3,
.air-h3 {
  font-size: 1.999rem;
}

h4,
.air-h4 {
  font-size: 1.414rem;
}

h5,
.air-h5 {
  font-size: 1.121rem;
}

h6,
.air-h6 {
  font-size: .88rem;
}

small,
.air-small {
  font-size: .707em;
}

/* https://github.com/mrmrs/fluidity */

img,
canvas,
iframe,
video,
svg,
select,
textarea {
  max-width: 100%;
}

@import url(http://fonts.googleapis.com/css?family=Open+Sans:300italic,300);

body {
  color: #444;
  font-family: 'Open Sans', Helvetica, sans-serif;
  font-weight: 300;
  margin: 6rem auto 1rem;
  max-width: 48rem;
  text-align: center;
}

img {
  border-radius: 10%;
  height: auto;
  margin: 0 auto;
  width: 350px;
}

video {
  border-radius: 20px;
}

a,
a:visited {
  color: #3498db;
}

a:hover,
a:focus,
a:active {
  color: #2980b9;
}

pre {
  background-color: #fafafa;
  padding: 1rem;
  text-align: left;
}

blockquote {
  margin: 0;
  border-left: 5px solid #7a7a7a;
  font-style: italic;
  padding: 1.33em;
  text-align: left;
}

ul,
ol,
li {
  text-align: left;
}

p {
  color: #777;
  text-align: justify;
}

p:has(img) {
  text-align: center;
}

span,
body p:last-of-type {
  text-align: center;
}

span {
  max-width: 45vw;
  display: inline-block;
}

header {
    height: auto;
    background-color: red;
    /*! margin: 0; */
    /* position: sticky;*/
    /*! position: fixed; */
    top: 0;
    left: 0;
    box-sizing: border-box;
    z-index: 1000;
    /*! width: 70%; */
    width:100%;
    color: white;
    text-align: center;
    /*font-size: x-large;*/
    font-family: Roboto, Arial;
    /*! padding: 0 30px; */
    /*padding: 5px;*/
    /*white-space: pre-line;*/
    font-weight: bold;
    line-height: 1.3;
}

/*div:has(input[type=checkbox]:checked) { *//*<== unsupported by firefox*/
input[type=checkbox]:checked + header { /*workaround by putting invisible checkbox right before*/
  display: none;
}

#close {
  display: none;
}

#lclose {
  position: absolute;
  /*right: 0px;/*-10px;*/
  top: 10px;
  transition: 0.3s;
}

#lclose:hover {
  cursor: pointer;
  opacity: 60%;
}

/*#faq + p {
    padding-bottom: 2px;
}*/

p + ul {
  margin-top: -20px;
}

/*blockquote + ul {
  margin-top: 0px;
}*/

#join-button {
  color: white;
  font-size: 2.5rem;
  font-family: Roboto, Arial;
  background-color: red;
  /*background-size: 40px 40px;*/
  cursor: pointer;
  border: none;
  border-radius: 10px;
  /*padding: 15px 25px;*/
  padding: 1.75rem 6rem;
  box-shadow: 0px 0px 1px 3px orange inset;
  align: center;
  transition: .3s;
}

div:hover #join-button {
  box-shadow: 5px 5px 5px 2px black inset;
  
  background-image: linear-gradient(
    133deg,
    #00AAFF 10%,
    #00F3FF 10% 20%,
    #12FFA7 20% 30%,
    #36FF7D 30% 40%,
    #00AAFF 40% 50%,
    #00F3FF 50% 60%,
    #12FFA7 60% 70%,
    #36FF7D 70% 80%,
    #00AAFF 80% 90%,
    #00F3FF 90% 100%
  );
  /*animation: background 3s linear infinite;*/
  animation: hovbtn 1s infinite, background 2s linear infinite;
}

#join-button {
  background-image: linear-gradient(
    133deg,
    transparent 10%,
    orangered 10% 20%,
    darkorange 20% 30%,
    orange 30% 40%,
    transparent 40% 50%,
    orangered 50% 60%,
    darkorange 60% 70%,
    orange 70% 80%,
    transparent 80% 90%,
    orangered 90% 100%
  );
  animation: background 2s linear infinite, flip 2s infinite;
}


@keyframes background {
  0% {
    background-position: 0 0;
  }
  100% {
    /*background-position: -400px 0;*/
    background-position: -25rem 0;
  }
}

@keyframes flip {
  0%,60% {
    transform: rotateY(360deg) 
  }
}

@keyframes hovbtn {
  10% {
    transform: rotate(15deg) rotateY(65deg);
  }
  20% {
    transform: rotate(15deg) rotateY(65deg);
  }
  25% {
    transform: rotate(-15deg) rotateX(65deg);
  }
  45% {
    transform: rotate(15deg) rotateX(50deg)
  }
  50% {
    transform: rotate(-15deg) rotateX(55deg)
  }
}

