/*! normalize.css v8.0.0 | MIT License | github.com/necolas/normalize.css */

/* Document
   ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */

html {
  line-height: 150%; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
}

/* Sections
   ========================================================================== */
/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */

h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/* Grouping content
   ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */

hr {
  box-sizing: content-box; /* 1 */
  height: 0; /* 1 */
  overflow: visible; /* 2 */
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

pre {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/* Text-level semantics
   ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */

a {
  background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */

abbr[title] {
  border-bottom: none; /* 1 */
  text-decoration: underline; /* 2 */
  text-decoration: underline dotted; /* 2 */
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */

b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

code,
kbd,
samp {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/**
 * Add the correct font size in all browsers.
 */

small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Embedded content
   ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */

img {
  border-style: none;
}

/* Forms
   ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */

button,
input,
optgroup,
select,
textarea {
  font-size: 100%; /* 1 */
  margin: 0; /* 2 */
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */

button,
input {
  /* 1 */
  overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */

button,
select {
  /* 1 */
  text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */

button,
[type='button'],
[type='reset'],
[type='submit'] {
  -webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */

button::-moz-focus-inner,
[type='button']::-moz-focus-inner,
[type='reset']::-moz-focus-inner,
[type='submit']::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */

button:-moz-focusring,
[type='button']:-moz-focusring,
[type='reset']:-moz-focusring,
[type='submit']:-moz-focusring {
  outline: 0;
}

/**
 * Correct the padding in Firefox.
 */

fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *    `fieldset` elements in all browsers.
 */

legend {
  box-sizing: border-box; /* 1 */
  color: inherit; /* 2 */
  display: table; /* 1 */
  max-width: 100%; /* 1 */
  padding: 0; /* 3 */
  white-space: normal; /* 1 */
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */

progress {
  vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */

textarea {
  overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */

[type='checkbox'],
[type='radio'] {
  box-sizing: border-box; /* 1 */
  padding: 0; /* 2 */
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */

[type='number']::-webkit-inner-spin-button,
[type='number']::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */

[type='search'] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */

[type='search']::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */

::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/* Interactive
   ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */

details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */

summary {
  display: list-item;
}

/* Misc
   ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */

template {
  display: none;
}

/**
 * Add the correct display in IE 10.
 */

[hidden] {
  display: none;
}

/* LBA
   ========================================================================== */

html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Open Sans Condensed', sans-serif;
  font-weight: 300;
  color: #fff;
  font-size: 1.6rem;
  line-height: 150%;
  background-image: url('img/tlo-galaktyka.jpg');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
}

button {
  font-family: 'Open Sans Condensed', sans-serif;
}

h2 {
  color: #fff;
  font-size: 3rem;
  text-align: center;
  font-weight: 300;
}
h2.savesTitle {
  padding: 44px 0 12px 0;
}
.responsive {
  width: 100%;
  height: auto;
}
#logonabu1 {
  max-width: 512px;
}

#main-box {
  width: 100%;
  height: 100%;
  min-height: 100%;
  display: block;
  position: relative;
  margin: 0 auto;
  text-align: center;
}
#main-box-center.center-center {
  margin: auto;
  width: 100%;
  padding: 5% 0;
}
#main-box-center.center-top {
  margin: 0 auto;
  position: absolute;
  top: 40px;
  left: 50%;
  transform: translate(-50%, 0);
}

.logo-img {
  -webkit-transition: all 1.4s ease-in-out;
  transition: all 1.4s ease-in-out;
}
@keyframes animOpacity {
  0% {
    opacity: 0;
    transform: translateY(0px);
  }
  100% {
    opacity: 1;
    transform: translate(0);
  }
}

#gestures,
#menu-step1 {
  animation: animOpacity 1s ease-in-out 0.5s;
  animation-fill-mode: backwards;
}

#menu-step1,
#menu-mainscreen,
#menu-step3,
#menu-step4,
#menu-step5,
#menu-contact,
#menu-patronite,
#menu-control,
#menu-about,
#menu-loading {
  -webkit-transition: all 1s ease-in-out;
  transition: all 1s ease-in-out;
}

#menu-mainscreen,
#menu-step3,
#menu-step4,
#menu-contact,
#menu-control,
#menu-loading {
  opacity: 0;
  display: none;
  width: 90%;
  margin: 0 auto;
}
#menu-patronite,
#menu-about {
  opacity: 0;
  display: none;
  width: 100%;
  margin: 0 auto;
  max-width: 800px;
}
#menu-step5 {
  opacity: 0;
  display: none;
  width: 100%;
  margin: 0 auto;
}

#menu-step1 {
  width: 90%;
  margin: 0 auto;
}

#mainbutton {
  margin: 66px auto;
}
#mainbutton-newgame {
  margin: 66px auto 10px;
}

