* {
    margin: 0;
    padding: 0;
    outline: none;
    scroll-behavior: smooth;
    font-family: 'Mulish', sans-serif;
    -webkit-user-select: none; /* Safari */
    -ms-user-select: none; /* IE 10 and IE 11 */
    user-select: none; /* Standard syntax */
}

html,
body {
    position: relative;
    overflow-x: hidden;
    background-color: var(--background);
}

::selection {
    color: white;
    background: #0197d5;
    text-shadow: 1px 1px 2px #0e0e0e;
}

::-webkit-scrollbar {
    background-color: var(--background);
    width: 2vh;
}

::-webkit-scrollbar-thumb {
    background-color: #b7b7b7;
    border-radius: 15px;
}

:root {
    --main: #353261;
    --secondary: #0197d5;
    --text: black;
    --background: #FFFF;
}

#main {
    color: var(--main);
}

#secondary {
    color: var(--secondary);
}

hr {
    width: 90%;
    height: 0.5px;
    align-self: center;
    background-color: rgb(237, 237, 237);
    border: none;
}

hr #hr-footer {
    margin-right: 10%;
}

.light {
    font-weight: 400;
}/*-----------------------------body----------------------------*/

header {
    height: auto;
}

/* Hamburger menu */

.hamburger-menu {
    top: 0;
    display: none;
    z-index: 9999;
    background: var(--background);
    height: 65px;
    position: fixed;
    width: 100%;
    box-shadow:
    0px 0px 2.2px rgba(0, 0, 0, 0.006),
    0px 0px 5.3px rgba(0, 0, 0, 0.008),
    0px 0px 10px rgba(0, 0, 0, 0.01),
    0px 0px 17.9px rgba(0, 0, 0, 0.012),
    0px 0px 33.4px rgba(0, 0, 0, 0.014),
    0px 0px 80px rgba(0, 0, 0, 0.02);
    touch-action: none;
}

.hamburger-menu img {
    width: 50px;
    float: right;
    margin-top: 15px;
    margin-right: 3vh;
}

#menu__toggle {
    opacity: 0;
}

#menu__toggle:checked+.menu__btn>span {
    transform: rotate(45deg);
}

#menu__toggle:checked+.menu__btn>span::before {
    top: 0;
    transform: rotate(0deg);
}

#menu__toggle:checked+.menu__btn>span::after {
    top: 0;
    transform: rotate(90deg);
}

#menu__toggle:checked~.menu__box {
    left: 0 !important;
}

.menu__btn {
    position: fixed;
    top: 30px;
    left: 30px;
    width: 30px;
    height: 30px;
    cursor: pointer;
    z-index: 1;
}

.menu__btn>span,
.menu__btn>span::before,
.menu__btn>span::after {
    display: block;
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: var(--main);
    border-radius: 1px;
    transition-duration: .25s;
}

.menu__btn>span::before {
    content: '';
    top: -8px;
}

.menu__btn>span::after {
    content: '';
    top: 8px;
}

.menu__box {
    display: block;
    position: fixed;
    top: 0;
    left: -100%;
    width: 350px;
    height: 100%;
    margin: 0;
    padding: 80px 0;
    list-style: none;
    background-color: var(--background);
    box-shadow: 2px 2px 6px rgba(0, 0, 0, .2);
    transition-duration: .25s;
}

.menu__box li a i {
    font-size: var(--jr-fs-caption);
}

.menu__item {
    display: block;
    padding: 2vh 24px;
    color: var(--main);
    font-size: var(--jr-fs-lead);
    font-weight: 400;
    text-decoration: none;
    transition-duration: .25s;
}

.dropdown-content {
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.2s ease, transform 0.2s ease;
    max-height: 0;
    overflow: hidden;
}

.dropdown-content.show {
    opacity: 1;
    transform: translateY(0);
    max-height: 500px;
    transition: opacity 0.2s ease, transform 0.2s ease, max-height 0.2s ease;
}

.dropdown-content ul {
    padding: 0;
    margin: 0;
}

.dropdown-content ul li {
    list-style: none;
    margin-bottom: 10px;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    margin-left: 2vh;
}

.dropdown-content ul li a {
    font-size: var(--jr-fs-subtitle);
}

.dropdown-content.show ul li {
    opacity: 1;
    transform: translateY(0);
}

@keyframes rotateChevron {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(180deg);
    }
}

.dropbtn i {
    transition: transform 0.3s ease;
}

