@import url('https://fonts.googleapis.com/css2?family=Dosis:wght@400;600;800&family=Roboto:ital,wght@0,400;0,700;0,900;1,400;1,700;1,900&display=swap');

:root {
    /*Colors*/
    --bs-primary: #9E1F63;
    --bs-primary-rgb: 158, 31, 99;
    --primary-color: #9E1F63;
    --secondary-color: #E67FB6;
    --third-color: #EEAACE;
    --light-pink: #FBEAF3;
    --dark-color: #15040D;
    /*Typography*/
    --h1: 64px;
    --h2: 48px;
    --h3: 24px;
    --h4: 20px;
    --paragraph: 16px;
    --button: 16px;
    --small: 14px;
    --caption: 12px;
    --primary-font: 'Dosis', sans-serif;
    --secondary-font: 'Roboto', sans-serif;
    /*Some margins and paddings*/
    --big-padding-top: 64px;
    --big-padding-bottm: 64px;
    /*Shadow*/
    --perfect-shadow: 0px 16px 40px rgba(112, 144, 176, 0.2);
}

body {
    background-image: url(../images/background.svg);
    background-size: cover;
    background-attachment: fixed;
}

.no-background {
    background-color: white !important;
    background-image: none;
}

hr {
    border-top: 2px solid var(--third-color);
}

@media (max-width: 767px) {
    .reverse-on-phone {
        display: flex;
        flex-direction: column-reverse;
    }
}

/*Buttons*/
.btn-primary {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    padding: 10px 20px;
    font-weight: bold;
}

.btn-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    text-decoration: none;
}

.btn-secondary {
    background-color: var(--light-pink);
    border-color: var(--light-pink);
    color: var(--primary-color);
    padding: 10px 20px;
    font-weight: bold;
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    text-decoration: none;
    color: white;
}

/*Typography*/
a {
    color: var(--primary-color);
    font-weight: bold;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
    color: var(--primary-color);
}

p {
    color: var(--dark-color);
    font-size: var(--paragraph);
    font-family: var(--secondary-font);
    font-weight: 400;
    line-height: 24px;
}

.h1 {
    font-size: var(--h1);
    color: var(--primary-color);
    font-weight: bold;
    font-family: var(--primary-font);
}

.h2 {
    font-size: var(--h2);
    color: var(--primary-color);
    font-weight: bold;
    font-family: var(--primary-font);
}

.h4 {
    font-size: var(--h4);
    color: var(--dark-color);
    font-weight: bold;
    font-family: var(--primary-font);
}

.h6 {
    color: var(--dark-color);
    font-weight: bold;
    font-family: var(--primary-font);
}

p.caption-text {
    font-size: var(--caption);
}

p.primary-color {
    color: var(--primary-color);
}

.secondary-color {
    color: var(--dark-color);
}

.blur {
    backdrop-filter: blur(5px);
}

.wavy {
    text-decoration-line: underline;
    text-decoration-style: wavy;
    text-decoration-color: var(--primary-color);
    text-underline-offset: 16px;
}

@media (max-width: 767px) {
    .h1 {
        font-size: var(--h2);
        text-align: center;
    }

    .h2 {
        font-size: var(--h3);
        text-align: center;
    }

    .h3 {
        font-size: var(--h4);
        text-align: center;
    }

    .h4, .h5, .h6 {
        text-align: center;
    }

    p {
        text-align: center;
    }

    footer ul li {
        text-align: center;
    }
}

/*Card*/
.card .icon {
    width: 30px;
    margin: auto;
    fill: var(--primary-color);
}

.card {
    padding: 32px 16px;
    background-color: transparent;
    backdrop-filter: blur(5px);
    border: 0px;
}

.card p {
    font-size: var(--small);
}

/*Header*/
.navbar-light .navbar-nav .nav-link {
    font-size: 14px;
    color: var(--dark-color);
    font-weight: bold;
    font-family: var(--secondary-font);
}

nav ul li a.nav-link:hover {
    color: var(--primary-color) !important;
}

.navbar {
    background: white;
    min-height: 110px;
}

.navbar .logotype {
    width: 180px;
}

