/*
    Demo page CSS for structured-filter
    (c) 2024 Olivier Giulieri
    https://github.com/evoluteur/structured-filter
*/
html {
  margin: 0;
}
body {
  font-size: 12pt;
  font-family: "Century Gothic", arial;
  color: #777;
  font-weight: 300;
  background-image: url("bg.gif");
}
header {
  padding: 10px 20px;
  background-color: #285b9e;
  border-radius: 20px 20px 0 0;
}
section {
  padding: 0 0 30px;
  position: relative;
  margin: 0 auto;
  max-width: 1000px;
  background-color: white;
  border: 1px solid rgb(214, 212, 212);
  border-radius: 20px;
}
section > div {
  padding: 10px 20px;
  margin: 0 10px;
}
code {
  margin: 40px 0;
  padding: 20px 40px 20px 10px;
  background-color: #fafafa;
  border: solid 1px silver;
  font-size: 14px;
}
h1 {
  color: white;
  margin: 10px 10px;
  font-size: 30px;
}
h1 > span {
  font-weight: 300;
  font-size: 18px;
}
a {
  color: #39c;
  font-weight: 400;
  text-decoration: none;
}
a:hover {
  color: navy;
  text-decoration: underline;
}
a.sel {
  color: #000;
  text-decoration: none;
}

.demoValue {
  width: 99%;
  min-height: 60px;
  resize: vertical;
}

#github {
  position: absolute;
  top: 10px;
  right: 10px;
  margin: 0 0 10px 30px;
  font-size: 20px;
}
#github iframe {
  margin-top: 15px;
}

.heart {
  position: relative;
  top: 3px;
  color: silver;
  font-size: 25px;
  display: inline-block;
  text-align: center;
  transition: color 1s;
}
.madeInCA:hover .heart {
  color: #bf360c;
  -webkit-animation: beat 0.35s infinite alternate;
  -moz-animation: beat 0.35s infinite alternate;
  -ms-animation: beat 0.35s infinite alternate;
  -o-animation: beat 0.35s infinite alternate;
  animation: beat 0.35s infinite alternate;
  -webkit-transform-origin: center;
  -moz-transform-origin: center;
  -o-transform-origin: center;
  -ms-transform-origin: center;
  transform-origin: center;
}

@keyframes beat {
  to {
    -webkit-transform: scale(1.4);
    -moz-transform: scale(1.4);
    -o-transform: scale(1.4);
    -ms-transform: scale(1.4);
    transform: scale(1.4);
  }
}

@-moz-keyframes beat {
  to {
    -moz-transform: scale(1.4);
    transform: scale(1.4);
  }
}

@-webkit-keyframes beat {
  to {
    -webkit-transform: scale(1.4);
    transform: scale(1.4);
  }
}

@-ms-keyframes beat {
  to {
    -ms-transform: scale(1.4);
    transform: scale(1.4);
  }
}

@-o-keyframes beat {
  to {
    -o-transform: scale(1.4);
    transform: scale(1.4);
  }
}
