@media screen and (max-width: 700px) {
    .back-to-top {
        right: 10px; /* Priblíenie k okraju */
        bottom: 10px;
        font-size: 14px; /* Menie tlaèidlo */
        padding: 8px 12px;
    }

    #open-sidebar-button, #close-sidebar-button {
        display: block;
    }

    .logo1 {
        display: flex;
        height: 400px;
        width: 80px
    }

    .logo2 {
        display: none;
    }

    nav {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: min(15em, 100%);
        z-index: 10;
        border-left: 1px solid var(--hover-color);
        transition: right 300ms ease-in-out;
    }

        nav.show {
            right: 0;
        }

            nav.show ~ #overlay {
                display: block;
            }

        nav ul {
            width: 100%;
            flex-direction: column;
        }

        nav a {
            width: 100%;
            padding-left: 2.5em;
        }

            nav a.active-link {
                border-bottom: none;
            }

        nav .home-li {
            margin-right: unset;
        }

    .aboutblock {
        color: white;
        width: 100%;
        height: 120vh;
        display: block;
        position: relative;
    }

    .ponuka {
        width: 130px;
        height: 200px;
        font-size: 25px;
    }

    .ponukapolka {
        width: 130px;
        height: 100px;
        font-size: 12px;
        margin: 100px 0px 0px 0px;
    }

    .karticky {
        display: flex;
        width: 100%;
        overflow: hidden;
        height: 250px;
        }
    

    .vicbutton {
        display: none;
    }

    .vicbutton2 {
        display: block;
    }

    .email {
        display: none;
    }

    .mobil {
        display: block;
        float: none;
        width: 100%;
    }

    .adresa {
        float: none;
        width: 100%;
    }

    .morecontacts {
        float: none;
        width: 100%;
    }

    .content h1 {
        font-size: 60px;
    }

    

    .leftside {
        width: 100%;
        height: 50vh;
        float: none;
        white-space: none;
    }

    .rightside {
        width: 100%;
        height: 50vh;
        float: none;
        white-space: none;
    }

    .part1 {
        height: 200px;
        width: 100%;
        float: none;
        white-space: none;
        text-align: center;
        align-items: center;
        justify-content: center;
        text-align: center;
        display: grid;
        place-items: center;
        list-style-type: none;
    }

        .part1 a {
            color: white;
            text-decoration: none;
            font-size: 16px;
            list-style-type: none;
            font-family: fjalla one;
            font-size: 20px;
        }

        .part1 ul {
            list-style-type: none;
        }

    .part2 {
        height: 50px;
        width: 100%;
        text-align: center;
        color: white;
        font-family: poppins;
        justify-content: center;
        text-align: center;
        display: grid;
        place-items: center;
        list-style-type: none;
    }

        .part2 ul {
            list-style-type: none;
        }

    .example-2 {
        display: flex;
        justify-content: center;
        align-items: center;
    }

        .example-2 .icon-content {
            margin: 0 10px;
            position: relative;
        }

            .example-2 .icon-content .tooltip {
                position: absolute;
                left: 50%;
                transform: translateX(-50%);
                color: #fff;
                padding: 6px 10px;
                border-radius: 5px;
                opacity: 0;
                visibility: hidden;
                font-size: 14px;
                transition: all 0.3s ease;
            }

            .example-2 .icon-content:hover .tooltip {
                opacity: 1;
                visibility: visible;
            }

            .example-2 .icon-content a {
                position: relative;
                overflow: hidden;
                display: flex;
                justify-content: center;
                align-items: center;
                width: 50px;
                height: 50px;
                border-radius: 50%;
                color: #4d4d4d;
                background-color: #fff;
                transition: all 0.3s ease-in-out;
            }

                .example-2 .icon-content a:hover {
                    box-shadow: 3px 2px 45px 0px rgb(0 0 0 / 12%);
                }

                .example-2 .icon-content a svg {
                    position: relative;
                    z-index: 1;
                    width: 30px;
                    height: 30px;
                }

                .example-2 .icon-content a:hover {
                    color: white;
                }

                .example-2 .icon-content a .filled {
                    position: absolute;
                    top: auto;
                    bottom: 0;
                    left: 0;
                    width: 100%;
                    height: 0;
                    background-color: #000;
                    transition: all 0.3s ease-in-out;
                }

                .example-2 .icon-content a:hover .filled {
                    height: 100%;
                }

                .example-2 .icon-content a[data-social="linkedin"] .filled,
                .example-2 .icon-content a[data-social="linkedin"] ~ .tooltip {
                    background-color: #0274b3;
                }

                .example-2 .icon-content a[data-social="github"] .filled,
                .example-2 .icon-content a[data-social="github"] ~ .tooltip {
                    background-color: #24262a;
                }

                .example-2 .icon-content a[data-social="instagram"] .filled,
                .example-2 .icon-content a[data-social="instagram"] ~ .tooltip {
                    background: linear-gradient( 45deg, #405de6, #5b51db, #b33ab4, #c135b4, #e1306c, #fd1f1f );
                }

                .example-2 .icon-content a[data-social="youtube"] .filled,
                .example-2 .icon-content a[data-social="youtube"] ~ .tooltip {
                    background-color: #ff0000;
                }


    footer {
        width: 100%;
    }

    .Contactcard {
        width: 100%;
        height: 100vh;
        background: url("/media/design/drevo2.jpg"), #bf441d no-repeat;
        background-position: center 50%;
        background-size: 500%;
        color: white;
        position: sticky;
    }

    .image1 {
        float: none;
        width: 100%;
        white-space: none;
    }

    .textblock {
        width: 100%;
        float: none;
        height: 700px;
    }

    .stranka {
        height: 350vh;
    }

    .leftciara {
        height: auto;
    }

    .image2 {
        float: none;
        white-space: none;
        width: 100%;
    }

    .rightciara {
        height: auto;
    }

    .obraz1 {
        float: none;
        white-space: none;
    }

    .leftciara {
        height: auto;
    }

    .obraz2 {
        float: none;
        white-space: none;
    }

    .obraz3 {
        float: none;
        white-space: none;
    }

    .obraz4 {
        float: none;
        white-space: none;
    }

    .obraz5 {
        float: none;
        white-space: none;
    }

    .rightciara {
        height: auto;
    }

    .textovepole {
        width: 90%;
        height: auto;
        display: block;
        white-space: pre-wrap;
        margin: 0px 0px 0px 20px;
    }

    .responsiveimage1 {
        width: 100%;
        background-position: center;
        background-size: 150%;
        height: 50vh;
        float: none;
        white-space: none;
    }

    .responsiveimage2 {
        width: 100%;
        background-position: left;
        background-size: 100%;
        height: 50vh;
    }

    .rightsideR {
        width: 100%;
        height: 120vh;
        float: none;
        white-space: wrap;
    }

    .responsiveimage {
        width: 100%;
        background-position: center;
        background-size: 190%;
        height: 50vh;
    }

    .velkynadpis {
        font-size: 12px;
    }

    .aboutsection {
        width: 100%;
        float: none;
        place-items: left;
    }

    .ponuka {
         width: 95px;
         height: 200px;
         font-size: 25px;
    }

    .ponukapolka {
        width: 95px;
        height: 100px;
        font-size: 12px;
        margin: 100px 0px 0px 0px;
    }

    .formular {
        width: 100%;
        height: auto;
        display: grid;
        place-items: center;
        text-align: center;
        justify-content: center;
        background-position: center;
        background-size: 1000%;
        float: none;
        white-space: none;
        font-size: 13px
    }

        .formular .content h1 {
            font-size: 45px
        }
        .formular form .content h1 {
            font-size: 40px;
        }

    .mapa {
        width: 100%;
        height: 500px;
    }

    .formular form {
        width: 100%;
        height: auto;
        background: #a55733bf;
        display: grid;
        place-items: center;
        text-align: center;
        justify-content: center;
        padding: 5px;
    }

        .formular form input {
            border-radius: 0px;
            border-bottom: solid 5px #d99e82;
            border-top: none;
            border-left: none;
            border-right: none;
            background: #00000000;
            color: white;
            font-family: poppins;
            text-align: center;
            padding: 5px 1px;
        }

        .formular form textarea {
            border-radius: 0px;
            border: none;
            background: #00000073;
            color: white;
            font-family: poppins;
            padding: 5px 1px;
        }

    .rightsideotvor {
        width: 100%;
        float: none;
        white-space: none;
    }

    .simpleheader {
        height: 200px;
        background: url(/media/design/background-rezanie2.png) no-repeat;
        background-position: center top;
        background-size: 100%;
        background-attachment: fixed;
    }

    .leftsideotvor {
        width: 100%;
        height: 50vh;
        float: none;
        white-space: none;
    }

    .rightsideotvor {
        width: 100%;
        height: 50vh;
        float: none;
        white-space: none;
    }

    .backgroundimage {
        width: 100%;
        height: 100vh;
        background-image: url(/media/kuchyna/12.jpeg);
        background-position: center;
        background-repeat: no-repeat;
        background-size: 300%;
        justify-content: center;
        text-align: center;
        display: grid;
        place-items: center;
    }
    .logo-container {
        white-space: nowrap;
        width: 50%;
        height: 15vh;
        background-image: url(/media/design/logo.svg);
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
        cursor: pointer;
        float: left;
    }
    .content h2 {
        font-size: 65px;
        color: #fff;
        margin-bottom: 50px;
    }
    .bar {
        width: 75%;
        height: auto;
    }
    .stlpce3 {
        display: block;
        width: 100%;
        margin: 15px 0px;
    }
    .backgroundphoto {
        background-position: center;
        background-size: 600%;
    }
    .opismeno {
        width: 150px;
        height: 75px;
    }

    .riadok .content h1 {
        font-size: 75px;
        text-align: center;
    }

    .stranka404 {
        width: 100%;
        height: 100vh;
        background-size: 150%;
    }

    .zafarbenie {
        display: grid;
        justify-content: center;
        place-items: center;
        text-align: center;
    }
    .propagate{
        height: 85vh;
    }

}