.border-navbar {
    width: 100%;
    height: 20px;
    background-image: url('../images/menu-border.svg');
    background-position: center;
    background-repeat: repeat-x;
    background-size: cover;
    margin-top: -2px;
}

nav ul li {
    padding: 0px 15px;
}

#p1 nav ul li a.p1 {
    color: var(--primary-color)
}

#p2 nav ul li a.p2 {
    color: var(--primary-color)
}

#p3 nav ul li a.p3 {
    color: var(--primary-color)
}

#p4 nav ul li a.p4 {
    color: var(--primary-color)
}

#p5 nav ul li a.p5 {
    color: var(--primary-color)
}

#p6 nav ul li a.p6 {
    color: var(--primary-color)
}

#p7 nav ul li a.p7 {
    color: var(--primary-color)
}

.navbar-collapse {
    flex-grow: 0;
    gap: 10px;
}

@media (min-width: 992px) {
    .navbar {
        min-height: 150px;
    }
}

@media (max-width: 992px) {
    li.nav-item {
        padding-top: 10px;
        padding-bottom: 10px;
    }
}

@media (min-width: 992px) and (max-width: 1400px) {
    nav ul li {
        padding: 0px 0px;
    }

    .navbar-collapse {
        gap: 0px;
    }

    .navbar-light .navbar-nav .nav-link {
        font-size: var(--small);
    }
}

.menu-burger-icon {
    fill: var(--primary-color);
    width: 24px;
}

.navbar-light .navbar-toggler {
    border: 0px;
    color: white;
}

.oddelovnik {
    margin-top: 4px;
    color: var(--primary-color);
    font-weight: bold;
}

@media (max-width: 768px) {
    .language-switcher {
        display: flex;
        flex-wrap: nowrap;
        justify-content: center;
        align-items: center;
        flex-direction: row;
    }

    .oddelovnik {
        margin-top: -5px;
    }

    li.nav-item {
        text-align: center;
    }
}

a.active {
    color: var(--primary-color) !important;
}


/*Footer*/
footer {
    background: white;
    min-height: 110px;
    margin-top: -4px;
}

footer .logotype {
    width: 180px;
}

.border-footer {
    width: 100%;
    height: 20px;
    background-image: url('../images/footer-border.svg');
    background-position: center;
    background-repeat: repeat-x;
    background-size: cover;
}

.font-weight-bold {
    font-weight: bold;
}

footer ul li {
    list-style: none;
    color: var(--dark-color);
    line-height: 32px;
}

footer ul {
    padding-left: 0rem;
}

@media (max-width: 767px) {
    .footer-logo {
        display: flex;
        justify-content: center;
    }
}

/*Cenova nabidka*/
.form-control {
    border: 2px solid var(--third-color);
    background: white;
    height: 60px;
}

.dochazka table tr td {
    padding: 10px 20px;
    font-size: var(--caption);
    vertical-align: top;
}

.dochazka table tr td:first-child {
    padding: 10px 20px 10px 0px;
}

@media (max-width: 767px) {
    .dochazka table tr td {
        padding: 5px 10px;
    }
}

.form-check-input:checked {
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
}

.form-check-input:focus {
    border-color: rgba(var(--bs-primary-rgb), 10%);
    outline: 0;
    box-shadow: 0 0 0 0.25em rgba(var(--bs-primary-rgb), 25%);
}

/*input[type='radio']:checked:after {*/
/*    width: 15px;*/
/*    height: 15px;*/
/*    border-radius: 15px;*/
/*    top: -2px;*/
/*    left: -1px;*/
/*    position: relative;*/
/*    background-color: var(--primary-color);*/
/*    content: '';*/
/*    display: inline-block;*/
/*    visibility: visible;*/
/*    border: 1px solid white;*/
/*}*/

/* Recenze */
.carousel-control-prev, .carousel-control-next {

}

.recenze {
    background-image: url(../images/recenze-bg.svg);
    background-position: center center;
    background-size: contain;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: center;
    justify-content: center;
    align-items: center;
    position: relative;
}

@media (min-width: 1140px) {
    .recenze {
        min-height: 990px;
        gap: 32px;
    }

    .rezence-content {
        padding-left: 110px;
        padding-right: 110px;
    }
}

