:root {
  --gym-pink: #df69a8;
  --gym-pink-dark: #b84a84;
  --gym-teal: #138fa3;
  --gym-teal-dark: #0e7485;
  --gym-purple: #c45de4;
  --gym-purple-dark: #9b3bb8;
  --gym-orange: #e49f5d;
  --gym-orange-light: #f7de98;
  --gym-text: #444444;
}

html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem var(--gym-teal);
}

html {
  position: relative;
  min-height: 100%;
}

body {
    margin-bottom: 60px;
    overflow-x: hidden;
    color: var(--gym-text);
    font-family: "Segoe UI";
    
}

.btn-gymnastika,
.btn-plavani,
.btn-tabory {
  border-radius: 5px;
  font-size: .9rem;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white !important;
  font-weight: 500;
  padding: 1px 10px;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.btn-gymnastika {
  background: linear-gradient(to bottom right, var(--gym-pink), #f2a1cf);
  border: 1px solid #f2c7e1;
}

.btn-gymnastika:hover {
  background: linear-gradient(to bottom right, var(--gym-pink-dark), var(--gym-pink));
  border-color: var(--gym-pink);
}

.btn-plavani {
  background: linear-gradient(to bottom right, #0070bd, #9bd2f7);
  border: 1px solid #9bd2f7;
}

.btn-plavani:hover {
  background: linear-gradient(to bottom right, #0061a4, #82c4f1);
  border-color: #2081c5;
}

.btn-tabory {
  background: linear-gradient(to bottom right, #138e14, #6ed06f);
  border: 1px solid #6ed06f;
}

.btn-tabory:hover {
  background: linear-gradient(to bottom right, #0e780f, #5abe5b);
  border-color: #3da23e;
}

.header-line {
  background: linear-gradient(to right, var(--gym-teal), var(--gym-pink), var(--gym-purple), var(--gym-orange));
  background-size: 100% 8px;
  position: relative;
  left: 0;
  right: 0;
  top: 131px;
  width: 100%;
  height: 8px;
}

.header-line-mobile {
  top: 80px;
}

.header-title {
  color: var(--gym-teal);
  font-weight: bold;
  /*font-family: 'Open Sans';*/
  text-shadow: 0 0 6px white, 2px 2px 6px white, -2px -2px 6px white, 2px -2px 6px white, -2px 2px 6px white;
  position: relative;
  top: -70px;
  left: 143px;
}

.header-title span {
  color: var(--gym-pink);
}

.header-title-mobile {
    font-size: 16px;
    color: var(--gym-teal);
    font-weight: bold;
    /*font-family: 'Open Sans';*/
    text-shadow: 0 0 1px #0e6371, 2px 2px 6px white, -2px -2px 6px white, 2px -2px 6px white, -2px 2px 6px white;
    position: relative;
    top: -37px;
    left: 75px;
}

.header-title-mobile span {
  color: var(--gym-pink);
  font-size: 14px;
}

.intro,
.course-list,
.contact-section {
  max-width: 860px;
}

.intro {
  padding: 3rem 0 1.5rem;
  font-size: 1.1rem;
}

.section-band {
    padding: 0.25rem 0 .5rem;
    margin-top: 100px;
    margin-bottom: 100px;
}

.section-band-inner {
  max-width: 960px;
  height: 50px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  font-size: 2.2rem;
  font-weight: 700;
  color: white;
}

.section-band-left {
  background: linear-gradient(to right, var(--gym-teal), white 78%);
}

.section-band-right {
    /*background: linear-gradient(to left, var(--gym-pink), white 78%);*/
    background: linear-gradient(to left, var(--gym-teal), white 78%);
}

.section-band-right .section-band-inner {
  justify-content: flex-end;
  text-align: right;
}

.section-band-with-image {
  position: relative;
}

.section-band-with-image img {
  position: absolute;
  top: -40px;
  max-width: 200px;
  height: auto;
}

.section-band-left .section-band-with-image img {
  right: 0;
}

.section-band-right .section-band-with-image img {
  left: 0;
}

.info-box {
  max-width: 860px;
  min-height: 160px;
  display: flex;
  margin: 2rem auto;
  background-color: #f8eafd;
  border-radius: 8px;
  overflow: hidden;
}

.info-box-icon {
    width: 50px;
    min-width: 50px;
    background: #db98f7;
    color: white;
    font-size: 120px;
    line-height: 1;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-box-content {
  padding: 1.25rem;
  flex: 1;
}

.course-card {
  margin-bottom: 1.5rem;
  padding: 1.5rem;
  border-radius: 8px;
  background: linear-gradient(to bottom right, color-mix(in srgb, var(--course-color) 34%, white), white);
  border-left: 8px solid var(--course-color);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
}

.course-card-body {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.course-card-main {
  flex: 1;
  min-width: 0;
}

.course-card h2 {
  color: var(--course-dark);
  font-weight: 700;
  margin: 0 0 1rem;
}

.course-date {
  margin: 0;
}

.course-facts {
  display: flex;
  flex-direction: column;
  gap: .35rem;
  font-size: 1rem;
}

.course-fatcs-2 {
    font-size: .75rem;
}

.course-place,
.course-excluded-dates,
.course-status,
.course-description {
    margin-top: .85rem;
}

.course-description {
    font-size: .85rem;
   
}


.course-excluded-dates {
  font-size: .92rem;
  margin-bottom: 0;
  opacity: .82;
}

.course-status {
  font-weight: 700;
  margin-bottom: 0;
  text-align: center;
  width: 100%;
}

.course-card-action {
  margin: 0 auto;
  width: 180px;
  display: flex;
  flex-direction: column;
  gap: .75rem;
  align-items: center;
  justify-content: center;
}

.application-button {
  width: 150px;
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  text-align: center;
  text-decoration: none;
  color: white !important;
  font-size: 1.25rem;
  font-weight: 700;
  border-radius: 8px;
  background: linear-gradient(to bottom right, var(--course-dark), var(--course-color));
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.2);
}

.application-button img {
  position: absolute;
  inset: 0;
  margin: auto;
}

.application-button span {
  position: relative;
  line-height: 1.05;
  padding-top: 70px;
}

.application-button-disabled {
  opacity: .6;
  cursor: not-allowed;
}

.empty-list {
  text-align: center;
  margin: 3rem 0;
  font-size: 1.1rem;
}

.faq-section {
  max-width: 860px;
}

.faq-group {
  margin-bottom: 1.5rem;
}

.faq-group h3 {
  color: var(--gym-purple-dark);
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: .65rem;
}

.faq-item {
  border: 1px solid #e7d9ea;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: .55rem;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.05);
  
}

.faq-header button {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    border: 0;
    padding: .85rem 1rem;
    background: #f5e6f8;
    color: var(--gym-text);
    text-align: left;
    font-weight: 500;
    
}

.faq-body {
  padding: 1rem;
  background: white;
}

.faq-icon {
  color: var(--gym-purple-dark);
  font-size: 1.35rem;
}

.faq-otazka {
    /*font-family: 'Open Sans' !important;*/
}

.contact-section {
    margin-top: 2rem;
    margin-bottom: 4rem;
}

.contact-section h4,
.contact-section h5 {
  font-weight: 700;
}

.contact-section p {
  margin-bottom: .25rem;
}

.footer-strip {
    background: linear-gradient(to right, var(--gym-teal), var(--gym-teal-dark));
    background-size: 100% 32px;
    position: relative;
    width: 100%;
    height: 32px;
}

.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  white-space: nowrap;
  color: white !important;
}

@keyframes slideInLeft {
  from {
    transform: translateX(-100vw);
    opacity: 0;
  }

  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideInRight {
  from {
    transform: translateX(100vw);
    opacity: 0;
  }

  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.animate-slide-left {
  animation: slideInLeft 1s ease-out forwards;
}

.animate-slide-right {
  animation: slideInRight 1s ease-out forwards;
}

#tholka,
#tkluk {
  opacity: 0;
}

@media (max-width: 767.98px) {
  .intro {
    padding-top: 2rem;
  }

  .section-band-inner {
    width: auto;
    margin: 0 1rem;
    font-size: 1.75rem;
  }

  .section-band-with-image img {
    max-width: 130px;
  }

  .course-card {
    padding: 1.25rem;
  }

  .course-card-body {
    flex-direction: column;
  }

  .course-card-action {
    width: 100%;
    align-items: center;
  }
}
