/* Fonty */
@font-face {
    font-family: 'MenuFont';
    src: url('/static/fonts/Montserrat-Bold.ttf');
    font-weight: normal;
    font-style: normal;
}


@font-face {
    font-family: 'H1Font';
    src: url('/static/fonts/Montserrat-Bold.ttf');
    font-weight: lighter;
    font-style: normal;
}

@font-face {
    font-family: 'EmailFont';
    src: url('/static/fonts/Montserrat-Regular.ttf');
    font-weight: lighter;
    font-style: normal;
}


@font-face {
    font-family: 'LightFont';
    src: url('/static/fonts/Montserrat-Light.ttf');
    font-weight: lighter;
    font-style: normal;
}


@font-face {
    font-family: 'CenyTitleFont';
    src: url('/static/fonts/Montserrat-SemiBold.ttf');
}

@font-face {
    font-family: 'CenyFont';
    src: url('/static/fonts/Montserrat-ExtraBoldItalic.ttf');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'CenyItalicFont';
    src: url('/static/fonts/Montserrat-Italic.ttf');
    font-weight: normal;
    font-style: normal;
}


/* Styly */
html {
    font-size: 24px;
    box-sizing: border-box;
}

html,
body,
nav {
    margin: 0vw;
    padding: 0vw;
    box-sizing: border-box;
}

/* Styl pro horní panel */

.navbar {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    background-color: #ffffff;
    color: #000000;
    padding: 0px auto;
    padding-right: 3vw;
    padding-bottom: 2vw;
    margin: 0px auto;
}

/* Styl pro logo */
.logo img {
    max-height: 15vw;
}


/* Styl pro vyskakovací okno */


/* Styl pro hlavní menu */
.navbar-links ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.navbar-links li {
    margin: 0;
    padding: 0;
}

.navbar-links a {
    color: #03104B;
    text-decoration: none;
    padding: 0.5vw 0.5vw;
}

.navbar a:hover {
    color: #00F087;
}

.toggle-button {
    position: absolute;
    top: 7vw;
    right: 2vw;
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 7vw;
    height: 5vw;
}

.toggle-button .bar {
    height: 0.8vw;
    width: 100%;
    background-color: #03104B;
}

@media (max-width: 768px) {
    .toggle-button {
        display: flex;
    }

    .navbar-links {
        display: none;
        width: 100%;
    }


    .navbar {
        flex-direction: column;
        align-items: flex-start;
        padding-right: 0;
        padding-bottom: 0;
    }

    .navbar-links ul {
        align-items: center;
        flex-direction: column;
        width: 100%;
        padding-bottom: 2vw;
    }

    .navbar-links li {
        text-align: center;
        align-items: center;
    }

    .navbar-links a {
        padding: 0.5vw 0.8vw;
        font-size: 3vw;
    }


    .divider {
        display: block;
        transform: rotate(90deg);
        width: 100px
    }

    .navbar-links.active {
        display: flex;
    }

}

/* Styl pro oddělovač čar */
.divider {
    font-family: "MenuFont";
    color: #00F087;
    font-size: 1.4vw;

}

/* Font pro menu */
.menu-text {
    font-family: 'MenuFont';
    font-size: 1.4vw;
    color: rgb(3, 16, 75);
}

/* Font pro text s emailem */
.email-text {
    display: inline;
    text-align: right;
    font-family: 'EmailFont';
    font-size: 1.4vw;
    position: absolute;
    top: 1vw;
    right: 3.5vw;
}


.mail_img {
    max-height: 2.7vw;
    position: relative;
    top: 1vw;
}


.title_text {
    text-align: center;
    display: block;
    font-family: "MenuFont";
    color: #03104B;
    font-size: 3.5vw;
    margin: 0;
}

.formular_title_text {
    text-align: center;
    display: block;
    font-family: "MenuFont";
    color: #03104B;
    font-size: 3.5vw;
    padding-top: 3.5vw;
    margin: 0;
}

.contact_text {
    text-align: center;
    display: block;
    font-family: "EmailFont";
    color: #03104B;
    font-size: 2vw;
}

