* {
    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);
}

::-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;
}
/*-----------------------------body----------------------------*/

/* 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: #ededed;
    color: var(--main);
    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);
}

@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 {
    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;
}

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

footer {
    background: var(--background);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: top center;
    width: 100%;
    height: auto;
    padding-bottom: 5vh;
    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);
}

#footer-hr {
    width: 40%;
    left: 0;
}

.top-footer {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 10vh;
}

.bottom-footer {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: start;
    column-gap: clamp(1.25rem, 3vw, 2.5rem);
    row-gap: 1.5rem;
    margin-left: 15%;
    margin-right: 15%;
    padding-bottom: 10vh;
    padding-top: 10vh;
}

.bottom-footer .left-side {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: auto;
    min-width: 0;
}

/* „Rozbalí“ obal tak, aby .email a .kontakt byly 2. a 3. sloupec gridu vedle adresy */
.bottom-footer .right-side {
    display: contents;
}

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

.bottom-footer a:hover {
    color: var(--main);
    transition: 0.2s;
}


.bottom-footer .left-side .adresa {
    display: flex;
    margin-bottom: 2.5vh;
    color: var(--main);
}

.bottom-footer .left-side .adresa img {
    padding-right: 2vh;
}

.bottom-footer .left-side .adresa h1 {
    margin-top: 1vh;
}

.bottom-footer .right-side .email {
    display: flex;
    margin-bottom: 2.5vh;
    color: var(--main);
}

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

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

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

.bottom-footer .right-side .email {
    min-width: 0;
    width: 100%;
}

.bottom-footer .right-side .kontakt {
    display: flex;
    margin-bottom: 0;
    margin-top: 0;
    color: var(--main);
    min-width: 0;
    width: 100%;
}

.bottom-footer .right-side .kontakt img {
    padding-right: 2vh;
}

.bottom-footer .right-side .kontakt .druhy-kontaktu {
    flex: 1;
    min-width: 0;
    max-width: 22rem;
}

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: 1050px) {
    .bottom-footer {
        display: flex;
        flex-direction: column;
    }

    .bottom-footer .left-side {
        width: 100%;
        align-items: flex-start;
    }

    .bottom-footer .right-side {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
    }

    .bottom-footer .right-side .email {
        padding-top: 2.5vh;
    }

    .bottom-footer .right-side .kontakt {
        margin-top: 3.5vh;
        margin-bottom: 3.5vh;
    }
}

@media screen and (max-width: 550px) {
    .bottom-footer {
        margin-left: 10%;
        margin-right: 10%;
    }
}

@media screen and (max-width: 450px) {
    .bottom-footer .left-side .adresa h1 {
        margin-top: 0;
    }

    .bottom-footer .right-side .email .email-text {
        margin-top: 0;
    }

    .bottom-footer .right-side .email .email-text {
        flex-direction: column;
    }

}