html {
    scroll-behavior: smooth;
}

p {
    font-family: 'Poppins', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-size: 16px;
}

textarea {
    resize: none;
}

.back {
    background-image: url(img/horybck3.png);
    background-position: center;
    background-size: cover;
    margin: 0px;
    background-position: bottom;
    top: -150px;
    background-size: cover;
    height: 100%;
    width: 100%;

}

@media (max-width: 991px) {

    #colleft1 {
        font-size: 20px;
        font-weight: 200;
        text-align: right;
        font-family: 'Poppins', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    }

    .polozka3 {
        margin-top: 15px;
        transition: 0.4s;
    }

    .polozka2 {
        margin-top: 15px;
        transition: 0.4s;
    }
}

.nav-item {
    font-size: 25px;
    color: black;
    font-family: Georgia, 'Times New Roman', Times, serif;
    word-spacing: 20px;
}

.grayscale {
    margin-top: -20px;
    filter: invert(1);
}

.fotky {

    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-auto-rows: 0.2fr;
    grid-gap: 15px;
    pointer-events: none;

}

.fotky img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
    user-select: none;
}

.navbar-brand {
    cursor: pointer;
}

h1 {
    font-family: Georgia, 'Times New Roman', Times, serif;
}

.content {
    margin: auto;
    width: 85%;
    margin-top: 250px;
}

.container {
    margin-top: 60px;
    width: 100%;
    text-align: center;
    outline-color: #0d172a;
    /* text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000; */
}

.container span {
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-size: 160px;
    margin-top: 50%;
    transform: translateY(-50%);
}


@media (max-width: 1235px) {
    .container span {
        font-size: 70px;
    }
}

@media (max-width: 600px) {
    .container span {
        font-size: 50px;
    }
}

@media (max-width: 210px) {
    .container span {
        display: none;
    }
}


.nav-link {
    color: black;
}

.nav-item {
    font-size: 25px;
    color: black;
    font-family: Georgia, 'Times New Roman', Times, serif;
    word-spacing: 20px;
}

.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #f8f9fa;
    transition: background 0.4s ease;
}

.navbar:hover {
    background: linear-gradient(to bottom, rgb(255, 255, 255), rgba(255, 255, 255, 0.4));
}

.navbar a.nav-link:hover {
    transform: translateY(-3px);
    transition: 0.2s;
}

.navbar.collapse-open {
    background: #f8f9fa;
}

.info {
    margin-top: 910px;
    width: 100%;
}

@media (max-width: 2050px) {
    .info {
        margin-top: 1070px;
        width: 100%;
    }
}

.navbar-brand {
    pointer-events: none;
    user-select: none;
}

#colright1 {
    margin-left: 5px;
    pointer-events: none;
    user-select: none;
}

#colleft1 {
    margin-right: 5px;
    font-size: 30px;
    font-weight: 400;
    text-align: right;
    font-family: 'Poppins', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

.container.info {
    max-width: 1500px;
    max-height: 1000px;
    overflow: auto;
    padding-top: 130px;
    margin-top: 900px;
}

@media (max-width: 1240px) {
    #colright1 {
        display: none;
    }

    #colleft1 {
        margin-right: 20px;
        margin-left: 20px;
    }

    .container.info {
        overflow: none;
    }

    #colleft1 {
        margin-right: 5px;
        font-size: 25px;
        font-weight: 400;
        text-align: center;
        font-family: 'Poppins', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    }

}

.nadpis {
    margin-top: 15px;
    font-size: 70px;
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-weight: 500;
}

@media (max-width: 429px) {
    .nadpis p {
        font-size: 55px;
    }
}

.kurzbox {
    width: 100%
}

.polozka1 {
    display: inline-block;
    width: 350px;
    height: 600px;
    background-color: #dadadd;
    transition: 0.4s;
    border-radius: 20px;
    margin-right: 5px;
    background-image: url("img/pozadipolozky3.png");
    background-repeat: no-repeat;
    background-position: bottom center;
}