.formular_text {
    text-decoration: none;
    text-align: center;
    display: block;
    font-family: "EmailFont";
    color: #03104B;
    font-size: 2vw;
    padding-bottom: 3.5vw;
}

.formular_text a {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

@media (max-width: 768px) {
    .formular_title_text {
        font-size: 5vw;
    }

    .formular_text {
        font-size: 2.5vw;
    }
}

.icon_email {
    margin-right: 0px;
    display: block;
}

/* Main  */

/* Styly pro modal */
.modal {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 2;
}

.modal-content {
    background-color: rgba(3, 16, 75, 0.8);
    margin: 5vw auto;
    padding: 1vw;
    width: 60%;
    height: 40vw;
    box-sizing: border-box;
    box-shadow: 0 5px 20px 10px rgba(0, 240, 135, 0.3);
    border: 3px ridge rgba(0, 240, 135, 0.7);
    border-radius: 20px;
    /* Animace při zobrazení */
    animation: zoomIn 0.5s ease-out;
}

@keyframes zoomIn {
    from {
        transform: scale(0.1);
    }

    to {
        transform: scale(1);
    }
}

.pop-up-header {
    padding-top: 3vw;
    margin: 0 auto;
    text-align: center;
    font-family: "MenuFont";
    font-size: 6vw;
    color: white;
}


.pop-up-header2 {
    text-align: center;
    margin: 0 auto;
    font-family: "LightFont";
    font-size: 2vw;
    color: white;
}

.pop-up-text {
    margin-left: 1vw;
    font-size: 1.5vw;
    text-align: left;
    font-family: "EmailFont";
    color: white;
}

.pop-up-bottom-text {
    text-align: center;
    margin: 0 auto;
    padding-top: 2vw;
    font-size: 1.5vw;
    font-family: "LightFont";
    color: white;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    margin-right: 1vw;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.modal-body {
    display: flex;
    align-items: center;
    max-height: 15vw;
}


.modal-body p {
    flex: 1;
}

.modal-body img {
    max-width: 50%;
    float: right;
}

@media (max-width: 768px) {
    .modal-content {
        height: 80vw;
        width: 80%;
    }

    .modal-body {
        max-width: 100%;
        max-height: 100%;
    }

    .pop-up-header {
        font-size: 10vw;
    }

    .pop-up-header2 {
        font-size: 3.5vw;
    }

    .pop-up-text {
        font-size: 3vw;
    }

    .pop-up-bottom-text {
        font-size: 3vw;
    }
}

/* -----------------------------------*/

/* Section 1 - servis oken a dveri */
.content1 {
    box-sizing: border-box;
    display: block;
    font-family: "H1Font";
    background: #03104B;
}

.content2 {
    text-align: center;

}

.content3 {
    text-align: center;
    background: #00F087;
}

.content1 h1 {
    padding-top: 4vw;
    margin: 0vw;
    text-align: center;
    color: #ffffff;
    font-size: 6.5vw;
}

.green {
    color: #00F087;
}

.content1 h2 {
    font-family: "LightFont";
    color: #ffffff;
    text-align: center;
    margin-top: 0.35vw;
    margin-bottom: 0;
    padding-bottom: 7vw;
    font-size: 2.4vw;
}

/*Underine text _ GREEN */
.text_with_underline {
    font-size: 24px;
    position: relative;
    text-decoration: none;
}

.text_with_underline a {
    text-decoration: none;
    color: #03104B;
}

.underlined_text {
    text-decoration: none;
    position: relative;
}

.underlined_text::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0.5vw;
    width: 100%;
    height: 35%;
    background: #00F087;
    z-index: -1;
}

/*Underine text _ WHITE */
.text_with_underline_white {
    font-size: 24px;
    position: relative;
}

.underlined_text_white {
    text-decoration: none;
    position: relative;
    z-index: 1;
}

.underlined_text_white::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0.5vw;
    width: 100%;
    height: 35%;
    background: #ffffff;
    z-index: -1;
}