.slides-switcher i {
    color: var(--primary-color);
    font-size: 28px;
    border-radius: 100px;
    opacity: 1;
}

.slides-switcher {
    background: white !important;
    width: 160px;
    display: flex;
    border-radius: 50px;
    margin: auto;
    padding: 7px 15px;
    margin-top: 50px;
    justify-content: space-between;
    border-bottom: 2px solid var(--secondary-color);
}

.carousel-control-next, .carousel-control-prev {
    position: unset;
}

span.rodic {
    font-family: var(--primary-font);
    font-weight: bold;
}

.recenze p {
    font-size: 13px;
    line-height: 26px;
    color: var(--dark-color);
    font-family: var(--secondary-font);
}

.recenze-ico {
    position: absolute;
}

@-webkit-keyframes jump {
    0% {
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }
    40% {
        -webkit-transform: translate3d(0, 50%, 0);
        transform: translate3d(0, 30%, 0);
    }
    100% {
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }
}

@keyframes jump {
    0% {
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }
    40% {
        -webkit-transform: translate3d(0, 50%, 0);
        transform: translate3d(0, 30%, 0);
    }
    100% {
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }
}

@-webkit-keyframes jumpTwo {
    0% {
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }
    40% {
        -webkit-transform: translate3d(0, 20px, 0);
        transform: translate3d(0, 20px, 0);
    }
    100% {
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }
}

@keyframes jumpTwo {
    0% {
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }
    40% {
        -webkit-transform: translate3d(0, 20px, 0);
        transform: translate3d(0, 20px, 0);
    }
    100% {
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }
}

@-webkit-keyframes jumpThree {
    0% {
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }
    40% {
        -webkit-transform: translate3d(0, -20px, 0);
        transform: translate3d(0, -20px, 0);
    }
    100% {
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }
}

@keyframes jumpThree {
    0% {
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }
    40% {
        -webkit-transform: translate3d(0, -20px, 0);
        transform: translate3d(0, -20px, 0);
    }
    100% {
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }
}

.ico1 {
    right: 100px;
    top: 50px;
    animation: jumpTwo 4.5s infinite linear;
}

.ico2 {
    left: -10px;
    top: 180px;
    animation: jumpThree 4.5s infinite linear;
}

.ico3 {
    left: 10px;
    animation: jumpTwo 4.5s infinite linear;
}

.ico4 {
    right: -80px;
    animation: jumpTwo 4.5s infinite linear;
}

.ico5 {
    left: 70px;
    bottom: 200px;
    animation: jumpTwo 4.5s infinite linear;
}

.ico6 {
    right: -40px;
    bottom: 150px;
    animation: jumpTwo 4.5s infinite linear;
}

.ico7 {
    left: 180px;
    bottom: 0px;
    animation: jumpTwo 4.5s infinite linear;
}

@media (max-width: 992px) {
    .ico7 {
        left: 180px;
        bottom: -80px;
        animation: jumpTwo 4.5s infinite linear;
    }

    .ico6, .ico5, .ico3 {
        display: none;
    }

    .ico1 {
        top: -15px;
        left: 0;
        width: 100px;
        animation: jump 4.5s infinite linear;
    }

    .ico2 {
        left: -70px;
    }

    .recenze {
        background-position: center center;
        background-size: cover;
    }

    .recenze p {
        font-size: var(--paragraph);
        line-height: 32px;
        padding-left: 20px;
        padding-right: 20px;
        margin-top: 16px;
    }

    .recenze {
        padding-top: 50px;
        padding-bottom: 50px;
    }

    .ico4 {
        right: -4px;
        width: 115px;
        top: -48px;
        animation: jumpTwo 4.5s infinite linear;
    }
}