#mainbutton-newgame,
#mainbutton-about,
#mainbutton-contact,
#mainbutton-control,
#mainbutton-facebook,
#mainbutton-patronite,
#mainbutton6,
#mainbutton7,
#mainbutton-load {
  opacity: 0;
  -webkit-transition: all 0.7s ease-in-out;
  transition: all 0.7s ease-in-out;
}

@media only screen and (max-width: 1200px) {
  #main-box-center {
    margin: 0 auto;
    text-align: center;
    position: relative;
    top: 0;
    left: 0;
    transform: none;
    padding: 34px 0;
  }
}

.desktop-interface {
  display: block;
  padding: 5% 10px 0 0;
  text-align: center;
}
.mobile-interface {
  display: none;
}

.ryjek {
  float: right;
}

@media only screen and (max-width: 1000px) {
  .ryjek {
    float: none;
    text-align: center;
    display: block;
    margin: 0 auto;
  }
  .desktop-interface {
    display: none;
  }
  .mobile-interface {
    display: block;
    padding: 5% 10px 0 0;
    text-align: center;
  }
}

#spinner {
  position: absolute;
  top: 0px;
  right: 0px;
  z-index: 9;
  display: none;
}

#gestures img {
  text-align: center;
  margin: 0 auto;
  display: block;
  max-width: 100%;
  height: auto;
}
#gestures img.hidden {
  display: none;
}

#gestures {
  width: 100%;
  height: 100%;
  min-height: 100%;
  display: block;
  position: relative;
}
#szarak {
  width: 100%;
  height: 100%;
  min-height: 100%;
  position: relative;
  display: none;
  opacity: 0;
  -webkit-transition: all 0.7s ease-in-out;
  transition: all 0.7s ease-in-out;
}
#gesturesimg {
  margin: 0 auto;
  width: 100%;
}
#gestures::after {
  content: '';
  clear: both;
  display: table;
}

.boxes-logo {
  width: 100%;
  height: 100%;
  min-height: 100%;
  display: block;
  position: relative;
  margin: 0 auto;
  text-align: center;
}
.box-logo {
  margin: 5% auto 0;
  width: 100%;
}

#manicon,
#womanicon {
  margin: 50px 50px 0;
  cursor: pointer;
}

.blackbutton {
  display: block;
  color: #fff;
  background-color: rgba(50, 159, 120, 0.5);
  border-radius: 30px;
  padding: 12px 4px;
  border: 0;
  -webkit-transition: all 0.4s ease-in-out;
  transition: all 0.4s ease-in-out;
  cursor: pointer;
  margin: 20px auto 10px;
  opacity: 1;
  min-width: 260px;
  font-size: 1.6rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}
.blackbutton:focus {
  color: #fff;
  background-color: rgba(133, 201, 178, 0.5);
  box-shadow: 0 0 21px rgba(63, 139, 118, 0.7);
  outline: 0;
}
.blackbutton:hover {
  color: #fff;
  background-color: rgba(133, 201, 178, 0.5);
  box-shadow: 0 0 21px rgba(63, 139, 118, 0.7);
}

.blackbutton2 {
  display: block;
  color: #fff;
  background-color: rgba(50, 159, 120, 0.5);
  border-radius: 30px;
  padding: 12px 32px;
  border: 0;
  -webkit-transition: all 0.4s ease-in-out;
  transition: all 0.4s ease-in-out;
  cursor: pointer;
  margin: 30px auto;
  opacity: 1;
  font-size: 21px;
  text-transform: uppercase;
  letter-spacing: 2px;
}
.blackbutton2:focus {
  color: #fff;
  background-color: rgba(133, 201, 178, 0.5);
  box-shadow: 0 0 21px rgba(63, 139, 118, 0.7);
  outline: 0;
}
.blackbutton2:hover {
  color: #fff;
  background-color: rgba(133, 201, 178, 0.5);
  box-shadow: 0 0 21px rgba(63, 139, 118, 0.7);
}