.dropbtn i.rotated {
    transform: rotate(180deg);
}

.dropbtn:hover i.rotated {
    animation: rotateChevron 0.3s forwards;
}


.menu__item:hover {
    background-color: var(--main);
    color: var(--background);
}

#kontakt {
    margin-top: 5vh;
    padding: 1.5vh;
    margin-left: 1.5vh;
    border-radius: 2px;
    background: rgb(0, 0, 0);
    background: linear-gradient(90deg, rgba(0,0,0,1) 0%, rgba(53,50,97,1) 0%, rgba(1,151,213,1) 100%);
    color: white;
    transition: 0.2s;
    cursor: pointer;
    border: 1px rgba(0, 0, 0, 0) solid;
    width: 300px;
}

#kontakt:hover {
    background: none;
    border: 1px solid var(--main);
    transition: 0.2s;
    color: var(--main);
}

#active-link {
    background-color: #ededed;
    color: var(--secondary);
}

@media screen and (max-width: 1100px) {
    .hamburger-menu {
        display: block;
    }
}

/* Navbar section */

.nav {
    width: 100%;
    height: 65px;
    background-color: var(--background);
    position: fixed;
    line-height: 65px;
    text-align: center;
    z-index: 9999;
    top: 0;
    box-shadow:
  0px 0px 2.2px rgba(0, 0, 0, 0.006),
  0px 0px 5.3px rgba(0, 0, 0, 0.008),
  0px 0px 10px rgba(0, 0, 0, 0.01),
  0px 0px 17.9px rgba(0, 0, 0, 0.012),
  0px 0px 33.4px rgba(0, 0, 0, 0.014),
  0px 0px 80px rgba(0, 0, 0, 0.02);

}

.nav div.logo {
    float: left;
    padding-left: 10vw;
}

.nav div.main_list {
    height: 100%;
    float: right;
    margin-top: -3vh;
}

.nav div.main_list ul {
    width: 100%;
    height: 65px;
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    padding-right: 5vw;
}

.nav div.main_list ul li {
    width: auto;
    height: 65px;
    padding: 0;
    padding-right: 3rem;
    margin-top: 3vh;
}

.nav div.main_list ul li a {
    text-decoration: none;
    color: var(--main);
    line-height: 65px;
    font-size: var(--jr-fs-prose);
    transition: 0.3s;
}

.nav div.main_list ul li a:hover {
    transition: 0.3s;
    color: var(--main);
}

.navTrigger {
    display: none;
}

.nav {
    padding-top: 20px;
    padding-bottom: 20px;
    -webkit-transition: all 0.4s ease;
    transition: all 0.4s ease;
}

@media screen and (max-width: 1100px) {
    .nav {
        display: none;
    }
}

.affix {
    height: 65px;
    padding: 0;
    background-color: var(--background);
    box-shadow:
        0px 2.3px 1.9px rgba(0, 0, 0, 0.008),
        0px 5.4px 4.3px rgba(0, 0, 0, 0.011),
        0px 9.7px 7.7px rgba(0, 0, 0, 0.014),
        0px 16.1px 12.8px rgba(0, 0, 0, 0.016),
        0px 26.5px 21.2px rgba(0, 0, 0, 0.019),
        0px 46.2px 37px rgba(0, 0, 0, 0.022),
        0px 100px 80px rgba(0, 0, 0, 0.03);
}

#dropdown {
    margin-right: -4vh;
    margin-left: -4vh;
}

.doprava:hover .dropdown {
    transform: translateY(0%);
    transition: 0.2s all;
    opacity: 1;
}

.dropdown {
    display: flex;
    flex-direction: column;
    background: var(--background);
    padding: 1.5vh;
    transform: translateY(-15%);
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
    border: none;
    box-shadow:
    0px 33.3px 5.3px rgba(0, 0, 0, 0.008),
    0px 111.7px 17.9px rgba(0, 0, 0, 0.012),
    0px 500px 80px rgba(0, 0, 0, 0.02);
    transition: 0.2s all;
    opacity: 0;
}

.dropdown .doprava a {
    color: var(--main);
}

.dropdown .doprava a:hover {
    color: var(--secondary) !important;
}

.button {
    padding: 1.5vh;
    border-radius: 2px;
    background: rgb(0, 0, 0);
    background: var(--secondary);
    color: white;
    transition: 0.2s;
    cursor: pointer;
    border: 1px rgba(0, 0, 0, 0) solid;
}