/* FORMULAR Objednavek */
.formular_objednavek {
    max-width: 40%;
    margin: auto;
    padding-bottom: 2.5vw;
}

.form_table {
    display: flex;
    flex-direction: column;
}

.form_row {
    display: flex;
    margin-bottom: 1.5vw;
    text-align: right;
    align-items: center;
}


.form_row_zprava {
    display: flex;
    margin-bottom: 15px;
    text-align: right;
}

.label {
    width: 12vw;
    margin-right: 10px;
    font-family: "MenuFont";
    font-size: 1.2vw;
    color: #03104B;
}

.input,
.select {
    flex: 1;
    padding: 0.3vw;
    box-sizing: border-box;
    border: 1px solid #00F087;
    height: 2.7vw;
    width: 5vw;
}

.textarea {
    flex: 1;
    padding: 0.3vw;
    box-sizing: border-box;
    border: 1px solid #00F087;
    height: 13vw;
    width: 5vw;
}

.form_row textarea {
    resize: vertical;
}

.form_group {
    padding-bottom: 2vw;
}

.form_group button {
    display: inline-block;
    padding: 10px 20px;
    margin-top: 2vw;
    font-size: 16px;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    border-radius: 20rem;
    background-color: #03104B;
    color: #fff;
    border: none;
    font-family: "MenuFont";
}

.form_group button:hover {
    background-color: #00F087;
    color: #03104B;
}

@media (max-width: 600px) {
    .form_row {
        flex-direction: column;
        margin-bottom: 15px;
    }


    .label {
        width: auto;
        margin-right: 0;
        font-size: 3vw;
    }

    .input,
    .select,
    .textarea {
        width: 100%;
    }
}


.ostatni_header_main_text {
    display: block;
    text-align: center;
    color: #ffffff;
    padding: 5.5vw;
    font-size: 6vw;
    letter-spacing: 0.5vw;
}

.recenze_zakazniku {
    display: block;
    text-align: center;
}

.recenze_zakazniku_text {
    font-family: "H1Font";
    display: block;
    text-align: center;
    font-size: 4vw;
    margin-top: 3.5vw;
    color: #03104B;
}


.container {
    width: 90%;
    margin: 0 auto;
    margin-top: 1vw;
    padding-bottom: 3vw;
    display: flex;
    justify-content: space-between;
}

.column {
    flex: auto;
    text-align: center;
    padding: 1vw;
}

.cell_img {
    margin-bottom: 10px;
}

.cell_bold_text {
    margin-bottom: 1vw;
    font-family: "H1Font";
    font-size: 2vw;
    color: #03104B;
}

.cell_text {
    font-size: 0.4vw;
    font-family: "EmailFont";
    color: #03104B;
}


@media (max-width: 768px) {
    .container {
        flex-direction: column;
        align-items: center;
    }

    .cell_img img {
        max-height: 30vw;
    }

    .cell_bold_text {
        font-size: 4.5vw;
    }

    .cell_text .text_bottom_base {
        font-size: 3vw;
    }

}


.ikona_base_img {
    max-height: 11vw;
}

.text_bottom_base {
    font-family: "EmailFont";
    font-size: 1.5vw;
}


.text_bottom_base_semibold {
    font-family: "CenyTitleFont";
}

/* Kontak page*/
.container_map {
    display: flex;
    justify-content: space-between;
    max-width: 85%;
    max-height: 100%;
    margin: 4vw auto;
}

.map {
    width: 50%;
}

.map iframe {
    width: 40vw;
    height: 30vw;
}

.contact {
    width: 45%;
    margin-top: 20px;
}

.contact h2,
.contact p {
    margin: 0.7vw 0;
    text-align: left;
}

@media (max-width: 768px) {
    .container_map {
        flex-direction: column;
        margin: 3vw auto;
        align-items: center;
    }

    .map iframe {
        width: 100%;
        height: 50vw;
    }

    .map {
        width: 100%;
    }

    .contact {
        width: 100%;
    }

    .contact h2 {
        font-size: 6vw;
    }

    .contact p {
        font-size: 3vw;
    }

}


