@font-face {
    font-family: WixMadeForDisplay;
    src: url(../files/fonts/Wix_Madefor_Display/static/WixMadeforDisplay-Regular.ttf);
    font-weight: 400;
}
@font-face {
    font-family: WixMadeforDisplay;
    src: url(../files/fonts/Wix_Madefor_Display/static/WixMadeforDisplay-Bold.ttf);
    font-weight: 700;
}
@font-face {
    font-family: WixMadeforDisplay;
    src: url(../files/fonts/Wix_Madefor_Display/static/WixMadeforDisplay-ExtraBold.ttf);
    font-weight: 800;
}
@font-face {
    font-family: Sriracha;
    src: url(../files/fonts/Sriracha/Sriracha-Regular.ttf);
    font-weight: 400;
}
* {
    margin: 0;
    padding: 0;
    font-family: WixMadeForDisplay;
}
a {
    text-decoration: none;
    color: inherit;
}
/*dk why this doesn't work
        */
:root {
    --section-max-width: 1600px;
    --one-unit: 1cqw;
    --scaling-factor: min((100 * var(--one-unit)), var(--section-max-width));
    --color-primary-red:rgb(200, 0, 0);
    --color-primary-light-red:rgb(190, 5, 5);
    --color-light-gray: rgb(240, 240, 240);
    --color-dark-gray: rgb(146, 146, 146);
    --color-black: rgb(20, 20, 20);
}
body {
    line-height: 1.6;
    text-align: center;
    background-color: #ffffff;
    width: 100%;
    overflow-x: hidden;
    background-image: url("https://www.transparenttextures.com/patterns/asfalt-dark.png");
}
.top-section {
    height: 2.5rem;
    /*50px .. 1920-265 */
    display: flex;
    background-color: var(--color-primary-red);
    color: white;
    position: relative;
    justify-content: space-between;
    flex-direction: row;
    align-items: center;
    font-weight: bold;
}
.top-section svg {
    padding-right: 10px;
}
.navbar {
    display: flex;
    justify-content: space-between;
    /*box-shadow: 0 4px 2px -2px gray;*/
    position: sticky;
    top: 0;
    z-index: 100;
    background-image: linear-gradient(#BF0603, #080808);
    height: auto;
    /*100px at 1920x1080 */
    max-height: 100px;
    transition: top 0.3s;
}
.navbar .logo {
    padding-left: 8vw;
    top: 0;
}
.navbar .logo a {
    object-fit: cover;
}
.navbar .logo a img {
    object-fit: cover;
}
.nav-links {
    align-items: center;
    padding-right: 8vw;
    list-style: none;
    display: flex;
    gap: 20px;
}
.nav-links li {
    display: inline;
}
.nav-links a {
    text-decoration: none;
    color: white;
    font-size: 1rem;
}
.nav-links a:hover {
    color: rgb(220, 160, 160);
}
#nav-links-button {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding-right: 10%;
}
.cenik-intro {
    display: flex;
    flex-direction: column;
    height: fit-content;
    padding-bottom: 100px;
    background-color: #000000;
    align-items: center;
    justify-content: center;
}
body {
    font-family: Arial, sans-serif;
    text-align: center;
    margin: 0;
    padding: 0;
}
.menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding-top: 10%;
    background-color: rgb(55, 10, 10);
    z-index: 999;
    overflow-y: auto;
}
.menu-content {
    padding: 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.close-button {
    background: transparent;
    border: none;
    color: white;
    font-size: 44px;
    cursor: pointer;
    position: absolute;
    top: 5%;
    right: 10%;
}
.menu-list {
    list-style: none;
    padding: 0;
}
.menu-list li {
    margin: 10px 0;
}
.menu-list a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
}
.contact-info {
    margin-top: 20px;
    font-size: 16px;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.contact-info p {
    padding-top: 20px;
}
.nav-links.active {
    display: flex;
}
/*
.content {
    padding: 20px;
}
.content h1 {
    margin-bottom: 20px;
}
.content p {
    margin-bottom: 20px;
}
*/
.centerimg1-wrapper {
    padding-top: 8%;
    padding-left: 12%;
}
.centerimg1 {
    width: 100%;
    aspect-ratio: 16/9;
    background-size: contain;
    background-image: url('../files/images/front.webp');
    background-repeat: no-repeat;
}
.centerimg1 svg {
    position: relative;
}
.horizontal-line {
    border-top: solid var(--color-primary-red);
    top: -100px;
    width: 100%;
}
.centerimg1-text {
    display: inline-block;
    position: relative;
    font-size: max(0.5px, 0.035 * (100cqw - 15px));
    vertical-align: baseline;
    text-align: left;
    width: 35%;
    left: -30%;
    color: white;
    height: auto;
}
.centerimg1-text p {
    font-size: max(14px, 0.016* (100cqw - 15px));
    width: 160%;
    text-wrap: nowrap;
}
.kruh {
    text-align: left;
    font-size: max(0.5px, 0.02 * (100cqw - 15px));
    height: max-content;
}
.kruh svg {
    transform: rotate(15deg);
    left: 0%;
    top: 105%;
}
.kruh-text {
    display: inline-block;
    position: absolute;
    /*
            top: -10%;
            left: -27.5%;
            */
    top: 60%;
    left: 16%;
    font-size: 130%;
    width: fit-content;
    font-weight: bold;
    text-align: center;
    line-height: 0.93;
    text-wrap: nowrap;
}
h1 {
    font-size: 48px;
    margin-bottom: 20px;
    color: #333;
}
.subheading {
    font-size: 32px;
    margin-bottom: 40px;
    color: #555;
}
h2 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #000;
    font-weight: bold;
}
.items-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    padding: 10%;
    padding-top: 2.5%;
    text-align: left;
    gap: 60px;
}
@media (max-width: 1200px) {
    .items-features {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 840px) {
    .items-features {
        grid-template-columns: 1fr;
    }
}
.item-features {
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    border-radius: 15px;
    line-height: 1.2;
    height: 100%;
    /*85% */
    /*
            width: 300px;
            */
    background-color: var(--color-light-gray);
    padding: 10%;
}
#reference {
    text-align: center;
    padding: 10%;
    padding-top: 2.5%;
    gap: 60px;
}
#reference .reference-main {
    display: flex;
    position: relative;
    background-color: var(--color-light-gray);
    margin: 0 auto;
    border-radius: 15px;
    padding-top: 2rem;
    padding-bottom: 2rem;
    border-radius: 10px;
    width: 78%;
    height: 300px;
    align-items: center;
    justify-content: center;
}
#reference .reference-container {
    display: flex;
    overflow: hidden;
    transition: transform 0.5s ease;
    width: 100%;
    text-align: left;
    font-size: 20px;
}
#reference .arrow {
    background: none;
    border: none;
    font-size: 3rem;
    cursor: pointer;
    user-select: none;
    color: black;
}
#reference .arrow.left {
    padding-left: 2rem;
}
#reference .arrow.right {
    padding-right: 2rem;
}
#reference .stars {
    color: red;
    font-size: 2rem;
    margin-bottom: 0.5rem;
}
#reference .author {
    text-align: right;
    font-weight: bold;
    margin-top: 1rem;
}
#reference .reference-item {
    position: absolute;
    width: 70%;
    top: 15%;
    left: 15%;
    margin: 0 auto;
    flex-shrink: 0;
    visibility: hidden;
    transition: opacity 0.5s ease;
}
#reference .reference-item.active {
    visibility: visible;
}
.item-proces:hover {
    background-color: white;
}
.items-proces {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    padding: 5%;
    text-align: left;
    gap: 15px;
}
@media (max-width: 1200px) {
    .items-proces {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 840px) {
    .items-proces {
        grid-template-columns: 1fr;
    }
}
.item-proces {
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    border-radius: 15px;
    line-height: 1.2;
    height: 100%;
    /*85% */
    /*
            width: 300px;
            */
    background-color: var(--color-light-gray);
    padding: 20px;
}
#katalog {
    display: block;
    padding: 30px;
    max-width: 1540px;
    /*1600 width -paddingleft,paddingright */
    background-image: radial-gradient(circle at 50% 80%, rgba(200, 0, 0), rgba(20, 20, 20) 70%);
    justify-self: center;
    border-radius: 15px;
    padding-top: 6%;
}
.logo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 10px;
    padding: 8%;
    padding-top: 0%;
}
.logo-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 10px;
    overflow: hidden;
    /*padding: 20px;
            width: calc(((25% -((0% + 0%) + max(0.5px, 0.0118577*(var(min((100cqw), 1600px)) - var(17px))))) - 0px));
            */
    width: 150px;
    height: 120px;
    transition: transform 0.2s;
}
.logo-item:hover {
    transform: scale(1.05);
}
.logo-item img {
    width: 90%;
    height: 90%;
    object-fit: contain;
}
.logo-name {
    text-align: center;
    font-weight: bold;
    margin-top: 10px;
}
.search-container {
    margin-bottom: 20px;
    text-align: center;
}
.search-bar {
    width: 50%;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
}
#proces {
    display: block;
    padding: 30px;
    max-width: 1540px;
    /*1600 width -paddingleft,paddingright */
    background-image: radial-gradient(circle at 50% 80%, rgba(200, 0, 0), rgba(20, 20, 20) 70%);
    justify-self: center;
    border-radius: 15px;
}
#kontakt {
    padding-top: 6%;
}
.kontakt-trio {
    height: 2.5rem;
    /*50px .. 1920-265 */
    display: flex;
    color: black;
    position: relative;
    justify-content: center;
    gap: 50px;
    flex-direction: row;
    align-items: center;
    padding-top: 30px;
}
.kontakt-trio svg {
    padding-right: 10px;
}
.kontakt-trioForm-wrapper {
    width: fit-content;
    margin: 0 auto;
}
#kontakt-form {
    width: 50%;
    margin: 0 auto;
    border-radius: 15px;
    background-color: var(--color-light-gray);
    padding: 40px;
    text-align: left;
}
#kontakt-form input {
    width: 100%;
    height: 42px;
    border: 1px solid var(--color-dark-gray);
    border-radius: 10px;
    font-size: 16px;
}
#kontakt-form #text {
    height: 92px;
    width: 100%;
    border: 1px solid var(--color-dark-gray);
    border-radius: 10px;
}
#kontakt-form input:hover {
    border: 1px solid black;
}
#kontakt-form #text:hover {
    border: 1px solid black;
}
.checkbox-container {
    display: flex;
    align-items: flex-start;
}
#popup {
    display: none;
    position: fixed;
    z-index: 100;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    justify-content: center;
    align-items: center;
}
#popup .popup-content {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    /*
            background-image: radial-gradient(circle at 50% 80%, rgba(200, 0, 0), rgba(20, 20, 20) 70%);
            color: white;
            */
    width: 300px;
    text-align: center;
    position: relative;
}
#popup .close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 20px;
    font-weight: bold;
    color: #aaa;
    cursor: pointer;
}
#faq {
    padding-bottom: 10%;
}
details {
    border-top: 1px solid #000;
    padding: 10px 0;
    width: 60%;
    margin: 0 auto;
    text-align: left;
}
#faq details div {
    padding-top: 30px;
}
#faq summary {
    font-weight: bold;
    color: #d70000;
    cursor: pointer;
    list-style: none;
}
#faq summary:hover {
    color: darkred;
}
#faq summary::-webkit-details-marker {
    display: none;
}
#faq details[open] summary::after {
    content: "−";
    float: right;
}
#faq summary::after {
    content: "+";
    float: right;
}
#filterModelsfaq details[open] {
    border-bottom: 1px solid #ccc;
}
footer {
    height: 600px;
    background-image: linear-gradient(#080808, #BF0603);
    display: flex;
    align-items: center;
    justify-content: center;
    /*
            */
}
.footer-links {
    display: flex;
    width: 100%;
    justify-content: space-between;
    padding-right: 8vw;
    padding-left: 8vw;
    list-style: none;
    color: white;
    font-size: 1.5rem;
}
.footer-links li {
    color: white;
    max-width: 400px;
    min-width: 300px;
    width: auto;
    display: inline;
    text-align: center;
}
.footer-links li div {
    padding-bottom: 30px;
}
/*
        optimalization for mobile
        */
@media screen and (max-width: 768px) {
    .top-section {
        display: none;  
    }
    .nav-links {
        display: none;
    }   
    #nav-links-button {
        display: block;
    }
    .centerimg1-wrapper {
        position: relative;
        left: -20%;
        top: 7.5%;
        transform:scale(1.25);
    }
    .centerimg1 {
        height: 400px;
        background-size: 120% 100%;
        margin-bottom: 40px;
    }
    .centerimg1-text {
        left: -5%;
    }
    .centerimg1-text p {
        text-wrap: wrap;
    }
    .kruh-text {
        left: 17.5%;
        top: auto;
        transform: translateY(47.5%);
    }
    .kruh svg {
        transform: rotate(15deg);
        top: 100%;
    }
    .items-features {
        padding: 0px;
    }
    .logo-grid {
        justify-content: space-around;
        grid-template-columns: repeat(auto-fill, 90px);
        padding: 10px;
    }
    .logo-item {
        /*
                150
                120
                */
        width: 90px;
        height: 72px;
    }
    #reference .reference-main {
        width: 90%;
    }
    #reference .arrow.left {
        padding: 0px;
    }
    #reference .arrow.right {
        padding: 0px;
    }
    #reference .reference-item {
        top: 10%;
    }
    #reference .reference-container {
        font-size: 14px;
    }
    .kontakt-trio {
        flex-direction: column;
        gap: 10px;
        margin-bottom: 50px;
        margin-top: 20px;
    }
    #kontakt-form {
        width: 80%;
        padding: 40px;
        padding-left: 20px;
        padding-right: 20px;
    }
    #order-form {
        padding: 15px;
    }
    details {
        width: 80%;
    }
    footer {
        height: fit-content;
    }
    .footer-links {
        padding-top: 40px;
        padding-bottom: 40px;
        flex-direction: column;
        justify-content: center;
        gap: 60px;
    }
    .footer-links li {
        width: 100%;
        margin: 0 auto;
    }
    .search-bar {
        width: 90%;
    }
    .table-container {
        flex-direction: column;
        align-items: center;
    }
}
.katalog-intro {
    display: flex;
    flex-direction: column;
    height: fit-content;
    padding-bottom: 100px;
    background-color: #000000;
    align-items: center;
    justify-content: center;
    max-width: 1600px;
    margin: 0 auto;
    border-radius: 0 0 15px 15px;
}
.model-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 10px;
    width: 100%;
    max-width: 1600px;
    align-items: center;
    /*padding: 20px;*/
}
.model-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 15px;
    /*padding: 20px;
            width: calc(((50% + max(0.5px, 0.015 * (var(min((100 * 1cqw, 1600px) - 15px)))) - 0px));
            */
    transition: transform 0.2s;
    overflow: hidden;
}
.model-item:hover .model-click {
    background-color: var(--color-primary-red);    
}
.model-item img {
    height: auto;
    width: 100%;
}
.model-name {
    text-align: center;
    font-weight: bold;
    margin-top: 10px;
    color: black;
    font-weight: bold;
    font-size: 20px;
    white-space: nowrap;
}
.model-click {
    width: 100%;
    height: 42px;
    color: white;
    font-size: 1rem;
    text-align: center;
    font-weight: bold;
    margin-top: 10px;
    align-self: center;
    background-color: var(--color-black);
}
.model-click:hover {
    background-color: var(--color-primary-red);
}
.item {
    background-color: var(--color-light-gray);
    color: black;
    border-radius: 15px;
    text-align: left;
    padding: 5%;
    margin-bottom: 5%;
}
.item-title {
    font-weight: bold;
    font-size: 2.5em;
    font-size: max(26px, max(0.5px, 0.027 * (min((100 * 1cqw), 1600px) - 16px)));
    width: 80%;
}
.item-textPrice {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}
.item-text {
    font-size: max(16px, max(0.5px, 0.013 * (min((100 * 1cqw), 1600px) - 16px)));
    width: 60%;
}
.item-price {
    font-weight: bold;
    font-size: max(22px, max(0.5px, 0.02 * (min((100 * 1cqw), 1600px) - 16px)));
}
.item-line {
    border-top: solid white;
    width: 100%;
}
.service {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 60px 0;
}
.service td {
    margin: 0;
    font-weight: bold;
}
.price {
    font-size: 30px;
    font-family: "Philosopher";
    color: goldenrod;
}
.note {
    font-size: 18px;
    font-weight: bold;
    color: rgb(0, 0, 0);
}
tr {
    padding: 0;
    margin: 0;
    gap: 80px;
}
td {
    align-items: center;
    text-align: center;
}
.nowrap {
    white-space: nowrap;
    font-size: 30px;
}
.main-text {
    font-size: 20px;
    padding-right: 8%;
    padding-left: 8%;
    padding-top: 6%;
    padding-bottom: 6%;
    width: 80%;
    margin: 0 auto;
    align-items: center;
    justify-content: center;
    text-align: left;
}
.main-text li {
    list-style-position: inside;
    padding-left: 30px;
}
.navigace-list {
    list-style-type: none;
    padding: 0;
    margin: 0;
    width: 300px;
    text-align: center;
    margin: auto;
}
.navigace-list li a {
    border-bottom: 2px solid white;
    display: block;
    padding: 15px;
    text-decoration: none;
    color: white;
    font-weight: bold;
    text-transform: uppercase;
    white-space: nowrap;
}
.container {
    text-align: center;
    padding: 20px;
}
.model-title {
    font-size: 3em;
    color: black;
    background-color: var(--color-light-gray);
    margin-bottom: 20px;
}
.scroll-container {
    overflow-x: auto;
    padding: 1rem;
}
.table-container {
    display: flex;
    justify-content: center;
    gap: 50px;
}
.table-section {
    background-color: transparent;
    border: 0px solid;
    border-radius: 20px;
    width: 100%;
    overflow: hidden;
    border-radius: 10px;
    white-space: nowrap;
}
.table-section thead {
    background-color: var(--color-primary-light-red);
    color: white;
    font-size: 100%;
}
.table-section tbody {
    background-color: var(--color-light-gray);
}
.table-section tbody td {
    width: max-content;
}
.table-section td:first-child {
    text-align: left;
}
.table-section thead th {
    padding: 2.5%;
}
.table-section thead th:first-child {
    border-radius: 10px 0 0 0;
}
.table-section thead th:last-child {
    border-radius: 0 10px 0 0;
}
.table-section tbody tr:last-child td:first-child {
    border-radius: 0 0 0 10px;
}
.table-section tbody tr:last-child td:last-child {
    border-radius: 0 0 10px 0;
}
h2 {
    color: black;
    padding: 10px;
    background-color: transparent;
    font-weight: bold;
    font-size: 32px;
}
table {
    width: 100%;
    /*
            border-collapse: collapse;
            */
    border-collapse: separate;
    border-spacing: 5px 2px;
    margin-bottom: 20px;
    table-layout: auto;
}
td {
    padding: 10px;
    text-align: center;
    position: relative;
}
tr:hover {
    background-color: rgba(190, 0, 0, 0.33);
}
#order-form {
    border-radius: 15px;
    background-color: var(--color-light-gray);
    padding: 40px;
    text-align: left;
}
#order-form input {
    width: 100%;
    height: 42px;
    border: 1px solid var(--color-dark-gray);
    border-radius: 10px;
    font-size: 16px;
}
#order-form #text {
    height: 92px;
    width: 100%;
    border: 1px solid var(--color-dark-gray);
    border-radius: 10px;
}
#order-form input:hover {
    border: 1px solid black;
}
#order-form #text:hover {
    border: 1px solid black;
}
.card {
    background: white;
    padding: 16px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    white-space: nowrap;
}
.card .bar {
    width: 100%;
    height: 8px;
    background-color: #eee;
    border-radius: 4px;
    overflow: hidden;
    margin-top: 4px;
}
.card .bar-fill {
    height: 100%;
    width: 0%;
    border-radius: 4px;
    transition: width 1.5s ease;
}
.description {
    text-align: center;
    margin: 20px 0;
}
.order-section {
    display: flex;
    justify-content: space-evenly;
    margin: 20px 0;
}
.order,
.price-includes {
    width: 45%;
}
.price-includes {
    background-color: white;
    border-radius: 5px;
    box-shadow: 0 0 5px rgba(0, 0, 0, .6);
    height: fit-content;
    padding: 40px;
}
.price-includes li {
    list-style: none;
    text-align: left;
    padding-top: 15px;
}