.polozka1:hover {
    background-color: #FFFFFF;
}

.polozka2 {
    display: inline-block;
    width: 350px;
    height: 600px;
    background-color: #dadadd;
    transition: 0.4s;
    border-radius: 20px;
    margin-left: 5px;
    margin-right: 5px;
    background-image: url("img/pozadipolozky2.png");
    background-repeat: no-repeat;
    background-position: bottom center;
}

.polozka2:hover {
    background-color: #FFFFFF;
}


.polozka3 {
    display: inline-block;
    width: 350px;
    height: 600px;
    background-color: #dadadd;
    transition: 0.4s;
    border-radius: 20px;
    margin-left: 5px;
    background-image: url("img/pozadipolozky1.png");
    background-repeat: no-repeat;
    background-position: bottom center;
}

.polozka3:hover {
    background-color: #FFFFFF;
}

.fotertext {
    color: #f8f7ff;
}

.polozobr {
    width: 60%;
    height: 30%;
    margin-top: 20px;
    border-radius: 20px 20px 0 0;
    margin-bottom: 30px;
}

.textkurz {
    font-size: 25px;
    color: black;
    font-family: 'Poppins', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    height: 40%;
}

.buto {
    margin-top: 90px;
    color: #8fc866;

}

.buto1 {
    background-color: #fff;
    border: 0 solid #e2e8f0;
    border-radius: 1.5rem;
    box-sizing: border-box;
    color: #0d172a;
    cursor: pointer;
    display: inline-block;
    font-family: "Basier circle", -apple-system, system-ui, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1;
    padding: 1rem 1.6rem;
    text-align: center;
    text-decoration: none #0d172a solid;
    text-decoration-thickness: auto;
    transition: all .1s cubic-bezier(.4, 0, .2, 1);
    box-shadow: 0px 1px 2px rgba(166, 175, 195, 0.25);
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
}

.buto1:hover {
    background-color: #1e293b;
    color: #fff;
}

@media (min-width: 768px) {
    .buto1 {
        font-size: 1.125rem;
        padding: 1rem 2rem;
    }
}

.uvod {
    width: 100%;
    height: 600px;
    display: flex;
    margin: auto;
    flex-basis: 50%;
}

.levastr {
    width: 50%;
    flex-shrink: 5;
    padding-left: 25px;
    padding-right: 15px;
}

.pravastr {
    width: 50%;
    flex-grow: 2;
    background-image: url(img/huas.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: right;
    flex-shrink: 1;
    flex-basis: 50%;
}

.levastr p {
    padding-left: 15px;
    padding-top: 10px;
}

@media (max-width: 1000px) {
    .uvod {
        flex-direction: column;
    }

    .levastr {
        width: 100%;
        height: 800px;
    }

    .levastr h1,
    h2 {
        text-align: center;
    }

    .pravastr {
        display: none;
    }

    p {
        font-family: 'Poppins', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
        font-size: 20px;
    }

}

@media (max-width: 787px) {

    p {
        font-family: 'Poppins', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
        font-size: 17px;
    }

}

@media (max-width: 530px) {

    p {
        font-family: 'Poppins', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
        font-size: 15px;
    }

}

@media (max-width: 490px) {

    p {
        font-family: 'Poppins', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
        font-size: 12px;
    }

}

.form {
    width: 80%;
    height: 450px;
    margin: auto;
    background-color: white;
    padding-left: 60px;
    padding-right: 60px;
    margin-top: 30px;
    padding-top: 15px;
    border-radius: 20px;
}

.cont {
    border: 1px royalblue solid;
    height: 200px;
    width: 70%;
    margin: auto;
}

.nadpiss {
    text-align: center;
    margin: auto;
    margin-top: 15px;
}

.abcd {
margin: auto;
margin-top: 20px;
width: 100%;
}