/*Cenik sluzeb page*/
.cenik_container {
    margin-bottom: 3vw;
}

.cenik_row {
    padding-top: 2.5vw;
}

.cenik_titles,
.cenik_cena {
    margin: 0;
    padding-top: 0.5vw;
}

.cenik_brackets {
    margin: 0;
}


.cenik_titles {
    font-family: "CenyTitleFont";
    color: #03104B;
    font-size: 2.3vw;
    display: inline;
    position: relative;
    z-index: 1;
}

.cenik_titles::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0.3vw;
    width: 100%;
    height: 70%;
    background-color: #00F087;
    z-index: -1;
    transform: scaleX(1);
    transform-origin: 0;
}

.cenik_brackets {
    font-family: "EmailFont";
    font-size: 2.3vw;
}

.cenik_cena {
    font-family: "CenyFont";
    font-size: 2.3vw;
}

.cenik_kur {
    margin: 0;
    font-family: "CenyItalicFont";
    font-size: 1.7vw;
}

.container {
    position: relative;
}

.moznost-platby {
    position: fixed;
    top: 30%;
    right: -400px;
    /* Skryté na začátku */
    max-width: 300px;
    padding: 1vw;
    background-color: #fff;
    box-shadow: -10px 10px 10px rgba(0, 0, 0, 0.5);
    border-radius: 1vw;
    transition: right 0.5s ease;
    z-index: 2;
}

.platby-img {
    width: 80%;
    height: auto;
}

.platby-text {
    text-align: center;
    font-family: "MenuFont";
    font-size: 2vw;
    margin: 0 auto;
    color: #03104B;
}

.close-button {
    position: absolute;
    top: 8px;
    left: 10px;
    cursor: pointer;
    color: #03104B;
    font-family: "MenuFont";
    text-align: left;
    color: #03104B;
}

@media (max-width: 768px) {
    .moznost-platby {
        max-width: 45vw;
    }

    .platby-text {
        font-size: 3.5vw;
    }

    .platby-img {
        width: 70%;
    }
}

/* Reference page */
#nere_widget {
    margin: 0 auto;
}

.widget_container {
    margin-bottom: 2vw;
}


.coop {
    font-family: "LightFont";
    font-size: 4vw;
    text-align: center;
    padding: 3vw 0;
    color: #03104B;
}

.coop_imgs {
    display: flex;
    justify-content: center;
}

.coop_imgs img {
    margin: 0 2vw;
    max-width: 20vw;
    height: auto;
}

@media (max-width: 768px) {
    .widget_container {
        padding: 1rem 1rem;
        justify-content: center;
        display: flex;
        align-items: center;
        margin-bottom: 75vw;
    }

    .coop_imgs {
        flex-direction: column;
        align-items: center;
    }

    .coop_imgs img {
        max-width: 40vw;
    }
}

/* Galerie page */
.title_regular {
    font-family: "EmailFont";
}

.gallery-container {
    width: 80%;
    margin: 0 auto;
}

.gallery-row {
    display: flex;
    flex-wrap: wrap;
}

.gallery-item {
    flex: 0 0 30%;
    margin: 1.5%;
    position: relative;
    cursor: pointer;
    border-radius: 8px;
    transition: transform 0.4s ease-in-out;
    overflow: hidden;
}

.gallery-item img {
    width: 100%;
    height: auto;
    border: 1px solid #ddd;
    display: block;
    border-radius: 8px;
    transition: transform 0.2s ease-in-out;
}

.gallery-item img:hover {
    transform: scale(1.2);
}

.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
}

.lightbox-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    padding: 20px;
    margin: 0 auto;
}

#enlarged-img {
    max-height: 80%;
    max-width: 80%;
    margin-bottom: 20px;
}


.nav-btn-container {
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-btn {
    font-size: 2em;
    color: white;
    cursor: pointer;
    margin: 0 10px;
}

#prev-btn,
#next-btn {
    display: none;
}


.close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 2em;
    color: white;
    cursor: pointer;
}


@media (max-width: 768px) {


    .email-text {
        display: none;
    }

}