@media (min-width: 993px) and (max-width: 1200px) {
    .ico7 {
        left: 180px;
        bottom: -80px;
        animation: jumpTwo 4.5s infinite linear;
    }

    .ico3 {
        animation: jump 4.5s infinite linear;
    }

    .ico6 {
        width: 80px;
        right: -10px;
        animation: jumpTwo 4.5s infinite linear;
    }

    .ico5 {
        left: 20px;
        top: 380px;
        animation: jumpThree 4.5s infinite linear;
    }

    .ico1 {
        top: -40px;
        width: 80px;
        animation: jump 4.5s infinite linear;
    }

    .ico2 {
        left: -70px;
        animation: jumpThree 4.5s infinite linear;
    }

    .recenze {
        background-position: center center;
        background-size: contain;
        min-height: 600px;
    }

    .recenze p {
        font-size: var(--paragraph);
        line-height: 32px;
        padding-left: 0px;
        padding-right: 0px;
    }

    .recenze {
        padding-top: 50px;
        padding-bottom: 50px;
    }
}

/*Index page*/
@media (min-width: 992px) {
    .intro-text p {
        padding-right: 150px;
    }
}

table.rozvrh-dne tr td {
    padding-top: 5px;
    padding-bottom: 5px;
}

/* Denni rozvrh */
table.rozvrh-dne tr td:first-child {
    text-align: right;
    padding-right: 32px;
    font-weight: bold;
    color: var(--primary-color);
}

table.rozvrh-dne {
    backdrop-filter: blur(5px);
}

@media (max-width: 767px) {
    table.rozvrh-dne tr td:first-child {
        padding-right: 5px;
    }

    table.rozvrh-dne tr td {
        font-size: var(--small);
    }

    table.rozvrh-dne tr td {
        border-bottom: 1px solid var(--third-color);
        padding-top: 10px;
        padding-bottom: 10px;
    }

    table.rozvrh-dne {
        width: 100%;
    }
}

/* Náš tým */
.avatar {
    background: white;
    box-shadow: var(--perfect-shadow);
    border-radius: 10px;
    padding: 0px;
}

.avatar .card-body {
    padding-left: 20px;
    padding-right: 20px;
}

.certifikaty {
    display: flex;
    flex-direction: row;
    gap: 16px;
    flex-wrap: wrap;
}

img.pdf-img {
    width: 32px !important;
}

/*Kontakty*/
ul.kontakty-list, .card-body-content ul {
    padding-left: 0rem;
}

.card-body-content ul li {
    text-align: left;
    font-size: var(--caption);
}

.card-body-content {
    gap: 16px;
}

ul.kontakty-list li, .card-body-content ul li {
    list-style: none;
}

@media (max-width: 767px) {
    ul.kontakty-list li {
        text-align: center;
    }
}

.mapy iframe {
    width: 100%;
    min-height: 500px;
    border-radius: 10px;
    box-shadow: var(--perfect-shadow);
}

/* Partneri */
.partneri img {
    max-height: 80px;
    width: auto;
}

.partneri {
    display: flex;
    flex-wrap: wrap;
    align-content: center;
    justify-content: space-evenly;
    align-items: center;
    gap: 64px;
    /* background: white;
    border-radius: 10px;
    box-shadow: var(--perfect-shadow); */
}

.eu-dotace img {
    max-width: 342px;
}

table.dotace tr td:first-child {
    text-align: right;
    padding-right: 32px;
    font-weight: bold;
    color: var(--primary-color);
}

table.dotace tr td:last-child {
    text-align: left;
}

table.dotace tr td {
    padding-top: 10px;
    padding-bottom: 10px;
}

table.dotace {
    backdrop-filter: blur(5px);
}

@media (max-width: 767px) {
    table.dotace tr td:first-child {
        padding-right: 5px;
    }

    table.dotace tr td {
        font-size: var(--small);
    }

    table.dotace tr td {
        border-bottom: 1px solid var(--third-color);
        padding-top: 10px;
        padding-bottom: 10px;
    }
}

/* Informace pro rodice */
@media (min-width: 992px) {
    .padding-left-desktop {
        padding-left: 150px;
    }
}

/* UVOD */
.facebook-frame {
    margin-top: 64px;
    width: 466px;
    height: 558px;
}

@media (max-width: 767px) {
    .facebook-frame {
        margin-top: 32px;
        width: 100%;
        height: 558px;
    }
}

.facebook-posts {
    background: white;
    border-radius: 10px;
    box-shadow: var(--perfect-shadow);
}