.blackbutton3 {
  display: block;
  color: #fff;
  background-color: rgba(50, 159, 120, 0.5);
  border-radius: 0 0 30px 30px;
  padding: 12px 4px;
  border: 0;
  -webkit-transition: all 0.4s ease-in-out;
  transition: all 0.4s ease-in-out;
  cursor: pointer;
  margin: 0px auto;
  opacity: 1;
  min-width: 210px;
  font-size: 21px;
  text-transform: uppercase;
  letter-spacing: 2px;
}
.blackbutton3:focus {
  color: #fff;
  background-color: rgba(133, 201, 178, 0.5);
  box-shadow: 0 0 21px rgba(63, 139, 118, 0.7);
  outline: 0;
}
.blackbutton3:hover {
  color: #fff;
  background-color: rgba(133, 201, 178, 0.5);
  box-shadow: 0 0 21px rgba(63, 139, 118, 0.7);
}

.maintitle,
.hidden {
  display: none;
}
#boxes {
  width: 100%;
  height: 100%;
  padding: 0;
}
#box1 {
  width: 100%;
  padding: 33px 0 0 0;
}
#box2 {
  width: 100%;
}

#boxes p {
  color: #888;
}
#boxes span {
  color: #000;
}
.box-inner {
  padding: 10px;
}

.gadanie-tekst {
  display: block;
  padding: 21px;
  text-align: center;
}
.gadanie-guzik {
  display: block;
  padding: 0 21px 21px 21px;
  text-align: center;
}
#gadanietestowe {
  padding: 10px;
}
#gadaniebutton {
  padding: 10px 88px;
}

#box-keyboard {
  padding: 0 20px;
}
#box2 {
  padding: 20px 20px;
}

#menu-loading {
  color: #fff;
  width: 90%;
  margin: 0 auto;
}
#saveList {
  margin: 0;
}
#saveList p {
  padding: 0;
  margin: 0;
}
#saveList a {
  padding: 12px 21px;
  cursor: pointer;
  margin: 0;
  display: inline-block;
  border-radius: 40px;
  background-color: transparent;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}
#saveList a:hover {
  background-color: rgba(255, 255, 255, 0.1);
}
article {
  max-width: 500px;
  margin: 0 auto;
}
p.infotxt {
  font-size: 1.6rem;
  margin: 0;
  padding: 1rem 0;
  letter-spacing: 0.05rem;
}
p.infotxt a {
  color: #fff;
  font-size: 1.6rem;
}
a.delete-save {
  cursor: pointer;
  padding: 5px 12px;
  border-radius: 30px;
  background-color: rgba(255, 255, 255, 0.5);
  color: #000;
  margin: 0 0 0 21px;
}
a.delete-save:hover {
  background-color: #fb9e9e;
}

#manicon,
#womanicon {
  -webkit-transition: all 0.5s ease-in-out;
  transition: all 0.5s ease-in-out;
}
#manicon:hover,
#womanicon:hover {
  transform: rotateY(180deg);
}

h2.types {
  color: #fff;
  font-size: 2.3rem;
  text-align: center;
  font-weight: 300;
}
h2.types span {
  color: #24393e;
  font-size: 2.3rem;
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 50px;
  padding: 5px 16px;
  margin-right: 10px;
  font-weight: bold;
}

/* Accordion styles */
.accordion {
  margin: 2rem auto 0;
}
.accordion-header {
  padding: 1rem 1rem 1rem 1.5rem;
  margin: 0 0 3px 0;
  display: block;
  color: #fff;
  background: rgba(50, 159, 120, 0.5);
  font-size: 2rem;
  cursor: pointer;
  border-radius: 60px;
  text-align: left;
}
.accordion-header:hover {
  color: #fff;
  background: rgba(50, 159, 120, 0.9);
}
.accordion-panel {
  margin: 0 auto;
  -webkit-transition: all 1.4s ease-in-out;
  transition: all 1.4s ease-in-out;
}
.accordion-panel > .accordion-body {
  display: none;
  height: 0;
}
.accordion-panel.accordion-expanded > .accordion-body {
  display: block;
  color: #fff;
  background: rgba(11, 28, 35, 0.7);
  border-radius: 50px;
  padding: 1rem 1.5rem 2rem;
  height: 100%;
  text-align: left;
}

.patronite-bg {
  display: block;
  color: #fff;
  background: rgba(11, 28, 35, 0.7);
  border-radius: 50px;
  padding: 1rem 1.5rem 2rem;
  height: 100%;
  text-align: left;
}