.button:hover {
    background: none;
    border: 1px solid var(--main);
    transition: 0.2s;
    color: var(--main);
}

.uvod-podstranky--hero {
    padding: clamp(0.55rem, 1.75vh, 0.9rem) var(--site-header-pad-x, clamp(1.35rem, 5vw, 2.75rem));
    background-image: url("/assets/img/pozadi-nakladni-doprava.webp");
}

/*---------------------section2-------------------------*/

#section2 {
    min-height: min(48vh, 28rem);
    height: auto;
    padding-block: 2vh;
    display: flex;
    flex-direction: row-reverse;
    align-items: stretch;
    box-shadow:
    0px 0px 2.2px rgba(0, 0, 0, 0.006),
    0px 0px 5.3px rgba(0, 0, 0, 0.008),
    0px 0px 10px rgba(0, 0, 0, 0.01),
    0px 0px 17.9px rgba(0, 0, 0, 0.012),
    0px 0px 33.4px rgba(0, 0, 0, 0.014),
    0px 0px 80px rgba(0, 0, 0, 0.02)
  ;
}

#section2 .left-side {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 50%;
    min-height: min(48vh, 28rem);
    height: auto;
}

#section2 .left-side h1 {
    width: 100%;
    text-align: center;
    margin-top: 2.5vh;
    margin-bottom: 2vh;
    font-size: var(--jr-fs-section-heading);
    font-weight: 900;
    font-style: italic;
    color: var(--main);
}

#section2 .left-side .servisujeme {
    background: white;
    margin-left: 3vh;
    margin-right: 3vh;
    margin-top: 2.5vh;
}

#section2 .left-side h2 {
    color: var(--main);
    text-align: left;
    font-size: var(--jr-fs-section-lg);
    margin-left: 5vh;
    margin-top: 2.5vh;
}

#section2 .left-side ul {
    margin-left: 3vh;
    margin-right: 3vh;
    margin-top: 3vh;
    font-size: var(--jr-fs-lead);
    list-style: none;
    padding-bottom: 3vh;
}

#section2 .left-side ul li {
    margin-left: 2vh;
    display: flex;
    flex-direction: row;
    margin-bottom: 1vh;
}

#section2 .left-side ul li div {
    font-size: var(--jr-fs-subtitle);
}

#sipka {
    margin-right: 1vh;
    opacity: 50%;
}

#section2 .left-side .vybaveni {
    margin-top: 2.5vh;
    background: white;
    margin-left: 3vh;
    margin-right: 3vh;
}

#section2 .left-side .vybaveni h2 {
    font-size: var(--jr-fs-section-md);
}

#section2 .left-side h3 {
    width: 100%;
    text-align: right;
    margin-top: 2.5vh;
}

.image-section2 {
    background: url("/assets/img/IMG_7453.webp");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    height: 92%;
    width: 45%;
    margin-left: 2vh;
}

@media screen and (max-width: 1100px) {
    #section2 {
        flex-direction: column;
        height: auto;
        align-items: center;
        justify-content: center;
        padding-block: 2vh;
    }

    #section2 .left-side {
        width: 100%;
        min-height: 0;
        height: auto;
        margin-top: 3vh;
    }

    #section2 .left-side h2 {
        margin-left: 0vh;
        text-align: center;
    }

    #section2 .left-side ul {
        margin-top: 5vh;
    }

    #section2 .left-side ul li {
        margin-left: 0vh;
        margin-bottom: 3vh;
    }

    .image-section2 {
        height: 28vh;
        width: 90%;
        margin-right: 0vh;
        margin-left: 0vh;
        margin-bottom: 4vh;
    }
}

/*----------------section3--------------*/

#section3 {
    height: auto;
    padding-bottom: 4vh;
    padding-top: 4vh;
    box-shadow:
    0px 0px 2.2px rgba(0, 0, 0, 0.006),
    0px 0px 5.3px rgba(0, 0, 0, 0.008),
    0px 0px 10px rgba(0, 0, 0, 0.01),
    0px 0px 17.9px rgba(0, 0, 0, 0.012),
    0px 0px 33.4px rgba(0, 0, 0, 0.014),
    0px 0px 80px rgba(0, 0, 0, 0.02);
}

#section3 .nadpis h1 {
    text-align: center;
    font-size: var(--jr-fs-section-lg);
    color: var(--main);
    margin-top: 4vh;
    margin-bottom: 4vh;
}

