html {
  scroll-behavior: smooth;
  
}

body {
  font-size: 1em;
  font-family: "Montserrat", sans-serif;
  font-style: normal;
  color: black;
  overflow-x: hidden;
}

.container  {
    width: 98%;
    max-width: 1400px;
}

section {
  scroll-margin-top: 80px;
}

section .container {
	min-height: 400px;
	padding: 95px 10px 95px 10px;
}

section:first-of-type .container {
	min-height: 800px;
	padding: 95px 10px 95px 10px;
}

.mt-5-1 {
	margin-top: 3.5em;
}

.lh-130 {
  line-height: 150%;
}

.mt-5-5 {
	margin-top: 4em;
}

.mt-6 {
	margin-top: 6em;
}
.mt-7 {
	margin-top: 7em;
}

.omezeni {
	max-width: 950px;
}

.text-justify {
	text-align: justify;
}

.orange {
	color: var(--bs-orange);
}

.blue {
	color: var(--bs-primary);
}

.blue-transparent {
	background-color: rgba(19, 74, 139, 0.1);
}

.blue-transparent-more {
	background-color: rgba(19, 74, 139, 0.03);
}
.bg-color-blue {
	background-color: var(--bs-primary);
}

ul.vyhody {
  padding-left: 0; /* odstraní defaultní odsazení */
  list-style: none; /* odstraní defaultní odrážky */
}

ul.vyhody li {
  display: flex;
  align-items: flex-start;
  gap: 2em;
  padding: 0.25rem 0;
  font-size: 18px;
}

ul.vyhody li .icon {
  width: 20px;
  height: 20px;
  margin-top: 9px;
  flex-shrink: 0; /* zabrání zmenšení ikony při zúžení */
}

 .navbar-expand-lg .navbar-nav .nav-link,
 .offcanvas-body .nav-link {
  color: var(--bs-primary);
  font-weight: 500;
}
.navbar-expand-lg .navbar-nav .nav-link:hover,
.navbar-expand-lg .navbar-nav .nav-link.active,
.offcanvas-body .nav-link:hover,
.offcanvas-body .nav-link.active {
  color: var(--bs-orange);
}

 

#cenikAccordion .accordion-button:not(.collapsed) {
  background-color: var(--bs-primary);
  color: white;
}

.accordion-button:not(.collapsed)::after {
  fill: var(--bs-orange) !important;
  width: 20px;
  height: 20px;
  background-image: url("../images/orangearrow.svg");
  background-size: contain;
  transform: rotate(-90deg);
}

.prechod {
  background-image: url("../images/ChatGPT\ Image\ 9.\ 3.\ 2026\ 16_32_54.webp");
  background-repeat: no-repeat;
  background-size: cover;
    background-attachment:fixed;
}

.zesvetleni {
  background-color: rgba(255, 255, 255, 0.8);
  min-height: 400px;
}


.vyuka {
  background-image: url("../images/instruktor-zak.webp");
  background-repeat: no-repeat;
  background-position: right top;
  background-size: contain;

}

#kontakt a {
  text-decoration: none;
}

.header {
	background-repeat: no-repeat;
	background-size: cover;
}

.header .btn {
	background-color: var(--bs-orange);
}

.header .btn:hover {
	background-color: #D06E09;
}

.btn.bg-color-blue {
  max-width: 430px !important;
}

.btn.bg-color-blue:hover,
.formular:hover {
  background-color: #103d74;
}

.ls-1 {
	letter-spacing: 1px;
}

.ls-3 {
	letter-spacing: 3px;
}

.fs-22px {
	font-size: 22px;
}
.fs-18px {
	font-size: 18px !important;
}

.offcanvas {
  z-index: 1050 !important;
  background: rgba(247, 247, 247, 0.98); /* tmavě šedý */
  
}

.offcanvas-header .btn-close {
	box-sizing: content-box;
  width: 1em;
  height: 1em;
  padding: .5em .5em;
  background: transparent
    url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/%3e%3c/svg%3e")
    center/1em auto no-repeat;

  border: 0;
  border-radius: 0.25rem;
  opacity: 1; /* klidně nastav 1, ať není šedé */
}

.offcanvas.show {
  z-index: 1060 !important;
}

.offcanvas-top {
  height: 100% !important;
}

.offcanvas-backdrop {
  z-index: 1040 !important;
}

.offcanvas-body {
  display: flex;
  flex-direction: column;
  justify-content: center !important; /* vertikálně na střed */
  align-items: center !important;    /* horizontálně na střed */
  text-align: center;
  gap: 1.6rem;
}

.offcanvas-body .nav-link {
	color: var(--bs-primary);
}

.card-hover {
  transition: transform .3s cubic-bezier(.4,0,.2,1), box-shadow .3s;
  box-shadow: 0 1rem 1rem rgba(0,0,0,.18);
}

.card-hover:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 1.5rem 2.5rem rgba(0,0,0,.18);
}

.card-hover {
  will-change: transform;
}

.flip-card {
  perspective: 1000px; /* Remove this if you don't want the 3D effect */
  height: 100%;
}

/* This container is needed to position the front and back side */
.flip-card-inner {
  display: grid;
  width: 100%;
  height: 100%;
  min-height: 300px;
  text-align: center;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}

/* Do an horizontal flip when you move the mouse over the flip box container */
.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

/* Position the front and back side */
.flip-card-front {
position:absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden; /* Safari */
  backface-visibility: hidden;
  grid-area: 1 / 1;
  background-color: rgba(19, 74, 139, 0.1);
}

.flip-card-front {
  background-color: rgba(19, 74, 139, 0.1);
}

/* Style the back side */
.flip-card-back {
  transform: rotateY(180deg);
  position: relative;
  height: auto;
   width: 100%;
  -webkit-backface-visibility: hidden; /* Safari */
  backface-visibility: hidden;
  grid-area: 1 / 1;
}

.card-footer {
  background-color: none !important;
  border: none;
}

@media only screen and (max-width: 500px)  {
	.header {
		background-image: url('../images/header-sm.webp');
	}
}
@media only screen and (min-width: 500px)  {
	.header {
		background-image: url('../images/header-md.webp');
	}
}


@media only screen and (max-width: 989px)  {
	.header {
		margin-top: 2em;
	}
}

