@import url('https://fonts.googleapis.com/css?family=Amatic+SC:700|Oswald:300&subset=latin-ext');
/* reset */
html {
  box-sizing: border-box;
}
body {
  background-color: #ffffff;
  margin: 0;
  padding: 0;
  font-family: 'Oswald', sans-serif;
  font-size: 13pt;
  line-height: 1.5em;
  color: rgba(0, 0, 0, 0.66);
}
*,
*:before,
*:after {
  box-sizing: inherit;
}
/* common */
h1,
h2,
h3,
h4 {
  font-family: 'Amatic SC', cursive;
  line-height: 1.5em;
  text-transform: uppercase;
  text-align: center;
  margin: .5em 0 .5em;
  display: flex;
  flex-flow: row nowrap;
  justify-content: center;
  align-items: center;
}
h1 > *,
h2 > *,
h3 > *,
h4 > * {
  flex: 1;
}
h1::before,
h2::before,
h3::before,
h4::before,
h1::after,
h2::after,
h3::after,
h4::after {
  content: '»';
  display: block;
  width: 58px;
  flex: 0 0 58px;
  text-align: center;
  opacity: .25;
}
h1::after,
h2::after,
h3::after,
h4::after {
  content: '«';
}
h1 {
  font-size: 4.15em;
  line-height: 1.25em;
  color: #cf3193;
}
h2 {
  font-size: 2.92em;
  line-height: 1.25em;
  color: #cf3193;
}
h3 {
  font-size: 2.31em;
  line-height: 1.25em;
  color: #cf3193;
}
h4 {
  font-size: 1.38em;
  line-height: 1.25em;
  color: #cf3193;
}
p {
  margin: 1em 0;
  padding: 0 58px;
  text-align: center;
}
ul {
  margin: 1em 0;
  padding: 0 58px;
  text-align: left;
  list-style: none;
}
ul > li {
  padding: .25em 0 .0625em 2em;
}
ul > li::before {
  content: '*';
  display: inline-block;
  width: 1.66em;
  margin-left: -1.66em;
  font-family: 'Amatic SC', cursive;
  font-size: 1.25em;
  line-height: 0.66em;
  vertical-align: bottom;
  color: #2299c9;
}
ol {
  margin: 1em 0;
  padding: 0 58px;
  text-align: left;
  list-style: none;
  counter-reset: custom-counter;
}
ol > li {
  counter-increment: custom-counter;
  padding: .25em 0 .0625em 2em;
}
ol > li::before {
  content: counter(custom-counter) ") ";
  display: inline-block;
  width: 1.66em;
  margin-left: -1.66em;
  font-family: 'Amatic SC', cursive;
  font-size: 1.25em;
  line-height: 1.25em;
  vertical-align: baseline;
  color: #2299c9;
}
dl {
  margin: 1em 0;
  padding: 0 58px;
  text-align: left;
  display: grid;
  grid-template-columns: auto auto;
  font-family: 'Amatic SC', cursive;
  font-size: 1.25em;
  color: #2299c9;
}
dl dt {
  min-width: 100px;
  padding: .25em 0 .0625em;
  border-bottom: 1px dashed #8a8952;
  border-bottom: 1px dashed #2299c9;
}
dl dd {
  margin-left: .125em;
  padding: .25em 0 .0625em .25em;
  border-bottom: 1px dashed #8a8952;
  border-bottom: 1px dashed #2299c9;
  text-align: right;
}
a {
  text-decoration: none;
  color: #2299c9;
  border-bottom: 2px solid rgba(34, 153, 201, 0.25);
  margin-bottom: -2px;
}
a:hover {
  color: #cf3193;
  border-color: rgba(207, 49, 147, 0.25);
}
a.link-anchor {
  display: block;
  width: 0;
  height: 0;
  position: relative;
}
b,
strong,
i,
em {
  font-weight: 300;
  font-style: normal;
  background-color: rgba(255, 255, 0, 0.5);
  z-index: -1;
}
b::before,
strong::before,
i::before,
em::before {
  content: '';
  display: inline-block;
  width: .125em;
  height: 1.5em;
  vertical-align: text-top;
  margin-left: -0.125em;
  background-color: rgba(255, 255, 0, 0.5);
  border-radius: .125em 0 0 .125em;
}
b::after,
strong::after,
i::after,
em::after {
  content: '';
  display: inline-block;
  width: .125em;
  height: 1.5em;
  vertical-align: text-bottom;
  margin-right: -0.125em;
  background-color: rgba(255, 255, 0, 0.5);
  border-radius: 0 .125em .125em 0;
}
table {
  font: inherit;
}
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
img {
  max-width: 100%;
  height: auto;
}
::-moz-selection {
  color: #ffff77;
  background: rgba(101, 59, 129, 0.75);
}
::selection {
  color: #ffff77;
  background: rgba(101, 59, 129, 0.75);
}
/* layout */
html,
body {
  height: 100%;
}
.layout-wrapper {
  display: flex;
  flex-direction: row;
  justify-content: stretch;
  height: 100%;
}
.layout-wrapper .layout-aside {
  width: 256px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-color: #451d5f;
  background-image: radial-gradient(circle at 50% 122px, #653b81 100px, #451d5f 400px);
  overflow-x: visible;
  overflow-y: auto;
}
@media only screen and (max-width: 1080px) {
  .layout-wrapper .layout-aside {
    position: relative;
    z-index: 10;
    margin-left: -256px;
    transition: 500ms transform;
    transform: translate(0);
  }
  .layout-wrapper .layout-aside.aside-opened {
    transform: translate(100%);
  }
}
.layout-wrapper .layout-content {
  flex: 1;
  height: 100%;
  overflow: auto;
  position: relative;
}
@media only screen and (max-width: 768px) {
  .layout-wrapper .layout-content {
    font-size: 0.95rem;
    line-height: 1.5em;
  }
  .layout-wrapper .layout-content h1 {
    font-size: 3.00em;
    line-height: 1.25em;
  }
  .layout-wrapper .layout-content h2 {
    font-size: 2.50em;
    line-height: 1.25em;
  }
  .layout-wrapper .layout-content h3 {
    font-size: 2.00em;
    line-height: 1.25em;
  }
  .layout-wrapper .layout-content h4 {
    font-size: 1.50em;
    line-height: 1.25em;
  }
}
.layout-wrapper .aside-toggle {
  display: none;
}
@media only screen and (max-width: 1080px) {
  .layout-wrapper .aside-toggle {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 20;
    width: 48px;
    height: 48px;
    padding: 0;
    background-color: #451d5f;
    border: none;
    border-radius: 0 0 8px 0;
    cursor: pointer;
  }
  .layout-wrapper .aside-toggle::before,
  .layout-wrapper .aside-toggle::after {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    font-family: 'Amatic SC', cursive;
    font-size: 64px;
    line-height: 42px;
    color: #ffff77;
  }
  .layout-wrapper .aside-toggle::before {
    content: '—';
    text-shadow: 0 8px 0 #ffffff, 0 -8px 0 #ffffff;
    opacity: 1;
  }
  .layout-wrapper .aside-toggle::after {
    content: '×';
    opacity: 0;
  }
  .layout-wrapper .aside-toggle.aside-opened::before {
    opacity: 0;
  }
  .layout-wrapper .aside-toggle.aside-opened::after {
    opacity: 1;
  }
}
/* aside */
.header {
  padding: 18px 0;
  text-align: center;
  color: #ffffff;
}
.header .header-logo {
  display: block;
  width: 192px;
  height: 192px;
  margin: auto;
  background: url(../images/logo-header.png) center center / contain no-repeat;
  border: none;
  overflow: hidden;
  line-height: 999px;
}
.header .header-menu {
  list-style: none;
  margin: 26px 0;
  padding: 0;
  text-align: center;
  font-family: 'Amatic SC', cursive;
  font-size: 1.38em;
  line-height: 1.125;
}
.header .header-menu > li {
  padding: 0;
}
.header .header-menu > li::before {
  content: none;
}
.header .header-menu a {
  display: block;
  padding: .25em 0;
  border: none;
  text-transform: uppercase;
  color: #ffffff;
}
.header .header-menu a.menu-active {
  color: #ffff77;
}
.header .header-menu a:hover::before,
.header .header-menu a.menu-active::before,
.header .header-menu a:hover::after,
.header .header-menu a.menu-active::after {
  content: '»';
  display: inline-block;
  margin: 0 .5em;
  text-align: center;
  opacity: .25;
}
.header .header-menu a:hover::after,
.header .header-menu a.menu-active::after {
  content: '«';
}
.footer {
  padding: 0 0 18px;
  text-align: center;
  font-size: 0.77em;
  line-height: 1.5em;
  color: #ffffff;
}
.footer p {
  padding: 0;
  margin: 18px;
  text-align: center;
}
.footer a {
  color: #ffff77;
  border-bottom-color: rgba(255, 255, 119, 0.5);
}
.footer ul {
  padding: 0 24px;
  text-align: center;
}
.footer ul li {
  margin-left: 0;
  text-indent: 0;
}
.footer ul li::before {
  content: none;
}
.footer ul li {
  padding: 0;
}
.footer .footer-logo {
  width: 192px;
  height: 43px;
  background: url(../images/footer-logo.png) center center / contain no-repeat;
  background-color: #FFFFFF;
  margin: auto;
}
/* content */
.content-section {
  padding: 26px;
  background-repeat: no-repeat;
  background-position: 98% 96%;
  border-top: 10px solid #ffffff;
  border-bottom: 10px solid #ffffff;
}
@media only screen and (max-width: 640px) {
  .content-section {
    padding: 13px;
  }
  .content-section h1::before,
  .content-section h2::before,
  .content-section h3::before,
  .content-section h1::after,
  .content-section h2::after,
  .content-section h3::after {
    flex: 0 0 29px;
    width: 29px;
  }
  .content-section p,
  .content-section ul,
  .content-section ol,
  .content-section dl {
    padding: 0 29px;
  }
}
.content-section:first-of-type {
  border-top: none;
}
.content-section:last-of-type {
  min-height: 100vh;
  padding-bottom: 58px;
  position: relative;
}
.content-section:last-of-type::after {
  content: '~';
  display: block;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  font-family: 'Amatic SC', cursive;
  font-size: 5.54pt;
  text-align: center;
}
.content-section > .section-wrapper {
  max-width: 720px;
  margin: 26px auto;
}
.content-section.section-red {
  background-color: #ffeaf5;
  border-bottom: 10px double #ffffff;
}
@media only screen and (min-width: 1369px) {
  .content-section.section-red {
    background-image: url(../images/draw-plane.png), url(../images/draw-car.png);
    background-position: 2% 10%, 98% 10%;
  }
}
.content-section.section-red .border-box {
  border-color: #ffeaf5;
}
.content-section.section-green {
  background-color: #ddfffa;
  background-image: url(../images/draw-girl.png);
  border-top: 10px double #ffffff;
  border-bottom: 10px double #ffffff;
}
.content-section.section-yellow {
  background-color: #f9ffc7;
  background-image: url(../images/draw-boy.png);
  border-top: 10px double #ffffff;
  border-bottom: 10px double #ffffff;
}
.content-section .columns-two {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 40px;
}
.content-section .columns-two > .column {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
}
@media only screen and (max-width: 768px) {
  .content-section .columns-two {
    flex-direction: column;
    gap: 0;
  }
}
/* box */
.border-box {
  min-height: 256px;
  text-align: center;
  margin: 38px 8px;
  border: 6px double #ffffff;
  border-radius: 8px;
  overflow: hidden;
  background-color: #cf3193;
  background-size: contain;
  background-position: center center;
  background-repeat: no-repeat;
}
.border-box iframe {
  display: block;
  width: 100%;
  height: 424px;
}
@media only screen and (max-width: 768px) {
  .border-box {
    min-height: 33vw;
  }
  .border-box iframe {
    height: 40vh;
  }
}
/* kontaktní formulář */
.contact-form {
  text-align: left;
}
.contact-form .field {
  margin-bottom: 16px;
}
.contact-form label {
  display: block;
  margin-bottom: 5px;
  font-weight: 700;
  color: #451d5f;
}
.contact-form input,
.contact-form textarea {
  display: block;
  width: 100%;
  box-sizing: border-box;
  padding: 11px 14px;
  line-height: 1.4;
  color: #333333;
  background-color: #ffffff;
  border: 2px solid #2299c9;
  border-radius: 10px;
  transition: border-color .15s, box-shadow .15s;
}
.contact-form textarea {
  min-height: 130px;
  resize: vertical;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #9aa7b0;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #cf3193;
  box-shadow: 0 0 0 3px rgba(207, 49, 147, .15);
}
.contact-form button {
  display: block;
  width: 100%;
  padding: 13px 16px;
  margin-top: 6px;
  font-weight: 700;
  font-size: 1.05em;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #ffffff;
  background-color: #cf3193;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: background-color .2s;
}
.contact-form button:hover {
  background-color: #451d5f;
}
.contact-form .form-errors {
  margin-bottom: 14px;
  padding: 10px 14px;
  border-radius: 10px;
  background-color: #ffeaf5;
  color: #cf3193;
}
.flash {
  margin-bottom: 16px;
  padding: 12px 16px;
  border-radius: 10px;
}
.flash.success {
  background-color: #ddfffa;
  color: #1a7f5a;
}
.flash.error {
  background-color: #ffeaf5;
  color: #cf3193;
}
/* mapa */
.map-box {
  flex: 1 1 auto;
  margin: 8px 0;
  border: 6px double #ffffff;
  border-radius: 8px;
  overflow: hidden;
  background-color: #cf3193;
}
.map-box iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 360px;
  border: none;
}
.map-links {
  margin-top: 14px;
  font-size: .95em;
  line-height: 1.8;
  text-align: center;
}
.map-links a {
  color: #2299c9;
}