.obal-produktu {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

.produkt {
    height: 42vh;
    width: 60vh;
    background-color: var(--background);
    margin: 2vh;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    box-shadow:
  0px 0px 2.2px rgba(0, 0, 0, 0.003),
  0px 0px 5.3px rgba(0, 0, 0, 0.004),
  0px 0px 10px rgba(0, 0, 0, 0.005),
  0px 0px 17.9px rgba(0, 0, 0, 0.006),
  0px 0px 33.4px rgba(0, 0, 0, 0.007),
  0px 0px 80px rgba(0, 0, 0, 0.02);
}

.produkt .image1 {
    height: 100%;
    width: 100%;
    background: url("/assets/img/nakladni-automobily/Ducato 10 palet do 3,5 t.webp");
    background-size: cover;
    background-position: center;
}

.produkt .image2 {
    height: 100%;
    width: 100%;
    background: url("/assets/img/nakladni-automobily/Iveco_Daily_3,5t.webp");
    background-size: cover;
    background-position: center;
}

.produkt .image3 {
    height: 100%;
    width: 100%;
    background: url("/assets/img/nakladni-automobily/TGL souprava 2.webp");
    background-size: cover;
    background-position: center left;
}

.produkt .image4 {
    height: 100%;
    width: 100%;
    background: url("/assets/img/nakladni-automobily/TGL souprava.webp");
    background-size: cover;
    background-position: center;
}

.produkt .image5 {
    height: 100%;
    width: 100%;
    background: url("/assets/img/nakladni-automobily/TGX.webp");
    background-size: cover;
    background-position: center;
}

.produkt .text {
    margin: 2vh;
}

.produkt .text h1 {
    color: var(--main);
}

@media screen and (max-width: 500px) {
    #section5 {
        padding-bottom: 5vh;
    }
}

/*----------------------footer--------------------------*/

footer {
    background: var(--background);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: top center;
    width: 100%;
    height: auto;
    padding-bottom: 5vh;
}

.upper-footer {
    display: flex;
    flex-direction: row;
}

.left-side-footer {
    width: 50%;
    margin-top: 12vh;
    margin-left: 10%;
}

.adresa {
    display: flex;
    flex-direction: row;
    margin-bottom: 4vh;
}

.adresa h1 {
    margin-left: 2vh;
    color: var(--main);
}

.email {
    display: flex;
    margin-bottom: 4vh;
    margin-top: 4vh;
    color: var(--main);
}

.email img {
    padding-right: 2.5vh;
}

.email .email-text {
    display: flex;
    flex-direction: row;
    margin-top: 1vh;
}

 .email .email-text h1 {
    margin-right: 2vh;
}

.email .email-text h2 a {
    color: var(--secondary);
    text-decoration: none;
    transition: 0.2s;
}

.email .email-text h2 a:hover {
    color: var(--main);
    transition: 0.2s;
}

.kontakt {
    display: flex;
    flex-direction: row;
    padding-top: 4vh;
}

.druhy-kontaktu {
    margin-left: 2vh;
    flex: 1;
    min-width: 0;
}

.right-side-footer {
    width: 50%;
    margin: 8vh 0vh 0vh 4vh;
}

.absolute-bottom h2 {
    color: var(--background);
}

.absolute-bottom h2 a {
    color: var(--background);
    text-decoration: none;
}

footer .steveosyka {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 3vh;
    margin-bottom: -1vh;
    opacity: 0.8;
}

footer .steveosyka a {
    color: var(--secondary);
    text-decoration: none;
    transition: 0.2s;
}

footer .steveosyka a:hover {
    transition: 0.2s;
    color: var(--main);
    text-decoration: underline;
}

@media screen and (max-width: 1000px) {
    footer {
        height: auto;
        justify-content: center;
        align-items: center;
        background: var(--background);
        background-size: cover;
    }

    .upper-footer {
        flex-direction: column;
    }

    .left-side-footer {
        width: 100%;
        margin-bottom: 10vh;
        margin-top: 10vh;
        margin-left: 5%;
    }

    .adresa {
        margin-left: 5%;
        margin-right: 10%;
    }

    .email {
        margin-left: 5%;
    }

    .email .email-text {
        margin-top: 0;

    }

    .email .email-text {
        flex-direction: column;
    }

    .kontakt {
        margin-left: 5%;
        border-top: none;
    }

    .right-side-footer {
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 0;
        width: 100%;
        margin-bottom: 5vh;
    }
}